Progress in enhancing stylesheet support
Scott Prahl <[email protected]> Sun, 8 Feb 2004 17:27:31 -0800
| Newsgroups | gmane.comp.tex.latex.latex2rtf.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, February 4, 2004, at 12:09 AM, Johan Henselmans wrote:
> Most of these consist of two arguments: a caption part and a text
> part. I have implemented them in latex (with rtf on the next line) as:
>
> =======================================================================
> ===
> \opmerking[caption]{text} : remark
>
> {\s20\fi-283\li283\widctlpar\brdrt\brdrs\brdrw15\brsp100
> \brdrb\brdrs\brdrw15\brsp100 {\*\pn
> \pnlvlblt\ilvl10\ls2047\pnrnot0\pnf14\pnfs36\pnstart1\pn
> indent283\pnhang{\pntxtb
> &}}\aspalpha\aspnum\faauto\ls2047\ilvl10\adjustright\rin0\lin283\itap0
> \f18\fs18\lang19\cgrid \sbasedon0 \snext0 Opmerking;}
>
I suggested for style.cfg something that looks like
\uleert[caption]{text} : introductory text
{\s23\sb240\sa60\keepn\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0
\lin0\itap0 \b\lang19\cgrid \sbasedon3 \snext24 Kopje U leert;}
{\s24\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0
\i\fs20\lang19\cgrid \sbasedon0 \snext24 U leert;}}
so we actually need in style.cfg
uleert,1,1,\s23... , header, \s24... , header, s25..., header.
or for this particular case
uleert,1,1,\s23\sb240\sa60\keepn\widctlpar\aspalpha\aspnum\faauto\adjust
right\rin0\lin0\itap0 \b\lang19\cgrid,
\sbasedon3 \snext24 Kopje U leert,
\s24\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\i\fs20
\lang19\cgrid,
\sbasedon0 \snext24 U leert,
\s25 \finalrtf,
\basedon0 \snext25 final leert.
Please give an example of what the rtf emitted for this particular
command should be.
It just seems that devoting three style commands to convert one latex
construction seems
excessive. I really need to see
(1) the original latex file (containing only \uleert)
(2) the RTF stylesheet header
(3) the converted RTF file
Scott
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn