help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Exporting form emacs texinfo-mode to dvi, pdf, and html


From: lisa-asket
Subject: Exporting form emacs texinfo-mode to dvi, pdf, and html
Date: Sat, 26 Jun 2021 02:36:02 +0200 (CEST)


I use the command 



texi2pdf myfile.texi



You mention 



M-x compile RET make PDF RET



Tried it only to get



-*- mode: compilation; default-directory: "~/documents/" -*-
Compilation started at Sat Jun 26 12:34:04

make myfile.pdf
make: Nothing to be done for 'myfile.pdf'.

Compilation finished at Sat Jun 26 12:34:04





From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Exporting form emacs texinfo-mode to dvi, pdf, and html
Date: 25/06/2021 08:34:35 Europe/Paris

> From: lisa-asket@perso.be
> Date: Fri, 25 Jun 2021 01:56:11 +0200 (CEST)
> 
> Mhen I am in emacs org mode, it is very easy to write plain-text documents and
> export them using latex to pdf.
> 
> But if I write a texinfo file, I cannot use emacs to easily export the 
> document to
> dvi, pdf, or html.  A capability in the menu in texinfo mode would be 
> appreciated.

Texinfo documents are not plain text documents, so their typesetting
is more complex than just Org-style "export". For that reason, a
project that supports producing printed manuals usually has a Makefile
with the corresponding settings and commands. With such projects,
what you want to do is achieved by something like

M-x compile RET make PDF RET

This will invoke Make to produce the printed manual.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]