Re: [NTG-context] staticMPfigure

2008-06-11 Thread bbvogel
On Tuesday 10 June 2008 16:18, Peter Rolf wrote:
 [EMAIL PROTECTED] schrieb:
  Hi,
 
  I get a different result. Using a  fresh install (context-setup-mswin) on
  windows XP:
 
  !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF
  image fai
  led (0)
   == Fatal error occurred, no output PDF file produced!
 
  See the added logfile.
 
  Bernard
 
 
  test.log:
  This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6)
  (format=cont-en 2008.6.10)  10 JUN 2008 15:23
  entering extended mode
  \write18 enabled.
 
REMOVED
  image fai
  led (0)
   == Fatal error occurred, no output PDF file produced!

 afaik this is a pdftex bug, which is fixed in version 1.40.8 beta.

 1.40.8 beta (window binaries):

 ftp://udon.nict.go.jp/pub/text/TeX/ptex-win32/current/pdftex-w32.tar.bz2

 donno if this is also fixed in the latest 1.50alpha trunk (no longer
 available on akira's site).

 maybe some new windows binaries are needed for the minimal distribution.

Thanks for the hint. I tried both this version as well as the 
pdftex-stable-w32.bz2 and both don't work.

A backup (20080421) however does work. 

The first view lines from the log file:
This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6) 
(format=cont-en 2008.4.21)  11 JUN 2008 08:24
entering extended mode
\write18 enabled.
 (c:/context/debug2/context/tex/texmf-context/web2c/natural.tcx)
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2008.04.19 22:41 MKII  fmt: 2008.4.21  int: english/english
===

Since the pdfTeX version is the same as the current one, I guess the problem 
is not in pdfTeX but in ConTeXt.

But using startstaticMPfigure is not a must for me. startuseMPgraphic works 
fine as well, especially with MKIV.




  
 
  On Tuesday 10 June 2008 14:50, Hans Hagen wrote:
  [EMAIL PROTECTED] wrote:
  Hi,
 
  When I run the example below (current beta, pdftex,
  live.contextgarden.net) the generated pdf does not contain any
  pictures. Any suggestion how to solve this? Or is the command obsolete?
 
  works ok here for pdftex (maybe no intermediate run on the garden)
 
  in mkiv there was indeed a buglet (i never tested it)
 
  Thanks,
 
  B. Vogel
 
  %test.tex
  \startstaticMPfigure{center}
   draw fullcircle scaled 2cm ;
   dotlabel.bot(textext((0,0)),origin) ;
  \stopstaticMPfigure
 
  \startstaticMPfigure{radius}
   draw fullcircle scaled 2cm ;
   drawarrow (0,0)--(1cm,0) ;
   label.bot(textext($r$),(5mm,0)) ;
  \stopstaticMPfigure
 
  \starttext
 
  Circle centered \usestaticMPfigure[center][width=1cm] at origin with
  radius \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$.
 
  \stoptext
  ___
 __ __ 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
  ___
 __ __
 
  _
 __ 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
  _
 __

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

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

2008-06-11 Thread bbvogel

Indeed, the latest 
ConTeXt  ver: 2008.06.10 18:23 MKIV  fmt: 2008.6.11  int: english/english
solves the problem on MKIV.

Thanks,

Bernard

On Wednesday 11 June 2008 08:57, [EMAIL PROTECTED] wrote:
 On Tuesday 10 June 2008 16:18, Peter Rolf wrote:
  [EMAIL PROTECTED] schrieb:
   Hi,
  
   I get a different result. Using a  fresh install (context-setup-mswin)
   on windows XP:
  
   !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF
   image fai
   led (0)
== Fatal error occurred, no output PDF file produced!
  
   See the added logfile.
  
   Bernard
  
  
   test.log:
   This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6)
   (format=cont-en 2008.6.10)  10 JUN 2008 15:23
   entering extended mode
   \write18 enabled.
 
 REMOVED
 
   image fai
   led (0)
== Fatal error occurred, no output PDF file produced!
 
  afaik this is a pdftex bug, which is fixed in version 1.40.8 beta.
 
  1.40.8 beta (window binaries):
 
  ftp://udon.nict.go.jp/pub/text/TeX/ptex-win32/current/pdftex-w32.tar.bz2
 
  donno if this is also fixed in the latest 1.50alpha trunk (no longer
  available on akira's site).
 
  maybe some new windows binaries are needed for the minimal distribution.

 Thanks for the hint. I tried both this version as well as the
 pdftex-stable-w32.bz2 and both don't work.

 A backup (20080421) however does work.
 
 The first view lines from the log file:
 This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6)
 (format=cont-en 2008.4.21)  11 JUN 2008 08:24
 entering extended mode
 \write18 enabled.
  (c:/context/debug2/context/tex/texmf-context/web2c/natural.tcx)
 **test.tex \emergencyend
 (./test.tex

 ConTeXt  ver: 2008.04.19 22:41 MKII  fmt: 2008.4.21  int: english/english
 ===

 Since the pdfTeX version is the same as the current one, I guess the
 problem is not in pdfTeX but in ConTeXt.

 But using startstaticMPfigure is not a must for me. startuseMPgraphic works
 fine as well, especially with MKIV.

   
  
   On Tuesday 10 June 2008 14:50, Hans Hagen wrote:
   [EMAIL PROTECTED] wrote:
   Hi,
  
   When I run the example below (current beta, pdftex,
   live.contextgarden.net) the generated pdf does not contain any
   pictures. Any suggestion how to solve this? Or is the command
   obsolete?
  
   works ok here for pdftex (maybe no intermediate run on the garden)
  
   in mkiv there was indeed a buglet (i never tested it)
  
   Thanks,
  
   B. Vogel
  
   %test.tex
   \startstaticMPfigure{center}
draw fullcircle scaled 2cm ;
dotlabel.bot(textext((0,0)),origin) ;
   \stopstaticMPfigure
  
   \startstaticMPfigure{radius}
draw fullcircle scaled 2cm ;
drawarrow (0,0)--(1cm,0) ;
label.bot(textext($r$),(5mm,0)) ;
   \stopstaticMPfigure
  
   \starttext
  
   Circle centered \usestaticMPfigure[center][width=1cm] at origin with
   radius \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$.
  
   \stoptext
   _
  __ __ __ 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
   _
  __ __ __
  
   ___
  __ __ 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
   ___
  __ __
 
  _
 __  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
  _
 __ 

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

2008-06-11 Thread Peter Rolf
[EMAIL PROTECTED] schrieb:
 On Tuesday 10 June 2008 16:18, Peter Rolf wrote:
 [EMAIL PROTECTED] schrieb:
 Hi,

 I get a different result. Using a  fresh install (context-setup-mswin) on
 windows XP:

 !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF
 image fai
 led (0)
  == Fatal error occurred, no output PDF file produced!

 See the added logfile.

 Bernard


 test.log:
 This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6)
 (format=cont-en 2008.6.10)  10 JUN 2008 15:23
 entering extended mode
 \write18 enabled.

 REMOVED
 image fai
 led (0)
  == Fatal error occurred, no output PDF file produced!
 afaik this is a pdftex bug, which is fixed in version 1.40.8 beta.

 1.40.8 beta (window binaries):

 ftp://udon.nict.go.jp/pub/text/TeX/ptex-win32/current/pdftex-w32.tar.bz2

 donno if this is also fixed in the latest 1.50alpha trunk (no longer
 available on akira's site).

 maybe some new windows binaries are needed for the minimal distribution.
 
 Thanks for the hint. I tried both this version as well as the 
 pdftex-stable-w32.bz2 and both don't work.
 
 A backup (20080421) however does work. 
 
 The first view lines from the log file:
 This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6) 
 (format=cont-en 2008.4.21)  11 JUN 2008 08:24
 entering extended mode
 \write18 enabled.
  (c:/context/debug2/context/tex/texmf-context/web2c/natural.tcx)
 **test.tex \emergencyend
 (./test.tex
 
 ConTeXt  ver: 2008.04.19 22:41 MKII  fmt: 2008.4.21  int: english/english
 ===
 
 Since the pdfTeX version is the same as the current one, I guess the problem 
 is not in pdfTeX but in ConTeXt.
 
 But using startstaticMPfigure is not a must for me. startuseMPgraphic works 
 fine as well, especially with MKIV.
 

just tried your code with pdftex 1.40.8beta and context beta from 
07.06.2008. it works ok here.

i will test this with yesterday beta after lunch. probably the mkiv part 
is also working then. so if you want staticmpfigure to work, you have to 
update your 'ancient' context and the pdftex binaries. :)

