[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Macros in included file not expanded in batch export
From: |
Nick Dokos |
Subject: |
Re: [O] Macros in included file not expanded in batch export |
Date: |
Mon, 14 Jul 2014 22:50:53 -0400 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux) |
Suvayu Ali <address@hidden> writes:
> Hi,
>
> I am trying to export to LaTeX in batch mode, but it seems the exporter
> ignores macros defined in included files when exporting in batch mode.
>
> I tried to export like this:
>
> $ emacs --eval "(require 'ox-latex)" include-test.org \
> --eval '(org-LaTeX-export-to-latex nil nil nil t)' -f kill-emacs
>
> $ emacs --batch --eval "(require 'ox-latex)" include-test.org \
> --eval '(org-LaTeX-export-to-latex nil nil nil t)'
>
> The first one exports correctly, the second doesn't. The org files, and
> the good and bad exported TeX files are attached.
>
I haven't tried it but --batch implies -q, so it may be that the second
form is missing something essential from your init file - maybe?
--
Nick