This is XeTeX, Version 3.14159265-2.6-0.99999 (TeX Live 2018/Arch Linux) (preloaded format=xelatex 2018.9.12) 27 NOV 2018 16:09 entering extended mode \write18 enabled. %&-line parsing enabled. **test.tex (./test.tex LaTeX2e <2018-04-01> patch level 5 (/usr/share/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/share/texmf-dist/tex/latex/base/size10.clo File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf-dist/tex/latex/listings/listings.sty (/usr/share/texmf-dist/tex/latex/graphics/keyval.sty Package: keyval 2014/10/28 v1.15 key=value parser (DPC) \KV@toks@=\toks14 ) \lst@mode=\count88 \lst@gtempboxa=\box26 \lst@token=\toks15 \lst@length=\count89 \lst@currlwidth=\dimen103 \lst@column=\count90 \lst@pos=\count91 \lst@lostspace=\dimen104 \lst@width=\dimen105 \lst@newlines=\count92 \lst@lineno=\count93 \lst@maxwidth=\dimen106 (/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty File: lstmisc.sty 2018/09/02 1.7 (Carsten Heinz) \c@lstnumber=\count94 \lst@skipnumbers=\count95 \lst@framebox=\box27 ) (/usr/share/texmf-dist/tex/latex/listings/listings.cfg File: listings.cfg 2018/09/02 1.7 listings configuration )) Package: listings 2018/09/02 1.7 (Carsten Heinz) (/usr/share/texmf-dist/tex/xelatex/xepersian/xepersian.sty Package: xepersian 2018/08/12 v21.3 Persian typesetting in XeLaTeX (/usr/share/texmf-dist/tex/latex/fontspec/fontspec.sty (/usr/share/texmf-dist/tex/latex/l3packages/xparse/xparse.sty (/usr/share/texmf-dist/tex/latex/l3kernel/expl3.sty Package: expl3 2018-08-23 L3 programming layer (loader) (/usr/share/texmf-dist/tex/latex/l3kernel/expl3-code.tex Package: expl3 2018-08-23 L3 programming layer (code) \c_max_int=\count96 \l_tmpa_int=\count97 \l_tmpb_int=\count98 \g_tmpa_int=\count99 \g_tmpb_int=\count100 \g__kernel_prg_map_int=\count101 \c_log_iow=\count102 \l_iow_line_count_int=\count103 \l__iow_line_target_int=\count104 \l__iow_one_indent_int=\count105 \l__iow_indent_int=\count106 \c_zero_dim=\dimen107 \c_max_dim=\dimen108 \l_tmpa_dim=\dimen109 \l_tmpb_dim=\dimen110 \g_tmpa_dim=\dimen111 \g_tmpb_dim=\dimen112 \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 \l_keys_choice_int=\count107 \l__intarray_loop_int=\count108 \c__intarray_sp_dim=\dimen113 \g__intarray_font_int=\count109 \c__fp_leading_shift_int=\count110 \c__fp_middle_shift_int=\count111 \c__fp_trailing_shift_int=\count112 \c__fp_big_leading_shift_int=\count113 \c__fp_big_middle_shift_int=\count114 \c__fp_big_trailing_shift_int=\count115 \c__fp_Bigg_leading_shift_int=\count116 \c__fp_Bigg_middle_shift_int=\count117 \c__fp_Bigg_trailing_shift_int=\count118 \g__fp_array_int=\count119 \l__fp_array_loop_int=\count120 \l__sort_length_int=\count121 \l__sort_min_int=\count122 \l__sort_top_int=\count123 \l__sort_max_int=\count124 \l__sort_true_max_int=\count125 \l__sort_block_int=\count126 \l__sort_begin_int=\count127 \l__sort_end_int=\count128 \l__sort_A_int=\count129 \l__sort_B_int=\count130 \l__sort_C_int=\count131 \l__tl_analysis_normal_int=\count132 \l__tl_analysis_index_int=\count133 \l__tl_analysis_nesting_int=\count134 \l__tl_analysis_type_int=\count135 \l__regex_internal_a_int=\count136 \l__regex_internal_b_int=\count137 \l__regex_internal_c_int=\count138 \l__regex_balance_int=\count139 \l__regex_group_level_int=\count140 \l__regex_mode_int=\count141 \c__regex_cs_in_class_mode_int=\count142 \c__regex_cs_mode_int=\count143 \l__regex_catcodes_int=\count144 \l__regex_default_catcodes_int=\count145 \c__regex_catcode_L_int=\count146 \c__regex_catcode_O_int=\count147 \c__regex_catcode_A_int=\count148 \c__regex_all_catcodes_int=\count149 \l__regex_show_lines_int=\count150 \l__regex_min_state_int=\count151 \l__regex_max_state_int=\count152 \l__regex_left_state_int=\count153 \l__regex_right_state_int=\count154 \l__regex_capturing_group_int=\count155 \l__regex_min_pos_int=\count156 \l__regex_max_pos_int=\count157 \l__regex_curr_pos_int=\count158 \l__regex_start_pos_int=\count159 \l__regex_success_pos_int=\count160 \l__regex_curr_char_int=\count161 \l__regex_curr_catcode_int=\count162 \l__regex_last_char_int=\count163 \l__regex_case_changed_char_int=\count164 \l__regex_curr_state_int=\count165 \l__regex_step_int=\count166 \l__regex_min_active_int=\count167 \l__regex_max_active_int=\count168 \l__regex_replacement_csnames_int=\count169 \l__regex_match_count_int=\count170 \l__regex_min_submatch_int=\count171 \l__regex_submatch_int=\count172 \l__regex_zeroth_submatch_int=\count173 \g__regex_trace_regex_int=\count174 \c_empty_box=\box28 \l_tmpa_box=\box29 \l_tmpb_box=\box30 \g_tmpa_box=\box31 \g_tmpb_box=\box32 \l__box_top_dim=\dimen114 \l__box_bottom_dim=\dimen115 \l__box_left_dim=\dimen116 \l__box_right_dim=\dimen117 \l__box_top_new_dim=\dimen118 \l__box_bottom_new_dim=\dimen119 \l__box_left_new_dim=\dimen120 \l__box_right_new_dim=\dimen121 \l__box_internal_box=\box33 \l__coffin_internal_box=\box34 \l__coffin_internal_dim=\dimen122 \l__coffin_offset_x_dim=\dimen123 \l__coffin_offset_y_dim=\dimen124 \l__coffin_x_dim=\dimen125 \l__coffin_y_dim=\dimen126 \l__coffin_x_prime_dim=\dimen127 \l__coffin_y_prime_dim=\dimen128 \c_empty_coffin=\box35 \l__coffin_aligned_coffin=\box36 \l__coffin_aligned_internal_coffin=\box37 \l_tmpa_coffin=\box38 \l_tmpb_coffin=\box39 \l__coffin_display_coffin=\box40 \l__coffin_display_coord_coffin=\box41 \l__coffin_display_pole_coffin=\box42 \l__coffin_display_offset_dim=\dimen129 \l__coffin_display_x_dim=\dimen130 \l__coffin_display_y_dim=\dimen131 \g__file_internal_ior=\read1 \l__coffin_bounding_shift_dim=\dimen132 \l__coffin_left_corner_dim=\dimen133 \l__coffin_right_corner_dim=\dimen134 \l__coffin_bottom_corner_dim=\dimen135 \l__coffin_top_corner_dim=\dimen136 \l__coffin_scaled_total_height_dim=\dimen137 \l__coffin_scaled_width_dim=\dimen138 ) (/usr/share/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def File: l3xdvidpfmx.def 2018-08-23 v L3 Experimental driver: xdvipdfmx \g__driver_image_int=\count175 )) Package: xparse 2018-08-23 L3 Experimental document command parser \l__xparse_current_arg_int=\count176 \g__xparse_grabber_int=\count177 \l__xparse_m_args_int=\count178 \l__xparse_mandatory_args_int=\count179 \l__xparse_v_nesting_int=\count180 ) Package: fontspec 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX (/usr/share/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty Package: fontspec-xetex 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaT eX \l__fontspec_script_int=\count181 \l__fontspec_language_int=\count182 \l__fontspec_strnum_int=\count183 \l__fontspec_tmp_int=\count184 \l__fontspec_em_int=\count185 \l__fontspec_emdef_int=\count186 \l__fontspec_strong_int=\count187 \l__fontspec_strongdef_int=\count188 \l__fontspec_tmpa_dim=\dimen139 \l__fontspec_tmpb_dim=\dimen140 \l__fontspec_tmpc_dim=\dimen141 (/usr/share/texmf-dist/tex/latex/base/fontenc.sty Package: fontenc 2017/04/05 v2.0i Standard LaTeX package (/usr/share/texmf-dist/tex/latex/base/tuenc.def File: tuenc.def 2017/04/05 v2.0i Standard LaTeX file LaTeX Font Info: Redeclaring font encoding TU on input line 82. )) ................................................. . LaTeX info: "xparse/define-command" . . Defining command \fontspec with sig. 'O{}mO{}' on line 561. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmainfont with sig. 'O{}mO{}' on line 566. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setsansfont with sig. 'O{}mO{}' on line 571. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmonofont with sig. 'O{}mO{}' on line 576. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathrm with sig. 'O{}mO{}' on line 580. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setboldmathrm with sig. 'O{}mO{}' on line 584. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathsf with sig. 'O{}mO{}' on line 588. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathtt with sig. 'O{}mO{}' on line 592. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setromanfont with sig. 'O{}mO{}' on line 596. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontfamily with sig. 'mO{}mO{}' on line 600. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \renewfontfamily with sig. 'mO{}mO{}' on line 604. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setfontfamily with sig. 'mO{}mO{}' on line 608. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontface with sig. 'mO{}mO{}' on line 612. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \defaultfontfeatures with sig. 't+om' on line 619. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \addfontfeatures with sig. 'm' on line 623. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \addfontfeature with sig. 'm' on line 627. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontfeature with sig. 'mm' on line 631. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newAATfeature with sig. 'mmmm' on line 635. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newopentypefeature with sig. 'mmm' on line 639. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newICUfeature with sig. 'mmm' on line 643. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \aliasfontfeature with sig. 'mm' on line 647. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \aliasfontfeatureoption with sig. 'mmm' on line 651. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontscript with sig. 'mm' on line 655. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \newfontlanguage with sig. 'mm' on line 659. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \DeclareFontExtensions with sig. 'm' on line 663. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \IfFontFeatureActiveTF with sig. 'mmm' on line 667. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingCommand with sig. 'mO{}m' on line 3655. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingAccent with sig. 'mm' on line 3661. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingSymbol with sig. 'mm' on line 3667. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingComposite with sig. 'mmm' on line 3673. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \EncodingCompositeCommand with sig. 'mmm' on line 3679. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \DeclareUnicodeEncoding with sig. 'mm' on line 3704. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareSymbol with sig. 'm' on line 3710. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareAccent with sig. 'm' on line 3716. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareCommand with sig. 'm' on line 3722. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \UndeclareComposite with sig. 'mm' on line 3729. ................................................. (/usr/share/texmf-dist/tex/latex/fontspec/fontspec.cfg) LaTeX Info: Redefining \itshape on input line 3910. LaTeX Info: Redefining \slshape on input line 3915. LaTeX Info: Redefining \scshape on input line 3920. LaTeX Info: Redefining \upshape on input line 3925. LaTeX Info: Redefining \em on input line 3955. LaTeX Info: Redefining \emph on input line 3980. LaTeX Info: Redefining \- on input line 4034. ................................................. . LaTeX info: "xparse/redefine-command" . . Redefining command \oldstylenums with sig. 'm' on line 4129. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \liningnums with sig. 'm' on line 4133. ................................................. )) (/usr/share/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty Package: xepersian-persiancal 2012/07/25 v0.2 provides Persian calendar \XePersian@i=\count189 \XePersian@y=\count190 \XePersian@m=\count191 \XePersian@d=\count192 \XePersian@latini=\count193 \XePersian@persiani=\count194 \XePersian@latinii=\count195 \XePersian@persianii=\count196 \XePersian@latiniii=\count197 \XePersian@persianiii=\count198 \XePersian@latiniv=\count199 \XePersian@persianiv=\count266 \XePersian@latinv=\count267 \XePersian@persianv=\count268 \XePersian@latinvi=\count269 \XePersian@persianvi=\count270 \XePersian@latinvii=\count271 \XePersian@persianvii=\count272 \XePersian@latinviii=\count273 \XePersian@persianviii=\count274 \XePersian@latinix=\count275 \XePersian@persianix=\count276 \XePersian@latinx=\count277 \XePersian@persianx=\count278 \XePersian@latinxi=\count279 \XePersian@persianxi=\count280 \XePersian@latinxii=\count281 \XePersian@persianxii=\count282 \XePersian@persianxiii=\count283 \XePersian@temp=\count284 \XePersian@temptwo=\count285 \XePersian@tempthree=\count286 \XePersian@yModHundred=\count287 \XePersian@thirtytwo=\count288 \XePersian@dn=\count289 \XePersian@sn=\count290 \XePersian@mminusone=\count291 ) (/usr/share/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.sty Package: xepersian-mathsdigitspec 2018/01/01 v1.1.5 Unicode Persian maths digit s in XeLaTeX ................................................. . LaTeX info: "xparse/define-command" . . Defining command \new@mathbf with sig. 'm' on line 132. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \new@mathit with sig. 'm' on line 140. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \new@mathrm with sig. 'm' on line 148. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \new@mathsf with sig. 'm' on line 156. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \new@mathtt with sig. 'm' on line 164. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathdigitfont with sig. 'O{}mO{}' on line 169. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathsfdigitfont with sig. 'O{}mO{}' on line 203. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setmathttdigitfont with sig. 'O{}mO{}' on line 217. ................................................. ) (/usr/share/texmf-dist/tex/xelatex/bidi/bidi.sty Package: bidi 2018/08/12 v33.1 Bidirectional typesetting in plain TeX and LaTeX **************************************************** * * bidi package (Bidirectional typesetting in * plain TeX and LaTeX, using XeTeX engine) * * 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 (c) 2009--2018 Vafa Khalighi * * v33.1, 2018/08/12 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) * * Location on CTAN: /macros/xetex/latex/bidi * * Issue tracker: https://sourceforge.net/p/persian-tex-dist/tickets * * Support: http://persian-tex.com * **************************************************** (/usr/share/texmf-dist/tex/generic/iftex/iftex.sty Package: iftex 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX, and LuaTeX ) (/usr/share/texmf-dist/tex/xelatex/bidi/biditools.sty Package: biditools 2018/02/22 v1.4 Programming tools for bidi package \@bidi@envbody=\toks16 \@bidi@emptytoks=\toks17 \bidi@tempcountb=\count292 \bidi@temptoksa=\toks18 \bidi@temptoksb=\toks19 \bidi@dummies=\count293 \bidi@are@these@correct=\toks20 \bidi@toks@lista=\toks21 \bidi@toks@listb=\toks22 \bidi@stack@length=\count294 \bidi@empty@stack=\toks23 \bidi@looprepeat@depth=\count295 ) (/usr/share/texmf-dist/tex/latex/oberdiek/zref-abspage.sty Package: zref-abspage 2016/05/21 v2.26 Module abspage for zref (HO) (/usr/share/texmf-dist/tex/latex/oberdiek/zref-base.sty Package: zref-base 2016/05/21 v2.26 Module base for zref (HO) (/usr/share/texmf-dist/tex/generic/oberdiek/ltxcmds.sty Package: ltxcmds 2016/05/16 v1.23 LaTeX kernel commands for general use (HO) ) (/usr/share/texmf-dist/tex/generic/oberdiek/infwarerr.sty Package: infwarerr 2016/05/16 v1.4 Providing info/warning/error messages (HO) ) (/usr/share/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty Package: kvsetkeys 2016/05/16 v1.17 Key value parser (HO) (/usr/share/texmf-dist/tex/generic/oberdiek/etexcmds.sty Package: etexcmds 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO) (/usr/share/texmf-dist/tex/generic/oberdiek/ifluatex.sty Package: ifluatex 2016/05/16 v1.4 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. )) (/usr/share/texmf-dist/tex/generic/oberdiek/kvdefinekeys.sty Package: kvdefinekeys 2016/05/16 v1.4 Define keys (HO) ) (/usr/share/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty Package: pdftexcmds 2018/01/30 v0.27 Utility functions of pdfTeX for LuaTeX (HO ) (/usr/share/texmf-dist/tex/generic/oberdiek/ifpdf.sty Package: ifpdf 2017/03/15 v3.2 Provides the ifpdf switch ) 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. ) (/usr/share/texmf-dist/tex/latex/oberdiek/auxhook.sty Package: auxhook 2016/05/16 v1.4 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. ) (/usr/share/texmf-dist/tex/generic/oberdiek/atbegshi.sty Package: atbegshi 2016/06/09 v1.18 At begin shipout hook (HO) ) \c@abspage=\count296 Package zref Info: New property: abspage on input line 62. ) (/usr/share/texmf-dist/tex/latex/xkeyval/xkeyval.sty Package: xkeyval 2014/12/03 v2.7a package option processing (HA) (/usr/share/texmf-dist/tex/generic/xkeyval/xkeyval.tex (/usr/share/texmf-dist/tex/generic/xkeyval/xkvutils.tex \XKV@toks=\toks24 \XKV@tempa@toks=\toks25 ) \XKV@depth=\count297 File: xkeyval.tex 2014/12/03 v2.7a key=value parser (HA) )) \@bidi@copyins@=\insert252 (/usr/share/texmf-dist/tex/xelatex/bidi/latex-xetex-bidi.def File: latex-xetex-bidi.def 2018/02/22 v1.3.3 bidi adaptations for `latex.ltx' f or XeTeX engine \bidi@n@everypar=\toks26 \bidi@column@check@number=\count298 (/usr/share/texmf-dist/tex/xelatex/bidi/footnote-xetex-bidi.def File: footnote-xetex-bidi.def 2017/08/09 v1.1 bidi footnote macros for XeTeX en gine \c@footdir@label=\count299 \footdir@toks=\toks27 ) (/usr/share/texmf-dist/tex/xelatex/bidi/article-xetex-bidi.def File: article-xetex-bidi.def 2017/06/09 v0.6 bidi adaptations for standard arti cle class for XeTeX engine ) (/usr/share/texmf-dist/tex/xelatex/bidi/listings-xetex-bidi.def File: listings-xetex-bidi.def 2017/01/14 v1.4 bidi adaptations for listings pac kage for XeTeX engine ! Package Listings Error: direction textdirection unknown. See the Listings package documentation for explanation. Type H for immediate help. ... l.43 ...ror{Listings}{direction #1 unknown}\@ehc}} Try typing to proceed. If that doesn't work, type X to quit. Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! )) (/usr/share/texmf-dist/tex/xelatex/bidi/loadingorder-xetex-bidi.def File: loadingorder-xetex-bidi.def 2017/12/29 v0.97 making sure that bidi is the last package loaded Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ) Overfull \hbox (30.71002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedamsthm \bidi@isloadedanimate \bidi@isloadedbreqn \bidi@isloadedcals[] [] Overfull \hbox (23.95001pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedcaption \bidi@isloadedcrop \bidi@isloadedcuted \ bidi@isloadedcutwin[] [] Overfull \hbox (37.33002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedcolor \bidi@isloadeddblfnote \bidi@isloadeddiagb ox \bidi@isloadedxcolor[] [] Overfull \hbox (45.68001pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedcolortbl \bidi@isloadedfloat \bidi@isloadedfloat row \bidi@isloadedflowfram[] [] Overfull \hbox (52.37001pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedframed \bidi@isloadedftnright \bidi@isloadedxltx tra \bidi@isloadedxunicode[] [] Overfull \hbox (59.85pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedwrapfig \bidi@isloadedgraphicx \bidi@isloadedgeo metry \bidi@isloadedhvfloat[] [] Overfull \hbox (85.11002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedmdframed \bidi@isloadedmidfloat \bidi@isloadednt heorem \bidi@isloadedntheorem-[] [] Overfull \hbox (80.14001pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedfix2col \bidi@isloadeddraftwatermark \bidi@isloa dedempheq \bidi@isloadedoverpic[] [] Overfull \hbox (46.63pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedpdfpages \bidi@isloadedlistings \bidi@isloadedle ttrine \bidi@isloadedlineno[] [] Overfull \hbox (33.54002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedmedia9 \bidi@isloadedpstricks \bidi@isloadedpgf \bidi@isloadedpicinpar[] [] Overfull \hbox (38.13002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedquotchap \bidi@isloadedtikz \bidi@isloadedtitles ec \bidi@isloadedtitletoc[] [] Overfull \hbox (21.13pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedarray \bidi@isloadedsoul \bidi@isloadedstabular \bidi@isloadedsubfig[] [] Overfull \hbox (74.43001pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedsubfigure \bidi@isloadedsupertabular \bidi@isloa dedxtab \bidi@isloadedlongtable[] [] Overfull \hbox (72.35002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedarydshln \bidi@isloadedmulticol \bidi@isloadedmu ltienum \bidi@isloadedminitoc[] [] Overfull \hbox (58.16002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadednatbib \bidi@isloadednewfloat \bidi@isloadedragg ed2e \bidi@isloadedrotating[] [] Overfull \hbox (46.89003pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedtabls \bidi@isloadedtabulary \bidi@isloadedtocba sic \bidi@isloadedtocstyle[] [] Overfull \hbox (86.91002pt too wide) in paragraph at lines 38--230 []\TU/lmr/m/n/10 \bidi@isloadedtocbibind \bidi@isloadedfontspec \bidi@isloadeda rabxetex \bidi@isloadedpolyglossia[] [] \bidi@digits=\count300 \bidi@digits@charclass=\XeTeXcharclass1 \bidi@sepmark@charclass=\XeTeXcharclass2 ) **************************************************** * * xepersian package (Persian for LaTeX, using XeTeX engine) * * Description: The package supports Persian * typesetting, using fonts provided in the * distribution. * * Copyright (c) 2008--2018 Vafa Khalighi * * v21.3, 2018/08/12 * * License: LaTeX Project Public License, version * 1.3c or higher (your choice) * * Location on CTAN: /macros/xetex/latex/xepersian * * Issue tracker: https://sourceforge.net/p/persian-tex-dist/tickets * * Support: http://persian-tex.com * **************************************************** ................................................. . LaTeX info: "xparse/define-command" . . Defining command \settextfont with sig. 'O{}mO{}' on line 126. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \settextdigitfont with sig. 'O{}mO{}' on line 150. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setdigitfont with sig. 'O{}mO{}' on line 193. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setlatintextfont with sig. 'O{}mO{}' on line 199. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \defpersianfont with sig. 'mO{}mO{}' on line 225. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \redefpersianfont with sig. 'mO{}mO{}' on line 230. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \deflatinfont with sig. 'mO{}mO{}' on line 249. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \redeflatinfont with sig. 'mO{}mO{}' on line 254. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setpersiansansfont with sig. 'O{}mO{}' on line 304. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setpersianmonofont with sig. 'O{}mO{}' on line 328. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setnavarfont with sig. 'O{}mO{}' on line 352. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setpookfont with sig. 'O{}mO{}' on line 376. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setsayehfont with sig. 'O{}mO{}' on line 400. ................................................. ................................................. . LaTeX info: "xparse/define-command" . . Defining command \setiranicfont with sig. 'O{}mO{}' on line 424. ................................................. \xepersian@tcl=\count301 \xepersian@ilg=\dimen142 \xepersian@strutilg=\dimen143 (/usr/share/texmf-dist/tex/xelatex/xepersian/loadingorder-xepersian.def File: loadingorder-xepersian.def 2017/09/06 v0.4 making sure that xepersian is the last package loaded Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ) (/usr/share/texmf-dist/tex/xelatex/xepersian/footnote-xepersian.def File: footnote-xepersian.def 2017/08/09 v0.6 footnote macros for xepersian pack age Overfull \hbox (67.85002pt too wide) in paragraph at lines 38--38 []\TU/lmr/m/n/10 \bidi@isloadedbackref \bidi@isloadedenumerate \bidi@isloadeden umitem \bidi@isloadedtocloft[] [] ) (/usr/share/texmf-dist/tex/xelatex/xepersian/listings-xepersian.def File: listings-xepersian.def 2014/07/17 v0.3 bilingual captions for listings pa ckage ) (/usr/share/texmf-dist/tex/xelatex/xepersian/article-xepersian.def File: article-xepersian.def 2010/07/25 v0.2 adaptations for standard article cl ass ) Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Argument of \set@fontsize has an extra }. \par l.1448 \bidi@patchcmd{\set@fontsize} {\@tempdimb#2pt}{% 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? ! Paragraph ended before \set@fontsize was complete. \par l.1448 \bidi@patchcmd{\set@fontsize} {\@tempdimb#2pt}{% 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. ! Missing number, treated as zero. # l.1448 \bidi@patchcmd{\set@fontsize}{\@tempdimb# 2pt}{% A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1448 \bidi@patchcmd{\set@fontsize}{\@tempdimb# 2pt}{% Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Missing number, treated as zero. # l.1449 ...pdimb\xepersian@@fontsize@scale\dimexpr# 2pt\relax A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1449 ...pdimb\xepersian@@fontsize@scale\dimexpr# 2pt\relax Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Argument of \set@fontsize has an extra }. \par l.1452 \bidi@patchcmd{\set@fontsize} {\@tempskipa#3pt}{% 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? ! Paragraph ended before \set@fontsize was complete. \par l.1452 \bidi@patchcmd{\set@fontsize} {\@tempskipa#3pt}{% 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. ! Missing number, treated as zero. # l.1452 \bidi@patchcmd{\set@fontsize}{\@tempskipa# 3pt}{% A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1452 \bidi@patchcmd{\set@fontsize}{\@tempskipa# 3pt}{% Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Missing number, treated as zero. # l.1453 ...a\xepersian@@baselineskip@scale\dimexpr# 3pt\relax A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1453 ...a\xepersian@@baselineskip@scale\dimexpr# 3pt\relax Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Argument of \getanddefine@fonts has an extra }. \par l.1463 \bidi@patchcmd{\getanddefine@fonts} {% 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? ! Paragraph ended before \getanddefine@fonts was complete. \par l.1463 \bidi@patchcmd{\getanddefine@fonts} {% 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. ! Undefined control sequence. l.1464 ...def\font@name{\csname \string#2/\tf@size \endcsname}% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Missing number, treated as zero. # l.1466 ...\xepersian@@update@math@fontsize\tf@size \endcsname}% A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1466 ...\xepersian@@update@math@fontsize\tf@size \endcsname}% Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) ! Missing \endcsname inserted. \relax l.1466 ...\xepersian@@update@math@fontsize\tf@size \endcsname}% The control sequence marked should not appear between \csname and \endcsname. Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Argument of \getanddefine@fonts has an extra }. \par l.1469 \bidi@patchcmd{\getanddefine@fonts} {% 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? ! Paragraph ended before \getanddefine@fonts was complete. \par l.1469 \bidi@patchcmd{\getanddefine@fonts} {% 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. ! Undefined control sequence. l.1470 ...def\font@name{\csname \string#2/\sf@size \endcsname}% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Missing number, treated as zero. # l.1472 ...\xepersian@@update@math@fontsize\sf@size \endcsname}% A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1472 ...\xepersian@@update@math@fontsize\sf@size \endcsname}% Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) ! Missing \endcsname inserted. \relax l.1472 ...\xepersian@@update@math@fontsize\sf@size \endcsname}% The control sequence marked should not appear between \csname and \endcsname. Missing character: There is no in font [lmroman10-regular]:mapping=tex-text;! ! Argument of \getanddefine@fonts has an extra }. \par l.1475 \bidi@patchcmd{\getanddefine@fonts} {% 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? ! Paragraph ended before \getanddefine@fonts was complete. \par l.1475 \bidi@patchcmd{\getanddefine@fonts} {% 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. ! Undefined control sequence. l.1476 ...ef\font@name{\csname \string#2/\ssf@size \endcsname}% The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. ! Missing number, treated as zero. # l.1478 ...xepersian@@update@math@fontsize\ssf@size \endcsname}% A number should have been here; I inserted `0'. (If you can't figure out why I needed to see a number, look up `weird error' in the index to The TeXbook.) ! Illegal unit of measure (pt inserted). # l.1478 ...xepersian@@update@math@fontsize\ssf@size \endcsname}% Dimensions can be in units of em, ex, in, pt, pc, cm, mm, dd, cc, bp, or sp; but yours is a new one! I'll assume that you meant to say pt, for printer's points. To recover gracefully from this error, it's best to delete the erroneous units; e.g., type `2' to delete two letters. (See Chapter 27 of The TeXbook.) ! Missing \endcsname inserted. \relax l.1478 ...xepersian@@update@math@fontsize\ssf@size \endcsname}% The control sequence marked should not appear between \csname and \endcsname. Missing character: There is no in font [lmroman10-regular]/OT! ................................................. . 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 NFSS series/shapes: . . - 'normal' (m/n) with NFSS spec.: . <->"[lmroman10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'small caps' (m/sc) with NFSS spec.: . <->"[lmromancaps10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold' (bx/n) with NFSS spec.: . <->"[lmroman10-bold]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold small caps' (bx/sc) with NFSS spec.: . <->"[lmromancaps10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'italic' (m/it) with NFSS spec.: . <->"[lmroman10-italic]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'italic small caps' (m/itsc) with NFSS spec.: . <->"[lmromancaps10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'slanted' (m/sl) with NFSS spec.: . <->"[lmromanslant10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'slanted small caps' (m/slsc) with NFSS spec.: . <->"[lmromancaps10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold italic' (bx/it) with NFSS spec.: . <->"[lmroman10-bolditalic]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold italic small caps' (bx/itsc) with NFSS spec.: . <->"[lmromancaps10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold slanted' (bx/sl) with NFSS spec.: . <->"[lmromanslant10-bold]/OT:script=latn;language=DFLT;mapping=tex-text;" . - 'bold slanted small caps' (bx/slsc) with NFSS spec.: . <->"[lmromancaps10-regular]/OT:script=latn;language=DFLT;mapping=tex-text;" ................................................. ) ************************************************* * fontspec warning: "language-not-exist" * * Language 'Parsi' not available for font 'Nahid' with script 'Parsi'. * 'Default' language used instead. ************************************************* ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Nahid/BI" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Nahid/B" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "no-font-shape" . . Could not resolve font "Nahid/I" (it probably doesn't exist). ................................................. ................................................. . fontspec info: "defining-font" . . Font family 'Nahid(0)' created for font 'Nahid' with options . [Script=Parsi,Language=Parsi,Mapping=parsidigits]. . . This font family consists of the following NFSS series/shapes: . . - 'normal' (m/n) with NFSS spec.: . <->"Nahid/OT:script=arab;language=DFLT;mapping=parsidigits;" . - 'small caps' (m/sc) with NFSS spec.: ................................................. ! Argument of \lst@MakeCaption has an extra }. \par l.6 \begin{document} 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? ! Paragraph ended before \lst@MakeCaption was complete. \par l.6 \begin{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. ) ! Incomplete \ifx; all text was ignored after line 6. \fi <*> test.tex The file ended while I was skipping conditional text. This kind of error happens when you say `\if...' and forget the matching `\fi'. I've inserted a `\fi'; this might work. ! Emergency stop. <*> test.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 14528 strings out of 492962 304408 string characters out of 6139097 424483 words of memory out of 5000000 18450 multiletter control sequences out of 15000+600000 532483 words of font info for 35 fonts, out of 8000000 for 9000 1348 hyphenation exceptions out of 8191 60i,0n,69p,975b,443s stack positions out of 5000i,500n,10000p,200000b,80000s No pages of output.