emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Reference to images and export to PDF


From: Eric S Fraga
Subject: Re: [O] Reference to images and export to PDF
Date: Fri, 18 Nov 2016 06:31:03 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

On Thursday, 17 Nov 2016 at 17:44, David Pineda wrote:
> Hello
> I'm writing a doc with some images and i reference to its. When export
> only to latex and then by command line runs 2 times the conversor
> (because the index and references) the pdf it's fine. But When i
> export directly from org-mode on emacs with "C c C e l p" runs ok,
> generate the index but lost references and give a pdf with 99% ok but
> 1% wrong.
> I ask to all of you how can i fix it?

What is the setting of org-latex-pdf-process?

,----[ C-h v org-latex-pdf-process RET ]
| org-latex-pdf-process is a variable defined in ‘ox-latex.el’.
| Its value is ("pdflatex %f" "bibtex %b" "pdflatex %f" "pdflatex %f")
| Original value was 
| ("%latex -interaction nonstopmode -output-directory %o %f" "%latex 
-interaction nonstopmode -output-directory %o %f" "%latex -interaction 
nonstopmode -output-directory %o %f")
| 
| 
| Documentation:
| Commands to process a LaTeX file to a PDF file.
| This is a list of strings, each of them will be given to the
| shell as a command.  %f in the command will be replaced by the
| full file name, %b by the file base name (i.e. without directory
| and extension parts), %o by the base directory of the file,
| %latex is the LaTeX compiler (see ‘org-latex-compiler’), and %bib
| is the BibTeX-like compiler (see ‘org-latex-bib-compiler’).
| 
| The reason why this is a list is that it usually takes several
| runs of ‘pdflatex’, maybe mixed with a call to ‘bibtex’.  Org
| does not have a clever mechanism to detect which of these
| commands have to be run to get to a stable result, and it also
| does not do any error checking.
| 
| Consider a smart LaTeX compiler such as ‘texi2dvi’ or ‘latexmk’,
| which calls the "correct" combinations of auxiliary programs.
| 
| Alternatively, this may be a Lisp function that does the
| processing, so you could use this to apply the machinery of
| AUCTeX or the Emacs LaTeX mode.  This function should accept the
| file name as its single argument.
| 
| You can customize this variable.
| 
| [back]
`----

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_8.3.6-1272-gc61ee8



reply via email to

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