ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: Re: bug with \setupsynonyms
Date: Mon, 18 Apr 2005 14:52:49 +0200	[thread overview]
Message-ID: <20050418125249.GA21230@cebitec.uni-bielefeld.de> (raw)
In-Reply-To: <20050413184435.11884@mail.comp.lancs.ac.uk>

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

      reply	other threads:[~2005-04-18 12:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-13 15:08 Eckhart Guthöhrlein
2005-04-13 17:44 ` Adam Lindsay
2005-04-18 12:52   ` Eckhart Guthöhrlein [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050418125249.GA21230@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).