ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: How is it possible to include DraTex code in Context ?
Date: Fri, 25 Nov 2005 15:12:02 +0100	[thread overview]
Message-ID: <43871BB2.80801@wxs.nl> (raw)
In-Reply-To: <43869931.4050405@uqam.ca>

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

Fabrice Larribe wrote:

> Hi,
>
>    I'm presently doing my first steps with Context, which seems 
> absolutly wonderfull... so thanks to the developper(s).
>    In the past, I was using plain tex with a macro package called 
> DraTex to draw all sorts of things; so I have a "library" of figures 
> which I would like to resuse in Context. I have seen no specific 
> reference in the Context manual(s) about the compatibility of Context 
> with others plain tex packages. When I do: "\input DraTex.sty \input 
> AlDraTex.sty" I have the message "No room for a new \dimen"... If I 
> load only the first package (DraTex), this works, but for advances 
> things, I need AlDraTex. So the question: how is it possible to 
> include DraTex code in Context ?
>

you may try the attachec module

- move the file to context/base
- run mktexlsr
- in the document say: \usemodule[dratex]

the two line hack in teh file is needed to bypass dratex's dimension 
allocation stuff

no guarantees

Hans

[-- Attachment #2: m-dratex.tex --]
[-- Type: application/x-tex, Size: 578 bytes --]

[-- Attachment #3: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-11-25 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25  4:55 Fabrice Larribe
2005-11-25 14:12 ` Hans Hagen [this message]
     [not found] <3DA71F8D231E5F40956368B045D89FB4035821C0@calepin.gst.uqam.ca>
2005-11-25 15:10 ` How is it possible to include DraTex code in Context? Fabrice Larribe
2005-11-25 17:39   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43871BB2.80801@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).