[luatex] accented characters in plain luatex

John Culleton john at wexfordpress.com
Tue May 31 14:50:11 CEST 2011

On Monday, May 30, 2011 05:05:13 pm Taco Hoekwater wrote:
> On 30 mei 2011, at 23:04, John Culleton <john at wexfordpress.com> wrote:
> > On Monday, May 30, 2011 10:54:40 am Ulrike Fischer wrote:
> > > Am Mon, 30 May 2011 10:33:25 -0400 schrieb John Culleton:
> > > > I have a plain luatex file where I am indeed using \' and \ to get
> > > > acute and grave accents. The font in use is the TeX version of
> > > > Palladio. The file compiles but the accents don't appear in the
pdf.
> > > > In Gvim I set the fontencoding to
> > > >
> > > >:set fileencoding=utf-8
> > > >:
> > > > but that doesn't help, perhaps because I am using a traditional
Type
> > > > 1 font for my body font (I have a truetype script font for
> > > > hence luatex instead of pdftex.)
> > >
> > > \' and \ are pure ascii input so the file encoding doesn't matter.
> > >
> > > What matters are the definitions of the commands, the encoding of
> > > are not giving.
> >
> > As previously stated I am using the Tex version of Palladio. It is
> > by these statements: \font\rm pplr8r at 10bp
> > \font\it pplri8r at 10bp
>
> At a guess: i think you want pplr8t or pplr7t here. 8t is latex t1
> encoding, 7t is plain tex ot1, 8r is adobe raw encoding. Since \' & co
are
> macros, they will expect a tex-based encoding, not an Adobe one.
>
> Best wishes,
>
> Taco
In about 20 seconds my problem was solved using 7t instead of 8r. The nice
thing about TeX is that you never stop learning about it. The nicer thing
is that there are always wiser heads to educate you.

Thanks Taco. In any plain version, pdftex or luatex, I will be using 7t
from now on in, and 8t for LaTeX variants.
--
John Culleton
Wexford Press
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/luatex/attachments/20110531/531d6158/attachment.html>