[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LaTeX export
From: |
Bastien |
Subject: |
Re: [O] LaTeX export |
Date: |
Sat, 31 Dec 2011 09:09:13 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
Hi York,
York Zhao <address@hidden> writes:
> I'm wondering if there is a way to export ONLY the LaTeX code within
> "#+begin_latex" and "#+end_latex". I want the exact literal export without
> adding anything before and after my code. The result should be exactly the
> same
> as if I have copied the block between "#+begin_latex" and "#+end_latex" and
> pasted to a new buffer.
I would use code blocks tangling
,----
| #+TITLE: Test
|
| * Test headline
|
| #+begin_src tex :tangle yes
| \documentclass{article}
| \begin{document}
| ...
| \end{document}
| #+end_src
`----
`C-c C-v t' on the block will create a .tex file with the exact content
of the #+begin_src block.
HTH,
--
Bastien