This is XeTeX, Version 3.14159265-2.6-0.99992 (TeX Live 2015/Debian) (preloaded format=xelatex 2018.12.4)  7 DEC 2018 03:04
entering extended mode
 restricted \write18 enabled.
 %&-line parsing enabled.
**sample.tex
(./sample.tex
LaTeX2e <2016/02/01>
Babel <3.9q> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian.sty
Package: xepersian 2015/12/07 v16.4 Persian typesetting in XeLaTeX

(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.sty
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2016/01/19 v6377 L3 programming layer (loader) 

(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/expl3-code.tex
Package: expl3 2016/01/19 v6377 L3 programming layer (code)
L3 Module: l3bootstrap 2016/01/01 v6339 L3 Bootstrap code
L3 Module: l3names 2015/12/21 v6328 L3 Namespace for primitives
L3 Module: l3basics 2015/11/22 v6315 L3 Basic definitions
L3 Module: l3expan 2015/09/10 v5983 L3 Argument expansion
L3 Module: l3tl 2015/09/29 v6121 L3 Token lists
L3 Module: l3str 2016/01/03 v6357 L3 Strings
L3 Module: l3seq 2015/08/05 v5777 L3 Sequences and stacks
L3 Module: l3int 2016/01/05 v6366 L3 Integers
\c_max_int=\count87
\l_tmpa_int=\count88
\l_tmpb_int=\count89
\g_tmpa_int=\count90
\g_tmpb_int=\count91
L3 Module: l3quark 2015/08/17 v5855 L3 Quarks
L3 Module: l3prg 2015/11/01 v6216 L3 Control structures
\g__prg_map_int=\count92
L3 Module: l3clist 2015/09/02 v5901 L3 Comma separated lists
L3 Module: l3token 2015/11/11 v6249 L3 Experimental token manipulation
L3 Module: l3prop 2016/01/05 v6366 L3 Property lists
L3 Module: l3msg 2015/09/28 v6113 L3 Messages
L3 Module: l3file 2015/12/03 v6317 L3 File and I/O operations
\l_iow_line_count_int=\count93
\l__iow_target_count_int=\count94
\l__iow_current_line_int=\count95
\l__iow_current_word_int=\count96
\l__iow_current_indentation_int=\count97
L3 Module: l3skip 2016/01/05 v6366 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
L3 Module: l3keys 2015/11/17 v6284 L3 Key-value interfaces
\g__keyval_level_int=\count98
\l_keys_choice_int=\count99
L3 Module: l3fp 2015/08/25 v5890 L3 Floating points
\c__fp_leading_shift_int=\count100
\c__fp_middle_shift_int=\count101
\c__fp_trailing_shift_int=\count102
\c__fp_big_leading_shift_int=\count103
\c__fp_big_middle_shift_int=\count104
\c__fp_big_trailing_shift_int=\count105
\c__fp_Bigg_leading_shift_int=\count106
\c__fp_Bigg_middle_shift_int=\count107
\c__fp_Bigg_trailing_shift_int=\count108
L3 Module: l3box 2015/08/09 v5822 L3 Experimental boxes
\c_empty_box=\box26
\l_tmpa_box=\box27
\l_tmpb_box=\box28
\g_tmpa_box=\box29
\g_tmpb_box=\box30
L3 Module: l3coffins 2015/08/06 v5789 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
L3 Module: l3color 2014/08/23 v5354 L3 Experimental color support
L3 Module: l3sys 2015/09/25 v6087 L3 Experimental system/runtime functions
L3 Module: l3candidates 2016/01/14 v6376 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
L3 Module: l3luatex 2015/11/11 v6250 L3 Experimental LuaTeX-specific functions
)
(/usr/share/texlive/texmf-dist/tex/latex/l3kernel/l3xdvipdfmx.def
File: l3xdvidpfmx.def 2015/11/11 v6250 L3 Experimental driver: xdvipdfmx
))
(/usr/share/texlive/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2016/01/19 v6377 L3 Experimental document command parser
\l__xparse_current_arg_int=\count109
\l__xparse_m_args_int=\count110
\l__xparse_mandatory_args_int=\count111
\l__xparse_processor_int=\count112
\l__xparse_v_nesting_int=\count113
)
Package: fontspec 2016/02/01 v2.5a Font selection for XeLaTeX and LuaLaTeX

(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty
Package: fontspec-xetex 2016/02/01 v2.5a Font selection for XeLaTeX and LuaLaTe
X
\l_fontspec_script_int=\count114
\l_fontspec_language_int=\count115
\l_fontspec_strnum_int=\count116
\l__fontspec_tmpa_dim=\dimen134
\l__fontspec_tmpb_dim=\dimen135
\l__fontspec_tmpc_dim=\dimen136
\g__file_internal_ior=\read1

(/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

(/usr/share/texlive/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 105.


(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmr.fd
File: eu1lmr.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
(/usr/share/texlive/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

(/usr/share/texmf/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
.

(/usr/share/texlive/texmf-dist/tex/latex/euenc/eu1lmss.fd
File: eu1lmss.fd 2009/10/30 v1.6 Font defs for Latin Modern
))
\tipaTiiicode=\count117
\tipasavetokens=\toks14
\tipachecktokens=\toks15

(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty
Package: graphicx 2014/10/28 v1.0g Enhanced LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks16
)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty
Package: graphics 2016/01/03 v1.0q Standard LaTeX Graphics (DPC,SPQR)

(/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty
Package: trig 2016/01/03 v1.10 sin cos tan (DPC)
)
(/usr/share/texlive/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 95.

(/usr/share/texlive/texmf-dist/tex/xelatex/xetex-def/xetex.def
File: xetex.def 2015/09/11 v4.06 LaTeX color/graphics driver for XeTeX (TeX Liv
e/RRM/JK)

(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/infwarerr.sty
Package: infwarerr 2010/04/08 v1.3 Providing info/warning/error messages (HO)
)
(/usr/share/texlive/texmf-dist/tex/generic/oberdiek/ltxcmds.sty
Package: ltxcmds 2011/11/09 v1.22 LaTeX kernel commands for general use (HO)
)))
\Gin@req@height=\dimen137
\Gin@req@width=\dimen138
))
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \__fontspec_post_arg:w with sig. 'mmO{}' on line 353.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \fontspec with sig. 'om' on line 355.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmainfont with sig. 'om' on line 365.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setsansfont with sig. 'om' on line 375.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmonofont with sig. 'om' on line 385.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathrm with sig. 'om' on line 399.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setboldmathrm with sig. 'om' on line 407.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathsf with sig. 'om' on line 415.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathtt with sig. 'om' on line 423.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontfamily with sig. 'mom' on line 437.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontface with sig. 'mom' on line 453.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \defaultfontfeatures with sig. 't+om' on line 467.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \addfontfeatures with sig. 'm' on line 529.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontfeature with sig. 'mm' on line 540.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newAATfeature with sig. 'mmmm' on line 548.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newopentypefeature with sig. 'mmm' on line 556.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \aliasfontfeature with sig. 'mm' on line 577.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \aliasfontfeatureoption with sig. 'mmm' on line 586.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontscript with sig. 'mm' on line 590.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \newfontlanguage with sig. 'mm' on line 594.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \DeclareFontsExtensions with sig. 'm' on line 599.
.................................................
\l__fontspec_tmp_int=\count118

(/usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec.cfg)
LaTeX Info: Redefining \itshape on input line 2705.
LaTeX Info: Redefining \slshape on input line 2710.
LaTeX Info: Redefining \scshape on input line 2715.
LaTeX Info: Redefining \upshape on input line 2720.
\l__fontspec_em_int=\count119
\l__fontspec_emdef_int=\count120
LaTeX Info: Redefining \em on input line 2736.
LaTeX Info: Redefining \emph on input line 2742.
LaTeX Info: Redefining \- on input line 2746.
.................................................
. LaTeX info: "xparse/redefine-command"
. 
. Redefining command \oldstylenums with sig. 'm' on line 2841.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \liningnums with sig. 'm' on line 2845.
.................................................
))
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-persiancal.sty
Package: xepersian-persiancal 2012/07/25 v0.2 provides Persian calendar
\XePersian@i=\count121
\XePersian@y=\count122
\XePersian@m=\count123
\XePersian@d=\count124
\XePersian@latini=\count125
\XePersian@persiani=\count126
\XePersian@latinii=\count127
\XePersian@persianii=\count128
\XePersian@latiniii=\count129
\XePersian@persianiii=\count130
\XePersian@latiniv=\count131
\XePersian@persianiv=\count132
\XePersian@latinv=\count133
\XePersian@persianv=\count134
\XePersian@latinvi=\count135
\XePersian@persianvi=\count136
\XePersian@latinvii=\count137
\XePersian@persianvii=\count138
\XePersian@latinviii=\count139
\XePersian@persianviii=\count140
\XePersian@latinix=\count141
\XePersian@persianix=\count142
\XePersian@latinx=\count143
\XePersian@persianx=\count144
\XePersian@latinxi=\count145
\XePersian@persianxi=\count146
\XePersian@latinxii=\count147
\XePersian@persianxii=\count148
\XePersian@persianxiii=\count149
\XePersian@temp=\count150
\XePersian@temptwo=\count151
\XePersian@tempthree=\count152
\XePersian@yModHundred=\count153
\XePersian@thirtytwo=\count154
\XePersian@dn=\count155
\XePersian@sn=\count156
\XePersian@mminusone=\count157
)
(/usr/share/texlive/texmf-dist/tex/xelatex/xepersian/xepersian-mathsdigitspec.s
ty
Package: xepersian-mathsdigitspec 2015/12/07 v1.1.1 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 \setdigitfont with sig. 'om' on line 167.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathsfdigitfont with sig. 'om' on line 195.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setmathttdigitfont with sig. 'om' on line 204.
.................................................
) (./bidi.sty
Package: bidi 2007/04/30 v0.2.2 Bidirectional typesetting in XeLaTeX
\n@everypar=\toks17
)
****************************************************
* 
* xepersian package (Persian for LaTeX, using XeTeX engine)
* 
* Description: The package supports Persian
* typesetting, using fonts provided in the
* distribution.
* 
* Copyright (c) 2008--2015 Vafa Khalighi
* 
* v16.4, 2015/12/07
* 
* License: LaTeX Project Public License, version
* 1.3c or higher (your choice)
* 
* Location on CTAN: /macros/xetex/latex/xepersian
* 
* Issue tracker: https://github.com/persian-tex/xepersian/issues
* 
* Support: persian-tex@tug.org
****************************************************
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \settextfont with sig. 'om' on line 101.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setlatintextfont with sig. 'om' on line 118.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \defpersianfont with sig. 'mom' on line 135.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \deflatinfont with sig. 'mom' on line 150.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setpersiansansfont with sig. 'om' on line 195.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setpersianmonofont with sig. 'om' on line 204.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setnavarfont with sig. 'om' on line 213.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setpookfont with sig. 'om' on line 222.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setsayehfont with sig. 'om' on line 231.
.................................................
.................................................
. LaTeX info: "xparse/define-command"
. 
. Defining command \setiranicfont with sig. 'om' on line 240.
.................................................
! Undefined control sequence.
l.257 \bidi@newrobustcmd
                        *{\lr}[1]{\LRE{\@Latintrue\latinfont#1}}
? 

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.257 \bidi@newrobustcmd*
                         {\lr}[1]{\LRE{\@Latintrue\latinfont#1}}
? 
! Undefined control sequence.
l.257 \bidi@newrobustcmd*{\lr
                             }[1]{\LRE{\@Latintrue\latinfont#1}}
? 
! Undefined control sequence.
l.257 \bidi@newrobustcmd*{\lr}[1]{\LRE
                                      {\@Latintrue\latinfont#1}}
? 
! Undefined control sequence.
l.257 \bidi@newrobustcmd*{\lr}[1]{\LRE{\@Latintrue
                                                  \latinfont#1}}
? 
! Undefined control sequence.
l.257 ...stcmd*{\lr}[1]{\LRE{\@Latintrue\latinfont
                                                  #1}}
? 
! You can't use `macro parameter character #' in horizontal mode.
l.257 ...tcmd*{\lr}[1]{\LRE{\@Latintrue\latinfont#
                                                  1}}
? 
! Undefined control sequence.
l.258 \bidi@newrobustcmd
                        *{\rl}[1]{\RLE{\@Latinfalse\persianfont#1}}
? 
! Undefined control sequence.
l.258 \bidi@newrobust