emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: David Pineda <dahalpi@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Reference to images and export to PDF
Date: Fri, 18 Nov 2016 06:31:03 +0000	[thread overview]
Message-ID: <87h975e1ug.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4115162c52464c1990425a417a400c3d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (David Pineda's message of "Thu, 17 Nov 2016 17:44:55 +0000")

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	other threads:[~2016-11-18  7:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4115162c52464c1990425a417a400c3d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-11-18  6:31 ` Eric S Fraga [this message]
2016-11-18 12:34   ` Reference to images and export to PDF David Pineda
2016-11-17 17:44 David Pineda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h975e1ug.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=dahalpi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).