Re: [NTG-context] new version luatex / mkiv
luigi scarso wrote: 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 :) externalfigure works here, so i need to have more specifics about your failure - 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
Aditya Mahajan wrote: 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. sure, but seldom metafun: i suppose -) 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. \startuseMPgraphic[metafun]{...} is also an option but not consistent, unless we provide \startuseMPgraphic[optional format][name][optional settings] which i somehow dislike 3. What about \startMPcode, \startMPpage, and \processMPbuffer? I think that the first approach will be easier to adapt. another option is: \useMPformat{metafun} (the reason for { }instead of [] is that it then can be used within [] without extra {}) yet another option is \startMPcode mpformat := metafun ... \stopMPcode and parse for it, but that has other disadvantages; anyhow ... more thinking needed - 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
Joel C. Salomon wrote: 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? use the minimals from the garden .. the zips will go away (apart from the cont-* zips) one option is to write a dedicated fetch script, load the minimals for luatex use only (is an option) and then look at the files you need i wonder if it's worth the trouble because all you get extra on top of lm is tex gyre open type - 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
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] new version
On Fri, Apr 11, 2008 at 9:39 AM, Hans Hagen [EMAIL PROTECTED] wrote: Aditya Mahajan wrote: 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. sure, but seldom metafun: i suppose -) 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. \startuseMPgraphic[metafun]{...} is also an option but not consistent, unless we provide \startuseMPgraphic[optional format][name][optional settings] which i somehow dislike 3. What about \startMPcode, \startMPpage, and \processMPbuffer? I think that the first approach will be easier to adapt. another option is: \useMPformat{metafun} \setupsystem [mpformat=metafun] (the reason for { }instead of [] is that it then can be used within [] without extra {}) This was something i never understood in the past, the difference between the name setting for buffers and MP graphics. yet another option is \startMPcode mpformat := metafun ... \stopMPcode No. 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] new version
Wolfgang Schuster wrote: This was something i never understood in the past, the difference between the name setting for buffers and MP graphics. the mp related commands are low level commands, there was never a high level interface to it (using [] etc) - 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
Le 10 avr. 08 à 17:18, Hans Hagen a écrit : 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. What will allow mplib in luatex the future? - Will it be only a way to write Metapost code without having to call external system program (better performance)? - Or will it be possible to write figures in lua instead of Metapost? (would be great!!) Another question about ConTeXt mkiv installation Is possible to use a local full ConTeXt distrib (with basic fonts, mplib, lua) **without interference** with existant texlive distribution (i.e. without using all the *_TEX environment variables thanks to ConTeXt mkiv ?) I'd like to maintain some hot Thank you very much -- Maurice 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 ___
[NTG-context] MkIV and DVI output
Hi, is it possible to produce DVI files with Mark IV. I tried a simple file like \starttext text \stoptext with the command texexec --lua --backend=dvipdfm filename The content from my log file is (./dvi.tex ConTeXt ver: 2008.03.24 23:24 MKIV fmt: 2008.4.8 int: english/english language : language en is active system : cont-new loaded (c:/w32tex/share/texmf-local/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (c:/w32tex/share/texmf-local/tex/context/base/cont-new.mkiv lua: used config path - C:/w32tex/share/texmf/web2c/texmf.cnf lua: used cache path - C:/DOKUME\CCC:5:126 1/Wolfgang/LOKALE\CCC:5:126 1/Temp/luatex-cache/context/aa3708bbacfa039a6085d2b5c7446e1e ) (c:/w32tex/share/texmf-local/tex/context/base/cont-mtx.tex)) system : cont-old loaded (c:/w32tex/share/texmf-local/tex/context/base/cont-old.tex loading: Context Old Macros ) system : cont-fil loaded (c:/w32tex/share/texmf-local/tex/context/base/cont-fil.tex loading: Context File Synonyms ) system : cont-sys loaded (c:/w32tex/share/texmf-local/tex/context/user/cont-sys.tex (c:/w32tex/share/texmf-local/tex/context/base/type-tmf.tex) (c:/w32tex/share/texmf-local/tex/context/base/type-siz.tex) (c:/w32tex/share/texmf-local/tex/context/base/type-otf.tex)) bodyfont : 12pt rm is loaded specials : tex loaded system : dvi.top loaded (./dvi.top specials : loading definition file dpx (c:/w32tex/share/texmf-local/tex/context/base/spec-dpx.tex specials : loading definition file fdf (c:/w32tex/share/texmf-local/tex/context/base/spec-fdf.tex (c:/w32tex/share/texmf-local/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded ) specials : fdf loaded ) (./dvi.tuo) (./dvi.tuo) systems: begin file dvi at line 3 fonts : resetting map file list fonts : using map file: original-base fonts : using map file: lm-math fonts : using map file: lm-rm fonts : using map file: original-ams-base fonts : using map file: original-ams-euler fonts : using map file: original-public-lm [1.1 ! This can't happen (ext4). \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...gebody #1#2\setpagecounters \else \the \pageboundsetti... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... \sidefloatoutput ...e \else \finalsidefloatoutput \global \sidefloatvsize \n... argument ...\fi \else \the \defaultstreamoutput \fi ... l.7 \stoptext I'm broken. Please show this to someone who can fix can fix mkiv lua stats : used config path - C:/w32tex/share/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - C:/DOKUME~1/Wolfgang/LOKALE~1/Temp/luatex-cache/context/aa3708bbacfa039a6085d2b5c7446e1e mkiv lua stats : modules/dumps/instances - 81/20/1 mkiv lua stats : input load time - 0.050 seconds mkiv lua stats : fonts load time - 1.041 seconds mkiv lua stats : xml load time - 0.000 seconds mkiv lua stats : mps conversion time - 0.000 seconds mkiv lua stats : node processing time - 0.000 seconds (including kernel) mkiv lua stats : kernel processing time- 0.000 seconds mkiv lua stats : attribute processing time - 0.000 seconds mkiv lua stats : language load time- 0.030 seconds (n=2) mkiv lua stats : graphics processing time - 0.000 seconds (n=0) (including tex) mkiv lua stats : current memory usage - 51703045 bytes mkiv lua stats : cleaned up reserved nodes - 16 nodes, 8 lists (of 100) mkiv lua stats : loaded patterns - en:en:pat:exc:2 mkiv lua stats : node memory usage - 69 hlist, 33 vlist, 3 rule, 130 glue, 5 kern, 10 penalty, 5 glyph, 153 attribute, 84 glue_spec, 75 attribute_list, 1 temp, 7 if_stack, 17 special, 9 local_par, 7 dir, 2 pdf_literal mkiv lua stats : loaded fonts - file:lmroman10-bolditalic*default:otf file:lmroman10-italic*default:otf file:lmroman12-bold*default:otf file:lmroman12-italic*default:otf file:lmroman12-regular*default:otf file:lmroman7-bold*default:otf file:lmroman7-regular*default:otf file:lmroman9-bold*default:otf file:lmroman9-italic*default:otf file:lmroman9-regular*default:otf file:lmromancaps10-regular*default:otf file:lmromanslant10-bold*default:otf file:lmromanslant10-regular*default:otf file:lmromanslant12-regular*default:otf file:lmromanslant9-regular*default:otf lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm
[NTG-context] Streams
Hello For a publication project in phonetics and dialectology I'd like to print the phonetic transcription and the dialect text in a two column setup. I would be interested to use context for that (more flexibility than LaTeX), but every new paragraph is printed on a new page (as Henning Hraban Ramm posted earlier). Is there a work around other than using two pages? Thanks, Roman Universität Zürich Phonogrammarchiv Roman Sigg Rämistr. 71 8006 Zürich Fon +41 44 634 39 90 Fax +41 44 634 49 68 [EMAIL PROTECTED] http://www.phonogrammarchiv.uzh.ch ___ 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] MkIV and DVI output
Wolfgang Schuster wrote: Hi, is it possible to produce DVI files with Mark IV. I tried a simple file like \starttext text \stoptext with the command texexec --lua --backend=dvipdfm filename no, at quite some places i've hardcoded a pdftex backend at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats - 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
Maurice Diamantini wrote: Le 10 avr. 08 à 17:18, Hans Hagen a écrit : 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. What will allow mplib in luatex the future? the future is already there - Will it be only a way to write Metapost code without having to call external system program (better performance)? indeed, no mp calls any more - Or will it be possible to write figures in lua instead of Metapost? (would be great!!) well, in principle i could write something for that, but it's not on the agenda Another question about ConTeXt mkiv installation Is possible to use a local full ConTeXt distrib (with basic fonts, mplib, lua) **without interference** with existant texlive distribution (i.e. without using all the *_TEX environment variables thanks to ConTeXt mkiv ?) it's what i do here ... luatex alongside pdftex/xetex 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 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
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] new version luatex / mkiv
Hallo, This release of is rather substantial: no longer is metaposts called, but mplib is used instead. is there or will der be a documented interface description for mplib. 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] new version luatex / mkiv
Wolfgang Werners-Lucchini wrote: Hallo, This release of is rather substantial: no longer is metaposts called, but mplib is used instead. is there or will der be a documented interface description for mplib. In the luatex reference manual (for now). http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/tags/beta-0.25.2/manual/?root=luatex 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] new version luatex / mkiv
Wolfgang Werners-Lucchini wrote: Hallo, This release of is rather substantial: no longer is metaposts called, but mplib is used instead. is there or will der be a documented interface description for mplib. it's in the luatex ref manual 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] Natural tables, offsets
Wolfgang, Can you use the leftoffset/rightoffset on individual table cells? Thanks, Mike -Original Message- From: [EMAIL PROTECTED] on behalf of Wolfgang Schuster Sent: Fri 4/11/2008 8:13 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Natural tables, offsets On Sun, Mar 30, 2008 at 3:12 AM, David [EMAIL PROTECTED] wrote: On Sat, 29 Mar 2008 18:23:01 +0100, Wolfgang Schuster wrote: On Fri, 28 Mar 2008 14:02:55 -0700 David [EMAIL PROTECTED] wrote: Hi all I'm using the natural table environment, and would like the text in each cell to have some horizontal offset from the cell boundaries - but I don't want to change the vertical offset. Is there a way to do this? \starttext \startsetups table:margins \rightskip=1cm\relax \leftskip=1cm\relax \stopsetups \setupTABLE [setups=table:margins] \bTABLE \bTR \bTD \input ward\par \eTD \bTD \input ward\par \eTD \eTR \bTR \bTD \input ward\par \eTD \bTD \input ward\par \eTD \eTR \eTABLE \stoptext Hi David, Thank you, Wolfgang. For my purposes, this setup is perfect. I updated my extended version of the localframed macros and they permit you to use \usemodule[wolf-rul] \starttext \setupTABLE[leftoffset=1cm,rightoffset=1cm] \bTABLE \bTR \bTD \input ward\par \eTD \bTD \input ward\par \eTD \eTR \bTR \bTD \input ward\par \eTD \bTD \input ward\par \eTD \eTR \eTABLE \stoptext Greetings 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 9:42 AM, Hans Hagen [EMAIL PROTECTED] wrote: Joel C. Salomon wrote: 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? use the minimals from the garden .. the zips will go away (apart from the cont-* zips) one option is to write a dedicated fetch script, load the minimals for luatex use only (is an option) and then look at the files you need i wonder if it's worth the trouble because all you get extra on top of lm is tex gyre open type There are many other OpenType fonts that get fetched by default as well. And maybe the whole bin/common can be left out in that case (maybe windows still needs some libraries). So there is still some space that could be saved. 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 3:42 AM, Hans Hagen [EMAIL PROTECTED] wrote: one option is to write a dedicated fetch script, load the minimals for luatex use only (is an option) and then look at the files you need Any clues for how to go about this? i wonder if it's worth the trouble because all you get extra on top of lm is tex gyre open type I wasn't being dogmatic about cutting out all other fonts; just wanted to avoid the old TeX-style pfb/vfb/c. messes. LM+Gyre is fine. What I have in mind is a small package with SciTE the ultra-minimals, with a launcher like the portableapps.com programs have that will set the appropriate environment variables. Include SciTE or Notepad++ (with a stripped-down set of configuration files, perhaps; just enough for ConTeXt/lua/mp) and Sumatra PDF Portable, and you've got a complete, truly stand-alone, modern typesetting environment on a USB stick. --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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 9:54 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: There are many other OpenType fonts that get fetched by default as well. And maybe the whole bin/common can be left out in that case (maybe windows still needs some libraries). So there is still some space that could be saved. See my reply to Hans (about five minutes before this message); it's complexity of installation and options, not disc usage, that I'm trying to minimize. --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 ___
[NTG-context] Module documentation
Hello all, I have been using Context for a while now and have learnt a lot from the manuals and wiki. I now want to start to use features that are not documented. On the wiki (http://wiki.contextgarden.net/Official_ConTeXt_Documentation#ConTeXt_Sources) I found the following command for producing a pdf output for a module: texmfstart texexec --module kpse:core-tab.tex which seems ideal for learning more. When I run the above command line it creates a .ted file but then complains: I can't find the format file 'cont-en.fmt'! On Luigi Scarso's page (http://wiki.contextgarden.net/User:Luigi.scarso/modules.pdf) he suggests the following: texexec --module --pdf core-tab.tex but this returns no output at all, and no pdf. I am working on Windows. I installed (this week) from the context/install/mswincontext.zip on the Pragma site and normally build from the Scite editor. Can anyone suggest what I'm doing wrong? Thanks. Richard Stephens ___ 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
See my reply to Hans (about five minutes before this message); it's complexity of installation and options, not disc usage, that I'm trying to minimize. A bit off-topic: mayb we can also think a context-live iso img. -- 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 ___
Re: [NTG-context] MkIV and DVI output
at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? -- 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 ___
Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 4:17 PM, Joel C. Salomon wrote: On Fri, Apr 11, 2008 at 3:42 AM, Hans Hagen wrote: one option is to write a dedicated fetch script, load the minimals for luatex use only (is an option) and then look at the files you need Any clues for how to go about this? There are two options: 1.) take a look at first-setup.sh (really stupid script); you can call mtx-update with --engine=luatex and then you won't get almost any tfm/enc/map files; you still get pfb files as they are needed for math; and you get quite some helvetica/times enc/map/pfb files since px tx math fonts need them (needed for gyre) - this will go away once gyre math is ready; it could be optimized, but I consider trying to fix virtual fonts to use gyre instead of urw fonts a loss of time since it's soon going to be obsolete rather soon anyway 2.) you can write your own set of rsync calls, like: rsync -av rsync://contextgarden.net'/minimals/current/fonts/new/ minimals/current/fonts/common/' texmf-fonts rsync -av rsync://contextgarden.net'/minimals/current/bin/context/linux minimals/current/bin/luatex/linux/' texmf-linux i wonder if it's worth the trouble because all you get extra on top of lm is tex gyre open type I wasn't being dogmatic about cutting out all other fonts; just wanted to avoid the old TeX-style pfb/vfb/c. messes. LM+Gyre is fine. What I have in mind is a small package with SciTE the ultra-minimals, with a launcher like the portableapps.com programs have that will set the appropriate environment variables. Include SciTE or Notepad++ (with a stripped-down set of configuration files, perhaps; just enough for ConTeXt/lua/mp) and Sumatra PDF Portable, and you've got a complete, truly stand-alone, modern typesetting environment on a USB stick. If you're willing to work on it, just tell me what exactly you need (I can put different stuff on the garden). See also: http://minimals.contextgarden.net/setup/context-installer/src/ you can then start from there. 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 4:43 PM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Fri, Apr 11, 2008 at 4:32 PM, luigi scarso wrote: See my reply to Hans (about five minutes before this message); it's complexity of installation and options, not disc usage, that I'm trying to minimize. A bit off-topic: mayb we can also think a context-live iso img. I have already done it once (perl and ruby added to the CD, and formats generated), and one could be prepared at/for the conference. However, I have no idea how sensible the formats are (if you prepare a live CD with slightly different versions of pdfTeX for different platforms - probably that's not going to work?) And luatex should then put its cache into temp. What about an image to run with a virtual machine ? Mojca PS: but the main problem with CD is that you cannot update it, so it probably gets old before you even manage to burn it Are you sure ? pdftex is frozen (almost), . I have a production with a context 4 years old. Context (in some...contexts) stay pretty young. -- 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 ___
Re: [NTG-context] MkIV and DVI output
2008/4/11, luigi scarso [EMAIL PROTECTED]: xps ? http://tug.org/mailman/htdig/pdftex/2007-April/007112.html Best Martin ___ 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 4:32 PM, luigi scarso wrote: See my reply to Hans (about five minutes before this message); it's complexity of installation and options, not disc usage, that I'm trying to minimize. A bit off-topic: mayb we can also think a context-live iso img. I have already done it once (perl and ruby added to the CD, and formats generated), and one could be prepared at/for the conference. However, I have no idea how sensible the formats are (if you prepare a live CD with slightly different versions of pdfTeX for different platforms - probably that's not going to work?) And luatex should then put its cache into temp. Mojca PS: but the main problem with CD is that you cannot update it, so it probably gets old before you even manage to burn it ___ 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] MkIV and DVI output
luigi scarso wrote: at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? mars - 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] mplib undefined commands
Hello Hans, I have modified the gnuplot module a bit, and stumbled upon: 1.) the need for \ifx\savebuffer\undefined \else \savebuffer[...]\fi which has been expected 2.) undefined command \forceMPTEXcheck{put_text} I have now used a wrapper to skip that line in LuaTeX (btw: what's the suggested \if clause or \beginNOLUATEX to check for luatex/mkiv?) Does it make sense to define \let\forceMPTEXcheck\empty in mkiv perhaps? 3.) undefined command \obeyMPlines. I actually forgot why I needed it, but according to the comment: \obeyMPlines % - no longer a problem \def\obeyedline{}% - thanks to this I simply commented out the first line and hoped for no problems in mkii 4.) It seems to work without problems now, except for one tiny detail that I get in the final PDF. [do we need TeXtexts in MkIV] What is that supposed to mean? I need to admit that I have the following piece of code in the module (in case that matters). Maybe I'm the only one who uses it, so if you have any idea how to modify the macros to make \sometxt[gp][iwona,14pt]{text} work in mkiv, I will happily drop the old code/replace it for mkiv. Thanks a lot, Mojca The relevant code from the module: %D Aditya, thanks a lot for requesting it! %D Hans, thanks a lot for implementing this! \definetextext[gp]{\strut} %D TODO (feature request): %D \starttyping %D\sometxt[gp][ss,20pt]{abc} %D \stoptyping %D should become equivalent to %D \starttyping %D\sometxt{\switchtobodyfont[ss,20pt]\strut abc} %D \stoptyping %D The following patch has been written by Aditya and seems to work OK, %D however it would be more clean to have this functionality in the core. %D Redefining low-level macros might be a bit dangerous, esp. since %D they tend to change over time. %D %D TODO: remind Hans to implement it in core ;) %D and remove this patch from the module \long\def\redofiltersometxt[#1]% {\doifnextcharelse[{\reredofiltersometxt[#1]}{\redodofiltersometxt[#1]}} \long\def\redodofiltersometxt[#1]#2% {\increment\txtcounter \TeXtext[#1]\txtcounter{#2}% \filtersometxt} \long\def\reredofiltersometxt[#1][#2]#3% {\increment\txtcounter \TeXtext[#1]\txtcounter{\switchtobodyfont[#2]\strut#3}% \filtersometxt} ___ 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] MkIV and DVI output
On Fri, Apr 11, 2008 at 4:34 PM, luigi scarso [EMAIL PROTECTED] wrote: at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? Do you plan some support for the ebooks formats (epub, mobipocket) ? Cheers, Olivier. -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com ___ 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
2008/4/11, luigi scarso [EMAIL PROTECTED]: What about an image to run with a virtual machine ? Much better. Best Martin ___ 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] MkIV and DVI output
Olivier Guéry wrote: On Fri, Apr 11, 2008 at 4:34 PM, luigi scarso [EMAIL PROTECTED] wrote: at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? Do you plan some support for the ebooks formats (epub, mobipocket) ? Here is the needed support for one ebook format: \definepapersize[iliad] [width=124mm, height=152mm] \setuppapersize[iliad][iliad] \pdfminorversion=4 % officially 3, but 4 works also \setupcolors[state=start,conversion=yes,reduction=yes,rgb=no,cmyk=no] :) Cheers, 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] MkIV and DVI output
On Fri, Apr 11, 2008 at 5:36 PM, Hans Hagen [EMAIL PROTECTED] wrote: luigi scarso wrote: at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? mars A very nice subject to discuss here at pdf/a conference with Leonard Rosenthal (why use a pdf format for archiving, and in the same moment push mars? mars can be XML-PDF-XML) But I did'nt want to do that. I have talkd last year in italy with Olaf Drümmer, he said the mars is still an experiment . From my point of view xml is better for long term archiving. - 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 ___ -- 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] t-bib and interactivity for url= and doi=
Hi, in principle, I expect that with the following setup I should be able to click on a DOI or on a URL, however, somehow they do not seem to be interactive - and the DOI does not seem to be hyphenated agressively as it sometimes extends beyond the page margin. Any idea? I use the following settings (without \startenvironment etc.) \setupinteraction[state=start] \usemodule[bib] \setuppublications[alternative=aps] \setuppublicationlist[interaction=start] \chardef\urlhyphenmethod=1 % Hyphenate very agressively (=1), use =0 for default \unprotect \setuppublicationlayout[article]{% [...] \insertdoi{ DOI: }{.}{}% \insertbiburl{ }{.}{}% } \unprotect Tobias ___ 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] t-bib and interactivity for url= and doi=
Tobias Burnus wrote: Hi, in principle, I expect that with the following setup I should be able to click on a DOI or on a URL, however, somehow they do not seem to be interactive It turns out that only \cite[url] is interactive in the current version of the module. I can fix that pretty easily, but a small real-life testfile will be helpful, also for the DOI problem. 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] new version luatex / mkiv
Hallo, is there or will there be a documented interface description for mplib. In the luatex reference manual (for now). http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/tags/beta-0.25. 2/manual/?root=luatex This manual is not viewable without deleting a html-frame. Or what I am doing wrong? The manual describes a lua interface. Isn't mplib a dll under windows? If yes, where can I find a header-file of the export table. If no, how have you implemented the library? 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] Streams
Am 2008-04-11 um 11:45 schrieb Roman Sigg: For a publication project in phonetics and dialectology I'd like to print the phonetic transcription and the dialect text in a two column setup. I would be interested to use context for that (more flexibility than LaTeX), but every new paragraph is printed on a new page (as Henning Hraban Ramm posted earlier). Is there a work around other than using two pages? It doesn't seem possible - only if you control page/column breaks manually. 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 ___
[NTG-context] solution for problem with m-chemic.tex
Hello, It's a repost, because version 2008.04.10 still fails: What about the integration of this patch from Wolfgang Schuster into the distribution: - Forwarded message from Wolfgang Schuster [EMAIL PROTECTED] - Date: Fri, 22 Feb 2008 11:57:37 +0100 From: Wolfgang Schuster [EMAIL PROTECTED] Reply-To: mailing list for ConTeXt users ntg-context@ntg.nl To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] \chemical and MKIV On Thu, Feb 21, 2008 at 11:23 PM, Peter Münster [EMAIL PROTECTED] wrote: Hello, The following test-file produces an error: % engine=luatex \usemodule[chemic] \starttext \chemical{CO_2} \stoptext This is tooo long. \usemodule[chemic] is enough to produce the error with mkiv. Replace the following lines in m-chemic \ifx\beginpicture\undefined \let\normalgrid\grid \let\normalaxis\axis \input pictex.tex \relax \let\pictexgrid\grid \let\pictexaxis\axis \let\grid\normalgrid \let\axis\normalaxis \fi with \ifx\beginpicture\undefined \let\beginpicture\relax \fi and the module works. Wolfgang - End forwarded message - -- http://pmrb.free.fr/contact/ ___ 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] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
On Fri, Apr 11, 2008 at 10:37 AM, Mojca Miklavec [EMAIL PROTECTED] wrote: Any clues for how to go about this? There are two options: 1.) take a look at first-setup.sh (really stupid script); you can call mtx-update with --engine=luatex As opposed to --engine=all? Sounds good so far. But... you still get pfb files as they are needed for math; and you get quite some helvetica/times enc/map/pfb files since px tx math fonts need them (needed for gyre) - this will go away once gyre math is ready; I suppose that a legacy-free TeX will have to wait a bit... Slight tangent: Is there any support for using any of the OpenType math fonts (I know of Cambria Math, STIX, and Asana Math—this last on tug.org) in mkiv? 2.) you can write your own set of rsync calls, like: snip See also: http://minimals.contextgarden.net/setup/context-installer/src/ you can then start from there. Looking into it. What I have in mind is a small package with … a complete, truly stand-alone, modern typesetting environment on a USB stick. If you're willing to work on it, just tell me what exactly you need (I can put different stuff on the garden). Can't promise a lot of time, but it's something I need so I'll work on it. --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 ___
[NTG-context] mplib
Hallo, the following compiles ok, but gives me an status 3=fatal error. Can someone please point me to the error? \startlua mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10, } ) if mp then res = mp:execute( beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye; ) tex.print([ .. tostring(res.status) .. ]) mp:finish() end \stoplua 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 ___
[NTG-context] luatexing
Hallo, I have a few silly questions about tex.print() To produce $\sqrt{2}=1.4142135623731$ it should be enough to write tex.print($\\sqrt{2}= .. math.sqrt(2) .. $) or better tex.print([[$\sqrt{2}=]] .. math.sqrt(2) .. $) but that's both not working. The following instead does the job: tex.print($\string\\sqrt{2}= .. math.sqrt(2) .. $) why? Another question: What is the differenz between 'tex.sprint()' and 'tex.write()'? 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] MkIV and DVI output
On Fri, Apr 11, 2008 at 4:55 PM, Martin Schröder [EMAIL PROTECTED] wrote: 2008/4/11, luigi scarso [EMAIL PROTECTED]: xps ? http://tug.org/mailman/htdig/pdftex/2007-April/007112.html hmm, http://www.ntg.nl/pipermail/ntg-context/2007/024777.html hans wrote ...i will look into that some time next year;.. Well, a year later... -- 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 ___
Re: [NTG-context] Streams
On 4/11/08, Roman Sigg [EMAIL PROTECTED] wrote: Hello For a publication project in phonetics and dialectology I'd like to print the phonetic transcription and the dialect text in a two column setup. I would be interested to use context for that (more flexibility than LaTeX), but every new paragraph is printed on a new page (as Henning Hraban Ramm posted earlier). Is there a work around other than using two pages? Thanks, Roman Universität Zürich Phonogrammarchiv Roman Sigg Rämistr. 71 8006 Zürich Fon +41 44 634 39 90 Fax +41 44 634 49 68 [EMAIL PROTECTED] http://www.phonogrammarchiv.uzh.ch Hi, perhaps the streams module can help you? I use it to set texts and theirs translations on facing pages. You can find an example below. (It came over this list a while ago.) Kind regards Chris %%% \usemodule[streams] \def\StartCouple{\page\SwitchToNormal} \def\StopCouple {\SwitchToNormal \SynchronizeLeftAndRight \FlushLeftAndRight} \def\Original {\SwitchToNormal\SynchronizeLeftAndRight\SwitchToLeft} \def\Translation{\SwitchToRight} %%So you put the part of your document where synchronization should %%take place between \StartCouple and \StopCouple. After that , %%\Original and \Translation switches between even and odd pages. \starttext \scale[width=\textwidth,height=\textheight,factor=fit]{\ss m-streams} \page \StartCouple \Original this is an original text \crlf \input knuth %\blank[1cm] \Translation THIS IS THE TRANSLATION \crlf \input tufte \Original \ss this is an original text \crlf \input knuth \Translation \ss THIS IS THE TRANSLATION \crlf \input tufte \StopCouple \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 ___