https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#Short-Sample-Texinfo-File
上記URLのサンプルコードで、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?
この問題を解決する方法はありますか?