From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Reference to images and export to PDF Date: Fri, 18 Nov 2016 06:31:03 +0000 Message-ID: <87h975e1ug.fsf@ucl.ac.uk> References: <4115162c52464c1990425a417a400c3d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> Reply-To: Eric S Fraga Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7dD4-0000Ai-8q for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 02:03:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7dD0-0001xx-7X for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 02:03:42 -0500 Received: from mail-db5eur01on0080.outbound.protection.outlook.com ([104.47.2.80]:17952 helo=EUR01-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7dCz-0001wf-U0 for emacs-orgmode@gnu.org; Fri, 18 Nov 2016 02:03:38 -0500 In-Reply-To: <4115162c52464c1990425a417a400c3d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com> (David Pineda's message of "Thu, 17 Nov 2016 17:44:55 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: David Pineda Cc: "emacs-orgmode@gnu.org" 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 =E2=80=98ox-latex.el=E2=80= =99. | Its value is ("pdflatex %f" "bibtex %b" "pdflatex %f" "pdflatex %f") | Original value was=20 | ("%latex -interaction nonstopmode -output-directory %o %f" "%latex -inter= action nonstopmode -output-directory %o %f" "%latex -interaction nonstopmod= e -output-directory %o %f") |=20 |=20 | 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 =E2=80=98org-latex-compiler=E2=80=99), = and %bib | is the BibTeX-like compiler (see =E2=80=98org-latex-bib-compiler=E2=80=99= ). |=20 | The reason why this is a list is that it usually takes several | runs of =E2=80=98pdflatex=E2=80=99, maybe mixed with a call to =E2=80=98b= ibtex=E2=80=99. 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. |=20 | Consider a smart LaTeX compiler such as =E2=80=98texi2dvi=E2=80=99 or =E2= =80=98latexmk=E2=80=99, | which calls the "correct" combinations of auxiliary programs. |=20 | 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. |=20 | You can customize this variable. |=20 | [back] `---- --=20 : Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_8.3.6-1272-gc61ee8