[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-create-formula--latex-header does not respect latex_header in in
From: |
Bing Sun |
Subject: |
[O] org-create-formula--latex-header does not respect latex_header in included file |
Date: |
Thu, 04 Jul 2013 00:38:49 +0800 |
User-agent: |
Notmuch/0.15.2 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) |
hello list,
I have a separate org file for a rather complicated latex preamble and
then include it when needed. It works well for latex exporting but it
appears that org-create-formula--latex-header just ignores the
latex_header properties in the included org file when previewing latex
fragments.
Is this intended or am I missing anything?
BTW, I find it painful to maintain the latex preamble as the
latex_header properties, say
#+LATEX_HEADER: \newcommand{\mathd}{\mathrm{d}}
#+LATEX_HEADER: \newcommand{\mathbf}[1]{\ensuremath{\boldsymbol{#1}}}
#+LATEX_HEADER: \newcommand{\op}[1]{\ensuremath{\operatorname{#1}}}
I'd like something like this,
#+BEGIN_SRC latex :preamble
\newcommand{\mathd}{\mathrm{d}}
\newcommand{\mathbf}[1]{\ensuremath{\boldsymbol{#1}}}
\newcommand{\op}[1]{\ensuremath{\operatorname{#1}}}
#+END_SRC
Does that make any sense?
Regards.
- [O] org-create-formula--latex-header does not respect latex_header in included file,
Bing Sun <=