[patch] thinspace
Juergen Spitzmueller <[email protected]> Wed, 14 Nov 2007 11:29:18 +0100
| Newsgroups | gmane.comp.tex.latex.latex2rtf.devel |
|---|---|
| Message-ID | <[email protected]> |
--nextPart5222609.FGhNLiHWe0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable
Hi,
I've noted that the \thinspace command is not implemented yet. Furthermor=
e,
I've noted that \, is represented by a scaled down space in RTF. I think
this is not the best solution. Both \thinspace and \, are non-breaking
spaces (and should be, since they are frequently used within
abbreviations), and the font scaling trick falls back onto you if you mar=
k
the whole document and change the font size.
My proposal is to implement it as a non-breaking-space character that is
scaled to 50% (not the font, but the character), i.e. {\charscalex50 \~}.
Patch attached.
J=FCrgen
--nextPart5222609.FGhNLiHWe0
Content-Type: text/x-diff; name="thinspace.diff"
Content-Disposition: attachment; filename="thinspace.diff"
Content-Transfer-Encoding: quoted-printable
Index: cfg/direct.cfg
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- cfg/direct.cfg (Revision 820)
+++ cfg/direct.cfg (Arbeitskopie)
@@ -490,6 +490,7 @@
#\textXi,{\u926**}.
#\textzeta,{\u950**}.
#\therefore,{\u8756**}.
+\thinspace,{\charscalex50 \~}.
\top,{\u8890**}.
\triangle,{\u9653**}.
\triangledown,{\u9663**}.
Index: convert.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- convert.c (Revision 820)
+++ convert.c (Arbeitskopie)
@@ -810,7 +810,7 @@
case ',':
if (mode =3D=3D MODE_VERTICAL)
SetTexMode(MODE_HORIZONTAL);
- CmdSpace(0.33); /* \, produces a small space */
+ fprintRTF("{\\charscalex50 \\~}"); /* \, produces a smal=
l space */
return;
case ';':
if (mode =3D=3D MODE_VERTICAL)
--nextPart5222609.FGhNLiHWe0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
--nextPart5222609.FGhNLiHWe0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Latex2rtf-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/latex2rtf-developers
--nextPart5222609.FGhNLiHWe0--