

...making Linux just a little more fun!
Amit Saha [amitsaha.in at gmail.com]
Hello TAG:
I know there are some 'hevea' users here. Could you help ? I am trying to convert this TeX article of mine into HTML and I run into:
Giving up command: \text
Giving up command: \@hevea@circ
./octave-p2.tex:227: Error while reading LaTeX:
End of file in \mbox argument
Adios
The relevant lines in my LaTex file are:
226 \begin{align*}
227 Minimize f(x) = c^\text{T}x \\
228 s.t. Ax = b, x \geq 0 \\
229 where b \geq 0
230 \end{align*}
What could be the problem ? I am using version 1.10 from Ubuntu repository.
Thanks a lot!
Best Regards, Amit
-- Journal: http://amitksaha.wordpress.com, µ-blog: http://twitter.com/amitsaha
Karl-Heinz Herrmann [kh1 at khherrmann.de]
Hi,
I'm not familiar with hevea....
On Mon, 7 Dec 2009 13:08:58 +0530 Amit Saha <amitsaha.in@gmail.com> wrote:
> Giving up command: \text
> Giving up command: \@hevea@circ
> ./octave-p2.tex:227: Error while reading LaTeX:
> End of file in \mbox argument
> Adios
>
> The relevant lines in my LaTex file are:
>
> 226 \begin{align*}
> 227 Minimize f(x) = c^\text{T}x \\
> 228 s.t. Ax = b, x \geq 0 \\
> 229 where b \geq 0
> 230 \end{align*}
but it complains about end of file while it reads an mbox statement. My guess: hevea's parser is too simple to recognise the \text{T} correctly and interprets the closing } as end of mbox and the end later as end of file or such. Hm... on a closer look it explicitly mentions \text as the problem.
Try removing the \text{T} and rerun. If this IS the problem you might try \mathrm{T} -- maybe that command is known. If it falls for any \xxx{ } -- a cursive T might not be THAT bad.
Good to sea LaTeX is still in use[1]
K.-H.
[1] by somebody else than me that is....
Amit Saha [amitsaha.in at gmail.com]
Hello!
On Tue, Dec 8, 2009 at 12:56 AM, Karl-Heinz Herrmann <kh1@khherrmann.de> wrote:
> Hi,
>
> I'm not familiar with hevea....
>
> On Mon, 7 Dec 2009 13:08:58 +0530
> Amit Saha <amitsaha.in@gmail.com> wrote:
>
>> Giving up command: \text
>> Giving up command: \@hevea@circ
>> ./octave-p2.tex:227: Error while reading LaTeX:
>> End of file in \mbox argument
>> Adios
>>
>> The relevant lines in my LaTex file are:
>>
>> 226 \begin{align*}
>> 227 Minimize f(x) = c^\text{T}x \\
>> 228 s.t. Ax = b, x \geq 0 \\
>> 229 where b \geq 0
>> 230 \end{align*}
>
>
> but it complains about end of file while it reads an mbox statement.
> My guess: hevea's parser is too simple to recognise the \text{T}
> correctly and interprets the closing } as end of mbox and the end later
> as end of file or such. Hm... on a closer look it explicitly mentions
> \text as the problem.
>
> Try removing the \text{T} and rerun. If this IS the problem you might
> try \mathrm{T} -- maybe that command is known. If it falls for any
> \xxx{ } -- a cursive T might not be THAT bad.
I had emailed Hevea's author and this is what he had to say:
" Hevea is more strict than LaTeX as regards lexing conventions for arguments to superscripts. The easiest way out is to be more explicit, using {...}:
>
> 227 Minimize f(x) = c^\text{T}x \\
^^^^^^^^^^^^
c^{\text{T}}x
That solved the problem.
"> Good to sea LaTeX is still in use[1]
Oh yes, I am bigtime into it
Best Regards, Amit
-- Journal: http://amitksaha.wordpress.com, µ-blog: http://twitter.com/amitsaha