[tex-live] bug in the latest TeX Live snapshot.

Reinhard Kotucha reinhard.kotucha at web.de
Mon Oct 11 01:48:43 CEST 2004


>>>>> "Hartmut" == Hartmut Henkel <hartmut_henkel at gmx.de> writes:

    > error can be reproduced, seems to be something with etex:

    > % this line is ok 
    > %\centerline{\beginR Vyr hVyryM\endR}

It doesn't work for me, "Vyr" is invisible in both cases.

This is my example file:

------------------------------------------------------------------
\pdfcompresslevel=0
\nopagenumbers
\TeXXeTstate=1

\def\verticalrule{\smash{\hbox to 0pt{\hss\vrule 
      width.4pt height0pt depth\vsize\hss}}}

\def\showcenter{\leavevmode
  \verticalrule
  \kern.5\hsize
  \verticalrule
  \kern.5\hsize
  \verticalrule
}

\def\strut{\par\hrule width1sp height\baselineskip\par}


\parindent=0pt
\showcenter


\centerline{\beginR Vyr hVyryM\endR}
\strut
\beginR\centerline{Vyr hVyryM}\endR
\strut
\centerline{\beginR 123 457 789\endR}
\strut
\centerline{\beginR\hbox{123 457 789}\endR}
\strut
\beginR\centerline{\hbox{123 456 789}}\endR
\bye
------------------------------------------------------------------

\showcenter only makes sense if \parindent=0pt.  \strut is used to
split the text into different strings.  You get a BT...ET environment 
for each line then, instead of one containing the whole text.  The
only purpose is to make the output file more readable.

What I get is this:

1 0 0 1 -539.801 -119.128 cm
BT
/F1 9.963 Tf 277.745 747.972 Td[(My)1(ryVh)]TJ 382.784 0 Td[(ry)1(V)]TJ
ET
.....
1 0 0 1 -72 -734.08 cm
BT
/F1 9.963 Tf 346.328 727.161 Td[(My)1(ryVh)]TJ 382.785 0 Td[(ry)1(V)]TJ
ET
.....
1 0 0 1 -72 -713.269 cm
BT
/F1 9.963 Tf 280.263 706.848 Td[(987)]TJ 365.368 0 Td[(754)]TJ 365.368 0 Td[(321)]TJ
ET
.....
1 0 0 1 -72 -694.893 cm
BT
/F1 9.963 Tf 280.263 688.473 Td[(987)-333(754)-334(321)]TJ
ET
.....
1 0 0 1 -72 -676.518 cm
BT
/F1 9.963 Tf 696.789 670.097 Td[(987)-333(654)-334(321)]TJ
ET


If you compare the pdf output of the lines 

   \centerline{\beginR 123 457 789\endR}

and 

   \centerline{\beginR\hbox{123 457 789}\endR}

you'll see that interword glue is not calculated properly unless the
text is inside an \hbox.

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------



More information about the tex-live mailing list