https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Short-Sample-Texinfo-File
在上述网址的示例代码中,使用TexInfo,我试图输出PDF,但发生了以下错误。
$ makeinfo --pdf sample.texinfo
sample.texinfo:28: @menu seen before first @node
sample.texinfo:28: perhaps your @top node should be wrapped in @ifnottex rather than @ifinfo?有没有办法解决这个问题?
发布于 2020-07-08 15:35:03
我也遇到了这个问题,并找到了an email about this issue,它主要解释说,您可以将@menu放在@ifnottex块中(我发现官方示例文档不会这样做,这很奇怪),或者您可以通过编写以下代码直接对文件运行texi2pdf
texi2pdf <FILE>这对我来说非常有效,所以我想它需要经过更少的验证。尽管这又很奇怪,因为据我所知,makeinfo --pdf应该只是texi2pdf的一个包装器。texi2dvi --pdf也可以工作。
https://stackoverflow.com/questions/60575456
复制相似问题