[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#952481: texlive: mktexpk fails to create tcrm1000



Hi,

Norbert Preining <preining@logic.at> wrote:
> to sum up several discussions on bugs in the babel greep driver, here is
> a for now simple solution that should fix the build:
> 
> - add cm-super to the build deps
> - patch build/stylesheets/dblatex.xsl to contain the following
>   additional switch for Greek:
>     <xsl:when test="contains(/book/@lang,'el')">
>         <xsl:text>\setmainfont{FreeSerif}&#10;</xsl:text>
>         <xsl:text>\setsansfont{FreeSans}&#10;</xsl:text>
>         <xsl:text>\setmonofont{FreeMono}&#10;</xsl:text>
>         <xsl:text>\expandafter\def\csname ver@tuenc.def\endcsname{}&#10;</xsl:text>
>     </xsl:when>
> 
> With this two changes I get a working(*) compilation and output using
> buildone.sh.
> 
> (*) There is something broken in the xml->TeX conversion that is outside
> of TeX. See the last page of the produced document. The xml document
> contains stuff like
> 
> 	<screen format="linespecific"> some Greek text </screen>
> 
> which is translated to the following complete rubbish in TeX:
> 
> 	\begin{lstlisting}[escapeinside={<:}{:>}][firstnumber=1,escapeinside={<t>}{</t>},moredelim={**[is][\bfseries]{<b>}{</b>}},moredelim={**[is][\itshape]{<i>}{</i>}},]
> 	b'<:'Μb':>'b'<:'εb':>' b'<:'τb':>'b'<:'οb':>' b'<:'πb':>'b'<:'αb':>'b'<:'ρb':>'b'<:'όb':>'b'<:'νb':>' b'<:'ηb':>' Yoyodyne, Inc., b'<:'αb':>'b'<:'πb':>'b'<:'οb':>'
> 	....
> 
> This is of dblatex doing and nothing related to TeX Live.

Ok, thanks for the patch.
I confirm that this fixes the build for Greek for now (except from the rubbish
you explained above).


thanks for your time
Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076


Reply to: