ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ppchtex german language compiling problems
@ 2007-12-30 19:51 Martin Scholz
  2008-01-02 12:52 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Scholz @ 2007-12-30 19:51 UTC (permalink / raw)
  To: ntg-context

Hi there,

I'm new to ConTeXt and found out how nice it is to construct coverpages. 
So it would be nice to have an opportunity to include the whole 
procedure into an LaTeXe environment. As far as I already read up to now 
there is now possibility. But today I think I found a bug in the german 
version of ppchtex. I used the following little script to set an example 
formula.
The used code is the following:

\verwendemodule[pictex,chemie]


\starttext

\stellechemieein[breite=passend,oben=1500,unten=3500]
\startchemie
\chemie[ONE,Z0,DB1,SB3,SB7,Z3,Z7,MOV1,Z0,SB1,SB3,Z3,MOV1,Z0,DB1,SB3,Z3,MO
V1,Z0,SB3,SB7,Z3,Z7][C,H,H,C,H,C,H,C,H,H]
\textunter{1,3-Butadieen}
\stopchemie

\stoptext

with the following commands I got the same errormessages.

texexec --dvi --mainlanguage=de chemie.tex
texexec --ps --mainlanguage=de chemie.tex
texexec --pdf --mainlanguage=de chemie.tex
texexec --mainlanguage=de chemie.tex

The resulting errormessage is the following:

TeXExec | processing document 'chemie.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file chemie.top
TeXExec | using randomseed 1016
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-de
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
 (/usr/local/texlive/2007/texmf/web2c/natural.tcx)
entering extended mode
(./chemie.tex

ConTeXt  ver: 2007.01.12 15:56 MKII  fmt: 2007.12.29  int: german/german

Sprache         : Sprache de ist aktiv
system          : cont-new geladen
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-new.mkii))
system          : cont-old geladen
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-old.tex
loading         : Context Old Macros
)
system          : cont-fil geladen
(/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-fil.tex
loading         : Context File Synonyms
)
system          : cont-sys.rme geladen
(/usr/local/texlive/2007/texmf-dist/tex/context/user/cont-sys.rme
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-exa.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-syn.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-enc.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-siz.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-map.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-spe.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/type-akb.tex))
Fliesstext      : 12pt rm ist geladen
Sprache         : Trennmuster en->ec:ec->1->2:2 uk->ec:ec->2->2:2 
de->texnansi:
texnansi->3->2:2 de->ec:ec->4->2:2 fr->texnansi:texnansi->5->2:2 
fr->ec:ec->6->
2:2 es->ec:ec->7->2:2 nl->texnansi:texnansi->8->2:2 nl->ec:ec->9->2:2 
it->texna
nsi:texnansi->10->2:2 it->ec:ec->11->2:2 deo->ec:ec->12->2:2 geladen
spezielles      : tex,postscript,rokicki geladen
system          : chemie.top geladen
(./chemie.top
check           : Fehlendes '=' nach 'de' in Zeile 8 (@@lade)
spezielles      : lade Definitionsdatei dvi
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-dvi.tex)
spezielles      : tex geladen
spezielles      : lade Definitionsdatei ps
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-ps.tex)
spezielles      : tex,postscript geladen
spezielles      : lade Definitionsdatei tr
(/usr/local/texlive/2007/texmf-dist/tex/context/base/spec-tr.tex)
spezielles      : tex,postscript,rokicki geladen
)
systems         : system commands are disabled
system          : Modul pictex geladen
(/usr/local/texlive/2007/texmf-dist/tex/context/base/m-pictex.tex
(/usr/local/texlive/2007/texmf-dist/tex/context/base/thrd-pic.tex))
system          : Modul chemic geladen
(/usr/local/texlive/2007/texmf-dist/tex/context/base/m-chemic.tex
(/usr/local/texlive/2007/texmf-dist/tex/context/base/ppchtex.tex
ppchtex         : using PiCTeX and MetaPost
)) (./chemie.tuo) (./chemie.tuo) (./chemie.tuo) (./chemie.tuo) 
(./chemie.tuo)
(./chemie.tuo) (./chemie.tuo) (./chemie.tuo) (./chemie.tuo) 
(./chemie.tuo)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-def.tex)
(/usr/local/texlive/2007/texmf-dist/tex/context/base/sort-lan.tex)
(./chemie.tuo) (./chemie.tuo)
systems         : begin file chemie at line 4
[MP as EPS ./chemie-mpgraph.4000] [MP color conversion 
./chemie-mpgraph.4000
! Argument of \dodohandleMPcolor has an extra }.
<inserted text> 
                \par 
<to be read again> 
                   }
\includeMPasEPS ...\the \!!heightb }\doinsertfile 
                                                  }\wd \scratchbox 
\!!widthb...

\loadMPgraphic ...Pgraphics \insertMPfile {#1}{#2}
                                                  \fi }
\doloadcurrentMPgraphic ...\currentMPgraphic }{#1}
                                                  \deallocateMPslot 
\current...

\getMPdrawing ...Pgraphic \loadcurrentMPgraphic {}
                                                  \deallocateMPslot 
\current...
...
l.10 \stopchemie

Would be nice if somebody has an idea how to solve the problem or where 
something went wrong in the code.

Another question is how I could get ppchtex to work in a 
LaTeXe-environment. Would be nice if there also would be the possibility 
to load the german version.

Thanks to all for there help and have a happy new year everybody.

Martin

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

* Re: ppchtex german language compiling problems
  2007-12-30 19:51 ppchtex german language compiling problems Martin Scholz
@ 2008-01-02 12:52 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2008-01-02 12:52 UTC (permalink / raw)
  To: ntg-context

On Sun, 30 Dec 2007 20:51:27 +0100
Martin Scholz <martin@scholz-net.org> wrote:

> Hi there,
> 
> I'm new to ConTeXt and found out how nice it is to construct coverpages. 

It's even better for the whole document.

> So it would be nice to have an opportunity to include the whole 
> procedure into an LaTeXe environment. As far as I already read up to now 
> there is now possibility.

You could try to write the ConTeXt code into a external file and
process this file on the fly with write18.

> But today I think I found a bug in the german 
> version of ppchtex. I used the following little script to set an example 
> formula.
> The used code is the following:
> 
> \verwendemodule[pictex,chemie]
> 
> 
> \starttext
> 
> \stellechemieein[breite=passend,oben=1500,unten=3500]
> \startchemie
> \chemie[ONE,Z0,DB1,SB3,SB7,Z3,Z7,MOV1,Z0,SB1,SB3,Z3,MOV1,Z0,DB1,SB3,Z3,MO
> V1,Z0,SB3,SB7,Z3,Z7][C,H,H,C,H,C,H,C,H,H]
> \textunter{1,3-Butadieen}
> \stopchemie
> 
> \stoptext
> 
> with the following commands I got the same errormessages.

[...]

> ConTeXt  ver: 2007.01.12 15:56 MKII  fmt: 2007.12.29  int: german/german

This is a ancient version, I tried your example with the last release
and it works for me.

[...]

> 
> Would be nice if somebody has an idea how to solve the problem or where 
> something went wrong in the code.
> 
> Another question is how I could get ppchtex to work in a 
> LaTeXe-environment. Would be nice if there also would be the possibility 
> to load the german version.

\usepackage[pictex]{m-ch-de}

or

\usepackage[pstricks]{m-ch-de}

> Thanks to all for there help and have a happy new year everybody.
> 
> Martin

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

end of thread, other threads:[~2008-01-02 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-30 19:51 ppchtex german language compiling problems Martin Scholz
2008-01-02 12:52 ` Wolfgang Schuster

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