On Thursday, 17 Nov 2016 at 17:44, David Pineda wrote:
> 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")
| 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.
: Eric S Fraga (0xFFFCF67D), Emacs 220.127.116.11, Org release_8.3.6-1272-gc61ee8