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>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: no indent after blank
Date: Mon, 02 Aug 2010 21:09:21 +0200	[thread overview]
Message-ID: <4C5717E1.60101@googlemail.com> (raw)
In-Reply-To: <4C56D91C.20102@wxs.nl>

  Am 02.08.10 16:41, schrieb Hans Hagen:
> there is an experimental mult-aux.mkiv file in the beta

looks interesting, can't test it today but there a few things which are 
not right

\unexpanded\def\doinstallparameterhandler#1#2#3#4#5#6#7#8#9% \??aa 
{whatever} \current..
   {\def#3##1{\csname#6{#1#2}{##1}\endcsname}%
    \def#4##1{#7{#1#2}{##1}}%
-  \def#5##1##2{\csname#6{#1##2}{##1}\endcsname}%
+  \def#5##1##2{\csname#6{#1##1}{##2}\endcsname}%
    
\def#6##1##2{\ifcsname##1##2\endcsname##1##2\else\expandafter#8\csname##1\s!parent\endcsname{##2}\fi}%
    \def#7##1##2{\ifcsname##1##2\endcsname   
##1\else\expandafter#9\csname##1\s!parent\endcsname{##2}\fi}%
    \def#8##1##2{\ifx##1\relax\s!empty\else#6{##1}{##2}\fi}%
    \def#9##1##2{\ifx##1\relax        \else#7{##1}{##2}\fi}}

For \named...parameter it's better to use the first argument the name of 
the environment
and the second for the key, e.g. \namedwhateverparameter{command}{width}


Here

\unexpanded\def\doinstallcommandhandler#1#2#3#4#5#6#7#8%
   {...
    \def#5[##1][##2]%
      {\edef#4{##1}%
       \ifsecondargument
         \getparameters[#1#4][\s!parent=#1##2]%
       \else
         \getparameters[#1#4][\s!parent=#3]%
       \fi
    ...}

you forgot the comma before '##2'.

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-08-02 19:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-30 16:37 Henning Hraban Ramm
2010-07-30 20:55 ` Wolfgang Schuster
2010-07-30 21:08   ` Henning Hraban Ramm
2010-07-30 22:50   ` Hans Hagen
2010-07-31  1:00     ` Aditya Mahajan
2010-08-02 14:41       ` Hans Hagen
2010-08-02 19:09         ` Wolfgang Schuster [this message]
2010-08-03  0:17           ` Hans Hagen
2010-08-03 10:41             ` Wolfgang Schuster
2010-07-31  8:01     ` Wolfgang Schuster
2010-07-31  8:33       ` 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=4C5717E1.60101@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).