texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] hacking progs/convert/latex/tmtex.scm


From: Felix Breuer
Subject: [Texmacs-dev] hacking progs/convert/latex/tmtex.scm
Date: Fri, 22 Oct 2004 19:47:28 +0200
User-agent: Mutt/1.3.28i

Hello Joris, hello *,

I am trying to change the LaTeX output in the following way:

Given a big figure, it currently produces

\tmfloat{h}{big}{figure}{ content }{ caption }

and I want it to produce

\begin{figure}[h]
 content
\caption{ caption }
\end{figure}


The relevant Scheme snippet appears to be

(define (tmtex-float-make size type position x caption)
  (list 'tmfloat position size type (tmtex x) (tmtex caption)))

so how to go about it?

In general what are the basic mechanisms at work in tmtex.scm?

  (list 'foo bar baz)

appearently produces

\foo{bar}{baz}

but how to produce [], and \begin \end ?


Thanks,
Felix Breuer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]