Francesco Pizzolante <f...@missioncriticalit.com> 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. >
[snip] > > 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 respectively. 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 _______________________________________________ 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