emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
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 14:18:47 +0000	[thread overview]
Message-ID: <878vwf173s.fsf@ucl.ac.uk> (raw)
In-Reply-To: <20110316053017.36ca1beb@bhishma.homelinux.net> (Suvayu Ali's message of "Wed, 16 Mar 2011 05:30:17 -0700")

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,

I cannot confirm this.  I get:

--8<---------------cut here---------------start------------->8---
...
\chapter{Title of chapter 3}
\label{sec-3_1}

   The Standard Model gauge group is shown in \autoref{eq:symgrp}

   \begin{equation}
        \label{eq:symgrp}
        SU(3) \times SU(2) \times U(1)
        \end{equation}

\appendix
\appendixpage
\addappheadtotoc
\section{This is appendix A}
\label{sec-3_1_1}


    Definition of psedorapidity.


    \begin{equation}
          \label{eq:eta}
          \eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg]
          \end{equation}
...
--8<---------------cut here---------------end--------------->8---

which is what I would expect.  What do you get that is different?  Or
did I misunderstand your question/problem?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.55.g87c42.dirty)

  parent reply	other threads:[~2011-03-16 14:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 12:30 Suvayu Ali
2011-03-16 13:22 ` Eric Schulte
2011-03-16 18:32   ` Suvayu Ali
2011-03-16 14:18 ` Eric S Fraga [this message]
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878vwf173s.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --subject='Re: [BUG] Latex export problem with babel latex blocks when including files' \
    /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

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).