bug-texinfo
[Top][All Lists]
Advanced

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

Re: ligatures reinstated (wrongly) by @r, @i, @b, @sansserif, @slanted i


From: pertusus
Subject: Re: ligatures reinstated (wrongly) by @r, @i, @b, @sansserif, @slanted in texi2any
Date: Wed, 24 Aug 2022 13:35:52 +0200

On Mon, Aug 22, 2022 at 12:20:11AM +0000, Werner LEMBERG wrote:
> 
> > In all the formats output by texi2any, except in LaTeX which is more
> > consistent with TeX, @r, @i, @b, @sansserif and @slanted switch back
> > to normal context if in code/monospace context.  This is not the
> > case in LaTeX output, only @r, @cite and @var restore ligatures for
> > --, ---...
> > 
> > At the same time, font changes are combined (this is the case for
> > LaTeX too).  This leads to a very inconsistent output, for example
> > @code{@slanted{a--b}} leads to a typewriter font with -- being
> > rendered as an en dash and not as two -.
> > 
> > I propose to have only @r, among font commands restore ligatures.
> > Would that be ok?
> 
> Sounds very reasonable.  Ditto for 'fi' and friends.

There is no control of that in texi2any, this is up to the font and
brower.  But in typewriter there does not seem to be such ligatures so
it is ok.

-- 
Pat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]