Re: [O] Including source when exporting in PDF

2012-01-14 Thread Frozenlock
This babel block should do the following: - When exporting, automatically tangle the babel blocks. - Then take the resulting files and add them to a zip file, along with the original .org file. - Add the necessary \usepackage and latex commands to insert the zipfile. Let me know if something

Re: [O] Including source when exporting in PDF

2012-01-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/01/12 03:06, Frozenlock wrote: To include multiple files, I export all of the required files before the PDF creation and zip them. This way, I only need to include a single zip file. Good idea. #+BEGIN_SRC emacs-lisp :exports none ;;

Re: [O] Including source when exporting in PDF

2012-01-12 Thread Frozenlock
The code block I previously sent only require you to specify which _extension_ you want or don't want. No need to include any specific filename (other than the .zip file in the latex include command). Am I to understand you want something to include *all and only* tangled files? -- I tried

Re: [O] Including source when exporting in PDF

2012-01-12 Thread Rainer M Krug
On 12 January 2012 14:54, Frozenlock frozenl...@gmail.com wrote: The code block I previously sent only require you to specify which _extension_ you want or don't want. No need to include any specific filename (other than the .zip file in the latex include command). Am I to understand you want

Re: [O] Including source when exporting in PDF

2012-01-11 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/01/12 08:45, Eric Schulte wrote: Frozenlock frozenl...@gmail.com writes: I am a strong advocate in keeping the source of everything. However, a source can easily be lost if it doesn't follow the document. In LaTeX, there's a package to

Re: [O] Including source when exporting in PDF

2012-01-11 Thread Frozenlock
To include multiple files, I export all of the required files before the PDF creation and zip them. This way, I only need to include a single zip file. #+BEGIN_SRC emacs-lisp :exports none ;; various exports (save-window-excursion (org-export-as-ascii org-export-headline-levels))

Re: [O] Including source when exporting in PDF

2012-01-05 Thread Eric Schulte
Frozenlock frozenl...@gmail.com writes: I am a strong advocate in keeping the source of everything. However, a source can easily be lost if it doesn't follow the document. In LaTeX, there's a package to attach a file to a PDF (like when you attach a file to an email). By doing so, the

[O] Including source when exporting in PDF

2012-01-04 Thread Frozenlock
I am a strong advocate in keeping the source of everything. However, a source can easily be lost if it doesn't follow the document. In LaTeX, there's a package to attach a file to a PDF (like when you attach a file to an email). By doing so, the source will follow the PDF even if the common