ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "\"Stefan Müller\"" <warrence.stm@gmx.de>
To: ntg-context@ntg.nl
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: Command in enumeration title
Date: Mon, 05 Mar 2012 10:21:29 +0100	[thread overview]
Message-ID: <20120305092129.216290@gmx.net> (raw)
In-Reply-To: <4F512796.6080600@wxs.nl>

On Fri, 02 Mar 2012 21:03:34 +0100, Hans Hagen wrote:
> On 26-2-2012 14:34, "Stefan Müller" wrote:
> > Hi Michael,
> >
> > thanks for your answer.  The macro \Word is a predefined macro that
> capitalizes the first letter of its argument.  E.g. "\Word{title}" should
> expand to "Title", but it doesn't in my example.
> 
> does style={\setcharactercasing[3]} work out ok?

Hi Hans,

thanks for your answer and sorry for the delay. I tried

\defineenumeration[myenum][title=yes, titlestyle={\setcharactercasing[3]}]
\starttext
\startmyenum{\Word{title}}
	muh
\stopmyenum
\stoptext

with MkIV 201200221 14:02 to no avail (it seems that there is no key "titlestyle", but I tried). I still get "title" without capitalization. If I use style={\setcharactercasing[3]} or headstyle={\setcharactercasing[3]} then I get "Muh" or "Myenum", respectively, with capital "M" as expected but still "title".

Best regards,
Stefan
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2012-03-05  9:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 11:44 "Stefan Müller"
2012-02-26 13:28 ` Rogers, Michael K
2012-02-26 13:34   ` "Stefan Müller"
2012-02-26 23:30     ` Rogers, Michael K
2012-02-27 13:05       ` Stefan Müller
2012-03-02 20:03     ` Hans Hagen
2012-03-05  9:21       ` "Stefan Müller" [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=20120305092129.216290@gmx.net \
    --to=warrence.stm@gmx.de \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).