`cslatex` 和 TeXLive

`cslatex` 和 TeXLive

我已经在计算机上安装了 TeXLive 2016 一段时间了。今天,我发出了命令tlmgr update --self --all,由于某种原因,它tlmgr自动安装了cslatex,并生成了一条错误消息,我认为是由于缺少连字符包造成的:

 [8/9, 00:11/00:11] auto-install: cslatex.x86_64-darwin (18441) [1k] ... done
 [9/9, 00:11/00:11] auto-install: cslatex (40855) [36k] ... done
 tlmgr: package log updated: $PATH_TO_TEXLIVE/texmf-var/web2c/tlmgr.log
 running mktexlsr ...
 done running mktexlsr.
 running updmap-sys ...
 done running updmap-sys.
 regenerating fmtutil.cnf in $PATH_TO_TEXLIVE/texmf-dist
 running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine tex ...
 done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine tex.
 running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt dvilualatex ...
 done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt dvilualatex.
 running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt cslatex ...

 tlmgr: fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt cslatex failed (status 1), output:
 fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
 fmtutil:   $PATH_TO_TEXLIVE/texmf-dist/web2c/fmtutil.cnf
 fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
 fmtutil:   $PATH_TO_TEXLIVE/texmf-config/web2c/fmtutil.cnf
 fmtutil [INFO]: writing formats under $PATH_TO_TEXLIVE/texmf-var/web2c
 fmtutil [INFO]: --- remaking cslatex with pdftex
 fmtutil: running `pdftex -ini   -jobname=cslatex -progname=cslatex -etex cslatex.ini' ...
 This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016) (INITEX)
  restricted \write18 enabled.
 entering extended mode

 ($PATH_TO_TEXLIVE/texmf-dist/tex/cslatex/base/cslatex.ini jobname=cslatex with pdftex, DVI output initialised.
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/latex.ltx
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/texsys.cfg)
 ./texsys.aux found


 \@currdir set to: ./.


 Assuming \openin and \input 
 have the same search path.


 Defining UNIX/DOS style filename parser.

 catcodes, registers, compatibility for TeX 2,  parameters,
 ***** WARNING ******** CSLaTeX is obsolete, don't use it please *****
 ***** You can use ``normal'' LaTeX+Babel or XeLaTeX+polyglossia *****
 LaTeX2e <2016/03/31> patch level 3
 LaTeX2e <2016/03/31> patch level 3
 hacks, control, par, spacing, files, font encodings, lengths,
 ====================================

 Local config file fonttext.cfg used

 ====================================

 ($PATH_TO_TEXLIVE/texmf-dist/tex/cslatex/base/fonttext.cfg
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/omlenc.def)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/t1enc.def)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/ot1enc.def)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/cslatex/base/il2enc.def)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/omsenc.def)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/t1cmr.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/ot1cmr.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/cslatex/base/il2cmr.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/ot1cmss.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/ot1cmtt.fd))
 ====================================

 Local config file fontmath.cfg used

 ====================================

 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/fontmath.cfg
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/fontmath.ltx
 === Don't modify this file, use a .cfg file instead ===


 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/omlcmm.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/omscmsy.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/omxcmex.fd)
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/ucmr.fd)))
 ====================================

 Local config file preload.cfg used

 =====================================

 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/preload.cfg
 ($PATH_TO_TEXLIVE/texmf-dist/tex/latex/base/preload.ltx)) page nos., x-ref, environments, center, verbatim,
 math definitions, boxes, title, sectioning, contents, floats, footnotes,
 index, bibliography, output,
 ===========================================
 Local configuration file hyphen.cfg used
 ===========================================

 ($PATH_TO_TEXLIVE/texmf-dist/tex/cslatex/base/hyphen.cfg 
 Loading english hyphenation patterns and exceptions
 ($PATH_TO_TEXLIVE/texmf-dist/tex/generic/hyphen/hyphen.tex)
 ! OOPS!! Hyphenation patterns file czhyphen.tex for czech not found!.
 \reserved@a ...@gobble \string \czech  not found!}

 l.131 ...                        \@requesthyphens}
                                                   %
 ? 
 ! Emergency stop.
 \reserved@a ...@gobble \string \czech  not found!}

 l.131 ...                        \@requesthyphens}
                                                   %
 No pages of output.
 Transcript written on cslatex.log.
 fmtutil [ERROR]: running `pdftex -ini   -jobname=cslatex -progname=cslatex -etex cslatex.ini </dev/null' return status 1
 fmtutil [ERROR]: return error due to options --strict
 fmtutil [INFO]: Disabled formats: 1
 fmtutil [INFO]: Not selected formats: 14
 fmtutil [INFO]: Failed to build: 1 (pdftex/cslatex)
 fmtutil [INFO]: Total formats: 16
 fmtutil [INFO]: exiting with status 1

然后它尝试生成其他几种捷克格式,但出现同样的错误。事实上,csplain,即tlmgr show czhyphen包含文件 的唯一发行版czhyphen.tex,未安装。我想我可以安装它,但为什么我需要这样做?我不想用捷克语写作,CSLaTeX 的作者说:

Cslatex 包已过时。用户应改用“普通”LaTeX 包,该包提供多语言支持。

来源)。这是一个错误吗(要么根本就安装它,要么,如果真的必须安装——tlmgr认为它必须:

$ tlmgr remove cslatex
tlmgr: not removing cslatex.x86_64-darwin, needed by cslatex
tlmgr: not removing cslatex, needed by latex-bin
tlmgr: no packages removed.
tlmgr: action remove returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.

— 意外没有打包文件czhyphen.tex)?我该怎么办?

编辑:不知何故,尽管有错误,但tlmgr相信cslatex实际上做过安装;所以,虽然我担心我的系统状态,但它似乎运行正常。

编辑 2(同时,因为我tlmgr update --self --all刚刚再次运行):它似乎已被修复;cslatex已被自动删除。

答案1

为了避免再次出现无答案的问题:

问题已解决。texlive 的更新包括删除 cslatex 和 cslatex.x86_64-linux 软件包,可能还删除了其他平台的任何其他 cslatex.*-bin。fmutil(或 fmutil-sys)运行时没有错误。

相关内容