ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: question
Date: Thu, 22 Apr 2010 20:07:05 +0200	[thread overview]
Message-ID: <4BD09049.30405@googlemail.com> (raw)
In-Reply-To: <i2qc86049a21004221008u2bbfb52ev5e86428efcb7b90e@mail.gmail.com>

Am 22.04.10 19:08, schrieb Marius:
> On Thu, Apr 22, 2010 at 4:56 PM, Wolfgang Schuster
> <schuster.wolfgang@googlemail.com>  wrote:
>    
>> You can also simplify your defintion of \setupdissertation:
>>
>> \def\setupdissertation
>>   {\dodoubleargument\getparameters[\??DISS]}
>>      
> Thanks for the hint.
>
> I have one more question, I took and simplified the example which I
> sent here earlier from the wiki:
> http://wiki.contextgarden.net/Document_Titles "In ConTeXt: A more
> advanced solution" and I am wondering why I am using  \c! macros? Why
> not  \!! ? Why some macros I need to define "\def\c!authorname
>    {authorname}", but the others not? Maybe here is a name clash with a
> system defined \c! macros?
>    
The \c! and \v! macros are used for ConTeXt’s multilingual interface, 
this means
you can write in english

   \setupcommand[width=1cm]

and in german

   \stellebefehlein[breite=1cm]

in your module both 'width' and 'breite' are converted to 'width'. Since
you don't need this feature you can use instead of \getparameters
\getrawparameters where e.g. 'breite' will remain 'breite' when you
do something with this key in your code (but use then title etc.
without the \c! prefix).

Wolfgang

___________________________________________________________________________________
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:[~2010-04-22 18:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-22 13:48 question Marius
2010-04-22 13:56 ` question Wolfgang Schuster
2010-04-22 17:08   ` question Marius
2010-04-22 18:07     ` Wolfgang Schuster [this message]
2010-04-22 14:03 ` question Peter Münster
     [not found] <38653.80.58.5.46.1087393456.squirrel@bitmail.bitmailer.com>
2004-06-21 14:03 ` Question Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2000-10-01  1:22 question Harish P Cherukuri
2000-10-01 20:55 ` question Hans Hagen

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=4BD09049.30405@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).