On 10/06/2012 07:48 PM, Nicolas Goaziou wrote:
Hello,

Robert Klein <klein...@mpip-mainz.mpg.de> writes:

for pdf publishing I'd rather prefer the tex file also to be created
in the base directory and only the pdf appearing in the
publishing-directory, if there is a way.

You're right: I'm over-engineering it.

As a workaround I currently use the base-directory as
publishing-directory plus a second project using
org-e-publish-attachment to copy the pdfs to their intended location.
(I'm using org-e-publish-attachment for images of html files, so why
shouldn't I use it for pdfs...

This is now the default for PDF publishing. Thanks.


Regards,


Hello,

thanks for the patch.

There is still a small issue, though. I tried org-e-publish to pdf with one small difference:

1. I'm in a buffer, the visited file is in the base-directory. M-x org-e-publish... Publishing works Ok.

2. I'm in a buffer, visiting a buffer /not/ in the base-directory. M-x org-e-publish... The pdf's don't have their images included.

I suspect, pdflatex is called using a working directory which is not the base-directory but the default-directory of the buffer from which I M-x org-e-publish.

Best regards
Robert


Reply via email to