ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* solution for problem with m-chemic.tex
@ 2008-04-11 19:56 Peter Münster
  2008-04-12  7:25 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2008-04-11 19:56 UTC (permalink / raw)
  To: ConTeXt list

Hello,

It's a repost, because version 2008.04.10 still fails:


What about the integration of this patch from Wolfgang Schuster into the
distribution:

- Forwarded message from Wolfgang Schuster <schuster.wolfgang@googlemail.com> -

Date: Fri, 22 Feb 2008 11:57:37 +0100
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] \chemical and MKIV

On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster <pmlists@free.fr> wrote:
> Hello,
>
>  The following test-file produces an error:
>
>  % engine=luatex
>  \usemodule[chemic]
>  \starttext
>  \chemical{CO_2}
>  \stoptext

This is tooo long.

\usemodule[chemic] is enough to produce the error with mkiv.

Replace the following lines in m-chemic

\ifx\beginpicture\undefined
  \let\normalgrid\grid
  \let\normalaxis\axis
  \input pictex.tex \relax
  \let\pictexgrid\grid
  \let\pictexaxis\axis
  \let\grid\normalgrid
  \let\axis\normalaxis
\fi

with

\ifx\beginpicture\undefined
  \let\beginpicture\relax
\fi

and the module works.

Wolfgang

----- End forwarded message -----

-- 
http://pmrb.free.fr/contact/

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

* Re: solution for problem with m-chemic.tex
  2008-04-11 19:56 solution for problem with m-chemic.tex Peter Münster
@ 2008-04-12  7:25 ` Hans Hagen
  2008-04-12 11:35   ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2008-04-12  7:25 UTC (permalink / raw)
  To: ConTeXt list

Peter Münster wrote:
> Hello,
> 
> It's a repost, because version 2008.04.10 still fails:
> 
> 
> What about the integration of this patch from Wolfgang Schuster into the
> distribution:

i have fixed something (will be in next release) but not that way ... 
loading must permit pstricks usage as well

btw, does \usemodule[pictex,chemic] work?

loading pictex directly in mkiv will fail because it uses a different 
catcode management system; thrd-pic is a copy of pictex but contexified

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: solution for problem with m-chemic.tex
  2008-04-12  7:25 ` Hans Hagen
@ 2008-04-12 11:35   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2008-04-12 11:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sat, Apr 12 2008, Hans Hagen wrote:

> btw, does \usemodule[pictex,chemic] work?

Yes, this test file compiles well:

% engine=luatex
\usemodule[pictex,chemic]
\starttext
test
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

end of thread, other threads:[~2008-04-12 11:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-11 19:56 solution for problem with m-chemic.tex Peter Münster
2008-04-12  7:25 ` Hans Hagen
2008-04-12 11:35   ` Peter Münster

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