[NTG-context] ConTeXt oddities

Adam Lindsay atl at comp.lancs.ac.uk
Sun May 1 22:48:58 CEST 2005


Frank Grieshaber said this at Sun, 1 May 2005 17:57:30 +0200:

>3. if a command has lots of options it's better to sort of 
>"pretty-print" those like the following:
>
>\setuplayout[
>backspace=15mm,
>cutspace=10mm,
>...
>grid=yes,
>marking=on,
>]
>
>After some time (lots of time..) I figured out that the last "," is a 
>must, without it, the last option is ignored - why is that?

Hi Frank.

I think this complaint was one of the first ones I had on the list.
ConTeXt does a great job of gobbling up spaces after the commas
(actually, before keywords) in argument lists, but it doesn't do so well
with other spaces.

Your solution is good. Another would be to have the last line be:
   marking=on]

Hans said a few more words on it here:
<http://archive.contextgarden.net/message/20050328.150952.ff9f4cae.html>
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list