Re: bugs

"Scott Prahl" <[email protected]> Thu, 14 Oct 2004 15:20:08 -0700
Newsgroups gmane.comp.tex.latex.latex2rtf.devel
Message-ID <[email protected]>
[Moving this back to the developers list]

On Oct 14, 2004, at 10:25 AM, Claus Gerhardt wrote:

> Scott,
>
> Thanks for your answer. I think the problem can be easily solved by 
> you.

I think that the problem can more easily be solved by you.  It is always
easier when someone else does it ;-)

> If I define in the tex source
> \providecommand{\bysame}{---------}
> then the corresponding amount of dashes will appear in the rtf file.

This makes sense.

> A box is already provided by latex2rtf, e.g., define
> \providecommand{\bysame}{\relax}
> then a blank space will appear in the rtf file.

This is actually a bug, because I do not think that the any space 
should be
created by \relax.  I may have inserted a space to avoid some other bug.
On the other hand, there is no "box" only the ascii character for a 
space
inserted into the RTF stream.

>
> What I need is a non-broken rule of about 2cm (my first name Claus has 
>  about the right size) like ______ ; notice that it should be at the 
> bottom and not like ---------.

This is why I said

>> As far as I know
>>
>>    RTF does not have an equivalent to \hrule or \hrulefill
>>
>>    RTF does not support the TeX notion of boxes
>>
>> Word fields also do not support such functionality.


>  Of course I tried to define \bysame that way, but apparently _ has a 
> special meaning for latex2rtf.

pdflatex would have failed as well.  '_' has a special meaning in latex 
and
therefore it has a special meaning in latex2rtf.

You should do this

\documentclass{amsart}
%use %latex2rtf: to redefine \bysame only in latex2rtf
%latex2rtf:\providecommand{\bysame}{\_\_\_\_\_\_}
\begin{document}
\nocite{*}
\bibliographystyle{amsplain}
\bibliography{publications}
\end{document}




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl