[NTG-context] bug with \setupsynonyms

Adam Lindsay atl at comp.lancs.ac.uk
Wed Apr 13 19:44:35 CEST 2005


Eckhart Guthöhrlein said this at Wed, 13 Apr 2005 17:08:29 +0200:

>formatting synonyms with \setupsynonyms does not work when these are
>part of e.g. section headers. Example:
>
>I think this is not as it should be.

It might not be as you expected, but it is as it should be. How about this?

\definealternativestyle[mybold] [\emphbf][\emphbf]
\definealternativestyle[myslant][\emphsl][\emphsl]
\abbreviation{XYZ}{whatever}
\setupabbreviations[textstyle=mybold,synonymstyle=myslant]
	This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
	\section{This ist not: \XYZ/\infull{XYZ}}


"bold" is defined this way, meaning that it avoids applying bold in headings:
 \definealternativestyle [bold] [\bf]  []
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list