In context the following plain tex columnscript works all right: %-------------------------- plain tex, Knuth p.232 $$\vbox{\settabs 3\columns \+This is&a srange&example \cr \+of displayed&three-column&format.\cr}$$ %-------------------------- /plain tex In latex it doesn't work. Latex says that \settabs is undefined. Does anyone know why? -- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
In latex it doesn't work. Latex says that \settabs is undefined. Does anyone know why?
Yes, that's because \settabs is not a TeX primitive and is defined in plain.tex (line 602, \def\settabs{\setbox\tabs\null \futurelet\next\sett@b}). In LaTeX I guess you want to look into the tabbing environment, or the more high-level tabular sort of things. ConTeXt takes over most of the Plain TeX macros; that's why it's defined here and not in LaTeX. Arthur
Really!. That's really a disadvantage of Latex! I thought Knuth's
primitives plus macro's were together 'plain tex' and thus untouched in both
Context and Latex.
Thanks for your help.
The reason to write a booklet in Latex instead of in context was that I
wanted to use some amstex macro's. Is it possible to use amstex in context
as well?
Liesbeth
2007/8/27, Arthur Reutenauer
In latex it doesn't work. Latex says that \settabs is undefined. Does anyone know why?
Yes, that's because \settabs is not a TeX primitive and is defined in plain.tex (line 602, \def\settabs{\setbox\tabs\null \futurelet\next\sett@b}). In LaTeX I guess you want to look into the tabbing environment, or the more high-level tabular sort of things.
ConTeXt takes over most of the Plain TeX macros; that's why it's defined here and not in LaTeX.
Arthur
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
On 8/27/07, Liesbeth van der Plas
Really!. That's really a disadvantage of Latex! I thought Knuth's primitives plus macro's were together 'plain tex' and thus untouched in both Context and Latex.
No -- in some cases there are real conflicts, but in this case, you might get away with just pasting lines 598--632 from plain.tex, bracketed with \makeatletter and \makeatother (which will also be needed around your table). \documentclass{minimal} \makeatletter \newif\ifus@ \newif\if@cr [...] \box\z@} \makeatother \begin{document} \input tufte \makeatletter $$\vbox{\settabs 3\columns \+This is&a srange&example \cr \+of displayed&three-column&format.\cr}$$ \makeatother \end{document}
Thanks for your help. The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well?
What part of amstex? The math-ams module defines characters, but
I'm not sure
about some of the advanced layout stuff.
--
George N. White III
On Mon, 27 Aug 2007, Liesbeth van der Plas wrote:
The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well?
ConTeXt has the functionality for most of amstex macros. The syntax is a bit different from amstex, it is a bit more contextish. See http://dl.contextgarden.net/myway/context-latex-math.pdf and http://dl.contextgarden.net/myway/mathalign.pdf Aditya
Is there an equivalent of the amstex *\overset* macro? I couldn't find it in
your articles.
Liesbeth
2007/8/27, Aditya Mahajan
On Mon, 27 Aug 2007, Liesbeth van der Plas wrote:
The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well?
ConTeXt has the functionality for most of amstex macros. The syntax is a bit different from amstex, it is a bit more contextish. See
http://dl.contextgarden.net/myway/context-latex-math.pdf and http://dl.contextgarden.net/myway/mathalign.pdf
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
Yes. \overset and \underset were ported to context some months back. If you have a recent install, both should work. Aditya On Fri, 31 Aug 2007, Liesbeth van der Plas wrote:
Is there an equivalent of the amstex *\overset* macro? I couldn't find it in your articles.
Liesbeth
2007/8/27, Aditya Mahajan
: On Mon, 27 Aug 2007, Liesbeth van der Plas wrote:
The reason to write a booklet in Latex instead of in context was that I wanted to use some amstex macro's. Is it possible to use amstex in context as well?
ConTeXt has the functionality for most of amstex macros. The syntax is a bit different from amstex, it is a bit more contextish. See
http://dl.contextgarden.net/myway/context-latex-math.pdf and http://dl.contextgarden.net/myway/mathalign.pdf
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
-- Aditya Mahajan | EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008
It doesn't work, so I haven't got it. Can I get the source .tex of \overset
and \underset and use \input instead of reinstalling things? It costed me a
lot of time to get everything work all right, so I am not very eager to risk
spoiling things (I used the ProText cd-rom for Windows).
Liesbeth
2007/8/31, Aditya Mahajan
Yes. \overset and \underset were ported to context some months back. If you have a recent install, both should work.
Aditya
On Fri, 31 Aug 2007, Liesbeth van der Plas wrote:
Is there an equivalent of the amstex *\overset* macro? I couldn't find it in your articles.
Liesbeth
2007/8/27, Aditya Mahajan
: On Mon, 27 Aug 2007, Liesbeth van der Plas wrote:
The reason to write a booklet in Latex instead of in context was that
I
wanted to use some amstex macro's. Is it possible to use amstex in context as well?
ConTeXt has the functionality for most of amstex macros. The syntax is a bit different from amstex, it is a bit more contextish. See
http://dl.contextgarden.net/myway/context-latex-math.pdf and http://dl.contextgarden.net/myway/mathalign.pdf
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
-- Aditya Mahajan | EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
On Fri, 31 Aug 2007, Liesbeth van der Plas wrote:
It doesn't work, so I haven't got it. Can I get the source .tex of \overset and \underset and use \input instead of reinstalling things? It costed me a lot of time to get everything work all right, so I am not very eager to risk spoiling things (I used the ProText cd-rom for Windows).
Copy the definitions of preparebinrel, overset and underset from http://source.contextgarden.net/tex/context/base/core-mat.tex?search=overset Aditya
2007/8/31, Aditya Mahajan
: Yes. \overset and \underset were ported to context some months back. If you have a recent install, both should work.
Aditya
On Fri, 31 Aug 2007, Liesbeth van der Plas wrote:
Is there an equivalent of the amstex *\overset* macro? I couldn't find it in your articles.
Liesbeth
2007/8/27, Aditya Mahajan
: On Mon, 27 Aug 2007, Liesbeth van der Plas wrote:
The reason to write a booklet in Latex instead of in context was that
I
wanted to use some amstex macro's. Is it possible to use amstex in context as well?
ConTeXt has the functionality for most of amstex macros. The syntax is a bit different from amstex, it is a bit more contextish. See
http://dl.contextgarden.net/myway/context-latex-math.pdf and http://dl.contextgarden.net/myway/mathalign.pdf
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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
-- Aditya Mahajan | EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
-- liesbethvanderplas@gmail.com www.wiskunde-interactief.nl
-- Aditya Mahajan | EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008
participants (4)
-
Aditya Mahajan
-
Arthur Reutenauer
-
George N. White III
-
Liesbeth van der Plas