ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Natural Tables with verbatim text
@ 2006-08-03 20:56 Confused Scientist
  2006-08-03 22:17 ` Peter Rolf
  2006-08-03 22:58 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Confused Scientist @ 2006-08-03 20:56 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 434 bytes --]

Hello

Is it possible to use \type{} in a natural table cell?  The example below
seems to generate an error for me.

Thanks!

% example
\starttext

This is a quick \type{test_run} of the problem.

\bTABLE
\bTR \bTD first        \eTD\bTD {\bf alpha} \eTD\bTD one
\eTD\eTR
\bTR \bTD {\em second} \eTD\bTD beta        \eTD\bTD two
\eTD\eTR
\bTR \bTD third        \eTD\bTD gamma       \eTD\bTD \type{three_ex}
\eTD\eTR
\eTABLE

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 779 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Natural Tables with verbatim text
  2006-08-03 20:56 Natural Tables with verbatim text Confused Scientist
@ 2006-08-03 22:17 ` Peter Rolf
  2006-08-03 22:58 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Rolf @ 2006-08-03 22:17 UTC (permalink / raw)


Confused Scientist wrote:
> Hello
> 
> Is it possible to use \type{} in a natural table cell?  The example
> below seems to generate an error for me.
> 
> Thanks!
> 
\type works (try \type{\TEST}), but not exactly as in normal
environment. For your example you can use '\_' instead of '_' (even
without \type). Dunno if there are more limitations.

HTH, Peter

> % example
> \starttext
> 
> This is a quick \type{test_run} of the problem.
> 
> \bTABLE
> \bTR \bTD first        \eTD\bTD {\bf alpha} \eTD\bTD one            
> \eTD\eTR
> \bTR \bTD {\em second} \eTD\bTD beta        \eTD\bTD two            
> \eTD\eTR
> \bTR \bTD third        \eTD\bTD gamma       \eTD\bTD \type{three_ex}
> \eTD\eTR
> \eTABLE
> 
> \stoptext
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Natural Tables with verbatim text
  2006-08-03 20:56 Natural Tables with verbatim text Confused Scientist
  2006-08-03 22:17 ` Peter Rolf
@ 2006-08-03 22:58 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2006-08-03 22:58 UTC (permalink / raw)


Confused Scientist wrote:
> Hello
>
> Is it possible to use \type{} in a natural table cell?  The example below
> seems to generate an error for me.
>
> Thanks!
>
> % example
> \starttext
>
> This is a quick \type{test_run} of the problem.
>
> \bTABLE
> \bTR \bTD first        \eTD\bTD {\bf alpha} \eTD\bTD one
> \eTD\eTR
> \bTR \bTD {\em second} \eTD\bTD beta        \eTD\bTD two
> \eTD\eTR
> \bTR \bTD third        \eTD\bTD gamma       \eTD\bTD \type{three_ex}
> \eTD\eTR
> \eTABLE
>
> \stoptext
frozen catcode problem, tex limitation etc etc 

try \retype{three_ex} instead 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-08-03 22:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-03 20:56 Natural Tables with verbatim text Confused Scientist
2006-08-03 22:17 ` Peter Rolf
2006-08-03 22:58 ` Hans Hagen

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