【问题标题】:I get an error when trying to do TexInfo PDF output尝试进行 TexInfo PDF 输出时出现错误
【发布时间】:2020-06-19 20:40:33
【问题描述】:

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?

有没有办法解决这个问题?

【问题讨论】:

    标签: texinfo


    【解决方案1】:

    我也遇到了这个问题,发现an email about this issue 主要解释了你可以将@menu within @ifnottex 块(我觉得奇怪的是官方示例文档不会),或者您可以通过编写直接在文件上运行texi2pdf

    texi2pdf <FILE>
    

    这对我来说非常有效,所以我想它通过较少的验证。虽然这很奇怪,因为据我所知,makeinfo --pdf 应该只是texi2pdf 的包装。 texi2dvi --pdf 也可以。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-08-20
      • 1970-01-01
      • 2021-10-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多