ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* alloc@0, etc, from plain.tex
@ 2010-08-09  4:58 Jesse Alama
  2010-08-09  6:50 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Jesse Alama @ 2010-08-09  4:58 UTC (permalink / raw)
  To: ntg-context

There's a plain TeX package (bussproofs.sty from CTAN; I realize that 
the file ends with ".sty" but it's intended to work in plain TeX) that 
I'm trying to get working with ConTeXt.  I'm stuck at one point though: 
the package has the statements

\def\newcount{\alloc@0\count\countdef\insc@unt}
\def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
\def\newskip{\alloc@2\skip\skipdef\insc@unt}
\def\newbox{\alloc@4\box\chardef\insc@unt}

ConTeXt complains because it doesn't know what alloc@0, etc., are.  Any 
advice for how to import this functionality from plain.tex into ConTeXt?

thanks,

Jesse


___________________________________________________________________________________
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: alloc@0, etc, from plain.tex
  2010-08-09  4:58 alloc@0, etc, from plain.tex Jesse Alama
@ 2010-08-09  6:50 ` Taco Hoekwater
  2010-08-09  7:15   ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Taco Hoekwater @ 2010-08-09  6:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jesse Alama

On 08/09/2010 06:58 AM, Jesse Alama wrote:
> There's a plain TeX package (bussproofs.sty from CTAN; I realize that
> the file ends with ".sty" but it's intended to work in plain TeX) that
> I'm trying to get working with ConTeXt. I'm stuck at one point though:
> the package has the statements
>
> \def\newcount{\alloc@0\count\countdef\insc@unt}
> \def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
> \def\newskip{\alloc@2\skip\skipdef\insc@unt}
> \def\newbox{\alloc@4\box\chardef\insc@unt}

ConTeXt has \newcount et al. predefined already.

Best wishes,
Taco

___________________________________________________________________________________
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: alloc@0, etc, from plain.tex
  2010-08-09  6:50 ` Taco Hoekwater
@ 2010-08-09  7:15   ` Hans Hagen
  2010-08-09 19:27     ` Jesse Alama
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2010-08-09  7:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jesse Alama, Taco Hoekwater

On 9-8-2010 8:50, Taco Hoekwater wrote:
> On 08/09/2010 06:58 AM, Jesse Alama wrote:
>> There's a plain TeX package (bussproofs.sty from CTAN; I realize that
>> the file ends with ".sty" but it's intended to work in plain TeX) that
>> I'm trying to get working with ConTeXt. I'm stuck at one point though:
>> the package has the statements
>>
>> \def\newcount{\alloc@0\count\countdef\insc@unt}
>> \def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
>> \def\newskip{\alloc@2\skip\skipdef\insc@unt}
>> \def\newbox{\alloc@4\box\chardef\insc@unt}
>
> ConTeXt has \newcount et al. predefined already.

Plain tex also has these. If a style (in this case busproofs) does not 
check for that it's likely to clash with more.

Hans


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

* Re: alloc@0, etc, from plain.tex
  2010-08-09  7:15   ` Hans Hagen
@ 2010-08-09 19:27     ` Jesse Alama
  0 siblings, 0 replies; 4+ messages in thread
From: Jesse Alama @ 2010-08-09 19:27 UTC (permalink / raw)
  To: ntg-context

On 2010-08-09 08:15:09 +0100, Hans Hagen said:

> On 9-8-2010 8:50, Taco Hoekwater wrote:
>> On 08/09/2010 06:58 AM, Jesse Alama wrote:
>>> There's a plain TeX package (bussproofs.sty from CTAN; I realize that
>>> the file ends with ".sty" but it's intended to work in plain TeX) that
>>> I'm trying to get working with ConTeXt. I'm stuck at one point though:
>>> the package has the statements
>>> 
>>> \def\newcount{\alloc@0\count\countdef\insc@unt}
>>> \def\newdimen{\alloc@1\dimen\dimendef\insc@unt}
>>> \def\newskip{\alloc@2\skip\skipdef\insc@unt}
>>> \def\newbox{\alloc@4\box\chardef\insc@unt}
>> 
>> ConTeXt has \newcount et al. predefined already.
> 
> Plain tex also has these. If a style (in this case busproofs) does not
> check for that it's likely to clash with more.

The package seems to work fine if I just kill those \def's -- thanks!

Jesse


___________________________________________________________________________________
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:[~2010-08-09 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-09  4:58 alloc@0, etc, from plain.tex Jesse Alama
2010-08-09  6:50 ` Taco Hoekwater
2010-08-09  7:15   ` Hans Hagen
2010-08-09 19:27     ` Jesse Alama

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