Re: [NTG-context] staticMPfigure
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 ___
[NTG-context] experimental feature
Hi, I uploaded a beta with an experimental mkiv feature: fallback fonts. \starttext \definefontfallback [whatever] [Slanted] [0x0060-0x007F] \definefontfallback [whatever] [Bold] [0x0080-0x00FF,0x00A0-0x00AF] \definefontfallback [whatever] [BoldSlanted] [0x00C0-0x00C7] \definefontsynonym[SerifPlus][Serif][fallbacks=whatever] \definefont[MySerif][SerifPlus] \MySerif \dostepwiserecurse{0}{255}{1}{% {\tttf\uchexnumbers\recurselevel:}\char\recurselevel\hskip10pt plus 5pt\relax } \stoptext specifications like [Bold sa 1.2] also work Future versions will provide multiple fallbacks, conditional fallbacks etc. For insiders ... no virtual fonts are used which means that that in principle features still work ok. BTW, In this beta OSFONTDIR is set automatically when unset, on windows (tested by me) and on macosx (tested by mojca); other platforms can be dealt with when we know what to set. 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
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] ConTeXt manual question
On Tue, Jun 10, 2008 at 9:53 PM, Alan Stone [EMAIL PROTECTED] wrote: I intend to print the http://www.pragma-ade.com/general/manuals/cont-enp.pdf manual ( dated 2001.11.12 ). However, before proceeding... Is there's an updated version available ? No but it should be still valid. 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
[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] Problem with TSV tables
On Wed, Jun 11, 2008 at 11:26 AM, Jan-Erik Hägglöf wrote: Hi! Life is much easier if everything is there, thanks it worked better. Unfortunally it seems that the heading part not work as expected. Only the first values line get the grey bg and bold font. You can see attached files. You mean that you don't get this line? Time; Decay per second; Errorlimits To be honest - I do not understand a single line in the database module. A really dirty future-incompatible workaround is to duplicate the line. The first one will be swallowed and the lecond one will be typeset, but that's a bug in the module. Hans? Taco? Why is the first line ignored? It worked OK some time ago, and nothing has changed in the module itself, so it's a complete mystery. Thanks for helping me! By the way... you did for a month ago send a working gnuplot module that is working with Luatex. After a computercrash I lost it. Can you send that once again?? I guess this is the file I have sent you some time ago, but it doesn't work any more. I suspect that this portion of code is broken (LuaTeX doesn't create a new file any more), but I need to test before saying anything; it might be some completely reason: \doifmode{*\v!first}{ \immediate\openout\scratchwrite=\GNUPLOTfile.plt \immediate\write\scratchwrite{set terminal \@@GNUPLOToutput\space\@@GNUPLOToptions}% \immediate\write\scratchwrite{load '\GNUPLOTfile.tmp'}% \immediate\closeout\scratchwrite } I wanted to say: a dirty workaround is to run texexec with mkii before since it does generate the file (mkiv doesn't) and then luaTeX would use that file, but even that seems to be broken now. Just in case that Hans can spot the reason of error, here it is, but I will try to find some minimal example to reproduce it. ! LuaTeX error ...text/tex/texmf-context/tex/context/base/luat-log.lua:74: invalid option '%C' to 'format'. \processMPgraphic ... \MPuserinclusions ;\!!es ) } \global \settrue \METAFUNi... \handlereusableMPgraphic ...\processMPgraphic {#3} }\setxvalue {\@@MPG #1}{\n... \douseMPgraphic ... [#1][#2]}\getvalue {\@@MPG #1} \empty \elabelgroup to be read again } \redoloop -\expandrecursecontent \endofloop to be read again { ... l.11 \stoptext ? Mojca t-gnuplot.tex Description: TeX document tsvmall.tex Description: TeX document sndfall.dat Description: Binary data ___ 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] Problem with TSV tables
On Wed, Jun 11, 2008 at 12:25 AM, Jan-Erik Hägglöf [EMAIL PROTECTED] wrote: Hi! Followed the MyWay creating tables using CSV..in order to create tables from datafiles in tab separated columns. A weird message \line= ... stop appears Can someone figure it out? Thanks in advance Jan-Erik Hägglöf Remove the % after \startTSV. 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 manual question
Ok thanks Wolfgang. One request though to the person/people who makes the manual(s)... Could you please refrain from using any background color on some pages of the print version because it unnecessarily pumps precious ink/toner from the cartridge. Would be *much* appreciated. Thanks on beforehand for taking my small rant ;O) into consideration. All the best, Alan On Wed, Jun 11, 2008 at 11:57 AM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Tue, Jun 10, 2008 at 9:53 PM, Alan Stone [EMAIL PROTECTED] wrote: I intend to print the http://www.pragma-ade.com/general/manuals/cont-enp.pdf manual ( dated 2001.11.12 ). However, before proceeding... Is there's an updated version available ? No but it should be still valid. 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 ___ ___ 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] experimental feature
\definefontfallback [whatever] [Slanted] [0x0060-0x007F] \definefontfallback [whatever] [Bold] [0x0080-0x00FF,0x00A0-0x00AF] \definefontfallback [whatever] [BoldSlanted] [0x00C0-0x00C7] What's the meaning of the third parameter? Unicode ranges? Oliver ___ 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] clipping bug [or the return of the long cat]
On Tue, Jun 10, 2008 at 2:40 PM, Hans Hagen [EMAIL PROTECTED] wrote: Peter Rolf wrote: Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only 1.1mm width (tested with several different sized gfx; width is always this value, height is normal). all tested with the beta from 07.06.2008 and luatex trunk (08.06.2008). todays beta has additional problems with text color (always black) and also some unicolored backgrounds appear black only. so i went back to the prior beta version and changed only the clip part. hm ... example ... \setupcolors[state=start] \starttext \color[red]{Colored test?} \stoptext Tested on ConTeXt live. 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] distro info
Oliver (who's comming to the meeting with the same probability as you are :) is preparing an installer for Mac, but his last notification was: I have put it aside for a while since the tools for packaging are buggy. Well, now that this Mac installer project of mine has been made semi- official let's put it this way: I've already assembled a working ConTeXt package based on the minimals that installs via the Apple installer. In other words, it will provide the same seamless installation experience to the user as known from the MacTeX package and, in fact, as known from any decent Mac software. However, a few minor issues still need to be sorted out before an initial version can be released to the public. For this reason (and in order to avoid clumsy workarounds) I'm currently waiting for an update of the relevant Apple developer tools which will most probably appear next week. That's actually pretty soon. Oliver ___ 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] Problem with TSV tables
Mojca Miklavec wrote: To be honest - I do not understand a single line in the database module. A really dirty future-incompatible workaround is to duplicate the line. The first one will be swallowed and the lecond one will be typeset, but that's a bug in the module. Hans? Taco? Why is the first line ignored? It is not a bug, \startTSV has to be delimited by a newline. Just remove the comment from that line and it will work as expected. 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
[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] clipping bug [or the return of the long cat]
On Tue, Jun 10, 2008 at 12:42 PM, Peter Rolf [EMAIL PROTECTED] wrote: Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only 1.1mm width (tested with several different sized gfx; width is always this value, height is normal). all tested with the beta from 07.06.2008 and luatex trunk (08.06.2008). todays beta has additional problems with text color (always black) and also some unicolored backgrounds appear black only. so i went back to the prior beta version and changed only the clip part. Any customer can have a car painted any colour that he wants so long as it is black. (Henry Ford) ;-) 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] experimental feature
Oliver Buerschaper wrote: \definefontfallback [whatever] [Slanted] [0x0060-0x007F] \definefontfallback [whatever] [Bold] [0x0080-0x00FF,0x00A0-0x00AF] \definefontfallback [whatever] [BoldSlanted] [0x00C0-0x00C7] What's the meaning of the third parameter? Unicode ranges? takes chars 0x0060-0x007F from Slanted (whatever it resolves to) - 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] Howto fit text into a box
On Mon, Jun 9, 2008 at 3:44 PM, Wolfgang Schuster [EMAIL PROTECTED] wrote: On Mon, Jun 9, 2008 at 3:06 AM, Uwe Koloska [EMAIL PROTECTED] wrote: Hello, for a CD-Cover I have to fit a given text into a fixed box. I have tried to achieve this with the help of mag-0010 Good looking shapes but was not successful :-( Can you help me with this? The conditions: - the text is of fixed length - the area is of given size (has a given ratio) - the text has to fit completely inside this area - the last line must be justified, too - the fontsize of the text is the variable that can be changed - I have the current minimal context installation and as an addition: - if possible the words should not be hyphenated at all or hyphenated at an arbitrary character without a hyphenation mark (the text consists of names) A possible algorithm (similar to the one from mag-0010) 1 start with a small box with the given ratio 2 fill the text into the box 3 if all text fits in with a small penalty we are ready 4 make the box a bit larger 5 goto 2 Unfortunately, I'm not able to understand the code from the mag nor can I code the algorithm in context ... I would appreciate any input on this problem! Thank you Uwe Koloska Not perfect but you could use it as a start. I used ruledvbox only to take a look at the boxsize. There is a parameter to disable the indenting for the last line but I don't know it's name without looking into a TeX book. \startbuffer[cover] \input ward \stopbuffer \definetwopasslist{cover} \newbox\cover \newdimen\coverheight \coverheight= 7cm \newdimen\coverwidth \coverwidth = 7cm \newdimen\coverfont \coverfont =12pt \newdimen\fontstep\fontstep = 1pt \starttext \definefont[Cover][Sans at \the\coverfont] \gettwopassdata{cover} \iftwopassdatafound \coverfont\twopassdata \definefont[Cover][Sans at \the\coverfont] \fi \setbox\cover\ruledvbox {\hsize\coverwidth \Cover\setupinterlinespace \setupalign[nothyphenated] \emergencystretch\maxdimen \getbuffer[cover]} \ifdim\ht\cover\coverheight \advance\coverfont\fontstep \savetwopassdata{cover}{1}{\the\coverfont} \else \advance\coverfont-\fontstep \savetwopassdata{cover}{1}{\the\coverfont} \fi \ruledvbox to 7cm{\box\cover} \stoptext Another version, this did work without multiple passes and is faster. \newbox\cover \newdimen\coverheight \coverheight= 7cm \newdimen\coverwidth \coverwidth = 7cm \newdimen\coverfont \coverfont =12pt \newdimen\fontstep\fontstep = 1pt \def\startcover {\dostartbuffer[cover][startcover][stopcover]} \def\stopcover {\setups[cover:place]} \def\boxsize {\setbox\cover\vbox {\hsize\coverwidth \definedfont[Serif at \the\coverfont]\setupinterlinespace \setupalign[nothyphenated] \emergencystretch\maxdimen \getbuffer[cover]}} \def\covertext {\boxsize\doloop {\boxsize \ifdim\ht\cover\coverheight \global\advance\coverfont-\fontstep \exitloop \else \global\advance\coverfont\fontstep \fi}} \startsetups[cover:place] \covertext \boxsize \ruledvbox to\coverheight{\box\cover} \stopsetups \starttext \startcover \strut\input ward \stopcover \stoptext 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] ConTeXt manual question
At 07:23 AM 6/11/2008, Hans wrote: hm, more recent manuals tend to use even more color ... And it is useful for people who view the pages on the screen or want to print a given page in color. (When I print a big manual, I use my laser printer which does not have color rather than my inkjet printer which does have color.) ___ 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] Problem with TSV tables
Mojca Miklavec wrote: On Wed, Jun 11, 2008 at 11:26 AM, Jan-Erik Hägglöf wrote: Hi! Life is much easier if everything is there, thanks it worked better. Unfortunally it seems that the heading part not work as expected. Only the first values line get the grey bg and bold font. You can see attached files. You mean that you don't get this line? Time; Decay per second; Errorlimits To be honest - I do not understand a single line in the database module. A really dirty future-incompatible workaround is to duplicate the line. The first one will be swallowed and the lecond one will be typeset, but that's a bug in the module. Hans? Taco? Why is the first line ignored? It worked OK some time ago, and nothing has changed in the module itself, so it's a complete mystery. Thanks for helping me! By the way... you did for a month ago send a working gnuplot module that is working with Luatex. After a computercrash I lost it. Can you send that once again?? I guess this is the file I have sent you some time ago, but it doesn't work any more. I suspect that this portion of code is broken (LuaTeX doesn't create a new file any more), but I need to test before saying anything; it might be some completely reason: \doifmode{*\v!first}{ \immediate\openout\scratchwrite=\GNUPLOTfile.plt \immediate\write\scratchwrite{set terminal \@@GNUPLOToutput\space\@@GNUPLOToptions}% \immediate\write\scratchwrite{load '\GNUPLOTfile.tmp'}% \immediate\closeout\scratchwrite } I wanted to say: a dirty workaround is to run texexec with mkii before since it does generate the file (mkiv doesn't) and then luaTeX would use that file, but even that seems to be broken now. Just in case that Hans can spot the reason of error, here it is, but I will try to find some minimal example to reproduce it. ! LuaTeX error ...text/tex/texmf-context/tex/context/base/luat-log.lua:74: invalid option '%C' to 'format'. depends where the %C comes from ... maybe %%C works ok in the message anyhow, i need to redo that module in lua i think 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] distro info
Hi Oliver, I've already assembled a working ConTeXt package based on the minimals that installs via the Apple installer. In other words, it will provide the same seamless installation experience to the user as known from the MacTeX package and, in fact, as known from any decent Mac software. Fantastic. Exactly what I need. But will you include TeXShop? Will the tex file system be local (i.e. separated from the usual locations) ? That's actually pretty soon. Yes, of course. Thanks Best -a- Oliver __ _ 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 __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ 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] clipping bug [or the return of the long cat]
Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only 1.1mm width (tested with several different sized gfx; width is always this value, height is normal). all tested with the beta from 07.06.2008 and luatex trunk (08.06.2008). todays beta has additional problems with text color (always black) and also some unicolored backgrounds appear black only. so i went back to the prior beta version and changed only the clip part. hm ... example ... % engine=luatex \startuniqueMPgraphic {foo} fill OverlayBox; \stopuniqueMPgraphic \starttext \startTEXpage \hsize10cm \vsize10cm \uniqueMPgraphic{foo} \stopTEXpage \stoptext hmm this is actually undefined behaviour since there is no background - 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] unicode feature request
On Sat, Jun 07 2008, Hans Hagen wrote: i'm in the process of setting up math in mkiv and this is something that taco, aditya and i will discuss at the upcoming context conference (feel free to join in there) Thanks for considering my request. Much to my regret I won't come to the conference (due to lack of time), but I really hope to be able to come to one of the next ones. Cheers, Peter -- 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] zero padding with itemize
On Sun, Jun 08 2008, Hans Hagen wrote: If yes, how? And if no, where is the magic point, where I could apply a patch (if it's not too difficult ;) has always been possible ... \starttext \def\mypaddednumber#1{\ifnum#19 0\fi\number#1\relax} \defineconversion[pn] [\mypaddednumber] So the \defineconversion is the magic point I could not find (I only searched in core-itm.tex ...). Thanks a lot! Peter -- 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] distro info
On Wed, Jun 11, 2008 at 4:55 PM, Andrea Valle wrote: Hi Oliver, I've already assembled a working ConTeXt package based on the minimals that installs via the Apple installer. In other words, it will provide the same seamless installation experience to the user as known from the MacTeX package and, in fact, as known from any decent Mac software. Fantastic. Exactly what I need. But will you include TeXShop? You can use the existing TeXShop or any other editor. Besides that, in summer or autumn a new cross-platform editor by Jonathan Kew will be available. Will the tex file system be local (i.e. separated from the usual locations) ? You will be able to use PreferencePane to select whether you want to use MacTeX or ConTeXt minimals (and which version), and that will be done globally. /usr/texbin will be a symlink to binaries. 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] distro info
Wow, much needed. Looking forward to see it. Best -a- On 11 Jun 2008, at 18:05, Mojca Miklavec wrote: On Wed, Jun 11, 2008 at 4:55 PM, Andrea Valle wrote: Hi Oliver, I've already assembled a working ConTeXt package based on the minimals that installs via the Apple installer. In other words, it will provide the same seamless installation experience to the user as known from the MacTeX package and, in fact, as known from any decent Mac software. Fantastic. Exactly what I need. But will you include TeXShop? You can use the existing TeXShop or any other editor. Besides that, in summer or autumn a new cross-platform editor by Jonathan Kew will be available. Will the tex file system be local (i.e. separated from the usual locations) ? You will be able to use PreferencePane to select whether you want to use MacTeX or ConTeXt minimals (and which version), and that will be done globally. /usr/texbin will be a symlink to binaries. 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 __ _ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ 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] clipping bug [or the return of the long cat]
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: meta-ini.mkiv \def\grabMPclippath#1#2#3#4#5% {\blabelgroup \edef\width {#3\space}\let\overlaywidth \width \edef\height{#4\space}\let\overlayheight\height \doifdefinedelse{MPC:#1} {\xdef\MPclippath{\getvalue{MPC:#1}}% \ifx\MPclippath\empty\xdef\MPclippath{#5}\fi \setxvalue{MPC:#1}{\MPclippath}} {\xdef\MPclippath{#5}}% \elabelgroup} there seem to be an ugly sideeffect in combination with \startTEXpage .. \stopTEXpage. I use this to encapsulate my test graphics. The resulting page is only 1.1mm width (tested with several different sized gfx; width is always this value, height is normal). all tested with the beta from 07.06.2008 and luatex trunk (08.06.2008). todays beta has additional problems with text color (always black) and also some unicolored backgrounds appear black only. so i went back to the prior beta version and changed only the clip part. hm ... example ... % engine=luatex \startuniqueMPgraphic {foo} fill OverlayBox; \stopuniqueMPgraphic \starttext \startTEXpage \hsize10cm \vsize10cm \uniqueMPgraphic{foo} \stopTEXpage \stoptext hmm this is actually undefined behaviour since there is no background hmmm, another try (but same result) % engine=luatex \startuniqueMPgraphic {foo} fill OverlayBox; \stopuniqueMPgraphic \defineoverlay[foo][\uniqueMPgraphic{foo}] \starttext \startTEXpage \framed[width=10cm,height=10cm,offset=overlay,background=foo]{} \stopTEXpage \stoptext - 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] clipping bug [or the return of the long cat]
Peter Rolf wrote: hmmm, another try (but same result) can you try the latest beta? i added some hboxes around the graphics - 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] TeXCalc
I downloaded Taco's TeXCalc script at http://tex.aanhet.net/utils/texcalc and installed the required perlTk thingie. Newbie question... How do you run this silly script (*) ? Using ActivePerl and sciTE. Thanks, Alan (*) No, no it's not me who said it first... Taco wrote it himself ! ;O) ___ 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] clipping bug [or the return of the long cat]
Hans Hagen schrieb: Peter Rolf wrote: hmmm, another try (but same result) can you try the latest beta? i added some hboxes around the graphics sorry, still not working here. - 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] TeXCalc
Alan Stone wrote: I downloaded Taco's TeXCalc script at http://tex.aanhet.net/utils/texcalc and installed the required perlTk thingie. Newbie question... How do you run this silly script (*) ? Using ActivePerl and sciTE. maybe just perl texcalc.pl if i remember right it's a perltk script; it dates from the time (1999 or so) that taco and i were exploring perltk .. in the same group or apps there is texwork (an tex oriented editor writen in perltk that i wrote plus some goodies - it still runs ok i just saw) and texshow that was later rewritten by taco to handle the xml variant if the syntax definitions 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] ConTeXt manual question
hm, more recent manuals tend to use even more color ... Good for HP, Epson, ..., cartridge manufacturers and resellers. Not for our wallets. Besides this detail... very well written manual though! ;O) Best, Alan On Wed, Jun 11, 2008 at 1:23 PM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: Ok thanks Wolfgang. One request though to the person/people who makes the manual(s)... Could you please refrain from using any background color on some pages of the print version because it unnecessarily pumps precious ink/toner from the cartridge. Would be *much* appreciated. hm, more recent manuals tend to use even more color ... 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] clipping bug [or the return of the long cat]
Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: hmmm, another try (but same result) can you try the latest beta? i added some hboxes around the graphics sorry, still not working here. it's not related to mp at all \starttext \startTEXpage \framed[width=10cm,height=10cm]{} \stopTEXpage \stoptext does not work, while \starttext \startTEXpage \noindent \framed[width=10cm,height=10cm]{} \stopTEXpage \stoptext does; it has to do with the new autowidth calculator; i hope that i fixed 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] distro info
I second Andrea's opinion -- I'm also looking forward to a straightforward way of updating ConTeXt and kin. I'm comfortable with ctxtools --updatecontext, but much less comfortable updating binaries and fonts, based on my experience screwing up my installation; a nice Mac OS X interface to deal with all these would be great. How about allowing installation of modules from http://modules.contextgarden.net, too? (I admit that there's probably a good deal of FUD here on my part and it's not as complicated as I think it is. My guess, though, is that I'm not alone.) Jesse Andrea Valle [EMAIL PROTECTED] writes: Wow, much needed. Looking forward to see it. Best -a- On 11 Jun 2008, at 18:05, Mojca Miklavec wrote: On Wed, Jun 11, 2008 at 4:55 PM, Andrea Valle wrote: Hi Oliver, I've already assembled a working ConTeXt package based on the minimals that installs via the Apple installer. In other words, it will provide the same seamless installation experience to the user as known from the MacTeX package and, in fact, as known from any decent Mac software. Fantastic. Exactly what I need. But will you include TeXShop? You can use the existing TeXShop or any other editor. Besides that, in summer or autumn a new cross-platform editor by Jonathan Kew will be available. Will the tex file system be local (i.e. separated from the usual locations) ? You will be able to use PreferencePane to select whether you want to use MacTeX or ConTeXt minimals (and which version), and that will be done globally. /usr/texbin will be a symlink to binaries. 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 ___ -- Andrea Valle -- CIRMA - DAMS Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.myspace.com/andreavalle -- [EMAIL PROTECTED] -- Think of it as seasoning . noise [salt] is boring . F(blah) [food without salt] can be boring . F(noise, blah) can be really tasty (Ken Perlin on noise) ___ 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 ___ -- Jesse Alama ([EMAIL PROTECTED]) ___ 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] clipping bug [or the return of the long cat]
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: hmmm, another try (but same result) can you try the latest beta? i added some hboxes around the graphics sorry, still not working here. it's not related to mp at all \starttext \startTEXpage \framed[width=10cm,height=10cm]{} \stopTEXpage \stoptext does not work, while \starttext \startTEXpage \noindent \framed[width=10cm,height=10cm]{} \stopTEXpage \stoptext does; it has to do with the new autowidth calculator; i hope that i fixed it looks good :) clipping is also working (now that i can see the page). thank you! regards, peter 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] fontscript for delicious?
Hello Wolfgang, mmmh, very curious. Today I wasn't able to reproduce the problems I have had yesterday ... Everything works exactly as you said with no changes to your files. So I revoke and argue the converse. Am Mittwoch, 11. Juni 2008 schrieb Wolfgang Schuster: I tested it now on my own system and it worked for me. ConTeXT: MtxRun | main context file: C:/tex/share/texmf-local/tex/context/base/context.tex MtxRun | current version: 2008.06.07 23:44 context --version MtxRun | main context file: /home/koloska/context-minimal/tex/texmf-context/tex/context/base/context.tex MtxRun | current version: 2008.06.03 19:55 but with context, I was not able to compile the file, cause there are the tfm-files missing. LuaTeX: This is LuaTeX, Version snapshot-0.25.3-2008060811 ... This is build 1309, created on 20080608T112701Z luatex --version This is LuaTeX, Version snapshot-0.25.3-2008052302 ... This is build 0, created on 20080410T143312Z Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 XeTeX: XeTeX 3.1415926-2.2-0.999.1 (Web2C 7.5.6) xetex --version XeTeX 3.1415926-2.2-0.998.5-dev (Web2C 7.5.6) 1. The interface for the \definefontsynonym command seems to have changed: There is no third parameter -- this one [features=default] end up in the document as text. Makes no sense because you need the third parameter to define smallcaps if you don't have a seperate font but select it as OpenType feature. Kerning, ligatures etc. are enabled with the features parameter too. No idea, what was wrong ... The third parameter was included as normal text in the resulting pdf. 2. To load the typescript, the command is not \usetypefile [delicious] but \usetypescriptfile [type-delicious] Why did it not work for you, do you get a error message or is the file not loaded, give us more information, ConTeXt version, LuaTeX version, log files ... I've got an error that the command doesn't matches it's definition. This works today without problems, too ... I'm on linux and have installed the context minimal with the help of first-setup.sh on 2008-06-07. So, thank you for your help! The next time I get any curious result, I will save the logfiles ;-) Uwe ___ 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] How could a typesetting system be today?
Sorry to insist, but I would be really interested in approaches that are not just great things we could add to TeX. For instance: would it be possible to have some kind of “layout engine” to which text processing would be just one among other plug-ins? I wonder what kind of information that engine should share with plug-ins. Do you think such system is possible? Or something else? Maurício Maurício a écrit : Hi, Just because I'm curious: how could a typesetting system like TeX be if it was created today? I've tried google and wikipedia, and all I found different from TeX is a system called 'Lout', but it seems dead. (...) ___ 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] How could a typesetting system be today?
Hi Maurício, On Wed, 11 Jun 2008 18:12:21 -0600, Maurício [EMAIL PROTECTED] wrote: Sorry to insist, but I would be really interested in approaches that are not just great things we could add to TeX. For instance: would it be possible to have some kind of “layout engine” to which text processing would be just one among other plug-ins? I wonder what kind of information that engine should share with plug-ins. Do you think such system is possible? Or something else? I would love to hear more of your thoughts on this. Don't hold back! Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 ___ 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] distro info
On Tue, 10 Jun 2008 19:37:11 +0200, Hans Hagen wrote: David wrote: On Tue, 10 Jun 2008 17:34:15 +0200, Hans Hagen wrote: Andrea Valle wrote: Hmm, with Luatex I can use system fonts like in XeTeX. Am I right? yes, if you set up OSFONTDIR I would like to set up OSFONTDIR, but I don't know how or where or when to do so. I've tried setting it in my bash profile, and that seems to have no effect. What is the correct procedure? (I'm on a Mac, if it matters.) we can consider setting it up automatically but that can only be done when it's a stable location Well, that would be excellent from my point of view, of course. But my question is much more simple: I only want to know, where and when do I type OSFONTDIR=...? I've read many times that in order to use it I need to set it up, but I actually don't know what set it up means in this situation. Thanks David ___ 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] How could a typesetting system be today?
Do you mean like Scrivener on the Mac? What, in any case, constitutes a universal layout approach? Does one exist? For example, I can do things with plain TeX that mighty InDesign must balk at. Yet some see TeX as yesteryear's solution because of subsequent tech advances. I hardly believe that DEK would be dogmatic about TeX being the only thing out there. Yet he, and thousands of others in the scientific communities where TeX flourishes, sees the value of maintaining a knowledge base that is predictable when it runs on a program that can pass the trip test. Lose that for the sake of innovation, and you can lose real knowledge. And what shall we say for troff, which still possesses an arcane sort of longevity? Imagine this: if you can use TeX running on some older PC and you have some remotely managed BSD setup with packet radio and EME bouncing or whatever, you can be creating documents for all the world to see even if you are out in the bush with a generator and mosquito netting. So TeX's stability has the interesting potential side effect of giving a voice to the voiceless. Our cast-off hardware becomes a window for freedom of speech and expression, as well as the free-beer philanthropy element of getting it into people's hands. If there is to be a universality to layout, part of that should also extend not just across current technologies but also have plugins that can support older technologies. That way we do not generate technological segregation. There are places where people still go outside to relieve themselves, and there are the Japanese washlets at the other extreme. But the human component remains, nonetheless. At minimum, what one needs is a cross-disciplinary approach. My work usually involves issues of finance and development, scheduling, good old editing, elements of design, and knowledge of the subject matter. All these factors directly or indirectly affect layout. Here's where I see the Mac as helpful. On the one hand, you have Aqua, while there's also X and good old terminal. Some folks think abstractly and can whack out macros like Paul Bunyan chops wood. Some think visually and need visual or modular dev tools. Some people are good at modeling situations that are dynamic and interactive, while others have the knack for getting to tried and true base issues that remain when all the noise and lights are gone. If you read Ian Barbour or Jacques Ellul, you see that identity and techne are linked and that the sciences do things differently than the humanities at a deeper level than just style manuals and the inverse relation of obfuscated jargon to psycho-sociological rhetoric. I just don't see a unified typesetting engine in the works until something can easily embrace different national traditions for typesetting, type styles, design preferences, etc. In Germany, man nehmet Dr. Oetker, while in America it's doctor schmocktor, I just wanna feel good amidst an orgiastic consumer society. Think that doesn't get reflected in design choices? 'Cause it does. DEK may be a formidable computer scientist. Yet, as one of his cousins that is a friend of mine and another friend that was two years behind him in high school said, Knuth always loved things like words and music. His literary acumen reflects his tutelage in a school strongly influenced by the classical Gymnasium. He is a man of culture and taste, and he brought all his respect and research regarding longstanding, tried and true typographical traditions to his writing of TeX. Could there be new stuff? Sure. But an exploration of type, typography, layout, and design also points us to some of our basic thoughts on preferences, identity, habituation, etc. Charles On Wed, 2008-06-11 at 21:12 -0300, Maurício wrote: Sorry to insist, but I would be really interested in approaches that are not just great things we could add to TeX. For instance: would it be possible to have some kind of “layout engine” to which text processing would be just one among other plug-ins? I wonder what kind of information that engine should share with plug-ins. Do you think such system is possible? Or something else? Maurício Maurício a écrit : Hi, Just because I'm curious: how could a typesetting system like TeX be if it was created today? I've tried google and wikipedia, and all I found different from TeX is a system called 'Lout', but it seems dead. (...) ___ 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 ___