From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Problem when exporting to PDF to a different directory Date: Sun, 08 Aug 2010 14:26:29 +0200 Message-ID: <87hbj5jnnu.wl%dmaus@ictsoc.de> References: <20100803195602.GW1712@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0656246271==" Return-path: Received: from [140.186.70.92] (port=51183 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oi8zt-0002DP-Ag for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 12:45:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oi4yl-0003zz-AV for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 08:27:52 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:49153) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oi4yl-0003ti-19 for emacs-orgmode@gnu.org; Sun, 08 Aug 2010 08:27:51 -0400 In-Reply-To: <20100803195602.GW1712@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Manuel Amador Cc: emacs-orgmode@gnu.org --===============0656246271== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Aug__8_14:26:29_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Sun_Aug__8_14:26:29_2010-1 Content-Type: text/plain; charset=US-ASCII Manuel Amador wrote: >Hi everybody, >I am running into the following issue. >I would like to export certain subtrees of an org file to a particular >directory. I set the export property as follows: >* Test 1 > :PROPERTIES: > :EXPORT_FILE_NAME: some_directory/some_name > :END: >When I try exporting the above subtree as a pdf (say for example, by running >C-c C-e 1 d), the .tex file is created in the appropriate target directory, but >the .pdf file is created in the current directory (while emacs mistakenly >reports that the pdf was not created). Is there a way to get this to work >correctly? This is a glitch in Org mode and I'm on it to provide a patch. The problem is, that pdflatex creates the output file in current directory unless we pass the -output-directory switch[1]. I think using this option is better than temporarily switching the working directory. HTH, -- David [1] Which is available here with pdfTeX 3.1415926-1.40.10-2.2 (TeX Live 2009/Debian -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Aug__8_14:26:29_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkxeonUACgkQma24O1pEeOYs4gEA6n4Hn3rVYodEfPemUGIujha8 zlNnALaz93nnzE55r7YBAMC8YengmMXAxtJVwmGtK0kCClMlH8Ceogqy28KGIOIS =MtgQ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Aug__8_14:26:29_2010-1-- --===============0656246271== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0656246271==--