ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Sterling bug?
@ 2002-04-11  9:54 Nigel King
  2002-04-11 16:30 ` Giuseppe Bilotta
  0 siblings, 1 reply; 2+ messages in thread
From: Nigel King @ 2002-04-11  9:54 UTC (permalink / raw)


Hi,
There appears to be an error in core-mis.tex. The character called up is
dollar rather than pound. Another question is of the logic of the font
family selection which is different to the dollar selection in the same
file. In normal text this appears in italic which doesn't seem correct.

\def\sterling%
  {\bgroup
   \ifnum\fam=\bffam
     \bi
   \else\ifnum\fam=\bifam
     \bi
   \else\ifnum\fam=\bsfam
     \bi
   \else
     \it
   \fi\fi\fi
   \$%
   \egroup}

Thanks
-- 
Nigel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sterling bug?
  2002-04-11  9:54 Sterling bug? Nigel King
@ 2002-04-11 16:30 ` Giuseppe Bilotta
  0 siblings, 0 replies; 2+ messages in thread
From: Giuseppe Bilotta @ 2002-04-11 16:30 UTC (permalink / raw)
  Cc: ntg-context

Thursday, April 11, 2002 Nigel King wrote:

NK> Hi,
NK> There appears to be an error in core-mis.tex. The character called up is
NK> dollar rather than pound. Another question is of the logic of the font
NK> family selection which is different to the dollar selection in the same
NK> file. In normal text this appears in italic which doesn't seem correct.

NK> \def\sterling%
NK>   {\bgroup
NK>    \ifnum\fam=\bffam
NK>      \bi
NK>    \else\ifnum\fam=\bifam
NK>      \bi
NK>    \else\ifnum\fam=\bsfam
NK>      \bi
NK>    \else
NK>      \it
NK>    \fi\fi\fi
NK>    \$%
NK>    \egroup}

Hans, the sterling code should go in the encoding section of
ConTeXt.

-- 
Giuseppe "Oblomov" Bilotta


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-11 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-11  9:54 Sterling bug? Nigel King
2002-04-11 16:30 ` Giuseppe Bilotta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).