- From: Joris van der Hoeven <address@hidden>
- To: address@hidden
- Subject: Re: [TeXmacs] TeX export problem
- Date: Sat, 18 Sep 2010 14:46:10 +0200
On Fri, Sep 10, 2010 at 10:10:39AM +0200, Gubinelli Massimiliano wrote:
>
The following simplified document
>
---------------------------------------------------------
>
<TeXmacs|1.0.7.6>
>
>
<style|article>
>
>
<\body>
>
<\hide-preamble>
>
<include|./texmacs_macros/macro_definitions.tm>
>
>
\;
>
</hide-preamble>
>
>
The ket <ket|\<psi\>> will not export to tex.
>
</body>
>
---------------------------------------------------------
>
produce the following call to the texmacs->latex scheme routine in
>
TeXmacs/progs/convert/latex/tmtex.scm
I obtain the following LaTeX export:
--------------
\documentclass{article}
\begin{document}
The ket will not export to tex.
\end{document}
--------------
This is perfectly normal, since 'ket' is not defined in the document.
I am not sure what happens to the include if the file is present.
Maybe we indeed have to do something, also when you provide your
own style packages.
However, this is power usage: a simple remedy is to simply put
your macros in the preamble.
Best wishes, --Joris
Archive powered by MHonArc 2.6.19.