edit: too late, you have already tested it. and as mentioned: mkii is 
also working!

best wishes, peter

 
 

 On Tuesday 10 June 2008 14:50, Hans Hagen wrote:
 [EMAIL PROTECTED] wrote:
 Hi,

 When I run the example below (current beta, pdftex,
 live.contextgarden.net) the generated pdf does not contain any
 pictures. Any suggestion how to solve this? Or is the command obsolete?
 works ok here for pdftex (maybe no intermediate run on the garden)

 in mkiv there was indeed a buglet (i never tested it)

 Thanks,

 B. Vogel

 %test.tex
 \startstaticMPfigure{center}
  draw fullcircle scaled 2cm ;
  dotlabel.bot(textext((0,0)),origin) ;
 \stopstaticMPfigure

 \startstaticMPfigure{radius}
  draw fullcircle scaled 2cm ;
  drawarrow (0,0)--(1cm,0) ;
  label.bot(textext($r$),(5mm,0)) ;
 \stopstaticMPfigure

 \starttext

 Circle centered \usestaticMPfigure[center][width=1cm] at origin with
 radius \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$.

 \stoptext

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

2008-06-11 Thread Peter Rolf
[EMAIL PROTECTED] schrieb:
 On Wednesday 11 June 2008 12:07, Peter Rolf wrote:
 [EMAIL PROTECTED] schrieb:
 On Tuesday 10 June 2008 16:18, Peter Rolf wrote:
 [EMAIL PROTECTED] schrieb:
 Hi,

 I get a different result. Using a  fresh install (context-setup-mswin)
 on windows XP:

 !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF
 image fai
 led (0)
  == Fatal error occurred, no output PDF file produced!

 See the added logfile.

 Bernard


 test.log:
 This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6)
 (format=cont-en 2008.6.10)  10 JUN 2008 15:23
 entering extended mode
 \write18 enabled.
 REMOVED

 image fai
 led (0)
  == Fatal error occurred, no output PDF file produced!
 afaik this is a pdftex bug, which is fixed in version 1.40.8 beta.

 1.40.8 beta (window binaries):

 ftp://udon.nict.go.jp/pub/text/TeX/ptex-win32/current/pdftex-w32.tar.bz2

 donno if this is also fixed in the latest 1.50alpha trunk (no longer
 available on akira's site).

 maybe some new windows binaries are needed for the minimal distribution.
 Thanks for the hint. I tried both this version as well as the
 pdftex-stable-w32.bz2 and both don't work.

 A backup (20080421) however does work.
 
 The first view lines from the log file:
 This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6)
 (format=cont-en 2008.4.21)  11 JUN 2008 08:24
 entering extended mode
 \write18 enabled.
  (c:/context/debug2/context/tex/texmf-context/web2c/natural.tcx)
 **test.tex \emergencyend
 (./test.tex

 ConTeXt  ver: 2008.04.19 22:41 MKII  fmt: 2008.4.21  int: english/english
 ===

 Since the pdfTeX version is the same as the current one, I guess the
 problem is not in pdfTeX but in ConTeXt.

 But using startstaticMPfigure is not a must for me. startuseMPgraphic
 works fine as well, especially with MKIV.
 just tried your code with pdftex 1.40.8beta and context beta from
 07.06.2008. it works ok here.

 i will test this with yesterday beta after lunch. probably the mkiv part
 is also working then. so if you want staticmpfigure to work, you have to
 update your 'ancient' context and the pdftex binaries. :)

 edit: too late, you have already tested it. and as mentioned: mkii is
 also working!
 
 Then I have no idea whats going wrong. My procedure
 
 first-setup.bat
 copying the pdftex binaries...
 texmfstart texexec --make --all --pdftex
 texmfstart texexec test.tex

that's all the magic :)

have you also updated the lua scripts in texmf-mswin\bin ?
there is a command option for this, but i copy luatools.lua and 
mtxrun.lua still by hand.

texmf-context\scripts\context\lua\? -- texmf-mswin\bin\?

you have to do this every time you update context.

