我使用
LuaTEX version 1.0.4TeX Live 2017/W32TeX
在装有 Minion-Pro V2.112 makeotf.lib 2.5.5900 的 Windows 10 机器上。
我正在附加文件列表!
在 MWE 中,我注释掉了 \figureversion 行,示例可以正常运行,但日志文件包含
Package tabfigures Warning: There is no \figureversion to support tabular
figures on input line 15.
忽略这个警告会有什么后果?
当取消注释该行时,警告将从日志文件中消失,但现在每个枚举行都以单词“tabular”为前缀,例如
tabular1. First item ;
ToC 的行为类似。
梅威瑟:
\documentclass[a4paper, 11pt, book]{memoir}
\usepackage{fontspec}
\setmainfont[Numbers={OldStyle,Proportional},Ligatures=TeX,Scale=MatchLowercase,Renderer=Basic]{Minion Pro}%
%\newcommand{\figureversion}{\addfontfeatures{Numbers=Monospaced}}
\usepackage[eqno,enum]{tabfigures}
\usepackage{enumerate}
\usepackage{siunitx}
\usepackage[para]{threeparttable}
\begin{document}
\chapter{Chapter One}
\section{Section A}
\begin{enumerate}
\item First item ;
\item Another item ;
\item Last item ;
\end{enumerate}
\begin{threeparttable}[t]
\begin{tabular}{*{3}{S[table-format=3.2]}}
\toprule
1.2 &5.31 &100\\
99.0 &15.01 &8.4\\
\bottomrule
\end{tabular}
\end{threeparttable}
\end{document}
文件列表:
文件列表
memoir.cls 2016/05/16 v3.7f configurable book, report, article document cla
ss
luatex85.sty 2016/06/15 v1.4 pdftex aliases for luatex
ifpdf.sty 2017/03/15 v3.2 Provides the ifpdf switch
ifetex.sty 2011/12/15 v1.2 ifetex
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
mem11.clo 2008/01/30 v0.3 memoir class 11pt size option
mempatch.sty 2009/07/24 v6.0f Patches for memoir class v1.6180339
fontspec.sty 2017/11/09 v2.6g Font selection for XeLaTeX and LuaLaTeX
xparse.sty 2017/12/16 L3 Experimental document command parser
expl3.sty 2017/12/16 L3 programming layer (loader)
expl3-code.tex 2017/12/16 L3 programming layer
l3pdfmode.def 2017/03/18 v L3 Experimental driver: PDF mode
fontspec-luatex.sty 2017/11/09 v2.6g Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
tuenc.def 2017/04/05 v2.0i Standard LaTeX file
fontspec.cfg
tabfigures.sty 2007/05/07 v0.1d Tabular figures (patches)
siunitx.sty 2017/11/26 v2.7k A comprehensive (SI) units package
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
l3keys2e.sty 2017/12/16 LaTeX2e option processing using LaTeX3 keys
translator.sty 2018/01/04 v1.12 Easy translation of strings in LaTeX
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
threeparttable.sty 2003/06/13 v 3.0
translator-basic-dictionary-English.dict
siunitx-abbreviations.cfg 2017/11/26 v2.7k siunitx: Abbreviated units
***********
答案1
在提交 5638c3a(2011年9月)执行该tabfigures
包删除的\figureversion
命令:
\AtBeginDocument{%
- \@ifundefined{figureversion}{%
- \PackageWarning{tabfigures}{There is no
- \string\figureversion\space to support tabular figures}%
- \let\Tf@font\@empty
+ \@ifundefined{tbfigures}{%
+ \PackageWarning{tabfigures}{There is no command
+ \string\tbfigures\space to support tabular figures}%
+ \let\tabfig@font\@empty