Code: Select all
TeX capacity exceeded, sorry [input stack size=10000].<to be read again>
Code: Select all
Underfull \vbox (badness 7186) has occurred while \output is active [81] [82]) [83] [84] [85] [86] [87] [88] [89] [90] [91] [92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122] [123] [124] [125] [126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139] [140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151] [152] [153] [154] [155] [156] [157] [158] [159] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170] [171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182] [183] [184] [185] [186]
This is the content of the main.tex file, if it is would be helpful. However, as I mentioned, this works flawlessly on certain files and not others.
Code: Select all
Code, edit and compile here:
\documentclass[12pt]{book}\usepackage[paperwidth=6in, paperheight=9in, margin=1in]{geometry}\usepackage{dblfnote}\usepackage{lettrine}\usepackage[para]{footmisc}\usepackage{ragged2e}\usepackage{fontspec}\usepackage{ifthen}\usepackage{polyglossia}\usepackage{fancyhdr}\usepackage{extramarks}\setmainlanguage{syriac}\setmainfont[BoldFont={DejaVu Serif Bold}]{Serto Antioch Bible}% Make Counters for Chapters and Verses\newcommand{\currbook}{}\newcounter{mychapter}\newcounter{bibver}\setcounter{mychapter}{0}\setcounter{bibver}{0}% Make Bible Chapter and Verses\newcommand{\mychaptermark}{}\newcommand{\bibvermark}{}\newcommand{\mychapter}[1]{%\stepcounter{mychapter}% Increment the mychapter counter\renewcommand{\mychaptermark}{#1}%%\chaptermark{#1 : \bibvermark}% Include the verse number in the chaptermark\markboth{#1}{#1}{\centering{#1}}% Center the chapter title}\newcommand{\bibver}[1]{%\stepcounter{bibver}% Increment the bibver counter\extramarks{#1}{#1}% Set both left and right marks to #1\textsuperscript{\textbf{#1 }}~%}