This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX) (format=xelatex 2013.1.27) 2 MAR 2013 16:09 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **book.tex (./book.tex LaTeX2e <2011/06/27> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h ungarian, icelandic, assamese, bengali, gujarati, hindi, kannada, malayalam, ma rathi, oriya, panjabi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, latin, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portuguese, romanian, romansh, russian, sanskrit, serbian, serbianc, s lovak, slovenian, spanish, swedish, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded. (c:/texlive/2012/texmf-dist/tex/latex/base/book.cls Document Class: book 2007/10/19 v1.4h Standard LaTeX document class (c:/texlive/2012/texmf-dist/tex/latex/base/bk10.clo File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count80 \c@chapter=\count81 \c@section=\count82 \c@subsection=\count83 \c@subsubsection=\count84 \c@paragraph=\count85 \c@subparagraph=\count86 \c@figure=\count87 \c@table=\count88 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (c:/texlive/2012/texmf-dist/tex/latex/bigfoot/perpage.sty Package: perpage 2006/07/15 1.12 Reset/sort counters per page \c@abspage=\count89 ) \c@pp@a@footnote=\count90 (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/xepersian.sty Package: xepersian 2012/12/12 v12 (Final Version) Persian typesetting in XeLaTe X (c:/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.sty Package: fontspec 2012/05/06 v2.2b Advanced font selection for XeLaTeX/LuaLaTeX (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/expl3.sty (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3names.sty (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3bootstrap.sty Package: l3bootstrap 2012/07/16 v3991 L3 Experimental bootstrap code ) Package: l3names 2012/12/07 v4346 L3 Namespace for primitives ) (c:/texlive/2012/texmf-dist/tex/latex/etex-pkg/etex.sty Package: etex 1998/03/26 v2.0 eTeX basic definition package (PEB) \et@xins=\count91 ) Package: expl3 2012/12/21 v4390 L3 Experimental code bundle wrapper (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3basics.sty Package: l3basics 2012/11/24 v4339 L3 Basic definitions ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3expan.sty Package: l3expan 2012/08/28 v4149 L3 Argument expansion ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3tl.sty Package: l3tl 2012/11/24 v4339 L3 Token lists ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3seq.sty Package: l3seq 2012/11/24 v4339 L3 Sequences and stacks ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3int.sty Package: l3int 2012/09/26 v4237 L3 Integers \c_max_int=\count92 \l_tmpa_int=\count93 \l_tmpb_int=\count94 \g_tmpa_int=\count95 \g_tmpb_int=\count96 \l_tmpc_int=\count97 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3quark.sty Package: l3quark 2012/11/04 v4268 L3 Quarks ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prg.sty Package: l3prg 2012/11/24 v4339 L3 Control structures \g__prg_map_int=\count98 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3clist.sty Package: l3clist 2012/11/24 v4339 L3 Comma separated lists ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3token.sty Package: l3token 2012/12/20 v4384 L3 Experimental token manipulation ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3prop.sty Package: l3prop 2012/09/09 v4212 L3 Property lists ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3msg.sty Package: l3msg 2012/09/09 v4212 L3 Messages ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3file.sty Package: l3file 2012/12/20 v4377 L3 File and I/O operations \l__ior_stream_int=\count99 \l_iow_line_count_int=\count100 \l__iow_target_count_int=\count101 \l__iow_current_line_int=\count102 \l__iow_current_word_int=\count103 \l__iow_current_indentation_int=\count104 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3skip.sty Package: l3skip 2012/11/04 v4260 L3 Dimensions and skips \c_zero_dim=\dimen103 \c_max_dim=\dimen104 \l_tmpa_dim=\dimen105 \l_tmpb_dim=\dimen106 \g_tmpa_dim=\dimen107 \g_tmpb_dim=\dimen108 \c_zero_skip=\skip43 \c_max_skip=\skip44 \l_tmpa_skip=\skip45 \l_tmpb_skip=\skip46 \g_tmpa_skip=\skip47 \g_tmpb_skip=\skip48 \c_zero_muskip=\muskip10 \c_max_muskip=\muskip11 \l_tmpa_muskip=\muskip12 \l_tmpb_muskip=\muskip13 \g_tmpa_muskip=\muskip14 \g_tmpb_muskip=\muskip15 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3keys.sty Package: l3keys 2012/11/02 v4256 L3 Experimental key-value interfaces \g__keyval_level_int=\count105 \l_keys_choice_int=\count106 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3fp.sty Package: l3fp 2012/11/10 v4305 L3 Floating points \c__fp_leading_shift_int=\count107 \c__fp_middle_shift_int=\count108 \c__fp_trailing_shift_int=\count109 \c__fp_big_leading_shift_int=\count110 \c__fp_big_middle_shift_int=\count111 \c__fp_big_trailing_shift_int=\count112 \c__fp_Bigg_leading_shift_int=\count113 \c__fp_Bigg_middle_shift_int=\count114 \c__fp_Bigg_trailing_shift_int=\count115 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3box.sty Package: l3box 2012/12/08 v4347 L3 Experimental boxes \c_empty_box=\box26 \l_tmpa_box=\box27 \l_tmpb_box=\box28 \g_tmpa_box=\box29 \g_tmpb_box=\box30 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3coffins.sty Package: l3coffins 2012/09/09 v4212 L3 Coffin code layer \l__coffin_internal_box=\box31 \l__coffin_internal_dim=\dimen109 \l__coffin_offset_x_dim=\dimen110 \l__coffin_offset_y_dim=\dimen111 \l__coffin_x_dim=\dimen112 \l__coffin_y_dim=\dimen113 \l__coffin_x_prime_dim=\dimen114 \l__coffin_y_prime_dim=\dimen115 \c_empty_coffin=\box32 \l__coffin_aligned_coffin=\box33 \l__coffin_aligned_internal_coffin=\box34 \l_tmpa_coffin=\box35 \l_tmpb_coffin=\box36 \l__coffin_display_coffin=\box37 \l__coffin_display_coord_coffin=\box38 \l__coffin_display_pole_coffin=\box39 \l__coffin_display_offset_dim=\dimen116 \l__coffin_display_x_dim=\dimen117 \l__coffin_display_y_dim=\dimen118 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3color.sty Package: l3color 2012/08/29 v4156 L3 Experimental color support ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3luatex.sty Package: l3luatex 2012/08/03 v4049 L3 Experimental LuaTeX-specific functions \g__cctab_allocate_int=\count116 \g__cctab_stack_int=\count117 ) (c:/texlive/2012/texmf-dist/tex/latex/l3kernel/l3candidates.sty Package: l3candidates 2012/12/20 v4383 L3 Experimental additions to l3kernel \l__box_top_dim=\dimen119 \l__box_bottom_dim=\dimen120 \l__box_left_dim=\dimen121 \l__box_right_dim=\dimen122 \l__box_top_new_dim=\dimen123 \l__box_bottom_new_dim=\dimen124 \l__box_left_new_dim=\dimen125 \l__box_right_new_dim=\dimen126 \l__box_internal_box=\box40 \l__coffin_bounding_shift_dim=\dimen127 \l__coffin_left_corner_dim=\dimen128 \l__coffin_right_corner_dim=\dimen129 \l__coffin_bottom_corner_dim=\dimen130 \l__coffin_top_corner_dim=\dimen131 \l__coffin_scaled_total_height_dim=\dimen132 \l__coffin_scaled_width_dim=\dimen133 ) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/ifpdf.sty Package: ifpdf 2011/01/30 v2.3 Provides the ifpdf switch (HO) Package ifpdf Info: pdfTeX in PDF mode is not detected. )) (c:/texlive/2012/texmf-dist/tex/latex/l3packages/xparse/xparse.sty Package: xparse 2012/12/21 v4390 L3 Experimental document command parser \l__xparse_current_arg_int=\count118 \l__xparse_m_args_int=\count119 \l__xparse_mandatory_args_int=\count120 \l__xparse_processor_int=\count121 \l__xparse_v_nesting_int=\count122 ) \l_fontspec_script_int=\count123 \l_fontspec_language_int=\count124 \l_fontspec_strnum_int=\count125 \l_fontspec_tmpa_dim=\dimen134 \l_fontspec_tmpb_dim=\dimen135 \l_fontspec_tmpc_dim=\dimen136 Variant \tl_gset:cV already defined; not changing it on line 66 (c:/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-patches.sty Package: fontspec-patches 2012/05/06 v2.2b Advanced font selection for XeLaTeX/ LuaLaTeX (c:/texlive/2012/texmf-dist/tex/latex/base/fixltx2e.sty Package: fixltx2e 2006/09/13 v1.1m fixes to LaTeX LaTeX Info: Redefining \em on input line 420. ) LaTeX Info: Redefining \em on input line 22. LaTeX Info: Redefining \emph on input line 29. LaTeX Info: Redefining \- on input line 32. ************************************************* * LaTeX warning: "xparse/redefine-command" * * Redefining document command \oldstylenums with arg. spec. 'm' on line 107. ************************************************* ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \liningnums with arg. spec. 'm' on line 111. ................................................. ) (c:/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty Package: fontspec-xetex 2012/05/06 v2.2b Advanced font selection for XeLaTeX/Lu aLaTeX (c:/texlive/2012/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2005/09/27 v1.99g Standard LaTeX package (c:/texlive/2012/texmf-dist/tex/latex/euenc/eu1enc.def File: eu1enc.def 2010/05/27 v0.1h Experimental Unicode font encodings ) LaTeX Font Info: Try loading font information for EU1+lmr on input line 100. (c:/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmr.fd File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern )) (c:/texlive/2012/texmf-dist/tex/xelatex/xunicode/xunicode.sty File: xunicode.sty 2011/09/09 v0.981 provides access to latin accents and many other characters in Unicode lower plane (c:/texlive/2012/texmf-dist/tex/latex/tipa/t3enc.def File: t3enc.def 2001/12/31 T3 encoding LaTeX Font Info: Try loading font information for EU1+lmss on input line 357 . (c:/texlive/2012/texmf-dist/tex/latex/euenc/eu1lmss.fd File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern )) \tipaTiiicode=\count126 \tipasavetokens=\toks14 \tipachecktokens=\toks15 (c:/texlive/2012/texmf-dist/tex/latex/graphics/graphicx.sty Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR) (c:/texlive/2012/texmf-dist/tex/latex/graphics/keyval.sty Package: keyval 1999/03/16 v1.13 key=value parser (DPC) \KV@toks@=\toks16 ) (c:/texlive/2012/texmf-dist/tex/latex/graphics/graphics.sty Package: graphics 2009/02/05 v1.0o Standard LaTeX Graphics (DPC,SPQR) (c:/texlive/2012/texmf-dist/tex/latex/graphics/trig.sty Package: trig 1999/03/16 v1.09 sin cos tan (DPC) ) (c:/texlive/2012/texmf-dist/tex/latex/latexconfig/graphics.cfg File: graphics.cfg 2010/04/23 v1.9 graphics configuration of TeX Live ) Package graphics Info: Driver file: xetex.def on input line 91. (c:/texlive/2012/texmf-dist/tex/xelatex/xetex-def/xetex.def File: xetex.def 2009/11/22 v0.94 LaTeX color/graphics driver for XeTeX (RRM/JK) )) \Gin@req@height=\dimen137 \Gin@req@width=\dimen138 )) ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \fontspec with arg. spec. 'O{}m' on line 39. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmainfont with arg. spec. 'O{}m' on line 43. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setsansfont with arg. spec. 'O{}m' on line 47. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmonofont with arg. spec. 'O{}m' on line 51. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmathrm with arg. spec. 'O{}m' on line 59. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setboldmathrm with arg. spec. 'O{}m' on line 62. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmathsf with arg. spec. 'O{}m' on line 65. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmathtt with arg. spec. 'O{}m' on line 68. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newfontfamily with arg. spec. 'mO{}m' on line 84. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newfontface with arg. spec. 'mO{}m' on line 87. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \defaultfontfeatures with arg. spec. 'm' on line . 91. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \addfontfeatures with arg. spec. 'm' on line 107. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newfontfeature with arg. spec. 'mm' on line 118. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newAATfeature with arg. spec. 'mmmm' on line 125. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newICUfeature with arg. spec. 'mmm' on line 132. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \aliasfontfeature with arg. spec. 'mm' on line . 159. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \aliasfontfeatureoption with arg. spec. 'mmm' on . line 164. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newfontscript with arg. spec. 'mm' on line 169. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \newfontlanguage with arg. spec. 'mm' on line 192. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \DeclareFontsExtensions with arg. spec. 'm' on . line 211. ................................................. Variant \prop_gput:cnV already defined; not changing it on line 485 Variant \prop_gput:cnx already defined; not changing it on line 486 \l_fontspec_tmp_int=\count127 LaTeX Info: Redefining \itshape on input line 1893. LaTeX Info: Redefining \slshape on input line 1897. LaTeX Info: Redefining \scshape on input line 1901. LaTeX Info: Redefining \upshape on input line 1905. (c:/texlive/2012/texmf-dist/tex/latex/fontspec/fontspec.cfg))) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty Package: xepersian-persiancal 2012/07/25 v0.2 provides Persian calendar \XePersian@i=\count128 \XePersian@y=\count129 \XePersian@m=\count130 \XePersian@d=\count131 \XePersian@latini=\count132 \XePersian@persiani=\count133 \XePersian@latinii=\count134 \XePersian@persianii=\count135 \XePersian@latiniii=\count136 \XePersian@persianiii=\count137 \XePersian@latiniv=\count138 \XePersian@persianiv=\count139 \XePersian@latinv=\count140 \XePersian@persianv=\count141 \XePersian@latinvi=\count142 \XePersian@persianvi=\count143 \XePersian@latinvii=\count144 \XePersian@persianvii=\count145 \XePersian@latinviii=\count146 \XePersian@persianviii=\count147 \XePersian@latinix=\count148 \XePersian@persianix=\count149 \XePersian@latinx=\count150 \XePersian@persianx=\count151 \XePersian@latinxi=\count152 \XePersian@persianxi=\count153 \XePersian@latinxii=\count154 \XePersian@persianxii=\count155 \XePersian@persianxiii=\count156 \XePersian@temp=\count157 \XePersian@temptwo=\count158 \XePersian@tempthree=\count159 \XePersian@yModHundred=\count160 \XePersian@thirtytwo=\count161 \XePersian@dn=\count162 \XePersian@sn=\count163 \XePersian@mminusone=\count164 ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty Package: xepersian-mathsdigitspec 2012/01/01 v1.0.2 Unicode Persian maths digit s in XeLaTeX ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \new@mathbf with arg. spec. 'm' on line 109. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \new@mathit with arg. spec. 'm' on line 117. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \new@mathrm with arg. spec. 'm' on line 125. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \new@mathsf with arg. spec. 'm' on line 133. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \new@mathtt with arg. spec. 'm' on line 141. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmathsfdigitfont with arg. spec. 'O{}m' on line . 171. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setmathttdigitfont with arg. spec. 'O{}m' on line . 176. ................................................. ) (c:/texlive/2012/texmf-dist/tex/latex/bidi/bidi.sty Package: bidi 2012/12/12 v12 (Final Version) Bidirectional typesetting in plain TeX and LaTeX bidi package (Support for bidirectional typesetting in plain TeX and LaTeX) Description: A convenient interface for typesetting bidirectional texts in plain TeX and LaTeX. The package includes adaptations for use with many other commonly-used packages. Copyright © 2009–2012 Vafa Khalighi v12 (Final Version), 2012/12/12 License: LaTeX Project Public License, version 1.3c or higher (your choice) Location on CTAN: /macros/latex/contrib/bidi (c:/texlive/2012/texmf-dist/tex/generic/iftex/iftex.sty Package: iftex 2010/07/25 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX ) (c:/texlive/2012/texmf-dist/tex/latex/bidi/biditools.sty Package: biditools 2012/05/01 v0.1 Programming tools for bidi package ) (c:/texlive/2012/texmf-dist/tex/latex/oberdiek/zref-abspage.sty Package: zref-abspage 2012/04/04 v2.24 Module abspage for zref (HO) (c:/texlive/2012/texmf-dist/tex/latex/oberdiek/zref-base.sty Package: zref-base 2012/04/04 v2.24 Module base for zref (HO) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/ltxcmds.sty Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO) ) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/infwarerr.sty Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO) ) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty Package: kvsetkeys 2012/04/25 v1.16 Key value parser (HO) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/etexcmds.sty Package: etexcmds 2011/02/16 v1.5 Avoid name clashes with e-TeX commands (HO) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/ifluatex.sty Package: ifluatex 2010/03/01 v1.3 Provides the ifluatex switch (HO) Package ifluatex Info: LuaTeX not detected. ) Package etexcmds Info: Could not find \expanded. (etexcmds) That can mean that you are not using pdfTeX 1.50 or (etexcmds) that some package has redefined \expanded. (etexcmds) In the latter case, load this package earlier. )) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty Package: kvdefinekeys 2011/04/07 v1.3 Define keys (HO) ) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty Package: pdftexcmds 2011/11/29 v0.20 Utility functions of pdfTeX for LuaTeX (HO ) Package pdftexcmds Info: LuaTeX not detected. Package pdftexcmds Info: pdfTeX >= 1.30 not detected. Package pdftexcmds Info: \pdf@primitive is available. Package pdftexcmds Info: \pdf@ifprimitive is available. Package pdftexcmds Info: \pdfdraftmode not found. ) (c:/texlive/2012/texmf-dist/tex/latex/oberdiek/auxhook.sty Package: auxhook 2011/03/04 v1.3 Hooks for auxiliary files (HO) ) Package zref Info: New property list: main on input line 759. Package zref Info: New property: default on input line 760. Package zref Info: New property: page on input line 761. ) (c:/texlive/2012/texmf-dist/tex/generic/oberdiek/atbegshi.sty Package: atbegshi 2011/10/05 v1.16 At begin shipout hook (HO) ) ! LaTeX Error: Command \c@abspage already defined. Or name \end... illegal, see p.192 of the manual. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.56 \newcounter{abspage} % Your command was ignored. Type I to replace it with another command, or to continue without it. Package zref Info: New property: abspage on input line 62. ) (c:/texlive/2012/texmf-dist/tex/latex/bidi/xetex-bidi.def File: xetex-bidi.def 2012/12/12 v1.0.6 bidi adaptations for XeTeX engine \bidi@n@everypar=\toks17 (c:/texlive/2012/texmf-dist/tex/latex/bidi/footnote-xetex-bidi.def File: footnote-xetex-bidi.def 2012/12/12 v0.6 bidi footnote macros for XeTeX en gine \c@footdir@label=\count165 \footdir@toks=\toks18 ) (c:/texlive/2012/texmf-dist/tex/latex/bidi/book-xetex-bidi.def File: book-xetex-bidi.def 2011/08/26 v0.8 bidi adaptations for standard book cl ass for XeTeX engine ) (c:/texlive/2012/texmf-dist/tex/latex/bidi/graphicx-xetex-bidi.def File: graphicx-xetex-bidi.def 2012/01/01 v0.4 bidi adaptations for graphicx pac kage for XeTeX engine )) (c:/texlive/2012/texmf-dist/tex/latex/bidi/loadingorder-bidi.def File: loadingorder-bidi.def 2012/12/12 v0.9 making sure that bidi is the last p ackage loaded )) xepersian package (Persian for LaTeX over XeTeX) Description: The package supports Persian typesetting, using fonts provided in the distribution. Copyright © 2008–2012 Vafa Khalighi v12 (Final Version), 2012/12/12 License: LaTeX Project Public License, version 1.3c or higher (your choice) Location on CTAN: /macros/xetex/latex/xepersian ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \settextfont with arg. spec. 'O{}m' on line 75. ................................................. \g_fontspec_family_persian-modern-regular_int=\count166 ................................................. . fontspec info: "defining-font" . . Font family 'persian-modern-regular(0)' created for font . 'persian-modern-regular' with options . [Script=Parsi,Language=Parsi,Mapping=parsidigits,ExternalLocation,BoldFont={p ersian-modern-bold},BoldItalicFont={persian-modern-bolditalic},ItalicFont={pers ian-modern-italic},SlantedFont={persian-modern-oblique},BoldSlantedFont={persia n-modern-boldoblique}]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . . <->"[persian-modern-regular]/ICU:script=arab;language=FAR;mapping=parsidigits ;" . . * 'bold' with NFSS spec.: . . <->"[persian-modern-bold]/ICU:script=arab;language=FAR;mapping=parsidigits;" . . * 'italic' with NFSS spec.: . . <->"[persian-modern-italic]/ICU:script=arab;language=FAR;mapping=parsidigits; " . . * 'sl/' with NFSS spec.: . . <->"[persian-modern-oblique]/ICU:script=arab;language=FAR;mapping=parsidigits ;" . . * 'bold italic' with NFSS spec.: . . <->"[persian-modern-bolditalic]/ICU:script=arab;language=FAR;mapping=parsidig its;" . . * 'sl/' with NFSS spec.: . . <->"[persian-modern-boldoblique]/ICU:script=arab;language=FAR;mapping=parsidi gits;" ................................................. ................................................. . fontspec info: "no-scripts" . . Font persian-modern-regular does not contain any OpenType `Script' . information. ................................................. ................................................. . fontspec info: "defining-font" . . Font family 'persian-modern-regular(1)' created for font . 'persian-modern-regular' with options . [Mapping=parsidigits,ExternalLocation,BoldFont={persian-modern-bold},BoldItal icFont={persian-modern-bolditalic},ItalicFont={persian-modern-italic},SlantedFo nt={persian-modern-oblique},BoldSlantedFont={persian-modern-boldoblique}]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . <->"[persian-modern-regular]/ICU:mapping=parsidigits;" . . * 'bold' with NFSS spec.: . <->"[persian-modern-bold]/ICU:mapping=parsidigits;" . . * 'italic' with NFSS spec.: . <->"[persian-modern-italic]/ICU:mapping=parsidigits;" . . * 'sl/' with NFSS spec.: . <->"[persian-modern-oblique]/ICU:mapping=parsidigits;" . . * 'bold italic' with NFSS spec.: . <->"[persian-modern-bolditalic]/ICU:mapping=parsidigits;" . . * 'sl/' with NFSS spec.: . <->"[persian-modern-boldoblique]/ICU:mapping=parsidigits;" ................................................. Package xepersian-mathsdigitspec Info: DefiningthedefaultPersianmathsdigitsfont as'persian-modern-regular' on input line 77. \symOPERATORS=\mathgroup4 \symnew@mathbf@font@digits=\mathgroup5 \symnew@mathit@font@digits=\mathgroup6 \symnew@mathrm@font@digits=\mathgroup7 ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setlatintextfont with arg. spec. 'O{}m' on line . 86. ................................................. \g_fontspec_family_lmroman10-regular_int=\count167 ................................................. . fontspec info: "defining-font" . . Font family 'lmroman10-regular(0)' created for font 'lmroman10-regular' with . options . [Mapping=tex-text,ExternalLocation,BoldFont={lmroman10-bold},BoldItalicFont={ lmroman10-bolditalic},ItalicFont={lmroman10-italic},SmallCapsFont={lmromancaps1 0-regular},SlantedFont={lmromanslant10-regular},BoldSlantedFont={lmromanslant10 -bold}]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . <->"[lmroman10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'small caps' with NFSS spec.: . . <->"[lmromancaps10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'bold' with NFSS spec.: . <->"[lmroman10-bold]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'bold small caps' with NFSS spec.: . . <->"[lmromancaps10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'italic' with NFSS spec.: . <->"[lmroman10-italic]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'italic small caps' with NFSS spec.: . . <->"[lmromancaps10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'sl/' with NFSS spec.: . . <->"[lmromanslant10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'small caps' with NFSS spec.: . . <->"[lmromancaps10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'bold italic' with NFSS spec.: . <->"[lmroman10-bolditalic]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'bold italic small caps' with NFSS spec.: . . <->"[lmromancaps10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'sl/' with NFSS spec.: . <->"[lmromanslant10-bold]/ICU:script=latn;language=DFLT;mapping=tex-text;" . . * 'bold small caps' with NFSS spec.: . . <->"[lmromancaps10-regular]/ICU:script=latn;language=DFLT;mapping=tex-text;" ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \defpersianfont with arg. spec. 'mO{}m' on line . 98. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \deflatinfont with arg. spec. 'mO{}m' on line 107. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setpersiansansfont with arg. spec. 'O{}m' on line . 141. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setpersianmonofont with arg. spec. 'O{}m' on line . 145. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setnavarfont with arg. spec. 'O{}m' on line 149. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setpookfont with arg. spec. 'O{}m' on line 153. ................................................. \g_fontspec_family_persian-modern-outline_int=\count168 ................................................. . fontspec info: "defining-font" . . Font family 'persian-modern-outline(0)' created for font . 'persian-modern-outline' with options . [Script=Parsi,Language=Parsi,Mapping=parsidigits,ExternalLocation,ItalicFont= {persian-modern-italicoutline},SlantedFont={persian-modern-obliqueoutline}]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . . <->"[persian-modern-outline]/ICU:script=arab;language=FAR;mapping=parsidigits ;" . . * 'italic' with NFSS spec.: . . <->"[persian-modern-italicoutline]/ICU:script=arab;language=FAR;mapping=parsi digits;" . . * 'sl/' with NFSS spec.: . . <->"[persian-modern-obliqueoutline]/ICU:script=arab;language=FAR;mapping=pars idigits;" ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setsayehfont with arg. spec. 'O{}m' on line 158. ................................................. \g_fontspec_family_persian-modern-shadow_int=\count169 ................................................. . fontspec info: "defining-font" . . Font family 'persian-modern-shadow(0)' created for font . 'persian-modern-shadow' with options . [Script=Parsi,Language=Parsi,Mapping=parsidigits,ExternalLocation,ItalicFont= {persian-modern-italicshadow},SlantedFont={persian-modern-obliqueshadow}]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . . <->"[persian-modern-shadow]/ICU:script=arab;language=FAR;mapping=parsidigits; " . . * 'italic' with NFSS spec.: . . <->"[persian-modern-italicshadow]/ICU:script=arab;language=FAR;mapping=parsid igits;" . . * 'sl/' with NFSS spec.: . . <->"[persian-modern-obliqueshadow]/ICU:script=arab;language=FAR;mapping=parsi digits;" ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining document command \setiranicfont with arg. spec. 'O{}m' on line 163. ................................................. \g_fontspec_family_persian-modern-oblique_int=\count170 ................................................. . fontspec info: "defining-font" . . Font family 'persian-modern-oblique(0)' created for font . 'persian-modern-oblique' with options . [Script=Parsi,Language=Parsi,Mapping=parsidigits,ExternalLocation,BoldFont={p ersian-modern-boldoblique}]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . . <->"[persian-modern-oblique]/ICU:script=arab;language=FAR;mapping=parsidigits ;" . . * 'bold' with NFSS spec.: . . <->"[persian-modern-boldoblique]/ICU:script=arab;language=FAR;mapping=parsidi gits;" ................................................. (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/loadingorder-bidi-xepersian.d ef File: loadingorder-bidi-xepersian.def 2012/01/01 v0.3 making sure that xepersia n is the last package loaded ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/footnote-bidi-xepersian.def File: footnote-bidi-xepersian.def 2010/07/25 v0.2 footnote macros for xepersian package ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/book-xepersian.def File: book-xepersian.def 2010/07/25 v0.2 adaptations for standard book class ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/localise-xepersian.def File: localise-xepersian.def 2010/07/25 v0.2a Persian localisation of LaTeX2e (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/commands-ltx.def File: commands-ltx.def 2010/07/25 v0.2 Persian localisation of LaTeX2e commands ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/commands-xepersian.def File: commands-xepersian.def 2012/07/25 v0.2 Persian localisation of XePersian commands ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/environments-ltx.def File: environments-ltx.def 2010/07/25 v0.2 Persian localisation of LaTeX2e envi ronments ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/environments-xepersian.def File: environments-xepersian.def 2010/07/25 v0.1 Persian localisation of XePers ian and bidi environments ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/messages-localise.def File: messages-localise.def 2011/03/01 v0.1 localising LaTeX2e messages ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/misc-localise-xepersian.def File: misc-localise-xepersian.def 2012/01/01 v0.2 miscellaneous Persian localis ation of LaTeX2e ) (c:/texlive/2012/texmf-dist/tex/xelatex/xepersian/packages-localise-xepersian.d ef File: packages-localise-xepersian.def 2011/03/01 v0.1 localising LaTeX2e Packag es ))) \g_fontspec_family_XB Niloofar_int=\count171 ................................................. . fontspec info: "defining-font" . . Font family 'XBNiloofar(0)' created for font 'XB Niloofar' with options . [Script=Parsi,Language=Parsi,Mapping=parsidigits,Scale=1]. . . This font family consists of the following shapes: . . * 'normal' with NFSS spec.: . <->s*[1]"XB Niloofar/ICU:script=arab;language=FAR;mapping=parsidigits;" . . * 'bold' with NFSS spec.: . <->s*[1]"XB Niloofar/B/ICU:script=arab;language=FAR;mapping=parsidigits;" . . * 'italic' with NFSS spec.: . <->s*[1]"XB Niloofar/I/ICU:script=arab;language=FAR;mapping=parsidigits;" . . * 'bold italic' with NFSS spec.: . <->s*[1]"XB Niloofar/BI/ICU:script=arab;language=FAR;mapping=parsidigits;" ................................................. LaTeX Info: Redefining \persianfont on input line 5. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 10.0pt on input line 5. ! Too many }'s. l.7 متن کتاب }} You've closed more groups than you opened. Such booboos are generally harmless, so keep going. (./book.aux) \openout1 = `book.aux'. LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for EU1/lmr/m/n on input line 8. LaTeX Font Info: ... okay on input line 8. LaTeX Font Info: Checking defaults for T3/cmr/m/n on input line 8. LaTeX Font Info: Try loading font information for T3+cmr on input line 8. (c:/texlive/2012/texmf-dist/tex/latex/tipa/t3cmr.fd File: t3cmr.fd 2001/12/31 TIPA font definitions ) LaTeX Font Info: ... okay on input line 8. \AtBeginShipoutBox=\box41 LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 17.28pt on input line 11. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 12.0pt on input line 11. LaTeX Font Info: External font `cmex10' loaded for size (Font) <12> on input line 11. LaTeX Font Info: External font `cmex10' loaded for size (Font) <8> on input line 11. LaTeX Font Info: External font `cmex10' loaded for size (Font) <6> on input line 11. LaTeX Warning: No \author given. [1 ] LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/sl' in size <10> not availa ble (Font) Font shape `EU1/XBNiloofar(0)/m/it' tried instead on input line 12. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/it' will be (Font) scaled to size 10.0pt on input line 12. [2 ] فصل 1. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 20.74pt on input line 12. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/bx/n' will be (Font) scaled to size 20.74pt on input line 12. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/bx/n' will be (Font) scaled to size 24.88pt on input line 12. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 14.4pt on input line 13. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/bx/n' will be (Font) scaled to size 14.4pt on input line 13. LaTeX Font Info: External font `cmex10' loaded for size (Font) <14.4> on input line 13. LaTeX Font Info: External font `cmex10' loaded for size (Font) <7> on input line 13. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 8.0pt on input line 13. LaTeX Font Info: External font `cmex10' loaded for size (Font) <5> on input line 13. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 6.0pt on input line 13. ! Argument of \@sect has an extra }. \par l.13 ...عه توافقی نرم‌افزار} } I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? {\normalfont \Large \bfseries }{\@xLTRfootnote }\def \reserved@b {\stepcounter \ETC. ! Paragraph ended before \@sect was complete. \par l.13 ...عه توافقی نرم‌افزار} } I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Argument of \@sect has an extra }. \par l.13 ...عه توافقی نرم‌افزار} } I've run across a `}' that doesn't seem to match anything. For example, `\def\a#1{...}' and `\a}' would produce this error. If you simply proceed now, the `\par' that I've just inserted will cause me to report a runaway argument that might be the root of the problem. But if your `}' was spurious, just type `2' and it will go away. Runaway argument? {\normalfont \Large \bfseries }{\@xLTRfootnote }\def \reserved@b {\stepcounter \ETC. ! Paragraph ended before \@sect was complete. \par l.13 ...عه توافقی نرم‌افزار} } I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/bx/n' will be (Font) scaled to size 10.0pt on input line 18. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/m/n' will be (Font) scaled to size 7.0pt on input line 18. [3] Runaway argument? {\protect \MakeUppercase {1‏.‏1. \ \protect \textbf {\let \reserved@d \E TC. ! Paragraph ended before \@markright was complete. \par l.32 \section{درست} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Extra }, or forgotten \endgroup. \@themark ...xtbf {\let \reserved@d =[\def \par } }} l.32 \section{درست} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. ! Extra }, or forgotten \endgroup. \@themark ...bf {\let \reserved@d =[\def \par } } } l.32 \section{درست} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. ! Extra }, or forgotten \endgroup. \@themark ...f {\let \reserved@d =[\def \par } }} l.32 \section{درست} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. Runaway argument? {\protect \MakeUppercase {1‏.‏1. \ \protect \textbf {\let \reserved@d \E TC. ! Paragraph ended before \@markright was complete. \par l.33 ...دولوژی‌های سنگین‌وزن} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ! Extra }, or forgotten \endgroup. \@themark ...xtbf {\let \reserved@d =[\def \par } }} l.33 ...دولوژی‌های سنگین‌وزن} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. ! Extra }, or forgotten \endgroup. \@themark ...bf {\let \reserved@d =[\def \par } } } l.33 ...دولوژی‌های سنگین‌وزن} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. ! Extra }, or forgotten \endgroup. \@themark ...f {\let \reserved@d =[\def \par } }} l.33 ...دولوژی‌های سنگین‌وزن} I've deleted a group-closing symbol because it seems to be spurious, as in `$x}$'. But perhaps the } is legitimate and you forgot something else, as in `\hbox{$x}'. In such cases the way to recover is to insert both the forgotten and the deleted material, e.g., by typing `I$}'. [4] LaTeX Warning: Reference `footdir@11' on page 5 undefined on input line 36. LaTeX Warning: Reference `footdir@12' on page 5 undefined on input line 36. LaTeX Warning: Reference `footdir@13' on page 5 undefined on input line 36. LaTeX Warning: Reference `footdir@14' on page 5 undefined on input line 36. Overfull \hbox (3.99638pt too wide) in paragraph at lines 35--37 []\EU1/XBNiloofar(0)/m/n/10 سنگین‌وزن، عاملیت محصول را ثابت نگه می‌دارند و تغییرات را قبول نمی‌کن ند. علت موفقیت متدولوژی‌های[] [] Overfull \hbox (3.96872pt too wide) in paragraph at lines 35--37 []\EU1/XBNiloofar(0)/m/n/10 چابک، توانایی پاسخگویی به ت ییرات در هر مرحله از توسعه نرم‌افزار می‌ب شد. بنابراین یکی از محدودیت‌های[] [] Overfull \hbox (4.53511pt too wide) in paragraph at lines 35--37 []\EU1/XBNiloofar(0)/m/n/10 متدولوژی‌های سنگین‌وزن، ع م پذیرش تغییرات در فرآیند توسعه می‌باشد. م دودیت دیگر از متدولوژی‌های[] [] LaTeX Warning: Reference `footdir@15' on page 5 undefined on input line 37. Runaway argument? {\let \reserved@d =[\def ! Paragraph ended before \text@command was complete. \par l.37 \end{document} I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/bx/sl' in size <10> not avail able (Font) Font shape `EU1/XBNiloofar(0)/bx/it' tried instead on input line 37. LaTeX Font Info: Font shape `EU1/XBNiloofar(0)/bx/it' will be (Font) scaled to size 10.0pt on input line 37. ! Missing { inserted. \MakeUppercase ... {\uppercase {#1}}\reserved@a } l.37 \end{document} Where was the left brace? You said something like `\def\a}', which I'm going to interpret as `\def\a{}'. Overfull \vbox (587.91026pt too high) has occurred while \output is active [] [6] (./book.aux) LaTeX Warning: There were undefined references. ! You can't use `\end' in internal vertical mode. \enddocument ...cumenthook \deadcycles \z@ \@@end l.37 \end{document} Sorry, but I'm not programmed to handle this case; I'll just pretend that you didn't ask for it. If you're in the wrong mode, you might be able to return to the right one by typing `I}' or `I$' or `I\par'. ! Missing } inserted. } l.37 \end{document} I've inserted something that you may have forgotten. (See the above.) With luck, this will get me unwedged. But if you really didn't forget anything, try typing `2' now; then my insertion and my current dilemma will both disappear. ! Unbalanced output routine. } l.37 \end{document} Your sneaky output routine has problematic {'s and/or }'s. I can't handle that very well; good luck. ) ! Emergency stop. <*> book.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 17150 strings out of 494004 366622 string characters out of 3153866 371958 words of memory out of 3000000 20143 multiletter control sequences out of 15000+200000 7817 words of font info for 92 fonts, out of 3000000 for 9000 1144 hyphenation exceptions out of 8191 53i,8n,40p,863b,291s stack positions out of 5000i,500n,10000p,200000b,50000s Output written on book.pdf (5 pages).