ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [Fwd: Re: [Fwd: Re:  [Fwd: PPCHTEX and LaTeX]]]
@ 2009-01-27 18:05 Hans Hagen
  2009-01-27 18:34 ` PPCHTEX and LaTeX Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Hans Hagen @ 2009-01-27 18:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]


-- 

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

[-- Attachment #2: Re: [Fwd: Re: [NTG-context] [Fwd: PPCHTEX and LaTeX]].eml --]
[-- Type: message/rfc822, Size: 12480 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 2160 bytes --]

Hello Mr. Hagen,

Thanks for your kind reply. I have a MikTeX system installed on Windows 
XP. The context is part of the installation.

Although I think that all packages mentioned below are installed I get 
some error messages in the log. The dvi output is generated, but the 
errors are strange. Is this a kind of incompatibility described in a FAQ?

Best regards,
Helge Kruse

Hans Hagen wrote:
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Re: [NTG-context] [Fwd: PPCHTEX and LaTeX]
> From:
> Alan BRASLAU <alan.braslau@cea.fr>
> Date:
> Tue, 27 Jan 2009 12:58:59 +0100
> To:
> mailing list for ConTeXt users <ntg-context@ntg.nl>
> 
> To:
> mailing list for ConTeXt users <ntg-context@ntg.nl>
> 
> 
> On Tuesday 27 January 2009 12:01:20 Hans Hagen wrote:
>> Encapsulated message
>>   PPCHTEX and LaTeX
>> From: "Helge Kruse" <Helge.Kruse-nospam@gmx.net>
>>   To:  pragma@wxs.nl
>>   Date: Today 11:08:17
>>    
>> Hello,
>> I read about PPCHTEX and I would like to use it in my LaTeX environment. I got errors with the the first \usepackage{mp-ch-de}. Can you provide a link to a HOWTO-use-PPCHTEX-with-LaTeX?
>>  
>> Best regards,
>> Helge
>>   End of encapsulated message
> 
> As an example:
> 
> \documentclass[a4paper,12pt]{article}
> \usepackage{m-pictex,m-ch-en}
> 
> \begin{document}
> \setupchemical[size=small,scale=200,width=fit,frame=off]
> \startchemical
> \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R]
> \stopchemical
> \end{document}
> 
> 
> On my Debian system, I had to install the context package (of course)
> as well as the texlive-pictures package (for pictex) for this to work.
> 
> Alan
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #2.1.2: foo.log --]
[-- Type: text/plain, Size: 7513 bytes --]

This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.7 Beta 5) (preloaded format=latex 2007.11.26)  27 JAN 2009 18:20
entering extended mode
**foo.tex
(foo.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size12.clo"
File: size12.clo 2005/09/16 v1.4f 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
)
("C:\Program Files\MiKTeX 2.7\tex\latex\context\m-pictex.sty"
Package: m-pictex 2004/07/30 package wrapper for m-pictex.tex

("C:\Program Files\MiKTeX 2.7\tex\context\base\m-pictex.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\pictex\prepictex.tex")
("C:\Program Files\MiKTeX 2.7\tex\generic\pictex\pictex.tex")
("C:\Program Files\MiKTeX 2.7\tex\generic\pictex\postpictex.tex")))
("C:\Program Files\MiKTeX 2.7\tex\latex\context\m-ch-en.sty"
Package: m-ch-en 2004/07/30 package wrapper for m-ch-en.tex

("C:\Program Files\MiKTeX 2.7\tex\generic\context\m-ch-en.tex"
("C:\Program Files\MiKTeX 2.7\tex\generic\context\ppchtex.noc"
("C:\Program Files\MiKTeX 2.7\tex\context\base\supp-mis.tex"
loading : Context Support Macros / Miscellaneous (2004.10.26)
\protectiondepth=\count103
\scratchcounter=\count104
\scratchtoks=\toks17
\scratchtoks=\toks18
\scratchtoks=\toks19
\scratchtoks=\toks20
\scratchtoks=\toks21
\scratchdimen=\dimen213
\scratchskip=\skip43
\scratchmuskip=\muskip10
\scratchmuskip=\muskip11
\scratchmuskip=\muskip12
\scratchmuskip=\muskip13
\scratchmuskip=\muskip14
\scratchmuskip=\muskip15
\scratchmuskip=\muskip16
\scratchmuskip=\muskip17
\scratchmuskip=\muskip18
\scratchmuskip=\muskip19
\scratchmuskip=\muskip20
\scratchmuskip=\muskip21
\scratchbox=\box32
\scratchread=\read1
\scratchwrite=\write4
\zeropoint=\dimen214
\onepoint=\dimen215
\onebasepoint=\dimen216
\minusone=\count105
\thousandpoint=\dimen217
\onerealpoint=\dimen218
\emptytoks=\toks22
\nextbox=\box33
\nextdepth=\dimen219
\everyline=\toks23
\!!counta=\count106
\!!countb=\count107
\recursecounter=\count108
) ("C:\Program Files\MiKTeX 2.7\tex\context\base\syst-gen.tex"
\protectionlevel=\count109
\scratchcounter=\count110
\globalscratchcounter=\count111
\scratchdimen=\dimen220
\globalscratchdimen=\dimen221
\scratchskip=\skip44
\globalscratchskip=\skip45
\scratchmuskip=\muskip22
\globalscratchmuskip=\muskip23
\scratchtoks=\toks24
\globalscratchtoks=\toks25
\scratchbox=\box34
\globalscratchbox=\box35
\!!counta=\count112
\!!countb=\count113
\!!countc=\count114
\!!countd=\count115
\!!counte=\count116
\!!countf=\count117
\!!widtha=\dimen222
\!!heighta=\dimen223
\!!deptha=\dimen224
\!!widthb=\dimen225
\!!heightb=\dimen226
\!!depthb=\dimen227
\!!widthc=\dimen228
\!!heightc=\dimen229
\!!depthc=\dimen230
\zeropoint=\dimen231
\zerocount=\count118
\minusone=\count119
\everysafeexpanded=\toks26
\commalevel=\count120
\processlevel=\count121
\commalistcounter=\count122
\everyrobusttest=\toks27
\everywritestring=\toks28
\statuscounter=\count123
\emptytoks=\toks29

loading        : Context System Macros / General
) ("C:\Program Files\MiKTeX 2.7\tex\context\base\syst-fnt.tex")
("C:\Program Files\MiKTeX 2.7\tex\context\base\ppchtex.tex"
loading        : Context Chemical Macro's / 1996.3.1
ppchtex        : using PiCTeX
\horchemical=\count124
\verchemical=\count125
\txtchemical=\count126
\levchemical=\count127
\chemicalsymbols=\box36
\currentchemical=\count128
! Missing { inserted.
<to be read again> 
                   \def 
l.659 \unexpanded\def
                     \complexstartchemical[#1]%
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)

Runaway text?
\def \complexstartchemical [##1]{\copyparameters [\??chemical ][\??chemical \ET
C.
! Forbidden control sequence found while scanning text of \unexpanded.
<inserted text> 
                }
l.840 \f
       
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

! Missing { inserted.
<to be read again> 
                   \edef 
l.1768 \definecomplexorsimple\chemical
                                      
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)

Runaway text?
\edef \chemical {\noexpand \docomplexorsimple \@EA \noexpand \csname \ETC.
! Forbidden control sequence found while scanning text of \unexpanded.
<inserted text> 
                }
l.1867 \f
        
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

! Missing { inserted.
<to be read again> 
                   \def 
l.1868 \unexpanded\def
                      \chemicaloxidation#1#2#3%
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)

Runaway text?
\def \chemicaloxidation ##1##2##3{\chemicaltop {\ifnum ##20=0 0\else \ETC.
! Forbidden control sequence found while scanning text of \unexpanded.
<inserted text> 
                }
l.2026 \f
        
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

\chemicalstack=\count129
)))) (foo.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info:    ... okay on input line 4.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 8.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 8.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 8.
 [1

] (foo.aux) ) 
Here is how much of TeX's memory you used:
 2108 strings out of 95351
 27329 string characters out of 1184455
 95865 words of memory out of 1500000
 5335 multiletter control sequences out of 110000
 6376 words of font info for 23 fonts, out of 1200000 for 2000
 14 hyphenation exceptions out of 8191
 46i,4n,66p,305b,467s stack positions out of 5000i,500n,10000p,200000b,5000s

Output written on foo.dvi (1 page, 3972 bytes).

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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 and LaTeX
  2009-01-27 18:05 [Fwd: Re: [Fwd: Re: [Fwd: PPCHTEX and LaTeX]]] Hans Hagen
@ 2009-01-27 18:34 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2009-01-27 18:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Helge.Kruse-nospam

Hi Helge,

> Thanks for your kind reply. I have a MikTeX system installed on  
> Windows XP. The context is part of the installation.

>
> Although I think that all packages mentioned below are installed I  
> get some error messages in the log. The dvi output is generated, but  
> the errors are strange. Is this a kind of incompatibility described  
> in a FAQ?

> ! Missing { inserted.
> <to be read again>
>                   \def
> l.659 \unexpanded\def
>                     \complexstartchemical[#1]%

This problem was mentioned once 2007 and Hans fixed it
and I don't get it with TeXLive 2008.

Can you send use the file ppchtex.noc from your system,
it's possible MikTeX includes a old version of the file
without the patch.

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:[~2009-01-27 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-27 18:05 [Fwd: Re: [Fwd: Re: [Fwd: PPCHTEX and LaTeX]]] Hans Hagen
2009-01-27 18:34 ` PPCHTEX and LaTeX 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).