* Re: Help with ConTeXt Minimals and ppchtex
@ 2008-08-30 15:45 Philipp Moritz
2008-08-30 16:07 ` Aditya Mahajan
0 siblings, 1 reply; 5+ messages in thread
From: Philipp Moritz @ 2008-08-30 15:45 UTC (permalink / raw)
To: ntg-context
Hello,
> I can confirm that this file fails with MKIV, but works fine with MKII. It
> seems that supp-mps is not loaded under MKIV.
does there exist a workaround for mkiv? I tried
\usemodule[chemic]
\input supp-mps
\starttext
\startchemical
\chemical[SIX,B1..6,R1..6,RZ1..3][CH_3,CH_3,OH]
\stopchemical
\stoptext
but then I get
! Undefined control sequence.
\writecheckedMPgraphic #1->\ifgrTEXgraphic
\global \MPTEXgraphictrue \else \...
\startMPgraphic ...hic \writecheckedMPgraphic {#1}
\stopwritingMPgraphic
\getMPdrawing ...ic \MPdrawingdata \stopMPgraphic
\loadcurrentMPgraphic {}\d...
\@@endchemicalpicture ...raphictrue \getMPdrawing
}\wd 2=\!!zeropoint \ht 2=...
\stopchemical ...calpicture \@@endchemicalpicture
\egroup \ifnum \chemicaldr...
l.8 \stopchemical
?
thank you for you answer,
Philipp.
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Help with ConTeXt Minimals and ppchtex
2008-08-30 15:45 Help with ConTeXt Minimals and ppchtex Philipp Moritz
@ 2008-08-30 16:07 ` Aditya Mahajan
0 siblings, 0 replies; 5+ messages in thread
From: Aditya Mahajan @ 2008-08-30 16:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 30 Aug 2008, Philipp Moritz wrote:
> Hello,
>
>> I can confirm that this file fails with MKIV, but works fine with MKII. It
>> seems that supp-mps is not loaded under MKIV.
>
> does there exist a workaround for mkiv? I tried
>
> \usemodule[chemic]
For the time being add this after loading chemic.
\unprotect
\def\MPdivten[#1]%
{\@EA\@EA\@EA\doMPdivten\@EA\@EA\@EA[\@EA#1]}
\def\doMPdivten[#1]%
{\ifnum#1> 9999 \dodoMPdivtenB#1\else
\ifnum#1> 999 \dodoMPdivtenC#1\else
\ifnum#1> 99 \dodoMPdivtenD#1\else
\ifnum#1> 9 \dodoMPdivtenE#1\else
\ifnum#1> 0 \dodoMPdivtenF#1\else
\ifnum#1<-9999 \dodoMPdivtenA#1\else
\ifnum#1< -999 \dodoMPdivtenB#1\else
\ifnum#1< -99 \dodoMPdivtenC#1\else
\ifnum#1< -9 \dodoMPdivtenD#1\else
\ifnum#1< 0 \dodoMPdivtenE#1\else
0 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
\def\dodoMPdivtenA#1#2#3#4#5#6{#1#2#3#4#5.#6}
\def\dodoMPdivtenB #1#2#3#4#5{#1#2#3#4.#5}
\def\dodoMPdivtenC #1#2#3#4{#1#2#3.#4}
\def\dodoMPdivtenD #1#2#3{#1#2.#3}
\def\dodoMPdivtenE #1#2{#1.#2}
\def\dodoMPdivtenF #1{.#1}
\protect
Aditya
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Help with ConTeXt Minimals and ppchtex
@ 2008-08-30 16:12 Philipp Moritz
0 siblings, 0 replies; 5+ messages in thread
From: Philipp Moritz @ 2008-08-30 16:12 UTC (permalink / raw)
To: ntg-context
Ah, thank you. I hope it will be fixed soon.
___________________________________________________________________________________
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] 5+ messages in thread
* Help with ConTeXt Minimals and ppchtex
@ 2008-08-30 14:54 Philipp Moritz
2008-08-30 15:21 ` Aditya Mahajan
0 siblings, 1 reply; 5+ messages in thread
From: Philipp Moritz @ 2008-08-30 14:54 UTC (permalink / raw)
To: ntg-context
Hello,
I've got a problem with the chemic-module and ConTeXt Minimals.
My OS is Ubuntu 7.10, I installed the Minimals as it is described in
http://wiki.contextgarden.net/ConTeXt_Minimals under "Quick Start".
I got the error that is listed here: http://nopaste.ch/061d2c39cdda41c.html
The user "mohbana" from the IRC directed me to the mailing-list, he already told
me to rehash and do
luatools --generate
texmfstart texexec --make --all --luatex en
texmfstart texexec --make --all --pdftex en
texmfstart texexec --make --all --xetex en
but nothing helped.
I would be glad if you could help me,
yours,
Philipp.
___________________________________________________________________________________
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] 5+ messages in thread
end of thread, other threads:[~2008-08-30 16:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-30 15:45 Help with ConTeXt Minimals and ppchtex Philipp Moritz
2008-08-30 16:07 ` Aditya Mahajan
-- strict thread matches above, loose matches on Subject: below --
2008-08-30 16:12 Philipp Moritz
2008-08-30 14:54 Philipp Moritz
2008-08-30 15:21 ` Aditya Mahajan
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).