Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] TeX export problem

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] TeX export problem


Chronological Thread 
  • From: Gubinelli Massimiliano <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] TeX export problem
  • Date: Sat, 18 Sep 2010 14:49:41 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=AMV1+y3iOwLtyHxlxCTVJ9CN7jxn99V+3aSdZc9ZDt9Kp26MS9FsYSw5wJ7tRzhXsN hphmv1BCMNkGn10lDQUG9aPuNGOrkaVMb1PODjpBA2zur5ukoNT/zqscdDrMJ0W9h8hH HBdE0fBEqVDMohnSj6GcfRiEmSzIcNK3tJ6sE=

The weird thing is that scheme export does indeed export the ket macro even
if it is not defined. I think LaTeX export could just do the same. Actually
the macro is already disapeared when the document arrives to the LaTex
export routines.

best
max


On 18 sept. 2010, at 14:46, Joris van der Hoeven wrote:

> 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.

Top of Page