[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Export LaTeX file to different directory?
From: |
suvayu ali |
Subject: |
Re: [Orgmode] Export LaTeX file to different directory? |
Date: |
Mon, 13 Dec 2010 18:20:50 +0100 |
Hi,
On Mon, Dec 13, 2010 at 4:43 PM, Joost Kremers <address@hidden> wrote:
> it works if i export a subtree (C-c C-e 1 l), but not if i export a region
> (set
> mark, highlight region, then C-c C-e l).
I think I had missed your earlier comment about exporting regions.
> also, it doesn't expand a tilde ~ to my
> home directory, so writing
>
> :EXPORT_FILE_NAME: ~/tmp/temp.tex
>
> doesn't do what one would expect. (note that i can't write the full path
> because
> i switch between linux and OS X, which expand ~ differently: linux to
> /home/<name>,
> OS X to /Users/<name>.)
>
On a quick look at the docs, I can't find anything. But it does say if
the property EXPORT_FILE_NAME is set, then the exporter will respect
it. So if you could set it with some lisp, then you might have a
working solution.
However you can still make this work but only for sub-trees (not
regions) by using relative paths, as in my example. However this does
require that your org directory is the same with respect to your $HOME
on both systems. So if your org files are in $HOME/org then maybe try
"../tmp/file.tex".
I know either of these are not exactly what you were looking for, but
I am just trying to work around my lack of knowledge about org-mode
internals to work out a possible solution.
> also, i'd like to be able to specify an export directory for the entire org
> file, not just a subtree.
Yes this is what I had mentioned in my first post as a feature that I
would like too (even more awesome if remote directories are permitted
:)). I think right now you can do this by specifying projects in your
init files, not sure though. I think I saw a thread related to that
within the last few of months, maybe worth a look?
--
Suvayu
Open source is the future. It sets us free.
Message not available
[Orgmode] Re: Export LaTeX file to different directory?, Richard Lawrence, 2010/12/13