texmacs-dev
[Top][All Lists]

## [Texmacs-dev] Numbering in exported LaTeX file

 From: bump Subject: [Texmacs-dev] Numbering in exported LaTeX file Date: Wed, 26 Oct 2005 15:02:18 -0700

I notice a lot of things that are better with recent TeXmacs.

But here's a problem. The following file shows two equations,
the second a multiline one, both numbered and labeled. But
with TeXmacs 1.0.5.11-R2 the exported latex file has the
number of the second equation hard numbered and in an
unfortunate location:

\begin{eqnarray*}
D & = & E\\
& = & m c^2 \hspace*{\fill}   \text{\tmtextup{(1)}} \label{two}
\end{eqnarray*}

Compare this with the correct output of TeXmacs 1.0.5:

\begin{eqnarray}
D & = & E \nonumber\\
& = & m c^2  \label{two}
\end{eqnarray}

Daniel Bump

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

<TeXmacs|1.0.5.11>

<style|generic>

<\body>
<\equation>
A+B=C<label|one>
</equation>

That was (<reference|one>). This is (<reference|two>):

<\eqnarray*>

<tformat|<table|<row|<cell|D>|<cell|=>|<cell|E>>|<row|<cell|>|<cell|=>|<cell|m
c<rsup|2><eq-number><label|two>>>>>
</eqnarray*>
</body>

<\initial>
<\collection>
<associate|page-type|letter>
</collection>
</initial>

<\references>
<\collection>
<associate|one|<tuple|1|?>>
<associate|two|<tuple|2|?>>
</collection>
</references>