Re: [NTG-context] suggestion: setups for \startitem
On 7/6/2013 12:10 PM, Wolfgang Schuster wrote: To do this one could write \startitem[alternative=head,text=…] one could use it as synonym for \starthead or with \startitem[alternative=symbol,text=…] as alternative for \sym. Since references are lost with this method you can write “reference=…” in the argument. Currently I'm a bit careful with changes as I'm using a 'copy' of context mkiv that has been adapted to a potential upcoming Lua related speedup that Luigi and I are working on. We will present most of that at the context conference (among other things). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] suggestion: setups for \startitem
Am 04.07.2013 um 09:32 schrieb Thomas A. Schmitz : > Hi, > > this is just a small suggestion for the interface: since a while, we've had > \startitem \stopitem. Would it be possible / feasible / interesting to add a > bit of configuration to it? I tried looking at the source. but couldn't find > anything. This minimal example explains what I mean: > > \starttext > > \startitemize > \item One > \item Two > \sym{$\Rightarrow$} Three > \stopitemize > > > \startitemize > \startitem > One > \stopitem > \startitem > Two > \stopitem > \startitem[sym=$\Rightarrow$] > Three > \stopitem > \stopitemize > > \stoptext > > How to achieve the result of #1 with the syntax in #2? You have the change the definition for \startitem but I would go for a bigger change which includes also \head, \txt etc. To do this one could write \startitem[alternative=head,text=…] one could use it as synonym for \starthead or with \startitem[alternative=symbol,text=…] as alternative for \sym. Since references are lost with this method you can write “reference=…” in the argument. 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 ___
[NTG-context] suggestion: setups for \startitem
Hi, this is just a small suggestion for the interface: since a while, we've had \startitem \stopitem. Would it be possible / feasible / interesting to add a bit of configuration to it? I tried looking at the source. but couldn't find anything. This minimal example explains what I mean: \starttext \startitemize \item One \item Two \sym{$\Rightarrow$} Three \stopitemize \startitemize \startitem One \stopitem \startitem Two \stopitem \startitem[sym=$\Rightarrow$] Three \stopitem \stopitemize \stoptext How to achieve the result of #1 with the syntax in #2? Thanks and best wishes Thomas ___ 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 ___