目前,我正在研究我们编写的文档生成(.tex、->、.pdf和.chm)方面的问题,我不得不承认,在生成LaTeX方面,我非常无知。
长话短说:
通过pdflatex -output-format=pdf -interaction=batchmode ourfile.tex
latex -interaction=batchmode \makeatletter\def\HCode{\futurelet\HCode\HChar}\def\HChar{\ifx"\HCode\def\HCode"##1"{\Link##1}\expandafter\HCode\else\expandafter\Link\fi}\def\Link#1.a.b.c.{\g@addto@macro\@documentclasshook{\RequirePackage[#1,html]{tex4ht}}\let\HCode\documentstyle\def\documentstyle{\let\documentstyle\HCode\expandafter\def\csname tex4ht\endcsname{#1,html}\def\HCode####1{\documentstyle[tex4ht,}\@ifnextchar[{\HCode}{\documentstyle[tex4ht]}}}\makeatother\HCode html,5.a.b.c.\input ourfile.tex
但是,当我交替地从(2)第4、5、6次运行命令时,我可以看到每次运行命令时,.4ct和.4tc文件的内容都会交换。这就是:
( a)运行=> ourfile.4ct = 126行/ ourfile.4tc = 793行
( b)运行=> ourfile.4ct = 793行/ ourfile.4tc = 126行
c)运行=> ourfile.4ct = 126行/ ourfile.4tc = 793行
( d)等
生成的.log文件仅引用ourfile.4ct,在第一次出现时,我看到以下警告.
---------------------------------------------------------
l.1 --- TeX4ht warning --- If not done so, the index is to be processed by
tex '\def\filename{{Td_g}{idx}{4dx}{ind}} \input idxmake.4ht'
makeindex -o Td_g.ind Td_g.4dx
instead of
makeindex -o Td_g.ind Td_g.idx
On some platforms, the quotation marks ' should be
replaced by double quotation marks " or eliminated.
--------------------------------------------------------- ---..。如果有什么用的话。
谢谢你的指点!
发布于 2010-07-23 14:03:56
这些文件不是特定于MikTeX,而是特定于tex4ht包(超文本生成器)。它们没有文档化,因此它们可能包含产生最终结果( HTML)所需的临时数据。你对产出有任何不满吗?如果是这样的话,您需要询问Tex4ht作者的HTML有什么问题,而不是中间文件--他们可能只会告诉您,“哦,这些是内部文件,不要担心它们。”
https://stackoverflow.com/questions/3318733
复制相似问题