ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Struggling with custom title command
@ 2012-07-26 18:11 Steffen Fritzsche
  2012-07-26 18:16 ` Aditya Mahajan
  2012-07-26 18:24 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Steffen Fritzsche @ 2012-07-26 18:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 708 bytes --]

Hi,

my document was compiling fine with an old beta (guess it was from late may - early june). Today I updated to the latest beta and now I've got a problem with my custom chapter command:

\def\ChapterCmd#1#2% #1 is number, #2 is text
  {\vbox{#1\blank#2}}

\setuphead [chapter][command=\ChapterCmd, style={\ss\bfc}, page=right, number=yes, frame=off, placehead=yes, align=left, before={}, after={\blank[3*line]}, header=nomarking]

The resulting error is:

! Argument of \ChapterCmd has an extra }.
system          > tex > error on line 103 in file main.tex: Argument of  …

Any idea what's wrong? The error message does not mean anything to me.

Thanks in advance!

Cheers,
Steffen


[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4416 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-26 21:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-26 18:11 Struggling with custom title command Steffen Fritzsche
2012-07-26 18:16 ` Aditya Mahajan
2012-07-26 18:25   ` Steffen Fritzsche
2012-07-26 21:55     ` Hans Hagen
2012-07-26 18:24 ` Wolfgang Schuster

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).