best wishes, peter


 generates pdf files without error but with empty pages.
 
 But MKIV is working now, so it is no longer a problem for me. 
 
 Thanks and regards, Bernard
 
 
 best wishes, peter

 

 On Tuesday 10 June 2008 14:50, Hans Hagen wrote:
 [EMAIL PROTECTED] wrote:
 Hi,

 When I run the example below (current beta, pdftex,
 live.contextgarden.net) the generated pdf does not contain any
 pictures. Any suggestion how to solve this? Or is the command
 obsolete?
 works ok here for pdftex (maybe no intermediate run on the garden)

 in mkiv there was indeed a buglet (i never tested it)

 Thanks,

 B. Vogel

 %test.tex
 \startstaticMPfigure{center}
  draw fullcircle scaled 2cm ;
  dotlabel.bot(textext((0,0)),origin) ;
 \stopstaticMPfigure

 \startstaticMPfigure{radius}
  draw fullcircle scaled 2cm ;
  drawarrow (0,0)--(1cm,0) ;
  label.bot(textext($r$),(5mm,0)) ;
 \stopstaticMPfigure

 \starttext

 Circle centered \usestaticMPfigure[center][width=1cm] at origin with
 radius \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$.

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

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 

Re: [NTG-context] staticMPfigure

2008-06-10 Thread Hans Hagen
[EMAIL PROTECTED] wrote:
 Hi,
 
 When I run the example below (current beta, pdftex, live.contextgarden.net) 
 the generated pdf does not contain any pictures.
 Any suggestion how to solve this? Or is the command obsolete?

works ok here for pdftex (maybe no intermediate run on the garden)

in mkiv there was indeed a buglet (i never tested it)

 Thanks,
 
 B. Vogel
 
 %test.tex
 \startstaticMPfigure{center}
  draw fullcircle scaled 2cm ;
  dotlabel.bot(textext((0,0)),origin) ;
 \stopstaticMPfigure
 
 \startstaticMPfigure{radius}
  draw fullcircle scaled 2cm ;
  drawarrow (0,0)--(1cm,0) ;
  label.bot(textext($r$),(5mm,0)) ;
 \stopstaticMPfigure
 
 \starttext
 
 Circle centered \usestaticMPfigure[center][width=1cm] at origin with radius
 \usestaticMPfigure[radius][width=1cm] $r=1\,\text{cm}$.
 
 \stoptext
 ___
 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
 ___


-- 

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

2008-06-10 Thread bbvogel
Hi,

I get a different result. Using a  fresh install (context-setup-mswin) on 
windows XP:

!pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF image 
fai
led (0)
 == Fatal error occurred, no output PDF file produced!

See the added logfile.

Bernard


test.log:

This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6) 
(format=cont-en 2008.6.10)  10 JUN 2008 15:23
entering extended mode
\write18 enabled.
 
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/web2c/natural.tcx)
**test.tex \emergencyend
(./test.tex

ConTeXt  ver: 2008.06.10 11:43 MKII  fmt: 2008.6.10  int: english/english

language: language en is active
system  : cont-new loaded

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/cont-new.tex
systems : beware: some patches loaded from cont-new.tex

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/cont-new.mkii)
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/cont-mtx.tex))
system  : cont-old loaded

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/cont-old.tex
loading : Context Old Macros
)
system  : cont-fil loaded

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/cont-fil.tex
loading : Context File Synonyms
)
system  : cont-sys loaded

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/use
r/cont-sys.tex
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/type-tmf.tex)
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/type-siz.tex)
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/type-one.tex)
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/type-akb.tex)
system (OLDTEX) : [line 67] 
)
bodyfont: 12pt rm is loaded
language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec-2-2:3 
fr-
texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5-2:3 
de-e
c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 
pt-texnansi:texna
nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3 
pl-ec:e
c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16-2:3 
sk-il2:i
l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 ru-t2a:t2a-21-2:3 
en-ec:e
c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25-2:3 
da-ec:e
c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3 
deo-ec:ec-
30-2:3 es-ec:ec-34-2:3 ca-ec:ec-35-2:3 la-ec:ec-36-2:3 
ro-ec:ec-37
-2:3 tr-ec:ec-38-2:3 fi-ec:ec-40-2:3 hu-ec:ec-41-2:3 loaded
specials: tex,postscript,rokicki loaded
\openout3 = `test.tui'.

system  : test.top loaded
(./test.top
specials: loading definition file tpd

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/spec-tpd.tex
specials: loading definition file fdf

(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/spec-fdf.tex
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/spec-fdf.mkii))
specials: fdf loaded
)
specials: fdf,tpd loaded
)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


systems : system commands are enabled
\openout2 = `test-center.mp'.

