ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Basic \def error?
Date: Tue, 23 Apr 2013 23:33:00 +0200	[thread overview]
Message-ID: <F9B22AB4-774F-462D-99B8-B8E3CF2C3E25@gmail.com> (raw)
In-Reply-To: <CAG5iGsCNDRuU36QRvUxgaGmjS-vASRWuNFQV6QkpruQw7T60YQ@mail.gmail.com>


Am 23.04.2013 um 19:08 schrieb luigi scarso <luigi.scarso@gmail.com>:

> On Tue, Apr 23, 2013 at 7:04 PM, Verhaag, G.C.H.M. <verhaaggchm@ziggo.nl> wrote:
>> Hi ConTeXt User's,
>> 
>> Again I'm struggling with MKIV!
>> 
>> I get the following error message:
>> 
>> ! Argument of \HeadTitle has an extra }
>> 
>> My environment file contains the following definition:
>> 
>> \def\HeadTitle#1#2%
>>  {\hbox to \hsize \bgroup
>>   \hfill
>>   \lbox to 2cm{\hsize 7cm #2}%
>>   \egroup}
> 
> \unexpanded\def\HeadTitle#1#2%
>  {\hbox to \hsize \bgroup
>    \hfill
>    \lbox to 2cm{\hsize 7cm #2}%
>    \egroup}

\define[2]\HeadTitle
  {\startframedtext[right][height=2cm,width=7cm,frame=off,offset=none,align=flushright]
   #2
   \stopframedtext}

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
___________________________________________________________________________________


      parent reply	other threads:[~2013-04-23 21:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-23 17:04 Verhaag, G.C.H.M.
2013-04-23 17:08 ` luigi scarso
2013-04-23 18:11   ` Verhaag, G.C.H.M.
2013-04-23 22:20     ` Wolfgang Schuster
2013-04-25 12:10       ` Verhaag, G.C.H.M.
2013-04-23 21:33   ` Wolfgang Schuster [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=F9B22AB4-774F-462D-99B8-B8E3CF2C3E25@gmail.com \
    --to=schuster.wolfgang@gmail.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).