ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: LaTeX & ppchtex
  2002-10-23 16:40 LaTeX & ppchtex jspanke
@ 1999-04-23 16:30 ` Hans Hagen
  1999-04-23 16:31 ` Tobias Burnus
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 1999-04-23 16:30 UTC (permalink / raw)
  Cc: ntg-context

jspanke@hyytiala.helsinki.fi wrote:

> I am using MikTeX 1.20 beta and I want to use ppchtex under LaTeX.
> When I am searching for ppchtex, I find different versions on
> different servers. For example the zipfile at the ConTeXt Website
> seems to be a older version. In most packages there is no ppchtex.tex
> file included, but during compilation LaTeX is asking for it.

Most of the ppchtex's are just the same. Recently there has been a
reshuffeling of files in the distributions. The main site is 

  www.pragma-ade.nl

There are pointers there to Erik's mirror and the NTG mirror. Depending
on the network connections you use, the mirrors can be faster.  Using
the mirrors also saves us quota. 

The reference distributions from www.pragma-ade.nl are also mirrored on
CTAN. 

> What means historical for the m-chemie.sty and m-chemical.sty, should
> I use the newer m-ch-de.sty? And why don´t you say so in the manual?

The historical ones are for users who still load ppchtex under those
names. They are just copies. 

> My LaTeX document is very simple, but it don´t work.
> 
> \documentclass{article}
>     \usepackage{m-pictex}
>     \usepackage{m-ch-de}
> 
> \begin{document}
> \stellechemieein[achsen=an,rahmen=an]
> \startchemie
>     \chemie[SIX,B,R,RZ][1,2,3,4,5,6]
> \stopchemie
> \end{document}
> 
> The compiler produce the following Log-file. If I use the english
> style it produces also a error message.
> Regards
>                 Jörg Spanke
>
> (D:\programme\localTeXmf\tex\latex\pictex\m-pictex.sty
> (D:\programme\localTeXmf\tex\latex\pictex\m-pictex.tex
> (D:\programme\localTeXmf\tex\latex\PPCHTEX\supp-mis.tex loading :
> Context Support Macros / Missing \protectiondepth=\count87

First of all I stongly suggests to remove all context things from the
latex path. TO prevent conflicts, use the normal context path
(tex/context/base). 

Next, make sure no duplicate (old) copies reside on the system. The
default context distribution unpacks in the appropriate directories of
the texmf tree. There is also a ppchtex distribution, for the
minimalists, although I suggest to simply install context (not that
large at all). 

Some older latex distributions also can have supp-mis and some more
present, due to the fact that latex uses context modules for converting
metapost to pdf. Please make sure you don't put those on your system:
install the normal context base dir! Only that way the people
maintaining distributions can be sure things do not conflict. 

BTW, looking at your log shows that (1) something is messed up and (2)
the context system module is not loaded. The latter one is needed for
ppchtex. The \doif macros are implemented in that module. 

When installed properly, ppchtex runs smoothly. Of course pictex must be
present. 

On context, ppchtex uses metapost to draw the lines and shapes. This
gives better results, smaller files, pdf support, etc. (Think of
metapost acting as a plug in into pictex). In context one can simply
load ppchtex by saying: 

  \usemodule[chemic]

The interface is automatically set to the current one. 

I suppose I could make ppchtex/mp support work in latex too (actually
some people are using the underlying modules for tpic to pdf conversion)
but I currently lack the time to do this.  

Some day I will provide some additional mp related features to ppchtex. 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


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

* Re: LaTeX & ppchtex
  2002-10-23 16:40 LaTeX & ppchtex jspanke
  1999-04-23 16:30 ` Hans Hagen
@ 1999-04-23 16:31 ` Tobias Burnus
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Burnus @ 1999-04-23 16:31 UTC (permalink / raw)
  Cc: ntg-context, NTG-PPCHTeX

I set a CC and a Reply-To to ntg-context, since this is rather related to
PPCHTeX than to ConTeXt. I appologise for quoting so much in this E-Mail, but
I'd like to give the PPCHTeX readers the complete text.

Hallo Jörg,

> I am using MikTeX 1.20 beta and I want to use ppchtex under LaTeX.
> When I am searching for ppchtex, I find different versions on
> different servers. For example the zipfile at the ConTeXt Website
> seems to be a older version.

This depends upon the server. The newest files are on
http://www.pragma-ade.nl (dated 11th of April)

> In most packages there is no ppchtex.tex
In teTeX I do have ppchtex.tex; I don't know which texmf you use though.
(Before I switched to Linux I used to use ``Web2c for Win32'' alias ``fpTeX'',
which should be approx. identical to teTeX, but I don't know miktex.)

> file included, but during compilation LaTeX is asking for it.
> What means historical for the m-chemie.sty and m-chemical.sty, should

Well the name is historic. m-chemie.sty is equivalent to m-ch-nl.sty
and m-chemical.sty to m-ch-en.sty.

> I use the newer m-ch-de.sty?
Well when you use German command names (as you do) you should.

> And why don´t you say so in the manual?
Well in the manual there is: ,,The used language depends upon which file is
loaded:
Dutch:   m-ch-nl = m-chemie.sty
English: m-ch-en = m-chemic.sty
German:  m-ch-de''
(Ok this is only quite correct, I have m-che-* in my manual. This should be
fixed.)

> My LaTeX document is very simple, but it don´t work.
It doesn't help you, but with the current version of teTeX it works.

> \documentclass{article}
>     \usepackage{m-pictex}
>     \usepackage{m-ch-de}
> 
> \begin{document}
> \stellechemieein[achsen=an,rahmen=an]
> \startchemie
>     \chemie[SIX,B,R,RZ][1,2,3,4,5,6]
> \stopchemie
> \end{document}
> 
> The compiler produce the following Log-file. If I use the english
> style it produces also a error message.
> Regards
>                 Jörg Spanke

If I remember correctly, there had been some problems with latex and ppchtex
about a quarter or half a year ago. This should be solved in the more recent
versions of PPCHTeX.

Can you please try whether a new version works.

Tobias

PS: Do you also use ConTeXt?

> LOG-file:
> 
> This is TeX, Version 3.14159 (MiKTeX 1.20a) (preloaded format=latex
> 1999.4.16)  23 APR 1999 00:52 **Chemie.tex (Chemie.tex LaTeX2e
> <1998/12/01> Babel <v3.6m> and hyphenation patterns for american,
> french, german, ngerman, n ohyphenation, loaded.
> (D:\programme\TeXmf\tex\latex\base\article.cls Document Class: article
> 1999/01/07 v1.4a Standard LaTeX document class
> (D:\programme\TeXmf\tex\latex\base\size10.clo File: size10.clo
> 1999/01/07 v1.4a Standard LaTeX file (size option) ) \c@part=\count79
> \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82
> \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85
> \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42
> \bibindent=\dimen102 )
> (D:\programme\localTeXmf\tex\latex\pictex\m-pictex.sty
> (D:\programme\localTeXmf\tex\latex\pictex\m-pictex.tex
> (D:\programme\localTeXmf\tex\latex\PPCHTEX\supp-mis.tex loading :
> Context Support Macros / Missing \protectiondepth=\count87
> \scratchcounter=\count88 \scratchdimen=\dimen103 \scratchskip=\skip43
> \scratchmuskip=\muskip10 \scratchbox=\box26 \scratchread=\read1
> \scratchwrite=\write3 \nextbox=\box27 \nextdepth=\dimen104
> \everyline=\toks14 \!!counta=\count89 \!!countb=\count90
> \recursecounter=\count91 ) \!dimenA=\dimen105 \!dimenB=\dimen106
> \!dimenC=\dimen107 \!dimenD=\dimen108 \!dimenE=\dimen109
> \!dimenF=\dimen110 \!dimenG=\dimen111 \!dimenH=\dimen112
> \!dimenI=\dimen113 \!dxpos=\dimen114 \!dypos=\dimen115
> \!xloc=\dimen116 \!xpos=\dimen117 \!yloc=\dimen118 \!ypos=\dimen119
> \!zpt=\dimen120 \linethickness=\dimen121
>  [before: d=121,s=43]
>  (D:\programme\localTeXmf\tex\latex\pictex\prepictex.tex)
> [after: d=121,s=43] [before: d=121,s=43]
> (D:\programme\localTeXmf\tex\latex\pictex\pictex.tex) [after:
> d=129,s=128] [before: d=129,s=128]
> (D:\programme\localTeXmf\tex\latex\pictex\postpictex.tex) [after:
> d=129,s=128])) (D:\programme\localTeXmf\tex\latex\PPCHTEX\m-ch-de.sty
> (D:\programme\localTeXmf\tex\latex\PPCHTEX\m-ch-de.tex
> (D:\programme\localTeXmf\tex\latex\PPCHTEX\ppchtex.noc
> (D:\programme\localTeXmf\tex\latex\ConTeXt\syst-gen.tex)
> (D:\programme\localTeXmf\tex\latex\PPCHTEX\supp-mis.tex loading :
> Context Support Macros / Missing \protectiondepth=\count108
> \recursecounter=\count109 ) ! Undefined control sequence.
> \definecommand ...lue {#1}}} \or \doifnot
>                                           {#1}{#3}{\setvalue
>                                           {#3}{\ge...
> l.145 ... definieerchemie  definierechemie
> 
> ?
> 
> ! LaTeX Error: Missing \begin{document}.
> 
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
>  ...

--
"This above all: To thine own self be true / And it must follow as the day the
night /
Thou canst not then be false to anyone."                  Polonius to Laertis
(Hamlet)


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

* LaTeX & ppchtex
@ 2002-10-23 16:40 jspanke
  1999-04-23 16:30 ` Hans Hagen
  1999-04-23 16:31 ` Tobias Burnus
  0 siblings, 2 replies; 3+ messages in thread
From: jspanke @ 2002-10-23 16:40 UTC (permalink / raw)


I am using MikTeX 1.20 beta and I want to use ppchtex under LaTeX.
When I am searching for ppchtex, I find different versions on 
different servers. For example the zipfile at the ConTeXt Website 
seems to be a older version. In most packages there is no ppchtex.tex 
file included, but during compilation LaTeX is asking for it.
What means historical for the m-chemie.sty and m-chemical.sty, should 
I use the newer m-ch-de.sty? And why don´t you say so in the manual?
My LaTeX document is very simple, but it don´t work.

\documentclass{article}
    \usepackage{m-pictex}
    \usepackage{m-ch-de}

\begin{document}
\stellechemieein[achsen=an,rahmen=an]
\startchemie
    \chemie[SIX,B,R,RZ][1,2,3,4,5,6]
\stopchemie
\end{document}

The compiler produce the following Log-file. If I use the english 
style it produces also a error message. 
Regards 
		Jörg Spanke

LOG-file:

This is TeX, Version 3.14159 (MiKTeX 1.20a) (preloaded format=latex
1999.4.16)  23 APR 1999 00:52 **Chemie.tex (Chemie.tex LaTeX2e
<1998/12/01> Babel <v3.6m> and hyphenation patterns for american,
french, german, ngerman, n ohyphenation, loaded.
(D:\programme\TeXmf\tex\latex\base\article.cls Document Class: article
1999/01/07 v1.4a Standard LaTeX document class
(D:\programme\TeXmf\tex\latex\base\size10.clo File: size10.clo
1999/01/07 v1.4a Standard LaTeX file (size option) ) \c@part=\count79
\c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82
\c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85
\c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42
\bibindent=\dimen102 )
(D:\programme\localTeXmf\tex\latex\pictex\m-pictex.sty
(D:\programme\localTeXmf\tex\latex\pictex\m-pictex.tex
(D:\programme\localTeXmf\tex\latex\PPCHTEX\supp-mis.tex loading :
Context Support Macros / Missing \protectiondepth=\count87
\scratchcounter=\count88 \scratchdimen=\dimen103 \scratchskip=\skip43
\scratchmuskip=\muskip10 \scratchbox=\box26 \scratchread=\read1
\scratchwrite=\write3 \nextbox=\box27 \nextdepth=\dimen104
\everyline=\toks14 \!!counta=\count89 \!!countb=\count90
\recursecounter=\count91 ) \!dimenA=\dimen105 \!dimenB=\dimen106
\!dimenC=\dimen107 \!dimenD=\dimen108 \!dimenE=\dimen109
\!dimenF=\dimen110 \!dimenG=\dimen111 \!dimenH=\dimen112
\!dimenI=\dimen113 \!dxpos=\dimen114 \!dypos=\dimen115
\!xloc=\dimen116 \!xpos=\dimen117 \!yloc=\dimen118 \!ypos=\dimen119
\!zpt=\dimen120 \linethickness=\dimen121
 [before: d=121,s=43]
 (D:\programme\localTeXmf\tex\latex\pictex\prepictex.tex) 
[after: d=121,s=43] [before: d=121,s=43]
(D:\programme\localTeXmf\tex\latex\pictex\pictex.tex) [after:
d=129,s=128] [before: d=129,s=128]
(D:\programme\localTeXmf\tex\latex\pictex\postpictex.tex) [after:
d=129,s=128])) (D:\programme\localTeXmf\tex\latex\PPCHTEX\m-ch-de.sty
(D:\programme\localTeXmf\tex\latex\PPCHTEX\m-ch-de.tex
(D:\programme\localTeXmf\tex\latex\PPCHTEX\ppchtex.noc
(D:\programme\localTeXmf\tex\latex\ConTeXt\syst-gen.tex)
(D:\programme\localTeXmf\tex\latex\PPCHTEX\supp-mis.tex loading :
Context Support Macros / Missing \protectiondepth=\count108
\recursecounter=\count109 ) ! Undefined control sequence.
\definecommand ...lue {#1}}} \or \doifnot 
                                          {#1}{#3}{\setvalue
                                          {#3}{\ge...
l.145 ... definieerchemie  definierechemie

? 

! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                      


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

end of thread, other threads:[~2002-10-23 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 16:40 LaTeX & ppchtex jspanke
1999-04-23 16:30 ` Hans Hagen
1999-04-23 16:31 ` Tobias Burnus

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