\openout2 = `test-radius.mp'.

(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
e/pdfr-def.tex)
systems : begin file test at line 12
fonts   : resetting map file list
{c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
x/context/original-empty.map}
fonts   : using map file: original-base
{c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
x/context/original-base.map}
fonts   : using map file: original-ams-base
{c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
x/context/original-ams-base.map}
fonts   : using map file: original-public-lm
{c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
x/context/original-public-lm.map}
fonts   : using map file: lm-ec
{c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-e
c.map}
fonts   : using map file: lm-math
{c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-m
ath.map}
fonts   : using map file: lm-rm
{c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-r
m.map}
fonts   : using map file: 8r-base
{c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
x/context/8r-base.map}
fonts   : using map file: ec-base

Re: [NTG-context] staticMPfigure

2008-06-10 Thread Peter Rolf
[EMAIL PROTECTED] schrieb:
 Hi,
 
 I get a different result. Using a  fresh install (context-setup-mswin) on 
 windows XP:
 
 !pdfTeX error: pdftex.exe (file ./test-center.pdf): xpdf: reading PDF image 
 fai
 led (0)
  == Fatal error occurred, no output PDF file produced!
 
 See the added logfile.
 
 Bernard
 
 
 test.log:
 This is pdfTeX, Version 3.1415926-1.50.0-alpha-20080414 (Web2C 7.5.6) 
 (format=cont-en 2008.6.10)  10 JUN 2008 15:23
 entering extended mode
 \write18 enabled.
  
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/web2c/natural.tcx)
 **test.tex \emergencyend
 (./test.tex
 
 ConTeXt  ver: 2008.06.10 11:43 MKII  fmt: 2008.6.10  int: english/english
 
 language: language en is active
 system  : cont-new loaded
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/cont-new.tex
 systems : beware: some patches loaded from cont-new.tex
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/cont-new.mkii)
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/cont-mtx.tex))
 system  : cont-old loaded
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/cont-old.tex
 loading : Context Old Macros
 )
 system  : cont-fil loaded
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/cont-fil.tex
 loading : Context File Synonyms
 )
 system  : cont-sys loaded
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/use
 r/cont-sys.tex
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/type-tmf.tex)
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/type-siz.tex)
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/type-one.tex)
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/type-akb.tex)
 system (OLDTEX) : [line 67] 
 )
 bodyfont: 12pt rm is loaded
 language: patterns nl-texnansi:texnansi-1-2:3 nl-ec:ec-2-2:3 
 fr-
 texnansi:texnansi-3-2:3 fr-ec:ec-4-2:3 de-texnansi:texnansi-5-2:3 
 de-e
 c:ec-6-2:3 it-texnansi:texnansi-7-2:3 it-ec:ec-8-2:3 
 pt-texnansi:texna
 nsi-9-2:3 pt-ec:ec-10-2:3 hr-ec:ec-11-2:3 pl-pl0:pl0-12-2:3 
 pl-ec:e
 c-13-2:3 pl-qx:qx-14-2:3 cz-il2:il2-15-2:3 cz-ec:ec-16-2:3 
 sk-il2:i
 l2-17-2:3 sk-ec:ec-18-2:3 sl-ec:ec-19-2:3 ru-t2a:t2a-21-2:3 
 en-ec:e
 c-22-2:3 uk-ec:ec-23-2:3 us-ec:ec-24-2:3 agr-agr:agr-25-2:3 
 da-ec:e
 c-26-2:3 sv-ec:ec-27-2:3 af-ec:ec-28-2:3 no-ec:ec-29-2:3 
 deo-ec:ec-
 30-2:3 es-ec:ec-34-2:3 ca-ec:ec-35-2:3 la-ec:ec-36-2:3 
 ro-ec:ec-37
 -2:3 tr-ec:ec-38-2:3 fi-ec:ec-40-2:3 hu-ec:ec-41-2:3 loaded
 specials: tex,postscript,rokicki loaded
 \openout3 = `test.tui'.
 
 system  : test.top loaded
 (./test.top
 specials: loading definition file tpd
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/spec-tpd.tex
 specials: loading definition file fdf
 
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/spec-fdf.tex
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/spec-fdf.mkii))
 specials: fdf loaded
 )
 specials: fdf,tpd loaded
 )
 \openout0 = `test-mpgraph.mp'.
 
 \openout0 = `mpgraph.mp'.
 
 
 systems : system commands are enabled
 \openout2 = `test-center.mp'.
 
 \openout2 = `test-radius.mp'.
 
 (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
 (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
 (c:/context/debug/context-setup-mswin/context/tex/texmf-context/tex/context/bas
 e/pdfr-def.tex)
 systems : begin file test at line 12
 fonts   : resetting map file list
 {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
 x/context/original-empty.map}
 fonts   : using map file: original-base
 {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
 x/context/original-base.map}
 fonts   : using map file: original-ams-base
 {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
 x/context/original-ams-base.map}
 fonts   : using map file: original-public-lm
 {c:/context/debug/context-setup-mswin/context/tex/texmf-context/fonts/map/pdfte
 x/context/original-public-lm.map}
 fonts   : using map file: lm-ec
 {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-e
 c.map}
 fonts   : using map file: lm-math
 {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-m
 ath.map}
 fonts   : using map file: lm-rm
 {c:/context/debug/context-setup-mswin/context/tex/texmf/fonts/map/dvips/lm/lm-r
 m.map}
 fonts   : using map file: 8r-base
 

Re: [NTG-context] staticMPfigure

2008-04-11 Thread Hans Hagen
Mojca Miklavec wrote:
 On Fri, Apr 11, 2008 at 12:23 AM, Aditya Mahajan wrote:
 On Fri, 11 Apr 2008, Mojca Miklavec wrote:

   On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
   On Thu, 10 Apr 2008, Hans Hagen wrote:
  
works ok on my machine using pdftex but luatex gives an unknown (have 
 to
look into it)
  
Another test case, I ran into today.
  
\setupcolors[state=start,textcolor=red]
  
\starttext
  
\startMPcode
  draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
  
   Do you mean \MPcolor{currentcolor}?

  Hangs head in shame :(. I need to learn how to read the sources correctly.

  Of course, currentcolor is much better than \@@themaintextcolor. I just
  did not know that it existed.
 
 Well ... I knew accidentally (since I have requested it). It's
 mentioned in \sometxt MyWay, but that's rather well hidden as well.

you just kept it secret ... i made 'currentcolor' for you -)

anyhow ... using commands with @@ in it is usually a bad idea

\unprotect
\startMPcode
draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
\stopMPcode
\protect

might have worked

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

2008-04-11 Thread Mojca Miklavec
On Fri, Apr 11, 2008 at 9:44 AM, Hans Hagen wrote:
 Mojca Miklavec wrote:
   On Fri, Apr 11, 2008 at 12:23 AM, Aditya Mahajan wrote:
   On Fri, 11 Apr 2008, Mojca Miklavec wrote:
  
 On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
 On Thu, 10 Apr 2008, Hans Hagen wrote:

  works ok on my machine using pdftex but luatex gives an unknown 
 (have to
  look into it)

  Another test case, I ran into today.

  \setupcolors[state=start,textcolor=red]

  \starttext

  \startMPcode
draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} 
 ;

 Do you mean \MPcolor{currentcolor}?
  
Hangs head in shame :(. I need to learn how to read the sources 
 correctly.
  
Of course, currentcolor is much better than \@@themaintextcolor. I just
did not know that it existed.
  
   Well ... I knew accidentally (since I have requested it). It's
   mentioned in \sometxt MyWay, but that's rather well hidden as well.

  you just kept it secret ... i made 'currentcolor' for you -)

I know. MyWay about \sometxt mentions currentcolor, but it's kind of
tricky enough to find the proper manual with the needed information
when one is looking for it. Using \sometxt instead of btex ... etex
would be much more efficient as well, it has not been a secret, but I
have no idea how to best proliferate that information.

  anyhow ... using commands with @@ in it is usually a bad idea

  \unprotect

 \startMPcode
  draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
  \stopMPcode
  \protect

  might have worked

PS: Before currentcolor was there, the circle would have come out
red without having to use \MPcolor :-) You just had bad luck with it
:-)

Mojca
___
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] staticMPfigure

2008-04-11 Thread Hans Hagen
Mojca Miklavec wrote:

 I know. MyWay about \sometxt mentions currentcolor, but it's kind of
 tricky enough to find the proper manual with the needed information
 when one is looking for it. Using \sometxt instead of btex ... etex
 would be much more efficient as well, it has not been a secret, but I
 have no idea how to best proliferate that information.

