Hi, this breaks, any workaround? ----------------------------------- \starttext \type{#ok} \starttabulate[|p(4cm)|] \NC \type{#not ok}\NC\NR % <----------- bang! \stoptabulate \stoptext ----------------------------------- Patrick
Hello,
I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en.
Could they be added? - Even with no description, just to get to know they are valid ConTeXt commands.
Lukas
On Wed, 29 Sep 2010 16:58:51 +0200, Wolfgang Schuster
Am 29.09.2010 um 16:50 schrieb Patrick Gundlach:
Hi,
this breaks, any workaround?
\asciimode
\starttext
#ok \mono{#ok}
\starttabulate[|p(4cm)|] \NC \mono{#not ok}\NC\NR \stoptabulate
\stoptext
Wolfgang
On Wed, 29 Sep 2010, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en.
Well, the command was added 15-20 days ago to the core...
Could they be added? - Even with no description, just to get to know they are valid ConTeXt commands.
Feel free to add it. Aditya
On 29-9-2010 5:37, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
I found no records to \asciimode or \mono at http://wiki.contextgarden.net/Category:Reference/en.
they were added recently after some discussion with Aditya ... a sort of prelude to getting rid of special catcodes 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 -----------------------------------------------------------------
Am 29.09.2010 um 17:37 schrieb Patrick Gundlach:
Is there any difference between \mono{...} and \type{...}? I guess that type does much more to catcodes, but apart from that, both seem to be similar.
\mono{...} is only another form of {\tt ...} and switch to the typewriter font but \type is verbatim mode Wolfgang
On Wed, 29 Sep 2010, Patrick Gundlach wrote:
Is there any difference between \mono{...} and \type{...}? I guess that type does much more to catcodes, but apart from that, both seem to be similar.
- \type typesets its argument verbatim (catcodes, spaces, etc). - \type has two variants \type{...} (but braces have usual catcode inside the arugment, or \type!...! \type+...+ (basically, \type<char>...<char>) where everything other than the first char has other catcode. This is useful if the argument has unbalanced brances. - \type may fail in commands that store their arguments to aux files (\section, etc) or commands that process their arguments twice (\bTABLE, etc) or carry around their arguments (\footnote, etc). In some of these cases, using \retype{...} instead works. Aditya
On 29-9-2010 4:50, Patrick Gundlach wrote:
\starttext
\asciimode
\type{#ok}
\starttabulate[|p(4cm)|] \NC \type{#not ok}\NC\NR %<----------- bang! \stoptabulate \stoptext
----------------------------------------------------------------- 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 -----------------------------------------------------------------
participants (6)
-
Aditya Mahajan
-
Hans Hagen
-
luigi scarso
-
Patrick Gundlach
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
Wolfgang Schuster