From: Suvayu Ali <fatkasuvayu+linux@gmail.com> To: Org mode mailing list <emacs-orgmode@gnu.org> Subject: [BUG] Latex export problem with babel latex blocks when including files Date: Wed, 16 Mar 2011 05:30:17 -0700 [thread overview] Message-ID: <20110316053017.36ca1beb@bhishma.homelinux.net> (raw) [-- Attachment #1: Type: text/plain, Size: 645 bytes --] 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, -- Suvayu Open source is the future. It sets us free. [-- Attachment #2: appendix.org --] [-- Type: text/plain, Size: 292 bytes --] \appendix # Needs \usepackage{appendix} \appendixpage \addappheadtotoc * This is appendix A Definition of psedorapidity. #+begin_src latex \begin{equation} \label{eq:eta} \eta = -\ln\Bigg[\tan\Bigg(\frac{\theta}{2}\Bigg)\Bigg] \end{equation} #+end_src [-- Attachment #3: test.org --] [-- Type: text/plain, Size: 1167 bytes --] #+TITLE: Document title #+AUTHOR: Suvayu Ali #+DATE: \today #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:4 num:t toc:t ::t |:t ^:t -:t f:t *:t <:nil #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:nil pri:nil tags:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+BIND: org-confirm-babel-evaluate nil # #+BIND: org-export-latex-title-command "" #+LaTeX_CLASS: book #+LaTeX_CLASS_OPTIONS: [12pt,letterpaper,oneside,colorlinks] #+LaTeX_HEADER: \usepackage{amsmath} #+LaTeX_HEADER: \usepackage{mathtools} #+LaTeX_HEADER: \usepackage{appendix} # #+LaTeX_HEADER: \maketitle * Title of part 1 ** Title of chapter 1 Some text. * Title of part 2 ** Title of chapter 3 The Standard Model gauge group is shown in \autoref{eq:symgrp} #+begin_src latex \begin{equation} \label{eq:symgrp} SU(3) \times SU(2) \times U(1) \end{equation} #+end_src #+INCLUDE: appendix.org :minlevel 1 \backmatter \newpage \addcontentsline{toc}{chapter}{\bibname} \bibliographystyle{plain} \bibliography{master} # Local Variables: # org-export-allow-BIND: t # End:
next reply other threads:[~2011-03-16 12:32 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-03-16 12:30 Suvayu Ali [this message] 2011-03-16 13:22 ` Eric Schulte 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 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=20110316053017.36ca1beb@bhishma.homelinux.net \ --to=fatkasuvayu+linux@gmail.com \ --cc=emacs-orgmode@gnu.org \ --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).