Re: makeinfo --pdf vs Emacs texi2pdf strategy
tpeplt <[email protected]>
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
Heime <[email protected]> writes: > In Makefile.in for making the Emacs documentation, there is > > emacs.pdf: ${EMACSSOURCES} > $(ENVADD) $(TEXI2PDF) $< > > I want to produce the .pdf for my program with makeinfo, but it seems > that the correct approach would be to add -o $@ > > $(trgdir)/antares.pdf: ${srcs} | ${trgdir} > makeinfo --pdf -o $@ $< > There several options, as documented in the ‘texinfo’ user manual: (info "(texinfo) Invoking texi2any") (info "(texinfo) texi2any Printed Output") You can try: 1. texi2pdf $< 2. texi2any --pdf $< 3. texi2any --dvipdf $< Or, more simply, test to verify that you can create a .pdf file from a .texi file by issuing one of those commands at a shell prompt, and then add them to your makefile: $ texi2pdf My-Texinfo-File.texi Needless to say, these are not Emacs or Emacs Lisp questions and so belong on a different mailing list. The mailing list for questions about using ‘texinfo’ is at: https://lists.gnu.org/mailman/listinfo/help-texinfo "This list is the place for authors, users and installers of GNU Texinfo to ask for help." [email protected] -- The lyf so short, the craft so long to lerne. - Geoffrey Chaucer, The Parliament of Birds.