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

2008-04-07 Thread Peter Münster
Hello,

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

- Forwarded message from Wolfgang Schuster [EMAIL PROTECTED] -

Date: Fri, 22 Feb 2008 11:57:37 +0100
From: Wolfgang Schuster [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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
___


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

2008-03-30 Thread Peter Münster
Hello,

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

- Forwarded message from Wolfgang Schuster [EMAIL PROTECTED] -

Date: Fri, 22 Feb 2008 11:57:37 +0100
From: Wolfgang Schuster [EMAIL PROTECTED]
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 [EMAIL PROTECTED] 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
___