you can use btex .. etex in graphics because they are replaced by calls 
to textext (mp macro) which works ok

 PS: Before currentcolor was there, the circle would have come out
 red without having to use \MPcolor :-) You just had bad luck with it
 :-)

nothing to do with luck ... only with *you* wanting to use mp coloring 
with tex boxes -)

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

2008-04-10 Thread Wolfgang Werners-Lucchini
Hallo Hans,

  the following example is a cooked down version of something I
 found 
  on the net. Compiling this
 
  %
  \setupcolors[state=start]
 
  \forceMPTEXcheck{LABEL}
 
  \startMPinclusions
  vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](textext(%
 \framed[width=1.5cm]{  s  }),p)
  enddef ;
  \stopMPinclusions
  
  I could not get this to work either. Something has changed
  in the MPinclusions parsing, maybe? (Putting the definition
  in a separate mp file prevents the error, of course)
 
 hm, i'll have a look, but in mkiv there will be no such checks
 supported 
 anyway

Have you had a look?

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
___


Re: [NTG-context] staticMPfigure

2008-04-10 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote:
 Hallo Hans,
 
 the following example is a cooked down version of something I
 found 
 on the net. Compiling this

 %
 \setupcolors[state=start]

 \forceMPTEXcheck{LABEL}

 \startMPinclusions
 vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](textext(%
\framed[width=1.5cm]{  s  }),p)
 enddef ;
 \stopMPinclusions
 I could not get this to work either. Something has changed
 in the MPinclusions parsing, maybe? (Putting the definition
 in a separate mp file prevents the error, of course)
 hm, i'll have a look, but in mkiv there will be no such checks
 supported 
 anyway
 
 Have you had a look?

\setupcolors[state=start]

\forceMPTEXcheck{LABEL}

\startMPinclusions
 vardef [EMAIL PROTECTED](expr s, p)= 
[EMAIL PROTECTED](textext(\framed[width=1.5cm]{xxx  s  xx}),p) enddef ;
\stopMPinclusions

\startMPpage
 LABEL(oeps,origin) ;
\stopMPpage

works ok on my machine using pdftex but luatex gives an unknown (have to 
look into it)

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.com
  | www.pragma-pod.nl
-
___
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] staticMPfigure

2008-04-10 Thread Aditya Mahajan
On Thu, 10 Apr 2008, Hans Hagen wrote:

 works ok on my machine using pdftex but luatex gives an unknown (have to
 look into it)

Another test case, I ran into today.

\setupcolors[state=start,textcolor=red]

\starttext

\startMPcode
   draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
\stopMPcode

\stoptext


Works with MKII and fails with MKIV (03.11.2008 not tested with the new 
version).

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

2008-04-10 Thread Mojca Miklavec
On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
 On Thu, 10 Apr 2008, Hans Hagen wrote:

   works ok on my machine using pdftex but luatex gives an unknown (have to
   look into it)

  Another test case, I ran into today.

  \setupcolors[state=start,textcolor=red]

  \starttext

  \startMPcode
draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;

Do you mean \MPcolor{currentcolor}?

  \stopMPcode
  \stoptext

Mojca
___
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] staticMPfigure

2008-04-10 Thread Aditya Mahajan
On Fri, 11 Apr 2008, Mojca Miklavec wrote:

 On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
 On Thu, 10 Apr 2008, Hans Hagen wrote:

  works ok on my machine using pdftex but luatex gives an unknown (have to
  look into it)

  Another test case, I ran into today.

  \setupcolors[state=start,textcolor=red]

  \starttext

  \startMPcode
draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;

 Do you mean \MPcolor{currentcolor}?

Hangs head in shame :(. I need to learn how to read the sources correctly.

Of course, currentcolor is much better than \@@themaintextcolor. I just 
did not know that it existed.

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

2008-04-10 Thread Mojca Miklavec
On Fri, Apr 11, 2008 at 12:23 AM, Aditya Mahajan wrote:
 On Fri, 11 Apr 2008, Mojca Miklavec wrote:

   On Thu, Apr 10, 2008 at 11:41 PM, Aditya Mahajan wrote:
   On Thu, 10 Apr 2008, Hans Hagen wrote:
  
works ok on my machine using pdftex but luatex gives an unknown (have to
look into it)
  
Another test case, I ran into today.
  
\setupcolors[state=start,textcolor=red]
  
\starttext
  
\startMPcode
  draw fullcircle scaled 2cm withcolor \MPcolor{\@@themaintextcolor} ;
  
   Do you mean \MPcolor{currentcolor}?

  Hangs head in shame :(. I need to learn how to read the sources correctly.

  Of course, currentcolor is much better than \@@themaintextcolor. I just
  did not know that it existed.

Well ... I knew accidentally (since I have requested it). It's
mentioned in \sometxt MyWay, but that's rather well hidden as well.

Mojca
___
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] staticMPfigure

2008-04-03 Thread Taco Hoekwater


Wolfgang Werners-Lucchini wrote:
 Hallo,
 
 the following example is a cooked down version of something I found 
 on the net. Compiling this
 
 %
 \setupcolors[state=start]
 
 \forceMPTEXcheck{LABEL}
 
 \startMPinclusions
 vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](textext(%
\framed[width=1.5cm]{  s  }),p)
 enddef ;
 \stopMPinclusions

I could not get this to work either. Something has changed
in the MPinclusions parsing, maybe? (Putting the definition
in a separate mp file prevents the error, of course)

Best wishes,
Taco


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

2008-04-03 Thread Hans Hagen
Taco Hoekwater wrote:
 
 Wolfgang Werners-Lucchini wrote:
 Hallo,

 the following example is a cooked down version of something I found 
 on the net. Compiling this

 %
 \setupcolors[state=start]

 \forceMPTEXcheck{LABEL}

 \startMPinclusions
 vardef [EMAIL PROTECTED](expr s, p)= [EMAIL PROTECTED](textext(%
\framed[width=1.5cm]{  s  }),p)
 enddef ;
 \stopMPinclusions
 
 I could not get this to work either. Something has changed
 in the MPinclusions parsing, maybe? (Putting the definition
 in a separate mp file prevents the error, of course)

hm, i'll have a look, but in mkiv there will be no such checks supported 
anyway

-
   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
-
___
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] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Taco Hoekwater


