Re: [NTG-context] mplib
Hallo Taco et al \startlua local function finder(name, mode, ftype) if mode==w then return name else return kpse.find_file(name,ftype) end end Jein! Try this, a little more elaborate, version of finder: local function finder(name, mode, ftype) local found if mode==w then found = name else found = kpse.find_file(name,ftype) end print(MPlib finder: .. name .. - .. found) return found end maybe that will give a clue. Example 1: my test file with your finder. -- MPlib finder: mpost.mp - d:/context/tex/texmf/metapost/base/mpost.mp MPlib finder: mpost.map - MPlib finder: plain.mp - d:/context/tex/texmf/metapost/base/plain.mp t={ [log]=This is MetaPost, Version 1.003 (INIMP) 23 APR 2008 07:51 (mpost.mp(plain.mp\ Preloading the plain mem file, version 0.99), [status]=0, [term]=This is MetaPost, Version 1.003 (Cweb version 0.40) (INIMP)\ (mpost.mp(plain.mp\ Preloading the plain mem file, version 0.99), } MPlib finder: mpost.mem - t={ [log]= )\ Beginning to dump on file mpost.mem\ (mem=mpost 8.4.23)\ at most 736 strings of total length 3629\ 3326 memory locations dumped; current usage is 10212227\ 501 symbolic tokens\ , [status]=0, [term]= )\ Beginning to dump on file mpost.mem\ (mem=mpost 8.4.23)\ at most 736 strings of total length 3629\ 3326 memory locations dumped; current usage is 10212227\ 501 symbolic tokens\ Transcript written on mpost.log.\ , } -- found = no mpost.mem, no mpost.log Example 2: my test file with your finder and (wb not w) -- MPlib finder: mpost.mp - d:/context/tex/texmf/metapost/base/mpost.mp MPlib finder: mpost.map - MPlib finder: plain.mp - d:/context/tex/texmf/metapost/base/plain.mp t={ [log]=This is MetaPost, Version 1.003 (INIMP) 23 APR 2008 07:58 (mpost.mp(plain.mp\ Preloading the plain mem file, version 0.99), [status]=0, [term]=This is MetaPost, Version 1.003 (Cweb version 0.40) (INIMP)\ (mpost.mp(plain.mp\ Preloading the plain mem file, version 0.99), } MPlib finder: mpost.mem - mpost.mem t={ [log]= )\ Beginning to dump on file mpost.mem\ (mem=mpost 8.4.23)\ at most 736 strings of total length 3629\ 3326 memory locations dumped; current usage is 10212227\ 501 symbolic tokens\ , [status]=0, [term]= )\ Beginning to dump on file mpost.mem\ (mem=mpost 8.4.23)\ at most 736 strings of total length 3629\ 3326 memory locations dumped; current usage is 10212227\ 501 symbolic tokens\ Transcript written on mpost.log.\ , } -- mpost.mem gets written now but no mpost.log grusz 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] Bug in mkiv
On Mon, 21 Apr 2008, Hans Hagen wrote: Aditya Mahajan wrote: On Mon, 21 Apr 2008, Aditya Mahajan wrote: Hi Hans and Taco, Mkiv does not like \{ .. \} in the text input, it thinks that they should be in math mode. For example, Another one (perhaps bugs come in pairs) ∞(\infty in utf, incase it does not come out right in email) does not typeset. I think this used to work in earlier releases. \starttext I am infinity $∞$ \stoptext The file compiles fine, but there is no ∞ symbol in the output. we need to complete the tables in math-ini as well as char-def ... i occasionally add symbols but it's a tedious job so, if you miss one, just send me a magic lines I think that I finally understand what math-ini.lua does. I will add entries from math-tex.tex, so that atleast traditional tex symbols work. (It will be slightly slow, in a week or so). Aditya___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question about definecorps
On Tue, Apr 22, 2008 at 8:21 PM, Jeremy Johnson [EMAIL PROTECTED] wrote: How can I produce a large font? The method in context-getting-started.pdf no longer works: \definecorps[12pt][rm][tfe=cmr12 at 48pt] {\tfe Hasselt} ! Undefined control sequence. l.104 \definecorps [12pt][rm][tfe=cmr12 at 48pt] Your beginners manual is very old and you should better take the one from the pragma side where you can get the right name for command which is \definebodyfont but what you're looking for is \setupbodyfontenvironment. \definefontsize[e] \setupbodyfontenvironment [default] [e=4.0] \starttext {\tfe Hasselt!} \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 ___
Re: [NTG-context] mplib
Hi, Wolfgang Werners-Lucchini wrote: Example 1: my test file with your finder. -- MPlib finder: mpost.mem - So it was running the kpse.find_file instead of returning a local name, and it is not found. There is a silent error here that I should make explicit, but the real problem (as Akira noted) is that it was in the else branch at all. Example 2: my test file with your finder and (wb not w) -- MPlib finder: mpost.mem - mpost.mem That is correct, here it will write to the local file mpost.mem mpost.mem gets written now but no mpost.log I can remove that line, it is misleading. The content of the log file is in result.log 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] Minimals - how to use?
A bit ot... running first-setup.sh under FreeBSD I get /usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03 MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport state: loaded report update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil) what's wrong here? Cheers, -- Diego Depaoli ___ 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] letter
On Wed, Apr 23, 2008 at 9:26 AM, Wolfgang Werners-Lucchini [EMAIL PROTECTED] wrote: Hallo, I made some tests and want to report: 1.) 'letter-17.tex' with pdftex (ConTeXt ver: 2007.07.29 22:06 MKII fmt: 2008.4.10 int: english/english) ! Undefined control sequence. \letterstopoptimizeyes ...er!value!skip \minustwo \else \ifdim \pagetotal \next2 #1,-\dosetups {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... \@@su:letter:place ...r] \setups [letter:sequence] \setups [letter:finish] \next1 #1,-\dosetups {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.38 \stopletter 2.) 'letter-17.tex' with luatex (ConTeXt ver: 2008.04.11 00:07 MKIV fmt: 2008.4.11 int: english/english) system : module t-letter not found ! Undefined control sequence. l.5 \setupletterstyle but kpsewhich t-letter d:/context/tex/texmf-project/tex/context/third/letter/base/t- letter.tex 3.) 'letter-17.tex' with pdftex (ConTeXt ver: 2008.04.11 00:07 MKII fmt: 2008.4.11 int: english/english) same error as 1.) Has there something changed in the file finding mechanism since 04.11.? Maybe the strange behaviour of mplib is related to this. Hi Wolfgang, could you try to use \usemodule[t][letter] instead of \usemodule[letter]. You could also try to take a look into your log file and look for letter.tex, it could be possible this is loaded instead of my module and this will explain why you get the error message. 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] urw-garamond with MKIV
Hi Taco, Hi all, with the brandnew luatex (build 1186) there is no glyph to be seen in the pdf but i can copy and paste the invisible text into my texteditor. the log: snip (C:/tex/texmf-context/tex/context/base/spec-fdf.tex (C:/tex/texmf-context/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded ) specials : fdf loaded ) report afm glyph: assigning private slot 0xF for unknown glyph name twosuperior report afm glyph: assigning private slot 0xF0001 for unknown glyph name threesuperior report afm glyph: assigning private slot 0xF0002 for unknown glyph name fl report afm glyph: assigning private slot 0xF0003 for unknown glyph name nbspace report afm glyph: assigning private slot 0xF0004 for unknown glyph name fi report afm glyph: assigning private slot 0xF0005 for unknown glyph name ffl report afm glyph: assigning private slot 0xF0006 for unknown glyph name sfthyphen report afm glyph: assigning private slot 0xF0007 for unknown glyph name onesuperior report afm glyph: assigning private slot 0xF0008 for unknown glyph name ff report afm glyph: assigning private slot 0xF0009 for unknown glyph name ffi report afm glyph: assigning private slot 0xF000A for unknown glyph name dotlessj report load afm: file size: 0 report load afm: saving: in cache (./afmtest.tuo) (./afmtest.tuo) systems: begin file afmtest at line 3 (C:/tex/texmf-context/tex/context/sample/tufte.tex) fonts : resetting map file list {C:/tex/texmf-context/fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {C:/tex/texmf-context/fonts/map/pdftex/context/original-base.map} fonts : using map file: lm-math {C:/tex/texmf/fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {C:/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts : using map file: original-ams-base {C:/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {C:/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {C:/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map} [1.1] systems: end file afmtest at line 13 )C:/tex/texmf-local/fonts/data/bh/LucidaBright/lbr.pfbC:/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf mkiv lua stats : used config path - C:/tex/texmf-local/web2c/texmf.cnf;C:/tex/texmf-context/web2c/texmf.cnf;C:/tex/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - C:/tex/texmf-cache/luatex-cache/context/71ddae2d1527093aac63e0e1aa139641 mkiv lua stats : modules/dumps/instances - 84/20/1 mkiv lua stats : input load time - 0.031 seconds mkiv lua stats : fonts load time - 1.172 seconds mkiv lua stats : xml load time - 0.000 seconds, backreferences: 0, outer filtering time: 0.000 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.031 seconds, n=2 mkiv lua stats : graphics processing time - 0.000 seconds, n=0 (including tex) mkiv lua stats : metapost processing time - 0.000 seconds, loading: 0.000 seconds, execution: 0.000 seconds, n: 0 mkiv lua stats : current memory usage - 50611369 bytes mkiv lua stats : cleaned up reserved nodes - 16 nodes, 8 lists of 100 mkiv lua stats : node memory usage - 20 glue_spec, 2 dir mkiv lua stats : loaded patterns - en:en:pat:exc:2 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 lbr*default:afm lmex10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm10:tfm msbm7:tfm rm-lmr12:tfm rm-lmr7:tfm rm-lmr9:tfm mkiv lua stats : runtime - 2.094 seconds, 1 processed pages, 1 shipped pages, 0.478 pages/second snip Greetings Lutz 2008/4/22, Taco Hoekwater [EMAIL PROTECTED]: Taco Hoekwater wrote: Wolfgang Schuster wrote: Hi, The uppercase and lowercase chars and numbers except of the last one of them in text are correct but umlauts and other chars are wrong. I put the pdf files from my TeX run online (LuaTeX 0.25.3), sorry no log files. I was able to reproduce the bug (so halfway there). More later. I've created a temporary fix and written
Re: [NTG-context] Minimals - how to use?
On Wed, Apr 23, 2008 at 9:18 AM, Diego Depaoli wrote: A bit ot... running first-setup.sh under FreeBSD I get /usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03 MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport state: loaded report update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil) what's wrong here? I'm clueless. And I'm afraid that there are not many FreeBSD users on the list, at least none of the developers. Maybe Yue (who provided the binaries for FreeBSD) can help. 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] mplib
Hi Taco, I can remove that line, it is misleading. The content of the log file is in result.log What do you mean with result? There is only ONE log file and that is tst10.log (the log file of the tst10.tex which runs the above code). 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] acroread and reload a PDF
On Wed, 23 Apr 2008 08:43:04 +0200 Thomas A. Schmitz [EMAIL PROTECTED] wrote: Compile this and then have a look at the pdf file in acroread and in evince. Evince is not perfect and it will probably always be behind acroread. I know continuous gradients are not shown perfectly, but it's something that many people can live with. I suppose, evince is very good choice for development. ZS ___ 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] Minimals - how to use?
Hi, Maybe this is because the old FreeBSD binaries I have made. Sorry. I should have updated these binary earlier in time, just after the 0.25.3-release. Trust me, this Friday, you will get the new working binaries for luatex/pdftex/xetex/mpost. (give me some time to figure out how to remove my windows installation, god blessed) For now, you can use the Linux binary in FreeBSD, be sure the linux compatibility is enabled (kldload linux), and modify the first-setup.sh and make it think you are in Linux. Yue On Wed, Apr 23, 2008 at 3:18 PM, Diego Depaoli [EMAIL PROTECTED] wrote: A bit ot... running first-setup.sh under FreeBSD I get /usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03 MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport state: loaded report update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil) what's wrong here? Cheers, -- Diego Depaoli ___ 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] urw-garamond with MKIV
Lutz Haseloff wrote: Hi Taco, Hi all, with the brandnew luatex (build 1186) there is no glyph to be seen in the pdf but i can copy and paste the invisible text into my texteditor. Should be fixed in #1187. 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] acroread and reload a PDF
On Wed, Apr 23, 2008 at 3:43 AM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Apr 22, 2008, at 11:57 PM, zs wrote: I recommend you to use evince viewer. I suppose, its output is even nicer than acroread's one. C-R reloads are supported. ZS While I like and use evince on linux, I must also say that it's still not a very good viewer. Just to give you an example: When talking about evince, it is important to check which rendering libraries are used. I have documents that render correctly on my debian box with at least one of the available evince packages (linked to poppler 0.6.4), but not on Red Hat Fedora 8 (linked to poppler-0.6.2), where some fonts are shown with ?. While writing documents, I tend to use either apparition, which is fast (as long as it is running on the local machine -- it can be very slow over a network), or Emacs DocView just makes a png image of each page -- often enough to make sure some TeX fragment is working properly. -- George N. White III [EMAIL PROTECTED] Head of St. Margarets Bay, Nova Scotia ___ 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] mplib
Wolfgang Werners-Lucchini wrote: Hi Taco, I can remove that line, it is misleading. The content of the log file is in result.log What do you mean with result? The res.log entry in the lua result table. I had forgotten the variable name. 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] Minimals - how to use?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David skrev: On Tue, 22 Apr 2008 18:53:10 -0400 (EDT), Aditya Mahajan wrote: For my purposes (my requirements are not large, I'm not in a hurry, and I don't want to waste time learning multiple ways of doing things), I have decided to do everything strictly in mkiv - no mkii and no latex. I want to learn the future habits and methods now, and drop the old ones right away. For me, is the command texexec --lua myfile.tex the best way to work, or is there something else I should switch to? (e.g. mtxrun or something) context filename context is a stub present in texmf-context/scripts/context/stub/unix and says #!/bin/sh mtxrun --script context $@ Hi! There is no existing context script file on my minimal installation. Here is my output [EMAIL PROTECTED]:~/ctx-test/tex/texmf-context/scripts/context/stubs/unix$ ls -l totalt 72 - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 ctxtools - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 exatools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 makempy - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 mpstools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 mptopdf - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 pdftools - -rw-r--r-- 1 janne janne 42 2008-04-16 17:36 pdftrimwhite - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 pstopdf - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 rlxtools - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 runtools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texexec - -rw-r--r-- 1 janne janne 34 2008-04-16 17:36 texfind - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texfont - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texshow - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 textools - -rw-r--r-- 1 janne janne 37 2008-04-16 17:36 texutil - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 tmftools - -rw-r--r-- 1 janne janne 38 2008-04-16 17:36 xmltools So now I got very confused! Janneman -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFID0EG/zRis+sQPvARAsEaAJ4gihZPDsEzRh5MH7+QcoQIfol8YACg69dK 9pw/1gniSt/Cq5V6Zqw/shs= =C+wM -END PGP SIGNATURE- ___ 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] Date with three-letter month
Hello All, I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable for use in a margin, but avoids the confusion of American (04-23-08) vs English (23-04-08) ordering when using numbers. Can anyone help? Thanks. Richard. ___ 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] Minimals - how to use?
On Wed, Apr 23, 2008 at 12:51 PM, Mojca Miklavec [EMAIL PROTECTED] wrote: On Wed, Apr 23, 2008 at 9:18 AM, Diego Depaoli wrote: A bit ot... running first-setup.sh under FreeBSD I get /usr/local/bin/rsync /usr/local/bin/ruby receiving file list ... done sent 98 bytes received 149 bytes 164.67 bytes/sec total size is 4219262 speedup is 17082.03 MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT MtxRun | skipping configuration for /texmf-local/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/d80510d450a3fa2a64df4d3741825f1d MtxRun | skipping configuration for /texmf/web2c from /home/diego/luatex-cache/context/fcf214085bb2c4fcd9a0f9a9f0d0aecf/trees/3113242409ded67a0ad7bd508bd26609 MtxRun | using script: ./bin/mtx-update.luareport state: loaded report update: start ./bin/mtx-update.lua:181: bad argument #1 to 'pairs' (table expected, got nil) what's wrong here? I'm clueless. And I'm afraid that there are not many FreeBSD users on the list, at least none of the developers. Maybe Yue (who provided the binaries for FreeBSD) can help. One more thing - the binaries for FreeBSD might not be at the latest version. This could be a problem, but I suspect that something else is wrong as well. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Minimals - how to use?
There is no existing context script file on my minimal installation. It's a Lua script, which means it's in scripts/context/lua (look for mtx-context.lua). Arthur ___ 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] Minimals - how to use?
Arthur Reutenauer wrote: There is no existing context script file on my minimal installation. It's a Lua script, which means it's in scripts/context/lua (look for mtx-context.lua). There is a stub now as well, but see the date: Apr 18 22:09 /opt/tex/texmf-local/scripts/context/stubs/unix/context Contents is a trivial two-liner: #!/bin/sh mtxrun --script context $@ 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] Date with three-letter month
[EMAIL PROTECTED] wrote: Hello All, I have consulted the manuals and even the source (core-con.tex) but I cannot find a way of getting a three-letter month using the \date command. For example, I would like to display today's date as 23-Apr-08. This gives a short display suitable for use in a margin, but avoids the confusion of American (04-23-08) vs English (23-04-08) ordering when using numbers. Can anyone help? These are available (sort of) \currentdate[day,--,{\monthshort\normalmonth},--,year] % lowercase or \currentdate[day,--,{\MONTHSHORT\normalmonth},--,year] % uppercase 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] letter
On Wed, Apr 23, 2008 at 9:26 AM, Wolfgang Werners-Lucchini [EMAIL PROTECTED] wrote: Hallo, I made some tests and want to report: 1.) 'letter-17.tex' with pdftex (ConTeXt ver: 2007.07.29 22:06 MKII fmt: 2008.4.10 int: english/english) ! Undefined control sequence. \letterstopoptimizeyes ...er!value!skip \minustwo \else \ifdim \pagetotal \next2 #1,-\dosetups {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... \@@su:letter:place ...r] \setups [letter:sequence] \setups [letter:finish] \next1 #1,-\dosetups {#1} \doprocesscommaitem \doprocesscommalist ...item \gobbleoneargument #1, ]\relax \global \advance \... ... l.38 \stopletter I will correct this, I used \minustwo in the code and the command was just added in the last release what I used to test the file. You could add \newcount\minustwo \minustwo=-2 to the test for the moment. 2.) 'letter-17.tex' with luatex (ConTeXt ver: 2008.04.11 00:07 MKIV fmt: 2008.4.11 int: english/english) system : module t-letter not found ! Undefined control sequence. l.5 \setupletterstyle but kpsewhich t-letter d:/context/tex/texmf-project/tex/context/third/letter/base/t- letter.tex See my other mail, luatools --generate. 3.) 'letter-17.tex' with pdftex (ConTeXt ver: 2008.04.11 00:07 MKII fmt: 2008.4.11 int: english/english) same error as 1.) Too old ConTeXt :-) 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] Letter module: Public version available
On Tue, Apr 22 2008, Wolfgang Schuster wrote: @Peter: You could take a look at letter-17.tex, I wrote a first version for page optimation of the output, feel free to change optimize.nle or to add additional methods. Hello Wolfgang, Again, thanks a lot for you great module! Yes, one day I'll change it, to use also vertical skips around subject line, date, opening, closing and signature, because the parskip alone is in general not enough. And of course, I'll send my changes back to you. I hope, we'll find your module in the next version of the ConTeXt-distribution !? For Hans: when updating cont-ext.zip, you could also take the newest versions of the modules from modules.contextgarden.net (at least t-french). 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 ___
[NTG-context] question about mplib/mkiv
Hi, for my presentations, I have a graphical counter on every slide, so metapost has to write a graphic for every slide/page that ConTeXt produces. This works with mkii, but when I process my file in mkiv, I get this error after page 16: report error: 15 output files written: .. Transcript written on mpout.log. Memory size overflow! [15.15] report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error [16.16] report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error [17.17] Is there any way that I can influence the memory size? 15 doesn't seem like a whole lot... Best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question about mplib/mkiv
Thomas A. Schmitz wrote: Hi, for my presentations, I have a graphical counter on every slide, so metapost has to write a graphic for every slide/page that ConTeXt produces. This works with mkii, but when I process my file in mkiv, I get this error after page 16: report error: 15 output files written: .. Transcript written on mpout.log. Memory size overflow! [15.15] report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error [16.16] report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error report error: no-term no-error [17.17] Is there any way that I can influence the memory size? 15 doesn't seem like a whole lot... hm, maybe something messy with the graphic ... i allocate 2MB of memory for metafun so ... anyhow, \appendtoks\ctxlua{metapost.reset(metafun)}\to\everyshipout or so, may help, although it's better to see what's the real reason does texexec --pdftex --automp yourfile.tex run ok? - 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] question about mplib/mkiv
On Apr 24, 2008, at 1:44 AM, Hans Hagen wrote: hm, maybe something messy with the graphic ... i allocate 2MB of memory for metafun so ... anyhow, \appendtoks\ctxlua{metapost.reset(metafun)}\to\everyshipout or so, may help, although it's better to see what's the real reason does texexec --pdftex --automp yourfile.tex run ok? Yes, that runs OK. If I insert the \appendtoks... command into the preamble, I get errors while processing, so there appears to be something wrong with my graphic. I'll see whether I can nail it down this afternoon. Thanks, and best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___