[NTG-context] Installing ConTeXt Minimals on a Mac

2008-08-30 Thread Alan Bowen
What follows are some queries that I will be happy to write up for the  
wiki. The aim (hope?) is to develop a set of instructions for  
installing the minimals on a Mac that a Mac user without any real  
knowledge of unix (such as myself) can follow easily. (There are a  
number of people scattered around the world who help me in producing  
various publications; and since they too are not unix savvy, I need  
such instructions if we are to keep our installations functioning and  
up to date.)


Once the ConTeXt minimals are installed in the Applications folder and  
the user can run

\starttext
Hello world!
\stoptext
which is where the wiki (Installationsection 1.2) currently leaves  
off, there still remain a few tasks.


Specifically,

(a) getting this ConTeXt installation to recognize a personal texmf  
directory


(b) running the various binaries (e.g., texmfstart, ctxtools) in / 
Applications/ConTeXtMinimals from Terminal


(c) establishing synchronization between  PDF output and its ConTeXt  
source. Currently, it does not seem to work (with TeXShop at least)

Note, in the latest TeXShop there is
Added support for SyncTeX. SyncTeX is new synchronization technology  
by Jerome Laurens which is included in TeX Live 2008 (but not earlier  
TeX distributions). The technology is built directly into pdfTeX and  
XeTeX. In modern TeX distributions, most typesetting actually calls  
pdfetex (even if using latex to output a dvi file), and thus the  
technology is available for such typesetting. To use the technology,  
add the flag --synctex=1


Any advice on how to do (a), (b), and (c) will be much appreciated.

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
___


[NTG-context] Help with ConTeXt Minimals and ppchtex

2008-08-30 Thread Philipp Moritz
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
___


Re: [NTG-context] Help with ConTeXt Minimals and ppchtex

2008-08-30 Thread Aditya Mahajan
On Sat, 30 Aug 2008, Philipp Moritz wrote:

 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 can confirm that this file fails with MKIV, but works fine with MKII. It 
seems that supp-mps is not loaded under MKIV.

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
___


Re: [NTG-context] Help with ConTeXt Minimals and ppchtex

2008-08-30 Thread Philipp Moritz
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
___


[NTG-context] Background color of sometxt ignored

2008-08-30 Thread Aditya Mahajan
Hi,

In  2008.08.18 14:00 MKIV the background color of sometxt is ignored. I 
used to use this trick to unfill the background while drawing a label, but 
it no longer works (It used to work a month ago).

Bug or feature?

\unprotected\definetextext[parbox]
   {\framed
 [ frame=off,
   width=2cm,
  height=.85cm,
   autowidth=no,
   align={middle,middle},
 background=color,
 backgroundcolor=white]}

\starttext

\startMPcode
draw (0,0) -- (3cm,3cm) ;
label(\sometxt[parbox]{ABC}, (1.5cm,1.5cm)) ;
\stopMPcode

\stoptext

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
___


Re: [NTG-context] Background color of sometxt ignored

2008-08-30 Thread Aditya Mahajan
On Sat, 30 Aug 2008, Aditya Mahajan wrote:

 Hi,

 In  2008.08.18 14:00 MKIV the background color of sometxt is ignored. I
 used to use this trick to unfill the background while drawing a label, but
 it no longer works (It used to work a month ago).

 Bug or feature?

It works if I add

\setupcolors[state=start]

 \unprotected\definetextext[parbox]
   {\framed
 [ frame=off,
   width=2cm,
  height=.85cm,
   autowidth=no,
   align={middle,middle},
 background=color,
 backgroundcolor=white]}

 \starttext

 \startMPcode
 draw (0,0) -- (3cm,3cm) ;
 label(\sometxt[parbox]{ABC}, (1.5cm,1.5cm)) ;
 \stopMPcode

 \stoptext

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
___


Re: [NTG-context] Help with ConTeXt Minimals and ppchtex

2008-08-30 Thread Aditya Mahajan
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]%
   [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]

\def\doMPdivten[#1]%
   {\ifnum#1  \dodoMPdivtenB#1\else
\ifnum#1  999 \dodoMPdivtenC#1\else
\ifnum#1   99 \dodoMPdivtenD#1\else
\ifnum#19 \dodoMPdivtenE#1\else
\ifnum#10 \dodoMPdivtenF#1\else
\ifnum#1- \dodoMPdivtenA#1\else
\ifnum#1 -999 \dodoMPdivtenB#1\else
\ifnum#1  -99 \dodoMPdivtenC#1\else
\ifnum#1   -9 \dodoMPdivtenD#1\else
\ifnum#10 \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
___


Re: [NTG-context] Help with ConTeXt Minimals and ppchtex

2008-08-30 Thread Philipp Moritz
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
___


Re: [NTG-context] Feature request: \newitemize or something like this

2008-08-30 Thread Henning Hraban Ramm
Am 2008-08-27 um 10:12 schrieb Wolfgang Schuster:

 http://wolfgang.schuster.googlepages.com/erlangen.pdf

Really nice! I should steal that to renew my own presentations... ;-)

Unfortunately it's full of typos.


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

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