Sanjoy Mahajan wrote:
 Not sure if the following are new behaviors or are the correct ones but
 I'm just misunderstanding.  The following jjj.tex file doesn't correctly
 generate and include the static metapost figure unless I set
 \runMPgraphicstrue and \runMPTEXgraphicstrue in cont-sys.rme and set
 shell_escape = t.

Personally, I believe this is a bug. Hans always runs with all
three switches true, so he never has any problems, but Mojca and I
also regularly have issues like this. The last of those was the
incorrect scaling of sometxt() in \runmpgraphicsfalse reported
two or three weeks back.

Hans, can you look at this, please? Or, if you don't want to support
\runmpgraphics false any more, document that somewhere.

Best, Taco


 If \runMPgraphicsfalse and \runMPTEXgraphicsfalse but shell_escape = t,
 then the generated pdf figure is only 1pt wide but is included.  If all
 settings are false, then there's a grey square saying 'dummy' etc.
 
 It all works fine if all three settings are true.
 
 But I thought that one can leave all three settings false, and texexec
 will still produce the same pdf just with more runs?
 
 This is with context 2006.12.27 (from the Debian context package),
 pdftex 1.40.0, metapost 0.993, plus mostly texlive 2005.
 
 === begin: jjj.tex ==
 \starttext
 
 \startstaticMPfigure{fig:ellipse}
   path p;
   p := fullcircle scaled 2in yscaled 0.5;
   label(btex hello etex, origin);
   draw p;
 \stopstaticMPfigure
 
 \placefigure[right,none]{}{\usestaticMPfigure[fig:ellipse]}
 
 \input tufte
 
 \stoptext
 ===   end: jjj.tex ==
 
 -Sanjoy
 
 `A nation of slaves is always prepared to applaud the clemency of their
  master who, in the abuse of absolute power, does not proceed to the
  last extremes of injustice and oppression.'  (Gibbon)  
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Sanjoy Mahajan
Taco writes:
 Hans always runs with all three switches true, so he never has any
 problems, but Mojca and I also regularly have issues like this. The
 last of those was the incorrect scaling of sometxt() in
 \runmpgraphicsfalse reported two or three weeks back.  

Good to know that it isn't something I did when changing to texlive
from tetex.  Mine might be a similar problem to what you describe
about sometxt (although I used btex..etex), because in my example the
figure has the wrong width (very narrow).

 Hans, can you look at this, please? Or, if you don't want to support
 \runmpgraphics false any more, document that somewhere.

When the output depends on the settings, documents lose portability to
other ConTeXt installations. Most set shell_escape = f, the tetex and
texlive default, and most users won't have set \runMP[TEX]graphicstrue
in cont-sys.rme.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Hans Hagen
Sanjoy Mahajan wrote:
 Not sure if the following are new behaviors or are the correct ones but
 I'm just misunderstanding.  The following jjj.tex file doesn't correctly
 generate and include the static metapost figure unless I set
 \runMPgraphicstrue and \runMPTEXgraphicstrue in cont-sys.rme and set
 shell_escape = t.

 If \runMPgraphicsfalse and \runMPTEXgraphicsfalse but shell_escape = t,
 then the generated pdf figure is only 1pt wide but is included.  If all
 settings are false, then there's a grey square saying 'dummy' etc.

   
static graphics were never meant to be used otherwise so they force 
runMPgraphicstrue

I made an untested patch an dwill upload a beta later 

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.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Sanjoy Mahajan
 static graphics were never meant to be used otherwise so they force
 runMPgraphicstrue

Hmm, deja vu a bit -- you may have explained that point to me once
before.

 I made an untested patch an dwill upload a beta later 

Thanks, I'll be happy to test.  Will it require shell_escape = t ?

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Hans Hagen
Sanjoy Mahajan wrote:
 static graphics were never meant to be used otherwise so they force
 runMPgraphicstrue
 

 Hmm, deja vu a bit -- you may have explained that point to me once
 before.

   
 I made an untested patch an dwill upload a beta later 
 

 Thanks, I'll be happy to test.  Will it require shell_escape = t ?

   
you can test the beta 

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.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure problem with \runMP[TEX]graphicsfalse

2007-01-04 Thread Sanjoy Mahajan
 you can test the beta 

I used the same test file:

\starttext

\startstaticMPfigure{fig:ellipse}
  path p;
  p := fullcircle scaled 2in yscaled 0.5;
  label(btex hello etex, origin);
  draw p;
\stopstaticMPfigure

\placefigure[right,none]{}{\usestaticMPfigure[fig:ellipse]}

\input tufte

\stoptext


No luck with ver: 2007.01.04 17:37 MK II.  With all three settings
(the two runMP... ones and shell_escape) false, the static figure is
about 1pt wide.  The tufte text has a slight indentation in the right
margin to make room for it.

With all three settings true, it works fine.

With the run* settings true but shell_escape false, the whitespace
allocated is a block for a 'dummy' rectangle (with grey background).

So it looks like the same behavior as before.

With all the settings false, this is the texexec.tex produced:

\setupoutput[pdftex]
\setupcolors[state=start]
\global \loadfontfileoncetrue \readfile {cont-en.tmp}{}{}\starttext
\startMPpage


beginfig(1);

path p;
p := fullcircle scaled 2in yscaled 0.5;
label(btex hello etex, origin);
draw p;

endfig; \stopMPpage
\stoptext


Running 'texexec texexec.tex' produces the right pdf file, so I don't
know what's going on.  But off-list I'm sending you a tar.gz file that
has the two runs, each in a separate directory, and then the recursive
diff of them.

-Sanjoy

`Not all those who wander are lost.' (J.R.R. Tolkien)
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-22 Thread Hans Hagen
Renaud AUBIN wrote:

 I have updated to the alpha but the results doesn't need comments
 http://renojrl.lrv.uvsq.fr/testbed/static

 (
 comments ;) :
 - the static-test.mp is generated
 - the call \usestaticMPfigure does not work as seen in the pdf because 
 the mptopdf processing is apparently missing
 )

