I’m trying to learn Texinfo to write a book.
I started from the sample file here.
As far as I understand from this page Contents is created automatically. And it works for the PDF output.
But I don’t see the Contents or Index on the HTML output.
By "Contents" I mean a page like this.
Also, I’m using makeinfo —html file-name.texi but on this page they recommend texi2any. When I try texi2any —html file-name.texi I get "no such command error".
(I'm using emacs Texinfo Minor Mode.)
I copy my Texfinfo file below:
@title Sample Title
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage
@c Output the table of the contents at the beginning.
@contents
@ifnottex
@node Top
@top GNU Sample
@insertcopying
@end ifnottex
@menu
- First Chapter:: The first chapter is the
only chapter in this sample.
- Second Chapter::
- Third Chapter::
- Index:: Complete index.
@end menu
@node First Chapter
@chapter First Chapter
@cindex chapter, first
This is the first chapter.
@cindex index entry, another
Here is a numbered list.
@enumerate
@item
This is the first item.
@item
This is the second item.
@end enumerate
@node Second Chapter
@chapter Second Chapter
This is the second chapter
@node Third Chapter
@chapter Third Chapter
This is the third chapter
@node Index
@unnumbered Index
@printindex cp
@bye

@smallbook? And there were some errors added during conversion like it added@documentencoding UTF-8which gives an error. – zeynel Sep 21 '22 at 13:29.texi, right? – zeynel Sep 21 '22 at 13:32orgsnippet that you want to convert in to a book. It is better if you share it as agistongithubor aspastebintext. It is easier to understand your problems, if you give me examples. Post theorgfile, post theerrorsetc. and let me see if I can help you in anyway. – Sep 21 '22 at 13:36.texifile to github https://github.com/azeynel/texinfo It looks good but, one major issue is that it did not recognize the Latex equations. I think Texinfo only uses plain textTex. Is there a way to make Texinfo recognize the Latex code? – zeynel Sep 21 '22 at 15:07texinfois only couple of days old PATCH Re: No mathematics in Texinfo exports. If you want the nodes to be NOT split then do,makeinfo --html --number-sections --number-sections --no-split --css-ref "https://www.gnu.org/software/emacs/manual.css". I don't know how you setup file is~/.emacs.d/org-templates/level-0.org. Anyways, looks like you have figured out most of the things. – Sep 22 '22 at 02:12org-modefrom git? IfC-h v org-texinfo-with-latexdoesn't report anything, you aren't running the very very latest org version. If you know how to patch locally, apply this patch https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c940b460c7bb31e98089286a5a45306cc27034cc. – Sep 22 '22 at 07:39M-x load-file <downloaded-ox-texinfo.el>and try exporting it again. MAY BE MAY BE it works, if luck is on your side. – Sep 22 '22 at 07:45makeinfo --html --number-sections --number-sections --no-split --css-ref "https://www.gnu.org/software/emacs/manual.css"but it gave an error for—css-ref. Instead I used--css-include="file-path-to-css"I didn't get an error with the command but it could not open the GNU css file. I tried my own css file,--css-include="http://cavendish-deneyi.com/css/worg-classic-new.css"it could not open that either. Any suggestions? – zeynel Sep 22 '22 at 09:45