* bug with \setupsynonyms
@ 2005-04-13 15:08 Eckhart Guthöhrlein
2005-04-13 17:44 ` Adam Lindsay
0 siblings, 1 reply; 3+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-13 15:08 UTC (permalink / raw)
Hi,
formatting synonyms with \setupsynonyms does not work when these are
part of e.g. section headers. Example:
\abbreviation{XYZ}{whatever}
\setupabbreviations[textstyle=bold,synonymstyle=slanted]
\starttext
This should be bold/slanted: \XYZ/\infull{XYZ}. And it is.
\section{This ist not: \XYZ/\infull{XYZ}}
\stoptext
I think this is not as it should be.
Greetings,
--
Eckhart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug with \setupsynonyms
2005-04-13 15:08 bug with \setupsynonyms Eckhart Guthöhrlein
@ 2005-04-13 17:44 ` Adam Lindsay
2005-04-18 12:52 ` Eckhart Guthöhrlein
0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2005-04-13 17:44 UTC (permalink / raw)
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@comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: bug with \setupsynonyms
2005-04-13 17:44 ` Adam Lindsay
@ 2005-04-18 12:52 ` Eckhart Guthöhrlein
0 siblings, 0 replies; 3+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-18 12:52 UTC (permalink / raw)
On Wed, 13 Apr 2005 at 18:44:35+0100, Adam Lindsay wrote:
> 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] []
Ah, I see. That does it. Thanks for the hint,
Eckhart
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-18 12:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-13 15:08 bug with \setupsynonyms Eckhart Guthöhrlein
2005-04-13 17:44 ` Adam Lindsay
2005-04-18 12:52 ` Eckhart Guthöhrlein
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).