* Itemize, margins and nowhite [not found] <mailman.1684.1276458667.4277.ntg-context@ntg.nl> @ 2010-06-13 21:00 ` Vyatcheslav Yatskovsky 2010-06-14 6:32 ` Taco Hoekwater 0 siblings, 1 reply; 4+ messages in thread From: Vyatcheslav Yatskovsky @ 2010-06-13 21:00 UTC (permalink / raw) To: ntg-context Hello, Strange, but if I specify margins for itemize, then "nowhite" losts its effect, and I need to specify it again in every itemize group. \setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite] \startitemize[nowhite] %duplicate, but does not work without it \item a \item b \stopitemize Rgrds, Vyatcheslav ___________________________________________________________________________________ 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] 4+ messages in thread
* Re: Itemize, margins and nowhite 2010-06-13 21:00 ` Itemize, margins and nowhite Vyatcheslav Yatskovsky @ 2010-06-14 6:32 ` Taco Hoekwater 2010-06-14 7:44 ` Alan BRASLAU 0 siblings, 1 reply; 4+ messages in thread From: Taco Hoekwater @ 2010-06-14 6:32 UTC (permalink / raw) To: mailing list for ConTeXt users Vyatcheslav Yatskovsky wrote: > Hello, > > Strange, but if I specify margins for itemize, then "nowhite" losts its > effect, and I need to specify it again in every itemize group. > > \setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite] Don't mix keywords and key-value pairs. \setupitemize[1,nowhite] \setupitemize[leftmargin=1cm, rightmargin=1cm] Best wishes, Taco ___________________________________________________________________________________ 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] 4+ messages in thread
* Re: Itemize, margins and nowhite 2010-06-14 6:32 ` Taco Hoekwater @ 2010-06-14 7:44 ` Alan BRASLAU 2010-06-14 7:55 ` Taco Hoekwater 0 siblings, 1 reply; 4+ messages in thread From: Alan BRASLAU @ 2010-06-14 7:44 UTC (permalink / raw) To: ntg-context; +Cc: Taco Hoekwater On Monday 14 June 2010 08:32:08 Taco Hoekwater wrote: > Vyatcheslav Yatskovsky wrote: > > Hello, > > > > Strange, but if I specify margins for itemize, then "nowhite" losts its > > effect, and I need to specify it again in every itemize group. > > > > \setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite] > > Don't mix keywords and key-value pairs. > > \setupitemize[1,nowhite] > \setupitemize[leftmargin=1cm, rightmargin=1cm] > This needs to be stressed in the documentation. Is this a parsing restriction, or is this a syntax design goal? This also means that it is an error to attempt: \startitemize[1,nowhite,leftmargin=1cm,rightmargin=1cm] \item ... \stopitemize Alan ___________________________________________________________________________________ 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] 4+ messages in thread
* Re: Itemize, margins and nowhite 2010-06-14 7:44 ` Alan BRASLAU @ 2010-06-14 7:55 ` Taco Hoekwater 0 siblings, 0 replies; 4+ messages in thread From: Taco Hoekwater @ 2010-06-14 7:55 UTC (permalink / raw) To: Alan BRASLAU; +Cc: ntg-context Alan BRASLAU wrote: > On Monday 14 June 2010 08:32:08 Taco Hoekwater wrote: >> Vyatcheslav Yatskovsky wrote: >>> Hello, >>> >>> Strange, but if I specify margins for itemize, then "nowhite" losts its >>> effect, and I need to specify it again in every itemize group. >>> >>> \setupitemize[1,leftmargin=1cm, rightmargin=1cm, nowhite] >> Don't mix keywords and key-value pairs. >> >> \setupitemize[1,nowhite] >> \setupitemize[leftmargin=1cm, rightmargin=1cm] >> > > This needs to be stressed in the documentation. > Is this a parsing restriction, or is this a syntax design goal? It is a parsing restriction, but keeping the processing speed up is important enough that it could also be classified as an unavoidable side-effect of a design goal. Best wishes, Taco ___________________________________________________________________________________ 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] 4+ messages in thread
end of thread, other threads:[~2010-06-14 7:55 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <mailman.1684.1276458667.4277.ntg-context@ntg.nl> 2010-06-13 21:00 ` Itemize, margins and nowhite Vyatcheslav Yatskovsky 2010-06-14 6:32 ` Taco Hoekwater 2010-06-14 7:44 ` Alan BRASLAU 2010-06-14 7:55 ` Taco Hoekwater
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).