[NTG-context] MetaPost 1.003 announcement
The MetaPost team is happy to announce a new release of MetaPost: -- MetaPost 1.003 -- The sources and a win32 package can be downloaded immediately from http://foundry.supelec.fr/projects/metapost/ The source package should compile normally on all systems that are capable of compiling a modern web2c-based TeX distribution. The win32 package is intended for texlive or a similar web2c-based installation, and has been tested only with TeXLive 2007. These executables will *not* work for miktex, sorry. Of course, we welcome any comments (either good or bad) that you may have. Simply replying to this message is fine, but see the bottom of the message for a more formal way to report bugs and feature requests. -- What is new in version 1.003: -- * Polygonal pens now work better (bug #3 and #7 at supelec.fr). * When asking for a color part in a picture object, the color models now have to match each other, otherwise an error will be reported and the return value will be set to a 'black' part. * The Makefile fragment (metapost.mk) now defines a separate mpost target for better integration in TeXLive. * There was a bug in the internal handling of withprescript and withpostscript, resulting in incorrect output when paths using such scripts were stored in picture variables. * A newline was missing from the PostScript output when the procset internal variable was set, so the first line of that accidentally became a PostScript comment. * Applicable changes from Knuth's updates for MetaFont 2.718281 are incorporated. * Mpto did not play nice with %format verbatimtex lines, it now automatically tries to detect comment-lines. * Dvitomp 1.003 has higher limits for some internal constants like the number of allowed fonts in DVI files. * The manual is improved. -- Legal notice / license / bug reports -- MetaPost is a system for producing graphics developed by John Hobby at ATT, based on Donald Knuth's Metafont. The MetaPost home page is http://tug.org/metapost. MetaPost and related programs are in the public domain. The MetaPost development project is currently hosted at Supelec, https://foundry.supelec.fr/projects/metapost; please report bugs and request enhancements through there if possible. Alternatively, you can reach us through the [EMAIL PROTECTED] mailing list as well. Have fun! Taco Hoekwater, for the MetaPost team, April 10, 2008. ___ 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] new version luatex / mkiv
Hi, There is a new version of luatex and mkiv. You need to update them together. The best place to get them is the contextgarden (which will probably have the new versions pretty soon). This release of is rather substantial: no longer is metaposts called, but mplib is used instead. This bring down metapost runtime and conversion to nearly zero. The user interface is the same, but the implementation is different. Tomorrow (or so) taco will make releasenotes. 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 ___
[NTG-context] mpost updating
Hallo, I have updated an older ConTeXt (ver: 2007.07.29 22:06 MKII) with a aktuell mpost. I have used 'http://minimals.contextgarden.net/current/bin/metapost/mswin/bin/' as source. The command 'texmfstart texexec --autopdf --make --all' produces no metapost formats at all. Calling 'mpost.exe' I get a messagebox with the error: 'procedure entry point kpse_record_input in DLL kpathsea356.dll not found' (my translation from german). What is wrong here? 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] first steps
Hallo, That's strange. Here this command gives: 103 ~: luatools --all *qplr.* /usr/local/texlive/2007/bin/powerpc-darwin/luatools:4392: bad argument #1 to 'pairs' (table expected, got nil) allthough: 104 ~: find /usr/local -name *qplr.* /usr/local/texlive/2007/texmf-dist/fonts/afm/public/tex-gyre/qplr.af m /usr/local/texlive/2007/texmf-dist/fonts/tfm/public/tex-gyre/cs-qplr .tfm /usr/local/texlive/2007/texmf-dist/fonts/tfm/public/tex-gyre/ec-qplr .tfm I got the same with texmfstart under Windows D:\context\wwltexmfstart luatools --all *.qplr.* texmfstart luatools --all *.qplr.* ...t/tex/texmf-context/scripts/context/lua/luatools.lua:4392: bad argument #1 to 'pairs' (table expected, got nil) and without texmfstart D:\context\wwlluatools --all *qplr.* no action at all. 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
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
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] new version luatex / mkiv
Hans Hagen schrieb: Hi, There is a new version of luatex and mkiv. You need to update them together. The best place to get them is the contextgarden (which will probably have the new versions pretty soon). This release of is rather substantial: no longer is metaposts called, but mplib is used instead. This bring down metapost runtime and conversion to nearly zero. The user interface is the same, but the implementation is different. this is very good news. most runtime here is wasted by calling and interfacing with mp. many thanks to you and taco for the great work. i'll test this intensively as soon as i get my hands on it. best wishes, peter Tomorrow (or so) taco will make releasenotes. 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 ___ ___ 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] mpost updating
On Thu, Apr 10, 2008 at 5:57 PM, Wolfgang Werners-Lucchini wrote: Hallo, I have updated an older ConTeXt (ver: 2007.07.29 22:06 MKII) with a aktuell mpost. I have used 'http://minimals.contextgarden.net/current/bin/metapost/mswin/bin/' as source. The command 'texmfstart texexec --autopdf --make --all' produces no metapost formats at all. Calling 'mpost.exe' I get a messagebox with the error: 'procedure entry point kpse_record_input in DLL kpathsea356.dll not found' (my translation from german). What is wrong here? Wolfgang I'm only guessing, but I could imagine that your kpathsea356.dll is too old for the metapost that you took from the garden. Some binaries are here: http://minimals.contextgarden.net/current/bin/common/mswin/bin/ You could use rsync, but if you have problems with that, make a backup copy of your binaries and then simply overwrite them with the contents of http://minimals.contextgarden.net/pragma/mswin.zip (only its bin folder, you don't need anything else). 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] new version luatex / mkiv
On Apr 10, 2008, at 5:18 PM, Hans Hagen wrote: Hi, There is a new version of luatex and mkiv. You need to update them together. The best place to get them is the contextgarden (which will probably have the new versions pretty soon). This release of is rather substantial: no longer is metaposts called, but mplib is used instead. This bring down metapost runtime and conversion to nearly zero. The user interface is the same, but the implementation is different. Tomorrow (or so) taco will make releasenotes. Hans Hi Hans, I just downloaded and payed with it very very briefly - it works, and it seems A LOT faster with my presentations, where every background is calculated by metapost. For this sort of file, luatex now looks a lot faster than pdftex. I'm looking forward to comparing speed some more. Thanks and kudos to Taco and to you! All best Thomas ___ 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
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
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] new version luatex / mkiv
Thomas A. Schmitz wrote: I just downloaded and payed with it very very briefly - it works, and it seems A LOT faster with my presentations, where every background is calculated by metapost. For this sort of file, luatex now looks a lot faster than pdftex. I'm looking forward to comparing speed some more. Thanks and kudos to Taco and to you! the mk test document, which now ha ssome 220 pages, processes at a speed of 10 pages per minute on my machines, which includes startup, loading a nbbunch of huge fonts, lots of mp graphics, etc .. my impression is that eventually luatex/mkiv will not be that much slower than pdftex sp when one takes into account that open type fonts are used (when lots of mp graphics are used and the new xml machinery ... luatex/mkiv is definitely faster) 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
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 ___
[NTG-context] new version
Hi, concerning the mplibrary in mkiv ... - it does not use the metafun mem file; when formats are generated a special mem file is made and put alongside the context format - however, this only happens when a new version is found (is the case with a new zip), or when an error is encountered in the format (compatibility issue) - in case of doubt, or when you patch metafun, you can say ctxtool --touch texexec --make i will try to make this more robust in the future the new mkiv mp graphics implementations is prepared for mixed usage, i.e. we can use multiple metapost formats; i'm still not sure about the interface, for instance: \startuseMPgraphic{metafun:bla} ... \startuseMPgraphic{mpost:bla} ... or so, more news 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 - ___ 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
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] new version luatex / mkiv
On Thu, Apr 10, 2008 at 5:18 PM, Hans Hagen [EMAIL PROTECTED] wrote: Hi, There is a new version of luatex and mkiv. You need to update them together. The best place to get them is the contextgarden (which will probably have the new versions pretty soon). This release of is rather substantial: no longer is metaposts called, but mplib is used instead. This bring down metapost runtime and conversion to nearly zero. The user interface is the same, but the implementation is different. ctangle is needed to compile mplib; I still have problems with \setupxtexternalfigures (can't resolve images) i hope today to have time to watch this, maybe tomorrow :) btw under our nose, the revolution grows -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___ 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Tue, Apr 8, 2008 at 4:22 PM, Hans Hagen [EMAIL PROTECTED] wrote: luatex + context mkiv is indeed independent [of Ruby] - index sorting takes place in mkiv - job control is done with mtxrun/mtx-context Now that I've been told the idea is at least possible, I've been thinking about how to generate a micro-minimal mkiv distribution: no fonts except the LM set, no engines except luaTeX, no kpathsea, preferably no external dependencies (perl, ruby, c.). So how to best go about this? I'm downloading the current minimals (or should I use the .zips at http://www.pragma-ade.nl/download-1.htm?); what can I cut out? --Joel ___ 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] new version
On Fri, 11 Apr 2008, Hans Hagen wrote: Hi, concerning the mplibrary in mkiv ... - it does not use the metafun mem file; when formats are generated a special mem file is made and put alongside the context format - however, this only happens when a new version is found (is the case with a new zip), or when an error is encountered in the format (compatibility issue) - in case of doubt, or when you patch metafun, you can say ctxtool --touch texexec --make i will try to make this more robust in the future the new mkiv mp graphics implementations is prepared for mixed usage, i.e. we can use multiple metapost formats; i'm still not sure about the interface, for instance: \startuseMPgraphic{metafun:bla} ... \startuseMPgraphic{mpost:bla} ... or so, more news later This could break existing code. I sometimes use \startuseMPgraphic{system:bla} and {system:blabla} etc to distinguish all system diagrams. How about 1. \defineMPreusegraphic[useMPgraphic][format=metafun] \defineMPreusegraphic[useMPOSTgraphic][format=mpost] and then one can use \startuseMPgraphic and \startuseMPOSTgraphic. 2. If you have to make the label of the graphic determine the format, then maybe something like \startuseMPgraphic{::metafun::bla} so that it does not break existing code. 3. What about \startMPcode, \startMPpage, and \processMPbuffer? I think that the first approach will be easier to adapt. 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 ___