emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Manuel Amador <amador.manuel@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem when exporting to PDF to a different directory
Date: Sun, 08 Aug 2010 14:26:29 +0200	[thread overview]
Message-ID: <87hbj5jnnu.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <20100803195602.GW1712@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1075 bytes --]

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

      parent reply	other threads:[~2010-08-08 16:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-03 19:56 Problem when exporting to PDF to a different directory Manuel Amador
2010-08-07  9:00 ` [PATCH] " Noorul Islam
2010-08-13 20:44   ` [Accepted] " Carsten Dominik
2010-08-08 12:26 ` David Maus [this message]

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=87hbj5jnnu.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=amador.manuel@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).