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

Re: JadeTeX and LastDeclaredEncoding



Adam Di Carlo writes:
 > Christoph Martin <martin@uni-mainz.de> writes:
 > 
 > > Adam Di Carlo writes:
 > >  > I have isolated this problem.  It's a problem in the tetex-extra
 > >  > package.  The bug is fixed by applying this patch:
 > 
 > >  > --- /usr/share/texmf/tex/latex/cyrillic/t2aenc.def.orig Fri Oct 13 16:39:45 2000
 > >  > +++ /usr/share/texmf/tex/latex/cyrillic/t2aenc.def      Fri Oct 13 16:40:18 2000
 > >  > @@ -36,7 +36,7 @@
 > >  >  \ProvidesFile{t2aenc.def}
 > >  >    [1999/11/29 v1.0c Cyrillic encoding definition file]
 > >  >  \DeclareFontEncoding{T2A}{}{}
 > >  > -\DeclareFontSubstitution{\LastDeclaredEncoding}{cmr}{m}{n}
 > >  > +\DeclareFontSubstitution{T2A}{cmr}{m}{n}
 > >  >  \DeclareTextAccent{\`}{\LastDeclaredEncoding}{0}
 > >  >  \DeclareTextAccent{\'}{\LastDeclaredEncoding}{1}
 > >  >  \DeclareTextAccent{\^}{\LastDeclaredEncoding}{2}
 > >  > 
 > > 
 > > Well, the 'texdoc fntguide' says, that \DeclareFontEncoding sets a
 > > variable so that \LastDeclaredEncoding can reference it. (See also
 > > /usr/doc/tetex-base/texmf/latex/base/changes.txt). This seams not to
 > > be true for jadetex.
 > 
 > This is interesting.  There is no redefinition of \DeclareFontEncoding
 > in JadeTeX at all.  Reading './texmf/source/latex/base/ltfssbas.dtx'
 > off the TeX Live CD, I can't figure out why the handling of
 > \LastDeclaredEncoding in that file is not operative for this.
 > 
 > Perhaps it's just that for some reason it can't work in the context of
 > being called withing \DeclareFontSubstitution ?  Note the calls to it
 > in \DeclareTextAccent seem to work fine w/o modification.
 > 
 > Should we notify <latex-bugs@latex-project.org>?  Is anyone sure if
 > this is a bug in JadeTeX?  In the 'cyrillic' bundle?

The interesting thing is, that \LastDeclaredEncoding was implemented
to make cyrillic working as stated in
/usr/doc/tetex-base/texmf/latex/base/changes.txt. 

Christoph



Reply to: