使用 XePersian 包中的 table* 时出错

使用 XePersian 包中的 table* 时出错

当我在使用 XePersian 包时使用 table* 时,出现此错误:

Incomplete \iffalse; all text was ignored after line 10.

返回此错误的示例如下:

\documentclass[12pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage{xepersian}
\settextfont{Arial}
\begin{document}    
    \begin{table*}
        \caption{نمونه}
    \end{table*}
\end{document}

有人可以指导我解决这个问题吗?

编辑这是我的日志档案

答案1

它在 texlive 2017 中运行,并添加\listfiles显示以下列表,比较您的软件包版本。

 *File List*
  report.cls    2014/09/29 v1.4h Standard LaTeX document class
  size12.clo    2014/09/29 v1.4h Standard LaTeX file (size option)
inputenc.sty    2015/03/17 v1.2c Input encoding file
xepersian.sty    2017/09/06 v19.3 Persian typesetting in XeLaTeX
fontspec.sty    2017/09/22 v2.6e Font selection for XeLaTeX and LuaLaTeX
   expl3.sty    2017/09/18 L3 programming layer (loader) 
expl3-code.tex    2017/09/18 L3 programming layer 
l3xdvipdfmx.def    
  xparse.sty    2017/09/18 L3 Experimental document command parser
fontspec-xetex.sty    2017/09/22 v2.6e Font selection for XeLaTeX and LuaLaTeX
 fontenc.sty
   tuenc.def    2017/04/05 v2.0i Standard LaTeX file
fontspec.cfg
xepersian-persiancal.sty    2012/07/25 v0.2 provides Persian calendar
xepersian-mathsdigitspec.sty    2017/09/02 v1.1.4 Unicode Persian maths digits 
in XeLaTeX
    bidi.sty    2017/09/19 v31.3 Bidirectional typesetting in plain TeX and LaT
eX
   iftex.sty    2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
 and LuaTeX
biditools.sty    2017/09/19 v1.0 Programming tools for bidi package
zref-abspage.sty    2016/05/21 v2.26 Module abspage for zref (HO)
zref-base.sty    2016/05/21 v2.26 Module base for zref (HO)
 ltxcmds.sty    2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
infwarerr.sty    2016/05/16 v1.4 Providing info/warning/error messages (HO)
kvsetkeys.sty    2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty    2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
ifluatex.sty    2016/05/16 v1.4 Provides the ifluatex switch (HO)
kvdefinekeys.sty    2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty    2017/03/19 v0.25 Utility functions of pdfTeX for LuaTeX (HO)
   ifpdf.sty    2017/03/15 v3.2 Provides the ifpdf switch
 auxhook.sty    2016/05/16 v1.4 Hooks for auxiliary files (HO)
atbegshi.sty    2016/06/09 v1.18 At begin shipout hook (HO)
 xkeyval.sty    2014/12/03 v2.7a package option processing (HA)
 xkeyval.tex    2014/12/03 v2.7a key=value parser (HA)
latex-xetex-bidi.def    2017/05/06 v1.2.9 bidi adaptations for `latex.ltx' for 
XeTeX engine
footnote-xetex-bidi.def    2017/08/09 v1.1 bidi footnote macros for XeTeX engin
e
report-xetex-bidi.def    2017/06/09 v0.8 bidi adaptations for standard report c
lass for XeTeX engine
loadingorder-xetex-bidi.def    2015/10/16 v0.96 making sure that bidi is the la
st package loaded
loadingorder-xepersian.def    2017/09/06 v0.4 making sure that xepersian is the
 last package loaded
footnote-xepersian.def    2017/08/09 v0.6 footnote macros for xepersian package

report-xepersian.def    2010/07/25 v0.2 adaptations for standard report class
 ***********

相关内容