ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* on the \show command
@ 2014-01-29 18:33 Pablo Rodriguez
  2014-01-29 18:39 ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2014-01-29 18:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have discovered today the \show command in TeX. But I cannot get it
work in ConTeXt:

\starttext
\show\input
\stoptext

What am I doing wrong?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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: on the \show command
  2014-01-29 18:33 on the \show command Pablo Rodriguez
@ 2014-01-29 18:39 ` Aditya Mahajan
  2014-01-29 20:14   ` Pablo Rodriguez
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2014-01-29 18:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 29 Jan 2014, Pablo Rodriguez wrote:

> Dear list,
>
> I have discovered today the \show command in TeX. But I cannot get it
> work in ConTeXt:
>
> \starttext
> \show\input
> \stoptext

When I compile using `context filename` I get:

....
> \input=\protected macro:
->\normalinput .

system          > tex > error on line 3 in file /tmp/test.tex: ? ...

which shows that \input is a protected macro that maps to \normalinput.

BTW, you can also run

context --pipe

to start an interactive session.

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

* Re: on the \show command
  2014-01-29 18:39 ` Aditya Mahajan
@ 2014-01-29 20:14   ` Pablo Rodriguez
  2014-01-29 20:42     ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Pablo Rodriguez @ 2014-01-29 20:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 01/29/2014 07:39 PM, Aditya Mahajan wrote:
> On Wed, 29 Jan 2014, Pablo Rodriguez wrote:
>> [...]
>> I have discovered today the \show command in TeX. But I cannot get it
>> work in ConTeXt:
> [...] 
> 
> BTW, you can also run
> 
> context --pipe
> 
> to start an interactive session.

Many thanks, Aditya.

This is a way to solve it.

Although the error message seems misleading to me.


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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: on the \show command
  2014-01-29 20:14   ` Pablo Rodriguez
@ 2014-01-29 20:42     ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2014-01-29 20:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 29 Jan 2014, Pablo Rodriguez wrote:

> On 01/29/2014 07:39 PM, Aditya Mahajan wrote:
>> On Wed, 29 Jan 2014, Pablo Rodriguez wrote:
>>> [...]
>>> I have discovered today the \show command in TeX. But I cannot get it
>>> work in ConTeXt:
>> [...]
>>
>> BTW, you can also run
>>
>> context --pipe
>>
>> to start an interactive session.
>
> Many thanks, Aditya.
>
> This is a way to solve it.
>
> Although the error message seems misleading to me.

TeX error message are always misleading :) Here is a list of messages you 
can get:

http://www.math.mun.ca/tex-archive/systems/knuth/local/tex/tex.pool

and some hints on how to understand the error messages:

http://www.tex.ac.uk/cgi-bin/texfaq2html?label=erroradvice
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=errstruct

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

end of thread, other threads:[~2014-01-29 20:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 18:33 on the \show command Pablo Rodriguez
2014-01-29 18:39 ` Aditya Mahajan
2014-01-29 20:14   ` Pablo Rodriguez
2014-01-29 20:42     ` Aditya Mahajan

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