From: "Eric Schulte" <schulte.eric@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Org mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [BUG] Latex export problem with babel latex blocks when including files
Date: Wed, 16 Mar 2011 07:22:19 -0600 [thread overview]
Message-ID: <87aagvyzbz.fsf@gmail.com> (raw)
In-Reply-To: 20110316053017.36ca1beb@bhishma.homelinux.net
Hi,
First, you may well already be aware of this, but a block like the
following
#+begin_src latex
\begin{equation}
\label{eq:eta}
\eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg]
\end{equation}
#+end_src
could just as easily be written as
\begin{equation}
\label{eq:eta}
\eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg]
\end{equation}
Org-mode will recognize the inline latex, and will export it to both
html and tex as desired.
Second, I've run into similar headline issues when trying to place a
bibliography under it's own headline at the end of an Org-mode file. I
believe that the answer here is to simply remove the headline from your
appendix file. I don't believe that there exists any syntax by which to
tell Org-mode to not export a headline.
Best -- Eric
Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
> Hi Orgers,
>
> I have been writing a large document in Org mode for pdf export with
> latex. I use babel latex blocks for things like equations, and I have a
> separate file as my appendix which I include in my primary org file.
>
> Today when I introduced a babel latex block in the appendix, I noticed
> that while exporting to latex/pdf, org wants to add the headline with
> the latex babel block from the appendix at the end of the master org
> file. I would expect no such behaviour while export.
>
> I can replicate this bug with the two attached minimal org files. Can
> someone confirm this?
>
> Thanks,
next prev parent reply other threads:[~2011-03-16 13:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-16 12:30 [BUG] Latex export problem with babel latex blocks when including files Suvayu Ali
2011-03-16 13:22 ` Eric Schulte [this message]
2011-03-16 18:32 ` Suvayu Ali
2011-03-16 14:18 ` Eric S Fraga
2011-03-16 18:42 ` Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aagvyzbz.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.