[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Blorgit > Adding PDF export

From: Eric Schulte
Subject: [Orgmode] Re: Blorgit > Adding PDF export
Date: Mon, 23 Nov 2009 07:43:09 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (darwin)

Francesco Pizzolante <address@hidden> writes:

> Eric,
>> Also, rather than using a shell script, would it be possible to use the
>> built in `org-export-as-pdf' function.  This may obviate the need for a
>> shell script at all.  In this case you probably wouldn't need to remove
>> the leading "." in the file names, and if you did, it could be done in
>> elisp right around export with the `rename-file' function.
> Regarding the addition of an extra link in order to get the PDF export, I took
> your remarks into account and here's what I finally went to.


> Note that I use the /tmp folder to store temporary files without the leading
> dot (the export do PDF does not work with a leading dot).
> What do you think?

First off this looks great.

Rather than explicitly using the "/tmp" directory i would recommend
using the `make-temp-file' function, which should work across a wider
range of systems.  Additionally if you need to get the directory from a
path, or combine a file-name and a directory name into a path I'd
recommend the `expand-file-name' and `file-name-directory' functions

With those change I would love to include this new feature into the main
blorgit repository.

Much Thanks -- Eric

> Thanks for your feedback.
> Regards,
> Francesco

reply via email to

[Prev in Thread] Current Thread [Next in Thread]