Re: [NTG-context] new context still hangs on this
zs wrote: Hi all. Context/luatex hangs on my linux box during compilation of this: \starttext \starttable[|c|c|] \NC \NC \NC\AR \DC\DL\DR \NC \NC \NC\AR \stoptable \stoptext Versions: This is LuaTeX, Version snapshot-0.20.1-2007120800 (Web2C 7.5.6) ConTeXt ver: 2007.12.14 08:57 MKIV fmt: 2007.12.14 int: english/english This is MetaPost, Version 1.002 (Web2C 7.5.5) (INIMP) Should I recompile I recompile LuaTeX and MetaPost after ConTeXt upgrade? only luatex, and only now, because of a bug fix in alignments (spans) (there will probably be a forma beta release of luatex today) - 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] MkIV on Ubuntu
Aditya Mahajan wrote: On Fri, 14 Dec 2007, Hans Hagen wrote: Aditya Mahajan wrote: It looks like mtxrun is scanning the correct directories, but cannot find the font files. On the other hand, mtxrun --script font --reload will create the font name database that mkiv will use Nothing seems to happen with reload. mtxrun --script font MtxRun | version 1.0.2 - 2007+ - PRAGMA ADE / CONTEXT | font tools MtxRun | --reload generate new font database MtxRun | --listlist installed fonts MtxRun | --savesave open type font in raw table MtxRun | MtxRun | --pattern=str filter files MtxRun | --all provide alternatives MtxRun | mtxrun --script font --reload report fontnames: identifying tree font files with suffix otf report fontnames: 190 tree files identified, 626 hash entries added, runtime 4.829237061 seconds report fontnames: identifying tree font files with suffix ttf report fontnames: 122 tree files identified, 477 hash entries added, runtime 4.181217987 seconds report fontnames: identifying tree font files with suffix ttc report fontnames: 0 tree files identified, 0 hash entries added, runtime 0.3059427795 seconds report fontnames: identifying tree font files with suffix afm report fontnames: 2360 tree files identified, 4161 hash entries added, runtime 35.863000154495 seconds report fontnames: identifying system font files with suffix otf report fontnames: 0 system files identified, 0 hash entries added, runtime 0.08914169312 seconds report fontnames: identifying system font files with suffix ttf report fontnames: 211 system files identified, 662 hash entries added, runtime 2.0610001087189 seconds report fontnames: identifying system font files with suffix ttc report fontnames: 10 system files identified, 98 hash entries added, runtime 0.18900012969971 seconds report fontnames: identifying system font files with suffix afm report fontnames: 0 system files identified, 0 hash entries added, runtime 0.06878201294 seconds - 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] hangs again :-)
zs wrote: node memory in use: -3138 words out of 10 this looks like a bug in luatex itself ... 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] TeX Live 2008: LuaTeX?
Tobias Burnus wrote: Hi all, does anyone know whether LuaTeX will be part of TeX Live 2008? If I browse the SVN correctly, it currently contains a 1 year old ConTeXt, checked in by Taco, and no LuaTeX. it will be there (that is, a beta version) 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] Flowed text around figures in columns
Zeus Gómez Marmolejo wrote: I can't manage to tell context to flow the text around the picture in the second column. Is it possible? no - 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] filepath on format generation
Hans van der Meer wrote: Can someone enlighten me where the base of respectively ./pdftex and /web2c is supposed to be? I thought I did set my environment variables just as I did previously, when it worked. Why suddenly these apparently incomplete paths? I MUST have some pathvariable WRONG, but which one is it? fmtutil uses TEXMFVAR, but I have no idea what its value should be. Perhaps someone else can give you that information. 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] HTML to Context with Regular Expressoin
On Dec 17, 2007 10:58 AM, Jan Kraljič wrote: Hello, I'm trying to create WYSWYG editor for Context. I started with FCKeditor which is great HTML WYSWYG. My idea was to use html code generated by FCKeditor than to use regular expression so ContexT. Thats giving me headache. In contextgarden I found some solution for changing HTM to ConTeXt but i didn't find any that would use regular expression. Now i wonder if there is any list of expressions for replacing HTML with ConTeXt or should I start somewhere on contextgarden and hope for help to complete. I believe that such replacement table can help few to thinking about using ConTeXt. Hello Jan, Here are some portions of code for LuaTeX. (Untested, only copy-posted from one of my documents, so I probably forgot to include some portions.) But just to get you started with the idea. You don't need any regular expressions. You can anly compile it with texexec --lua filename.tex. Mojca \startxmlsetups all:html \xmlsetsetup{main}{head|h1|h2|p|span|sub|table|b|tt|ul|li|div|img}{*} %\xmlsetfunction{main}{pre}{lxml.displayverbatim} %\xmlsetfunction{main}{verb}{lxml.inlineverbatim} \stopxmlsetups % register this so that it's done for each load \xmlregistersetup{all:html} \startxmlsetups h1 \subject{\ignorespaces\xmlflush{#1}} \stopxmlsetups \startxmlsetups p \xmlflush{#1}\par \stopxmlsetups \startxmlsetups tt \bgroup\tt\xmlflush{#1}\egroup \stopxmlsetups % should be only defined for class=simplemath \startxmlsetups span \doifelse{\xmlatt{#1}{class}}{math} {\mathematics{\xmlflush{#1}}} % otherwise simply ignore {\xmlflush{#1}} \stopxmlsetups \startxmlsetups sub \mathematics{\suber{\xmlflush{#1}}} \stopxmlsetups % bold - OK, unless when nested with i \startxmlsetups b {\bf\xmlflush{#1}} \stopxmlsetups \startxmlsetups ul \startitemize \xmlflush{#1} \stopitemize \stopxmlsetups \startxmlsetups li \startitem \xmlflush{#1} \stopitem \stopxmlsetups \starttext \xmlprocess{main}{x.xml}{} \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] TeX Live 2008: LuaTeX?
Tobias Burnus wrote: Hi all, does anyone know whether LuaTeX will be part of TeX Live 2008? If I browse the SVN correctly, it currently contains a 1 year old ConTeXt, checked in by Taco, and no LuaTeX. Context on texlive is updated once a year. It is a somewhat elaborate process because texlive wants some stuff removed from the distribution and quite some other stuff has to be relocated. I prefer not to do that except when it is absolutely necessary. The next texlive will normally have the latest stable context from the week before the code freeze. There definately be a luatex executable included as well, but it will be more for the benefit of having texlua as a scripting engine, than for proper typesetting. 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] Customising Table of Contents
2007/12/17, Saji N. Hameed [EMAIL PROTECTED]: Dear All, Sorry this may be a trivial issue. The document I am preparing has two parts - a main one and appendices. In the table of contents (toc), I want to list chapter names and section names for the main part. However for the appendices, I want to list only the chapter names. I would appreciate any advice on how to achieve this. The toc should look like 1. Chapter 1 1.1 section 1 2. Chapter 2 2.1 section 2.2 section A. Appendix 1 B. Appendix 2 C. Appendix 3 Thanks in advance, saji -- Saji N. Hameed \startsectionblockenvironment[appendix] \setuplist[section][state=stop] \stopsectionblockenvironment \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \chapter{Test} \section{Test} \stopbodymatter \startappendices \chapter{Test} \section{Test} \stopappendices \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] chapter without number but in table of contents
2007/12/15, Patrick Gundlach [EMAIL PROTECTED]: Hello Wolfgang, I know that this must be an faq and I seem to have lost my context knowledge: I'd like to get an unnumbered chapter, but it should appear in the table of contents. This is what I've tried so far: -- \completecontent [alternative=c] \definehead[mychapter][chapter] \setuphead [mychapter][number=no] add incrementnumber=list to \setuphead This doesn't seem to work: -- \starttext \completecontent [alternative=c] \chapter{chapter1} \chapter{chapter2} \chapter{chapter3} \definehead[mychapter][chapter] \setuphead [mychapter][number=no,incrementnumber=list] \mychapter{chapter4} \stoptext -- I'd like to have an (unnumbered) entry for 'chapter4' in the table of contents. Did I misunderstand your suggestion perhaps? My version is: ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.10.10 int: english/english Patrick You should take a look into core sec and you will see you need also the coupling key, the following setup did work. \definehead[mychapter][chapter] \setuphead [mychapter][coupling=chapter,incrementnumber=list] \starttext \completecontent \chapter{Chapter 1} \mychapter{Chapter 2} \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] hangs again :-)
It certainly does. But I really need a test file, otherwise nothing can be done about it. zs has send me a test offlist , but i can only check it this evening . One question: how do you install fonts under mkiv ? I use texfont, as in mkii. -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] color expansion at runtime
Peter Rolf wrote: I have written such a macro, but sadly it crashes when used inside \color or \definecolor. Tried to debug it, but this is my first experience with the trace commands (probably not the best example to start with). Sigh, still so much to learn.. :) The problem is that it defines things, and you can't do that inside an argument. Solution: rewrite the macro to define a new macro (like \def\currentStateDependentColor{green}) instead of expanding on the fly. Then you have to do something like this: \StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...] \ color[\currentStateDependentColor] And that should work. 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 ___
[NTG-context] hyphenation again (mkii)
Hi, please have a look at the following minimal (4 text-lines): \hyphenation{Er-gän-zungs-lie-fe-rung} \showframe \starttext Text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this should brake after Ergän- Text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this does brake after Ergän- Text text text text text text text text text text text text text text text text 26.|\,|Ergänzungslieferung% this should NOT brake after 26. Text text text text text text text text text text text text text text text text 26.\,Ergänzungslieferung% this does NOT brake after 26. \stoptext I need a thinspace that prevents line-break between 26. and Ergänzungslieferung. On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)! Any idea? Thanks, Steffen ___ 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] hangs again :-)
luigi scarso wrote: It certainly does. But I really need a test file, otherwise nothing can be done about it. zs has send me a test offlist , but i can only check it this evening . One question: how do you install fonts under mkiv ? I use texfont, as in mkii. mkdir /texmf/fonts/data/vendor/collection and copy the files there then run luatools --generate mkiv reads otf files as well as afm files, so it's ok for type1 as well (mkiv treats them as wide fonts and remaps them to unicode, so texfont is not needed at all) there is no need to distribute font files over all those subpaths of /fonts and no map file is needed either - 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] mkiv update
Hi, there is a new luatex binary; you really need the latest mkiv (i just uploaded a current) with it; the memory footprint of huge fonts is lowered again, but don't expect more savings there (at least not on the short term) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [Dev-luatex] beta 0.20.2 released
Hi all, I have just uploaded the archives for luatex 0.20.2. This is a simple bugfix release for last week's beta: * some portability fixes to the build scripts * a fix for multi-\span in alignments causing unbreakable loops * manual improvements from Jonathan Sauer * fix for undefined csnames in \directlua if web2c's hash_extra is nonzero * fix for LR text inside of a RL document * fix for open_read_file callback not being called unless find_read_file was also registered * removed the ocp status message when \ocps are not actually used * unicodeenc in the fontforge to_table renamed to unicode for improved consistency I have uploaded source and linux/win32 binaries to http://foundry.supelec.fr/projects/luatex/ Have fun, 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] TeX Live 2008: LuaTeX?
Taco Hoekwater wrote: Context on texlive is updated once a year. It is a somewhat elaborate process because texlive wants some stuff removed from the distribution and quite some other stuff has to be relocated. I prefer not to do that except when it is absolutely necessary. As long as the update does not miss the deadline I am fine with having one update per year. Thanks! There definately be a luatex executable included as well, but it will be more for the benefit of having texlua as a scripting engine, than for proper typesetting. Why? Because TeXLive is setup such that ConTeXt still uses pdfetex and because luatex is beta -- or because some files are missing? Tobias ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] defining a command
Hello, I have this definition: \def\oneplot#1#2#3% {\placefigure [here][#3] {\bfc #2} {\hfil \scale[width=10.5cm]{#1} \hfil} } (It is modified from an example on the wiki that takes only the first two arguments). I use it like this: \oneplot % image % caption % reference {\externalfigure[Fluorita_green]} {Fluorite cleavage} {cleavage} but the reference is ignored and I get ?? in the compiled document. Could someone point out my error please? Cheers, Roger ___ 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] color expansion at runtime
Taco Hoekwater schrieb: Peter Rolf wrote: I have written such a macro, but sadly it crashes when used inside \color or \definecolor. Tried to debug it, but this is my first experience with the trace commands (probably not the best example to start with). Sigh, still so much to learn.. :) The problem is that it defines things, and you can't do that inside an argument. Solution: rewrite the macro to define a new macro (like \def\currentStateDependentColor{green}) instead of expanding on the fly. Then you have to do something like this: \StateDependentColor[stateA=green,stateC=blue,whatever=yellow,...] \ color[\currentStateDependentColor] And that should work. :)) THANK YOU TACO!!! Best wishes, Peter 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 ___ \setuppagenumber[state=stop] \setupcolors[state=start] \definecolor[colorA] [red] \definecolor[colorB] [green] \definecolor[colorC] [blue] \newconditional\CondA \newconditional\CondB \newconditional\CondC \unprotect \def\CurrentStateDependentColor{} \def\GetStateDependentColor#1% {\bgroup [EMAIL PROTECTED],B=,C=,#1]% \def\docommand##1% {\doifdefined{Cond##1} % conditional is known.. {\expandafter\ifconditional\csname Cond##1\endcsname % ..AND true.. \doifsomething{\csname [EMAIL PROTECTED] % ..AND a color is assigned \donetrue \else\donefalse\fi}% \ifdone\xdef\CurrentStateDependentColor{\csname [EMAIL PROTECTED] \expandafter\quitcommalist\fi}% \processcommacommand[A,B,C]\docommand % raw version does not work! why? \egroup} \protect \starttext %\settrue\CondA \settrue\CondB \settrue\CondC %\tracingonline=1 %\tracingall=1 %\tracingmacros=1 %\tracingcommands=2 \GetStateDependentColor{A=colorA,C=colorC} %\definecolor[testcolor][\TESTcolor] \switchtocolor[\CurrentStateDependentColor] %\tracingmacros=0 %\tracingall=0 THANK YOU TACO!!! \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] TeX Live 2008: LuaTeX?
Tobias Burnus wrote: Taco Hoekwater wrote: Context on texlive is updated once a year. It is a somewhat elaborate process because texlive wants some stuff removed from the distribution and quite some other stuff has to be relocated. I prefer not to do that except when it is absolutely necessary. As long as the update does not miss the deadline I am fine with having one update per year. Thanks! the tex live folks are always very considerate with our last minute fixes and such, don't worry There definately be a luatex executable included as well, but it will be more for the benefit of having texlua as a scripting engine, than for proper typesetting. Why? Because TeXLive is setup such that ConTeXt still uses pdfetex and because luatex is beta -- or because some files are missing? good question .. at some point we will change from pdftex to luatex as default, maybe eurotex 2009 is a good moment 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] mkiv update
2007/12/17, Hans Hagen [EMAIL PROTECTED]: Hi, there is a new luatex binary; you really need the latest mkiv (i just uploaded a current) with it; the memory footprint of huge fonts is lowered again, but don't expect more savings there (at least not on the short term) sounds like good new to me but I was also impresses by the last betas because everyone lowered the process time on my system and normal fonts had been never be a problem. 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] [Dev-luatex] beta 0.20.2 released
On Dec 17, 2007, at 3:43 PM, Taco Hoekwater wrote: Hi all, I have just uploaded the archives for luatex 0.20.2. This is a simple bugfix release for last week's beta: * some portability fixes to the build scripts * a fix for multi-\span in alignments causing unbreakable loops * manual improvements from Jonathan Sauer * fix for undefined csnames in \directlua if web2c's hash_extra is nonzero * fix for LR text inside of a RL document * fix for open_read_file callback not being called unless find_read_file was also registered * removed the ocp status message when \ocps are not actually used * unicodeenc in the fontforge to_table renamed to unicode for improved consistency I have uploaded source and linux/win32 binaries to http://foundry.supelec.fr/projects/luatex/ Have fun, Taco Any news on the Mac OS X 10.5 question? I still get the error gcc -DHAVE_CONFIG_H -I. -I../../../src/texk/web2c -I.. -I../../../src/ texk/web2c/.. -I../../libs/obsdcompat -I../../libs/obsdcompat/.. - I../../../src/texk/web2c/../../libs/obsdcompat -I../../../src/texk/ web2c/../../libs/obsdcompat/.. -Dextra_version_info=`date +-%Y%m%d%H` -g -O2 -c luatexextra.c -o luatexextra.o luatexextra.c: In function 'main': luatexextra.c:408: error: storage size of 'sigstk' isn't known make: *** [luatexextra.o] Error 1 when I try to build it, so I'll have to wait for Arthur to build luatex on his 10.4 system. 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] defining a command
2007/12/17, Roger Mason [EMAIL PROTECTED]: Hello, I have this definition: \def\oneplot#1#2#3% {\placefigure [here][#3] {\bfc #2} {\hfil \scale[width=10.5cm]{#1} \hfil} } (It is modified from an example on the wiki that takes only the first two arguments). I use it like this: \oneplot % image % caption % reference {\externalfigure[Fluorita_green]} {Fluorite cleavage} {cleavage} but the reference is ignored and I get ?? in the compiled document. Could someone point out my error please? Cheers, Roger \define[3]\oneplot {\placefigure[here][#3]{\bfc#2}{\scale[width=10.5cm]{#1}}} \starttext \oneplot{\blackrule[width=1cm,height=1cm]}{Blackrule}{plot:blackrule} See at \in{Plot}[plot:blackrule]. \stoptext Alternative solution with a real ConTeXt definition: \definefloat[plot][plots][figure] \setupfloat[plot][command={\scale[width=5cm]}] \starttext \placefigure{Blackrule}{\blackrule[width=1cm,height=1cm]} \placeplot{Blackrule}{{\blackrule[width=1cm,height=1cm]}} \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] [Dev-luatex] beta 0.20.2 released
Thomas A. Schmitz wrote: Any news on the Mac OS X 10.5 question? I still get the error No, no news. I don't know how to name the struct so I can't fix it. Unless you downgrade your OS X to 10.4, you will have to wait for Arthur (or pray for a Mac programmer that knows how to fix this) 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 ___
[NTG-context] MKIV and XML documentation
Dear all, What is currently the best source for documentation on mark iv's xml capabilities? Thanks, Joh ___ 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] Placing meaningful footnotes
Hi everybody, Right now I'm writing an article and in the title's block I wanna thank somebody and in the authors' block I wanna display the email addresses. And I want them done with footnotes with set 2 conversion. When I use === \definenote[thanks][conversion=set 2] \definenote[email] [conversion=set 2, textstyle=type] === The footnotes are shown with two areas, one for the \thanks and another for the \email, and they all started with * symbol, I mean there're two footnotes noted by star-symbol. I know I can just use \setupfootnotes[conversion=set 2] and do all my job by only using \footnote macro, but it's just of curiosity, can I use those meaningful macros to do continuously numbered footnotes and displayed only one area at the bottom of the page. -- Best Regards Chen Zhi-chu Chen | Shanghai Synchrotron Radiation Facility No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China tel: 086 21 5955 3405 | zhichu.chen.googlepages.com | www.sinap.ac.cn ___ 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] [Dev-luatex] beta 0.20.2 released
On Dec 17, 2007 4:59 PM, Thomas A. Schmitz wrote: On Dec 17, 2007, at 3:43 PM, Taco Hoekwater wrote: Hi all, I have just uploaded the archives for luatex 0.20.2. This is a simple bugfix release for last week's beta: * some portability fixes to the build scripts * a fix for multi-\span in alignments causing unbreakable loops * manual improvements from Jonathan Sauer * fix for undefined csnames in \directlua if web2c's hash_extra is nonzero * fix for LR text inside of a RL document * fix for open_read_file callback not being called unless find_read_file was also registered * removed the ocp status message when \ocps are not actually used * unicodeenc in the fontforge to_table renamed to unicode for improved consistency I have uploaded source and linux/win32 binaries to http://foundry.supelec.fr/projects/luatex/ Have fun, Taco Any news on the Mac OS X 10.5 question? I still get the error gcc -DHAVE_CONFIG_H -I. -I../../../src/texk/web2c -I.. -I../../../src/ texk/web2c/.. -I../../libs/obsdcompat -I../../libs/obsdcompat/.. - I../../../src/texk/web2c/../../libs/obsdcompat -I../../../src/texk/ web2c/../../libs/obsdcompat/.. -Dextra_version_info=`date +-%Y%m%d%H` -g -O2 -c luatexextra.c -o luatexextra.o luatexextra.c: In function 'main': luatexextra.c:408: error: storage size of 'sigstk' isn't known make: *** [luatexextra.o] Error 1 when I try to build it, so I'll have to wait for Arthur to build luatex on his 10.4 system. The binary is also on http://minimals.contextgarden.net/current/bin/luatex/osx-intel/bin/ now. 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] MkIV on Ubuntu
Hi, I reinstall Ubuntu, and unzipped cont-tmf.zip to $HOME/texmf, set TEXMFCNF to /usr/share/texmf/web2c (the ubuntu texmf.cnf directory), got the latest luatex binary from the minimal distribution, copied the latest helper scripts to the PATH, and tried again. well the reinstall of os was not for context ;) I have luatex -v This is LuaTeX, Version snapshot-0.20.2-2007121718 and LuaTools | version 1.1.1 - 2006+ - PRAGMA ADE / CONTEXT I tried luatools --generate and I get (comments with ***) LuaTools | loading /usr/share/texmf/web2c/texmf.cnf * This is ok LuaTools | preparing configuration in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/e027248d6557d124c703335e8a95ecd5.tma LuaTools | saving configuration in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/e027248d6557d124c703335e8a95ecd5.tma LuaTools | compiling configuration to ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/e027248d6557d124c703335e8a95ecd5.tmc * This all is ok LuaTools | locating list of /home/adityam/.texmf-config LuaTools | locating list of /home/adityam/.texmf-var LuaTools | locating list of /home/adityam/texmf LuaTools | locating list of /etc/texmf LuaTools | locating list of /var/lib/texmf LuaTools | locating list of /usr/local/share/texmf LuaTools | locating list of /usr/share/texmf * So far all texmf trees have been found LuaTools | locating list of /usr/share/texmf-{texlive LuaTools | locating list of tetex} * This is because there was -{texlive,tetex} line in texmf.cnf * seems to be a bug somewhere. LuaTools | scanning path /var/lib/texmf * Why were the earlier (that is user) texmf trees not scanned!! LuaTools | 80 files found on 20 directories with 0 uppercase remappings LuaTools | scanning path /usr/local/share/texmf LuaTools | 338 files found on 98 directories with 23 uppercase remappings LuaTools | scanning path /usr/share/texmf LuaTools | 6886 files found on 492 directories with 40 uppercase remappings LuaTools | preparing files in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/b8a1cf189bc82d8722e834ba72af3440.tma LuaTools | saving files in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/b8a1cf189bc82d8722e834ba72af3440.tma LuaTools | compiling files to ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/b8a1cf189bc82d8722e834ba72af3440.tmc LuaTools | preparing files in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/c99fbb6307ce58c4c8d3687f791de5f6.tma LuaTools | saving files in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/c99fbb6307ce58c4c8d3687f791de5f6.tma LuaTools | compiling files to ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/c99fbb6307ce58c4c8d3687f791de5f6.tmc LuaTools | preparing files in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/9ea5cec901854e6fa728c2ba01c0bb52.tma LuaTools | saving files in ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/9ea5cec901854e6fa728c2ba01c0bb52.tma LuaTools | compiling files to ///home/adityam/luatex-cache/context/a3981189059392d4f49181866527fd3d/trees/9ea5cec901854e6fa728c2ba01c0bb52.tmc LuaTools | LuaTools | runtime: 0.164 seconds Why did luatools decide not to scan my user texmf trees? Since the new files are located at /home/adityam/texmf and this tree is not scanned, format generation does not work. 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] [Dev-luatex] beta 0.20.2 released
On Dec 17, 2007, at 7:02 PM, Mojca Miklavec wrote: The binary is also on http://minimals.contextgarden.net/current/bin/luatex/osx-intel/bin/ now. Mojca Thanks for the hint, Mojca. Unfortunately, I need the ppc-binary... 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] MkIV on Ubuntu
On Mon, 17 Dec 2007, Aditya Mahajan wrote: Things in windows and linux are different! Why did luatools decide not to scan my user texmf trees? luatools only scans trees with a ls-R database. For some reason mktexlsr only generates ls-R in /usr/local/share/texmf and /var/lib/texmf/ I was running mktexlsr without root permissions (thinking that ls-R will be only regenerated in TEXMFHOME. I was wrong). Since the new files are located at /home/adityam/texmf and this tree is not scanned, format generation does not work. I changed {texilve,tetex} to just texlive in texmf.cnf, but even now the format generating is not ok. Now I get, LuaTools | creating initialization file cont-en LuaTools | using library path : /usr/share/texmf/tex/context/base LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua l-boolean.lua l-number.lua l-unicode.lua l-md5.lua l-os.lua l-io.lua l-file.lua l-dir.lua l-utils.lua l-tex.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua luat-tex.lua LuaTools | using compiled initialization file cont-en.luc LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/share/texmf/tex/context/base/cont-en.tex \\dump This is LuaTeX, Version snapshot-0.20.2-2007121718 (Web2C 7.5.6) (INITEX) (/usr/share/texmf/tex/context/base/cont-en.tex (/home/adityam/texmf/tex/context/base/context.tex (/home/adityam/texmf/tex/context/base/syst-pln.tex) (/home/adityam/texmf/tex/context/base/syst-prm.tex) (/home/adityam/texmf/tex/context/base/luat-env.tex ! LuaTeX error [string luas[0]]:1: attempt to index global 'input' (a nil val ue). argument ...mf.instance,luat-env.lua,tex)) } \startruntimeluacode ...everyloadluacode #1}\fi #1 This is not surprising since it is using /usr/share/texmf/tex/context/base/cont-en.tex and not /home/adityam/texmf/tex/context/base/cont-en.tex luatools cont-en.tex gives /usr/share/texmf/tex/context/base/cont-en.tex so something went wrong with luatools --generate. Since kpsewhich cont-en.tex gives the correct file while luatools cont-en.tex gives the incorrect file, is this a bug with the inbuild search engine in luatools, or is there something wrong in my configuration? 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] Hyphenation with apostrophes
On Mon, Dec 17, 2007 at 11:09:44AM +0100, Taco Hoekwater wrote: At the tex level you need either \lccode`\'=`\' or make the ' an active character running a macro that is a bit like ||, e.g. this: \catcode`\'=\active \unexpanded\def'{\string'\prewordbreak} Hello, Do you know, how this is done in LaTeX? I remember, that such things have never been a problem there. Greetings, 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] [Dev-luatex] beta 0.20.2 released
when I try to build it, so I'll have to wait for Arthur to build luatex on his 10.4 system. It's up :-) ___ 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] hangs again :-)
It certainly does. But I really need a test file, otherwise nothing can be done about it. After updating to last context and luatex, compilation is ok. I have send file to zs offlist, I'm not able to say if it's correct (it's czech) . -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [Dev-luatex] beta 0.20.2 released
On Dec 17, 2007, at 9:42 PM, Arthur Reutenauer wrote: when I try to build it, so I'll have to wait for Arthur to build luatex on his 10.4 system. It's up :-) And works perfectly - thanks a lot, Arthur! This one does seem faster than its predecessor! 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] MkIV on Ubuntu
Aditya Mahajan wrote: Why did luatools decide not to scan my user texmf trees? Since the new files are located at /home/adityam/texmf and this tree is not scanned, format generation does not work. maybe --verbose helps - 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] MkIV on Ubuntu
Aditya Mahajan wrote: On Mon, 17 Dec 2007, Aditya Mahajan wrote: Things in windows and linux are different! Why did luatools decide not to scan my user texmf trees? luatools only scans trees with a ls-R database. For some reason mktexlsr only generates ls-R in /usr/local/share/texmf and /var/lib/texmf/ hm, this should not be so, i need to check it - 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] no ctx file found
After starting afresh after an os update and much trouble in getting all those texmf.cnf parameters in order followed by context specialities, I finally managed to get the cont-en.fmt in /usr/local/ texlive/2007/texmf-config/web2c/pdftex/cont-en.fmt. But now (running in TeXShop) typesetting will not occur: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test.top TeXExec | using randomseed 1100 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.5 (Web2C 7.5.6) \write18 enabled. %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) (Fatal format file error; I'm stymied) TeXExec | runtime: 0.601367 In texmf.cnf I have TEXFORMATS = .;$TEXMF/web2c/{$engine,}// (worked in the past) What's wrong here? Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MKIV and XML documentation
Johannes Graumann wrote: Dear all, What is currently the best source for documentation on mark iv's xml capabilities? there is a chapter in mk.pdf; next year i'll write a manual (and i'll probably give a tutorial at the context conference) 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] no ctx file found
Hans van der Meer wrote: After starting afresh after an os update and much trouble in getting all those texmf.cnf parameters in order followed by context specialities, I finally managed to get the cont-en.fmt in /usr/local/ texlive/2007/texmf-config/web2c/pdftex/cont-en.fmt. But now (running in TeXShop) typesetting will not occur: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test.top TeXExec | using randomseed 1100 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.5 (Web2C 7.5.6) \write18 enabled. %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) (Fatal format file error; I'm stymied) TeXExec | runtime: 0.601367 In texmf.cnf I have TEXFORMATS = .;$TEXMF/web2c/{$engine,}// (worked in the past) What's wrong here? remove *all* cont-en.fmt files on your system, maybe there is a lookup match lower in the tree; keep in mind that when generating formats, the generator has to move the file someplace, while when using the format the variable kicks in, so there can be a mismatch - 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] hyphenation again (mkii)
Steffen Wolfrum wrote: On the other hand this thinspace shouldn't kill my hyphenation points (i.e. the word should stay breakable)! bla|~|bla should do that - 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] Last luatex + mkiv
Last luatex compile well, and I have made my first big pdf with it: http://wiki.contextgarden.net/User:Luigi.scarso/modules.pdf#Luatex (757 pages) . Also I have compiled a normal document from zs, and also it seems also ok (it hangs with a previous release). -- luigi http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007 it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no ctx file found
Thanks, Hans. Apparently that is the trick. After using find to locate all cont*.fmt's and removing them, luatools generated one in its cache directory that proved to be sufficient. Must indeed be a path variable problem (TeX now has so many of them, I never seem to get them sorted out; not to mention the interplay between those in .cnf files and those in my .bashrc that drives me mad). Hans van der Meer On 17 dec 2007, at 22:24, Hans Hagen wrote: Hans van der Meer wrote: After starting afresh after an os update and much trouble in getting all those texmf.cnf parameters in order followed by context specialities, I finally managed to get the cont-en.fmt in /usr/local/ texlive/2007/texmf-config/web2c/pdftex/cont-en.fmt. But now (running in TeXShop) typesetting will not occur: TeXExec | processing document 'test.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test.top TeXExec | using randomseed 1100 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeXk, Version 3.141592-1.40.5 (Web2C 7.5.6) \write18 enabled. %-line parsing enabled. (/usr/local/texlive/2007/texmf/web2c/natural.tcx) (Fatal format file error; I'm stymied) TeXExec | runtime: 0.601367 In texmf.cnf I have TEXFORMATS = .;$TEXMF/web2c/{$engine,}// (worked in the past) What's wrong here? remove *all* cont-en.fmt files on your system, maybe there is a lookup match lower in the tree; keep in mind that when generating formats, the generator has to move the file someplace, while when using the format the variable kicks in, so there can be a mismatch - 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] Last luatex + mkiv
On Mon, 17 Dec 2007, luigi scarso wrote: Last luatex compile well, and I have made my first big pdf with it: http://wiki.contextgarden.net/User:Luigi.scarso/modules.pdf#Luatex (757 pages) . Out of curiousity. What is the run-time of compiling luatex.pdf with mkii and mkiv? 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] MkIV on Ubuntu
On Mon, 17 Dec 2007, Aditya Mahajan wrote: LuaTools | locating list of /usr/share/texmf-{texlive LuaTools | locating list of tetex} Bug in line 2498 of luatools local t = instance.treepath:splitchr(',') Should be split taking the braces into account. 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] Last luatex + mkiv
Out of curiousity. What is the run-time of compiling luatex.pdf with mkii and mkiv? Hard to say. BTW $# time pdftex luatex /dev/null real0m9.619s user0m9.381s sys 0m0.112s $# time luatex --output-format=pdf luatex /dev/null real0m12.530s user0m12.409s sys 0m0.112s -- luigi http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007 it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MkIV on Ubuntu
On Mon, 17 Dec 2007, Aditya Mahajan wrote: On Mon, 17 Dec 2007, Hans Hagen wrote: Aditya Mahajan wrote: Why did luatools decide not to scan my user texmf trees? Since the new files are located at /home/adityam/texmf and this tree is not scanned, format generation does not work. maybe --verbose helps with luatools --generate, --verbose does not give any additional information. Ok. Finally had to read luatools.lua. MTX_INPUT_TRACE=10 luatools --generate gives a bit more info. This is what I think is happening. I do sudo mktexlsr and get mktexlsr: Updating /usr/local/share/texmf/ls-R... mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN... mktexlsr: Updating /var/lib/texmf/ls-R-TEXLIVE... mktexlsr: Updating /var/lib/texmf/ls-R... mktexlsr: Done. ls-R-TEXMFMAIN and ls-R-TEXLIVE and symlinked in other directories. But no ls-R was created for TEXMFHOME. Luatools looks in directors in TEXMF containing ls-R files. It does not find any in $HOME/texmf, so it does not include it in the hash for where to look for files. When it searches for cont-en.tex it finds one in /usr/share/texmf/ (the distribution directory). kpsewhich on the other hand (it appears) also searches files in the TEXMF tree. This is what kpsewhich tells me kdebug:Search path for ls-R files (from texmf.cnf) kdebug: = /var/lib/texmf:/usr/local/share/texmf:/usr/share/texmf:/usr/share/texmf-texlive kdebug:Search path for tex files (from texmf.cnf) kdebug: = .:/home/adityam/.texmf-config/tex/kpsewhich//:/home/adityam/.texmf-var/tex/kpsewhich//:/home/adityam/texmf/tex/kpsewhich//:/etc/texmf/tex/kpsewhich//:!!/var/lib/texmf/tex/kpsewhich//:!!/usr/local/share/texmf/tex/kpsewhich//:!!/usr/share/texmf/tex/kpsewhic h//:!!/usr/share/texmf-texlive/tex/kpsewhich//:/home/adityam/.texmf-config/tex/generic//:/home/adityam/.texmf-var/tex/generic//:/home/adityam/texmf/tex/generic//:/etc/texmf/tex/generic//:!!/var/lib/texmf/tex/generic//:!!/usr/local/share/texmf/tex/generic/ /:!!/usr/share/texmf/tex/generic//:!!/usr/share/texmf-texlive/tex/generic//:/home/adityam/.texmf-config/tex///:/home/adityam/.texmf-var/tex///:/home/adityam/texmf/tex///:/etc/texmf/tex///:!!/var/lib/texmf/tex///:!!/usr/local/share/texmf/tex///:!!/usr/shar e/texmf/tex///:!!/usr/share/texmf-texlive/tex/// So /home/adityam/texmf/tex/// tree is there, and it seems that kpsewhich finds the file by brute-force search of that tree (there is no ls-R file in TEXMFHOME). So, I read the man page of mktexlsr and try mktexlsr $HOME/texmf which creates a ls-R in $HOME/texmf Now, I recreate the formats, and finally things are working. That is, I am back to where I was before I reinstalled the OS. Mkiv is working, mtxrun --script font still does not work. I will look into that tomorrow. Bottom line, if you try to install mkiv on a non-distribution tree, run mktexlsr tree before generating formats. 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] hangs again :-)
I have just upgraded to This is LuaTeX, Version snapshot-0.20.2-2007121800 (Web2C 7.5.6) ConTeXt ver: 2007.12.17 14:54 MKIV fmt: 2007.12.18 int: english/english ... and everything seems to work beautifuly. If you wanted to check my source file, which made svn version from 12/15/2007 to hang, I can send it to you. Thanks for good work. Regards Zdenek On Mon, 17 Dec 2007 11:35:42 +0100 Taco Hoekwater [EMAIL PROTECTED] wrote: Hans Hagen wrote: zs wrote: node memory in use: -3138 words out of 10 this looks like a bug in luatex itself ... It certainly does. But I really need a test file, otherwise nothing can be done about it. 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 ___ ___ 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 ___