ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* # in type in tabulate
@ 2010-09-29 14:50 Patrick Gundlach
  2010-09-29 14:58 ` Wolfgang Schuster
  2010-09-29 15:00 ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Patrick Gundlach @ 2010-09-29 14:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

this breaks, any workaround?


-----------------------------------
\starttext
\type{#ok}

\starttabulate[|p(4cm)|]
\NC \type{#not ok}\NC\NR  % <----------- bang!
\stoptabulate
\stoptext
-----------------------------------

Patrick
___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 14:50 # in type in tabulate Patrick Gundlach
@ 2010-09-29 14:58 ` Wolfgang Schuster
  2010-09-29 15:37   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2010-09-29 15:37   ` Patrick Gundlach
  2010-09-29 15:00 ` Hans Hagen
  1 sibling, 2 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2010-09-29 14:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 14:50 # in type in tabulate Patrick Gundlach
  2010-09-29 14:58 ` Wolfgang Schuster
@ 2010-09-29 15:00 ` Hans Hagen
  2010-09-29 15:36   ` luigi scarso
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2010-09-29 15:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Patrick Gundlach

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 15:00 ` Hans Hagen
@ 2010-09-29 15:36   ` luigi scarso
  0 siblings, 0 replies; 10+ messages in thread
From: luigi scarso @ 2010-09-29 15:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Sep 29, 2010 at 5:00 PM, Hans Hagen <pragma@wxs.nl> wrote:
> On 29-9-2010 4:50, Patrick Gundlach wrote:
>>
>> \starttext
>
> \asciimode
sorry Hans, nothing to do with SuperWolfgang

-- 
luigi
___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 14:58 ` Wolfgang Schuster
@ 2010-09-29 15:37   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2010-09-29 15:50     ` Aditya Mahajan
  2010-09-29 15:59     ` Hans Hagen
  2010-09-29 15:37   ` Patrick Gundlach
  1 sibling, 2 replies; 10+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2010-09-29 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <schuster.wolfgang@googlemail.com> wrote:

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

___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 14:58 ` Wolfgang Schuster
  2010-09-29 15:37   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-09-29 15:37   ` Patrick Gundlach
  2010-09-29 15:43     ` Wolfgang Schuster
  2010-09-29 15:49     ` Aditya Mahajan
  1 sibling, 2 replies; 10+ messages in thread
From: Patrick Gundlach @ 2010-09-29 15:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello Hans, Wolfgang,

> \asciimode
> 
> \starttext
> 
> #ok \mono{#ok}

Thanks agin.

I've heard about \asciimode but forgot about it.

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.

Patrick

___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 15:37   ` Patrick Gundlach
@ 2010-09-29 15:43     ` Wolfgang Schuster
  2010-09-29 15:49     ` Aditya Mahajan
  1 sibling, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2010-09-29 15:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 15:37   ` Patrick Gundlach
  2010-09-29 15:43     ` Wolfgang Schuster
@ 2010-09-29 15:49     ` Aditya Mahajan
  1 sibling, 0 replies; 10+ messages in thread
From: Aditya Mahajan @ 2010-09-29 15:49 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________
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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 15:37   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2010-09-29 15:50     ` Aditya Mahajan
  2010-09-29 15:59     ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Aditya Mahajan @ 2010-09-29 15:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 392 bytes --]

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

[-- Attachment #2: Type: text/plain, Size: 486 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] 10+ messages in thread

* Re: # in type in tabulate
  2010-09-29 15:37   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2010-09-29 15:50     ` Aditya Mahajan
@ 2010-09-29 15:59     ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2010-09-29 15:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2010-09-29 15:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-29 14:50 # in type in tabulate Patrick Gundlach
2010-09-29 14:58 ` Wolfgang Schuster
2010-09-29 15:37   ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-09-29 15:50     ` Aditya Mahajan
2010-09-29 15:59     ` Hans Hagen
2010-09-29 15:37   ` Patrick Gundlach
2010-09-29 15:43     ` Wolfgang Schuster
2010-09-29 15:49     ` Aditya Mahajan
2010-09-29 15:00 ` Hans Hagen
2010-09-29 15:36   ` luigi scarso

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