[NTG-context] patch for m-chemic.tex

Peter Münster pmlists at free.fr
Sun Mar 30 16:16:42 CEST 2008


Hello,

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

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

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

On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster <pmlists at 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/



More information about the ntg-context mailing list