From: Carsten Dominik <carsten.dominik@gmail.com>
To: Robert Hennig <robert.hennig@freylax.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: LaTeX export errors
Date: Tue, 12 May 2009 15:17:52 +0200 [thread overview]
Message-ID: <7B8FE909-568D-4D8D-9363-BC436B3AC6F7@gmail.com> (raw)
In-Reply-To: <4A095EE7.4050300@freylax.de>
Hi
On May 12, 2009, at 1:35 PM, Robert Hennig wrote:
> Dear Org-Mode experts,
>
> I'm using Org-Mode 6.26d on Linux and Emacs 23.0:
>
> The following org-file-snipplet will fail to be
> translated to correct LaTeX code:
>
> #+LaTeX: \begin{center}
> #+TBLNAME: Test
> | A | B | C |
> | 5% | 1 | 2 |
> #+TBLFM: @2$3=2*$2
> #+LaTeX: \end{center}
The preprocessor will turn this into
\begin{center}
#+TBLNAME: Test
| A | B | C |
| 5% | 1 | 2 |
#+TBLFM: @2$3=2*$2
\end{center}
and then the LaTeX exporter will see this as a plain LaTeX environment
and think that all the stuff inside should be exported exactly as is.
You want:
#+begin_center
#+TBLNAME: Test
| A | B | C |
| 5% | 1 | 2 |
#+TBLFM: @2$3=2*$2
#+end_center
If you want to do the same for other environments, take a look at
http://orgmode.org/worg/org-contrib/org-special-blocks.php
HTH
- Carsten
>
>
> Triggered will this by the #+LaTeX: ...
> invocation (#+BEGIN_LaTeX has the same effect).
> The Error in the generated tex file is that
> - #+TBLNAME: Test will not be removed
> - the '%' sign will not be translated to \%
>
> Thanks in Advance,
>
> Robert Hennig
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2009-05-12 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 11:35 LaTeX export errors Robert Hennig
2009-05-12 13:17 ` Carsten Dominik [this message]
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=7B8FE909-568D-4D8D-9363-BC436B3AC6F7@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=robert.hennig@freylax.de \
/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 public 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).