* \halign
@ 2011-02-24 16:56 Eythan Weg
2011-02-24 21:20 ` \halign Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Eythan Weg @ 2011-02-24 16:56 UTC (permalink / raw)
To: ntg-context
Hi,
I have just installed beta.
The line:
\starttext
\halign{&\hfil#\hfil\quad\cr This& That\cr1&2\cr}
\stoptext
is not typeset and the & are left in place. What could be the problem?
Thank you.
Eythan
___________________________________________________________________________________
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] 5+ messages in thread
* Re: \halign
2011-02-24 16:56 \halign Eythan Weg
@ 2011-02-24 21:20 ` Wolfgang Schuster
2011-02-25 16:16 ` \halign Eythan Weg
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-02-24 21:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 24.02.2011 um 17:56 schrieb Eythan Weg:
>
> Hi,
>
> I have just installed beta.
>
> The line:
>
> \starttext
> \halign{&\hfil#\hfil\quad\cr This& That\cr1&2\cr}
> \stoptext
>
> is not typeset and the & are left in place. What could be the problem?
Since a while ^, _ and & can be used in text mode like any other character.
You can disable this with \donknuthmode at the begin of your document or
use the \aligntab where you would normally use & but the best thing is
to use one of contexts build in table environment.
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] 5+ messages in thread
* Re: \halign
2011-02-24 21:20 ` \halign Wolfgang Schuster
@ 2011-02-25 16:16 ` Eythan Weg
2011-02-25 16:37 ` \halign Khaled Hosny
2011-02-25 17:18 ` \halign Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Eythan Weg @ 2011-02-25 16:16 UTC (permalink / raw)
To: ntg-context
Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Thu, 24 Feb 2011 22:20:01 +0100
Am 24.02.2011 um 17:56 schrieb Eythan Weg:
>
> Hi,
>
> I have just installed beta.
>
> The line:
>
> \starttext
> \halign{&\hfil#\hfil\quad\cr This& That\cr1&2\cr}
> \stoptext
>
> is not typeset and the & are left in place. What could be the problem?
Since a while ^, _ and & can be used in text mode like any other character.
You can disable this with \donknuthmode at the begin of your document or
use the \aligntab where you would normally use & but the best thing is
to use one of contexts build in table environment.
Wolfgang
Thank you. I think that \halign, being a primitive of tex, should be
respected. If a user wants to use it, it should be usable
unconditionally.
Eythan
___________________________________________________________________________________
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] 5+ messages in thread
* Re: \halign
2011-02-25 16:16 ` \halign Eythan Weg
@ 2011-02-25 16:37 ` Khaled Hosny
2011-02-25 17:18 ` \halign Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Khaled Hosny @ 2011-02-25 16:37 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, Feb 25, 2011 at 11:16:06AM -0500, Eythan Weg wrote:
>
> Wolfgang Schuster <schuster.wolfgang@googlemail.com>
> Thu, 24 Feb 2011 22:20:01 +0100
>
> Am 24.02.2011 um 17:56 schrieb Eythan Weg:
>
> >
> > Hi,
> >
> > I have just installed beta.
> >
> > The line:
> >
> > \starttext
> > \halign{&\hfil#\hfil\quad\cr This& That\cr1&2\cr}
> > \stoptext
> >
> > is not typeset and the & are left in place. What could be the problem?
>
> Since a while ^, _ and & can be used in text mode like any other character.
>
> You can disable this with \donknuthmode at the begin of your document or
> use the \aligntab where you would normally use & but the best thing is
> to use one of contexts build in table environment.
>
> Wolfgang
>
> Thank you. I think that \halign, being a primitive of tex, should be
> respected. If a user wants to use it, it should be usable
> unconditionally.
I've no idea from where you came with this impression, is is usually the
other way around; people are advised not to use low level TeX code where
context has higher level interfaces, else you are on your own and should
be aware of the implications/side effects.
I, for one, grateful that I know longer need to escape regular
characters in my documents just to keep supporting some obscure TeX
feature.
Regards,
Khaled
--
Khaled Hosny
Egyptian
Arab
___________________________________________________________________________________
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] 5+ messages in thread
* Re: \halign
2011-02-25 16:16 ` \halign Eythan Weg
2011-02-25 16:37 ` \halign Khaled Hosny
@ 2011-02-25 17:18 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2011-02-25 17:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 25-2-2011 5:16, Eythan Weg wrote:
>
> Wolfgang Schuster<schuster.wolfgang@googlemail.com>
> Thu, 24 Feb 2011 22:20:01 +0100
>
> Am 24.02.2011 um 17:56 schrieb Eythan Weg:
>
> >
> > Hi,
> >
> > I have just installed beta.
> >
> > The line:
> >
> > \starttext
> > \halign{&\hfil#\hfil\quad\cr This& That\cr1&2\cr}
> > \stoptext
> >
> > is not typeset and the& are left in place. What could be the problem?
>
> Since a while ^, _ and& can be used in text mode like any other character.
>
> You can disable this with \donknuthmode at the begin of your document or
> use the \aligntab where you would normally use& but the best thing is
> to use one of contexts build in table environment.
>
> Wolfgang
>
> Thank you. I think that \halign, being a primitive of tex, should be
> respected. If a user wants to use it, it should be usable
> unconditionally.
in context a more abstract coding is advertised; if you want to use
halign in for instance a macro definition, you can surround it by
\unprotect
macro def
\protect
anyhow, when using halign directly in your document, don't expect too
much from spacing
-----------------------------------------------------------------
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] 5+ messages in thread
end of thread, other threads:[~2011-02-25 17:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-24 16:56 \halign Eythan Weg
2011-02-24 21:20 ` \halign Wolfgang Schuster
2011-02-25 16:16 ` \halign Eythan Weg
2011-02-25 16:37 ` \halign Khaled Hosny
2011-02-25 17:18 ` \halign 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).