ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* plain tex, context and latex
@ 2007-08-27  8:42 Liesbeth van der Plas
  2007-08-27 10:07 ` Arthur Reutenauer
  0 siblings, 1 reply; 9+ messages in thread
From: Liesbeth van der Plas @ 2007-08-27  8:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: plain tex, context and latex
  2007-08-27  8:42 plain tex, context and latex Liesbeth van der Plas
@ 2007-08-27 10:07 ` Arthur Reutenauer
  2007-08-27 11:48   ` Liesbeth van der Plas
  0 siblings, 1 reply; 9+ messages in thread
From: Arthur Reutenauer @ 2007-08-27 10:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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


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

* Re: plain tex, context and latex
  2007-08-27 10:07 ` Arthur Reutenauer
@ 2007-08-27 11:48   ` Liesbeth van der Plas
  2007-08-27 14:03     ` George N. White III
  2007-08-27 14:17     ` Aditya Mahajan
  0 siblings, 2 replies; 9+ messages in thread
From: Liesbeth van der Plas @ 2007-08-27 11:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <arthur.reutenauer@normalesup.org>:
>
> > 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

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: plain tex, context and latex
  2007-08-27 11:48   ` Liesbeth van der Plas
@ 2007-08-27 14:03     ` George N. White III
  2007-08-27 14:17     ` Aditya Mahajan
  1 sibling, 0 replies; 9+ messages in thread
From: George N. White III @ 2007-08-27 14:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 8/27/07, Liesbeth van der Plas <liesbethvanderplas@gmail.com> wrote:

> 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 <aa056@chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: plain tex, context and latex
  2007-08-27 11:48   ` Liesbeth van der Plas
  2007-08-27 14:03     ` George N. White III
@ 2007-08-27 14:17     ` Aditya Mahajan
  2007-08-31 13:52       ` Liesbeth van der Plas
  1 sibling, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2007-08-27 14:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: plain tex, context and latex
  2007-08-27 14:17     ` Aditya Mahajan
@ 2007-08-31 13:52       ` Liesbeth van der Plas
  2007-08-31 14:30         ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Liesbeth van der Plas @ 2007-08-31 13:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Is there an equivalent of the amstex *\overset* macro? I couldn't find it in
your articles.

Liesbeth



2007/8/27, Aditya Mahajan <adityam@umich.edu>:
>
> 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

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: plain tex, context and latex
  2007-08-31 13:52       ` Liesbeth van der Plas
@ 2007-08-31 14:30         ` Aditya Mahajan
  2007-08-31 15:43           ` Liesbeth van der Plas
  0 siblings, 1 reply; 9+ messages in thread
From: Aditya Mahajan @ 2007-08-31 14:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <adityam@umich.edu>:
>>
>> 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
___________________________________________________________________________________


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

* Re: plain tex, context and latex
  2007-08-31 14:30         ` Aditya Mahajan
@ 2007-08-31 15:43           ` Liesbeth van der Plas
  2007-08-31 16:36             ` Aditya Mahajan
  0 siblings, 1 reply; 9+ messages in thread
From: Liesbeth van der Plas @ 2007-08-31 15:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <adityam@umich.edu>:
>
> 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 <adityam@umich.edu>:
> >>
> >> 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

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

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: plain tex, context and latex
  2007-08-31 15:43           ` Liesbeth van der Plas
@ 2007-08-31 16:36             ` Aditya Mahajan
  0 siblings, 0 replies; 9+ messages in thread
From: Aditya Mahajan @ 2007-08-31 16:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <adityam@umich.edu>:
>>
>> 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 <adityam@umich.edu>:
>>>>
>>>> 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
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2007-08-31 16:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-27  8:42 plain tex, context and latex Liesbeth van der Plas
2007-08-27 10:07 ` Arthur Reutenauer
2007-08-27 11:48   ` Liesbeth van der Plas
2007-08-27 14:03     ` George N. White III
2007-08-27 14:17     ` Aditya Mahajan
2007-08-31 13:52       ` Liesbeth van der Plas
2007-08-31 14:30         ` Aditya Mahajan
2007-08-31 15:43           ` Liesbeth van der Plas
2007-08-31 16:36             ` 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).