ah, i introduced so the name gets lost (btw, in your test file, the 
label is wrong (i think)

\def\dostartstaticMPfigure#1#2\stopstaticMPfigure
  {\startstaticMPgraphic{\jobname-#1}#2\stopstaticMPgraphic
   \def\MPgraphicfile{\jobname-#1}%
   \doifmode{*\v!first}{\executesystemcommand
 {texmfstart --ifchanged=\MPgraphicfile.mp texexec --mpgraphic 
\MPgraphicfile.mp}}%
   \endgroup}

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-22 Thread Renaud AUBIN
Hans Hagen a écrit :

ah, i introduced so the name gets lost (btw, in your test file, the 
label is wrong (i think)

\def\dostartstaticMPfigure#1#2\stopstaticMPfigure
  {\startstaticMPgraphic{\jobname-#1}#2\stopstaticMPgraphic
   \def\MPgraphicfile{\jobname-#1}%
   \doifmode{*\v!first}{\executesystemcommand
 {texmfstart --ifchanged=\MPgraphicfile.mp texexec --mpgraphic 
 \MPgraphicfile.mp}}%
   \endgroup}
  

Works great (fonts + static)... Thanks

Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-21 Thread Aditya Mahajan
On Tue, 18 Jul 2006, Aditya Mahajan wrote:

 On Tue, 18 Jul 2006, Hans Hagen wrote:

 Renaud AUBIN wrote:

 Hi all,

 Considering the test http://renojrl.lrv.uvsq.fr/testbed/
 I have some problems using lucida:

 texexec gives some warnings:
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi
 420 texnansi-raw-lbr
 mktexpk: don't know how to create bitmap font for texnansi-raw-lbr.
 kpathsea: Appending font creation commands to missfont.log.

 and the resulting pdf leads to Could not find a font in the Resources
 dictionary...

 Moreover, I don't want to use pk...

 How to solve this problem to embed lucida into
 test-3d_kin_foreground.pdf ?
 Another point: I am affraid that test.pdf embed lucida twice once one
 can embed the font into the staticMPfigure's pdf...

 May I have to continue with my old MPgraphics or I'd rather replace
 them by staticMPfigure ?
 the statics don't work well with text, i need to figure out why


 Something very strange is happening here. Looks like a typescript
 loading problem.

The statics are working with the alpha. The maps seem to be correctly 
identified in the tests taht I made.

 I can not test with lucida (do not have them) but the
 same problem appears with palatino also.

 This does not work

 \startMPenvironment
   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
 \stopMPenvironment

This still does not work, but as Hans explained, one should have a 
[global] with MPenvironments anyway.


 \starttext
 \startMPpage
   label.top(btex $a$ first etex,origin) ;
 \stopMPpage
 \stoptext


 While this works.

   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
 \startMPenvironment
   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
 \stopMPenvironment

 \starttext
 \startMPpage
   label.top(btex $a$ first etex,origin) ;
 \stopMPpage

 \stoptext


 The same thing happens in

The temp file that is created has \loadmapfile[...] in the begining, 
and with that the following works correctly.

 \starttext
 \setupoutput[pdftex]
 \setupcolors[state=start]
 \startTEXpage
   \convertMPtoPDF{t1-mpgraph.1}{1}{1}
 \stopTEXpage
 \stoptext

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-21 Thread Renaud AUBIN
Where is the alpha release please ;)

Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-21 Thread Hans Hagen
Aditya Mahajan wrote:
 On Tue, 18 Jul 2006, Aditya Mahajan wrote:

   
 On Tue, 18 Jul 2006, Hans Hagen wrote:

 
 Renaud AUBIN wrote:
   
 Hi all,

 Considering the test http://renojrl.lrv.uvsq.fr/testbed/
 I have some problems using lucida:

 texexec gives some warnings:
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi
 420 texnansi-raw-lbr
 mktexpk: don't know how to create bitmap font for texnansi-raw-lbr.
 kpathsea: Appending font creation commands to missfont.log.

 and the resulting pdf leads to Could not find a font in the Resources
 dictionary...

 Moreover, I don't want to use pk...

 How to solve this problem to embed lucida into
 test-3d_kin_foreground.pdf ?
 Another point: I am affraid that test.pdf embed lucida twice once one
 can embed the font into the staticMPfigure's pdf...

 May I have to continue with my old MPgraphics or I'd rather replace
 them by staticMPfigure ?
 
 the statics don't work well with text, i need to figure out why
   
 Something very strange is happening here. Looks like a typescript
 loading problem.
 

 The statics are working with the alpha. The maps seem to be correctly 
 identified in the tests taht I made.

   
 I can not test with lucida (do not have them) but the
 same problem appears with palatino also.

 This does not work

 \startMPenvironment
   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
 \stopMPenvironment
 

 This still does not work, but as Hans explained, one should have a 
 [global] with MPenvironments anyway.


   
 \starttext
 \startMPpage
   label.top(btex $a$ first etex,origin) ;
 \stopMPpage
 \stoptext


 While this works.

   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
 \startMPenvironment
   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
 \stopMPenvironment

 \starttext
 \startMPpage
   label.top(btex $a$ first etex,origin) ;
 \stopMPpage

 \stoptext


 The same thing happens in
 

 The temp file that is created has \loadmapfile[...] in the begining, 
 and with that the following works correctly.
   
indeed i added some code to texexec (scans the intermediate tui for map 
entries)

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.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-21 Thread Renaud AUBIN
Sorry, I've just found it !


Renaud AUBIN a écrit :

Where is the alpha release please ;)

Renaud
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


  


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-21 Thread Renaud AUBIN





I have updated to the alpha but the results doesn't need comments
http://renojrl.lrv.uvsq.fr/testbed/static

(
comments ;) :
- the static-test.mp is generated
- the call \usestaticMPfigure does not work as seen in the pdf because
the mptopdf processing is apparently missing
)

Hans Hagen a crit:

  Aditya Mahajan wrote:
  
  
On Tue, 18 Jul 2006, Aditya Mahajan wrote:

  


  On Tue, 18 Jul 2006, Hans Hagen wrote:


  
  
Renaud AUBIN wrote:
  


  Hi all,

Considering the test http://renojrl.lrv.uvsq.fr/testbed/
I have some problems using lucida:

texexec gives some warnings:
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi
420 texnansi-raw-lbr
mktexpk: don't know how to create bitmap font for texnansi-raw-lbr.
kpathsea: Appending font creation commands to missfont.log.

and the resulting pdf leads to "Could not find a font in the Resources
dictionary"...

Moreover, I don't want to use pk...

How to solve this problem to embed lucida into
test-3d_kin_foreground.pdf ?
Another point: I am affraid that test.pdf embed lucida twice once one
can embed the font into the staticMPfigure's pdf...

May I have to continue with my old MPgraphics or I'd rather replace
them by staticMPfigure ?

  

the statics don't work well with text, i need to figure out why
  

  
  Something very strange is happening here. Looks like a typescript
loading problem.

  

The statics are working with the alpha. The maps seem to be correctly 
identified in the tests taht I made.

  


  I can not test with lucida (do not have them) but the
same problem appears with palatino also.

This does not work

\startMPenvironment
  \usetypescript[palatino][ec]
  \setupbodyfont[palatino,10pt]
\stopMPenvironment

  

This still does not work, but as Hans explained, one should have a 
[global] with MPenvironments anyway.


  


  \starttext
\startMPpage
  label.top(btex $a$ first etex,origin) ;
\stopMPpage
\stoptext


While this works.

  \usetypescript[palatino][ec]
  \setupbodyfont[palatino,10pt]
\startMPenvironment
  \usetypescript[palatino][ec]
  \setupbodyfont[palatino,10pt]
\stopMPenvironment

\starttext
\startMPpage
  label.top(btex $a$ first etex,origin) ;
\stopMPpage

\stoptext


The same thing happens in

  

The temp file that is created has \loadmapfile[...] in the begining, 
and with that the following works correctly.
  

  
  indeed i added some code to texexec (scans the intermediate tui for map 
entries)

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.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


  




___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-18 Thread Hans Hagen
Renaud AUBIN wrote:

 Hi all,

 Considering the test http://renojrl.lrv.uvsq.fr/testbed/
 I have some problems using lucida:

 texexec gives some warnings:
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi 
 420 texnansi-raw-lbr
 mktexpk: don't know how to create bitmap font for texnansi-raw-lbr.
 kpathsea: Appending font creation commands to missfont.log.

 and the resulting pdf leads to Could not find a font in the Resources 
 dictionary...

 Moreover, I don't want to use pk...

 How to solve this problem to embed lucida into 
 test-3d_kin_foreground.pdf ?
 Another point: I am affraid that test.pdf embed lucida twice once one 
 can embed the font into the staticMPfigure's pdf...

 May I have to continue with my old MPgraphics or I'd rather replace 
 them by staticMPfigure ?
the statics don't work well with text, i need to figure out why 

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.com
 | www.pragma-pod.nl
-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-18 Thread Aditya Mahajan
On Tue, 18 Jul 2006, Hans Hagen wrote:

 Renaud AUBIN wrote:

 Hi all,

 Considering the test http://renojrl.lrv.uvsq.fr/testbed/
 I have some problems using lucida:

 texexec gives some warnings:
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi
 420 texnansi-raw-lbr
 mktexpk: don't know how to create bitmap font for texnansi-raw-lbr.
 kpathsea: Appending font creation commands to missfont.log.

 and the resulting pdf leads to Could not find a font in the Resources
 dictionary...

 Moreover, I don't want to use pk...

 How to solve this problem to embed lucida into
 test-3d_kin_foreground.pdf ?
 Another point: I am affraid that test.pdf embed lucida twice once one
 can embed the font into the staticMPfigure's pdf...

 May I have to continue with my old MPgraphics or I'd rather replace
 them by staticMPfigure ?
 the statics don't work well with text, i need to figure out why


Something very strange is happening here. Looks like a typescript 
loading problem. I can not test with lucida (do not have them) but the 
same problem appears with palatino also.

This does not work

\startMPenvironment
   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
\stopMPenvironment

\starttext
\startMPpage
   label.top(btex $a$ first etex,origin) ;
\stopMPpage
\stoptext


While this works.

   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
\startMPenvironment
   \usetypescript[palatino][ec]
   \setupbodyfont[palatino,10pt]
\stopMPenvironment

\starttext
\startMPpage
   label.top(btex $a$ first etex,origin) ;
\stopMPpage

\stoptext


The same thing happens in

\starttext
\setupoutput[pdftex]
\setupcolors[state=start]
\startTEXpage
   \convertMPtoPDF{t1-mpgraph.1}{1}{1}
\stopTEXpage
\stoptext

where t1-mpgraph.1 is the eps file created by the first file.

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: -13 3 13 11
%%HiResBoundingBox: -12.17421 3 12.1742 10.4221
%%Creator: MetaPost 0.901
%%CreationDate: 2006.07.18:1134
%%Pages: 1
%%DocumentFonts: rpxpplri pplr8r
%%BeginProlog
  /rpxpplri /rpxpplri def
  /pplr8r /pplr8r def
/fshow {exch findfont exch scalefont setfont show}bind def
%%EndProlog
%%Page: 1 1
%%HiResBoundingBox: -12.17421 3 12.1742 10.4221
-12.17421 3.2142 moveto
(a) rpxpplri 9.96265 fshow
-5.26021 3.2142 moveto
(\002rst) pplr8r 9.96265 fshow
showpage
%%EOF

This explains why --mpgraphic switch does not work as expected, and 
thus staticMPfigure does not work.

I do not know how to make this work.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] staticMPfigure fonts

2006-07-18 Thread Hans Hagen
Aditya Mahajan wrote:
 On Tue, 18 Jul 2006, Hans Hagen wrote:

   
 Renaud AUBIN wrote:
 
 Hi all,

 Considering the test http://renojrl.lrv.uvsq.fr/testbed/
 I have some problems using lucida:

 texexec gives some warnings:
 kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+420/600 --dpi
 420 texnansi-raw-lbr
 mktexpk: don't know how to create bitmap font for texnansi-raw-lbr.
 kpathsea: Appending font creation commands to missfont.log.

 and the resulting pdf leads to Could not find a font in the Resources
 dictionary...

 Moreover, I don't want to use pk...

 How to solve this problem to embed lucida into
 test-3d_kin_foreground.pdf ?
 Another point: I am affraid that test.pdf embed lucida twice once one
 can embed the font into the staticMPfigure's pdf...

 May I have to continue with my old MPgraphics or I'd rather replace
 them by staticMPfigure ?
   
 the statics don't work well with text, i need to figure out why
 


 Something very strange is happening here. Looks like a typescript 
 loading problem. I can not test with lucida (do not have them) but the 
 same problem appears with palatino also.
   

first a simplication of the example code:

\startMPenvironment[global]
  \usetypescriptfile[type-buy]
  \loadmapfile[texnansi-bh-lucida.map]
  \usetypescript[lucida][texnansi]
  \setupbodyfont[lucida,10pt]
\stopMPenvironment

the global directive makes the env transparent for the doc 

anyhow, the problem is that in a mp to pdf conversion the mapo info got lost; i 
patched texexec a bit and it works ok now here (needs some testing with other 
mp stuff) 

Han s

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context