Re: [NTG-context] mplib
Wolfgang Werners-Lucchini wrote: Hallo, the following compiles ok, but gives me an status 3=fatal error. Can someone please point me to the error? \startlua mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10, } ) if mp then res = mp:execute( beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye; ) tex.print([ .. tostring(res.status) .. ]) mp:finish() end \stoplua no format, so beginfig, draw etc are unknown metapost.process(metafun,some commands) may work better - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)
Joel C. Salomon wrote: Slight tangent: Is there any support for using any of the OpenType math fonts (I know of Cambria Math, STIX, and Asana Math—this last on tug.org) in mkiv? cambria ... probably in the near future (as tex gyre will also have math and), since stix is type 1 and spread over many fonts, it will not be supported (that is: i will not make the typescripts for pdftex, but someoneelse may see it as a challenge) H - 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 and DVI output
luigi scarso wrote: On Fri, Apr 11, 2008 at 5:36 PM, Hans Hagen [EMAIL PROTECTED] wrote: luigi scarso wrote: at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? mars A very nice subject to discuss here at pdf/a conference with Leonard Rosenthal (why use a pdf format for archiving, and in the same moment push mars? mars can be XML-PDF-XML) But I did'nt want to do that. I have talkd last year in italy with Olaf Drümmer, he said the mars is still an experiment . From my point of view xml is better for long term archiving. xml is to bulky for an output format (apart from the slower parsing), so i wonder if it is that good as format for final products; of course xml may be handier to manipulate afterwards (which is something we somethines need to do with third party inclusions) but that can be crippled by encriptions, compression etc; in my opinion xml should be readable and this somewhat conflicts with compression and binary chunks (fonts) and encryption etc .. in that case one gets angle brackets instead of objects and the rest stays the same (a bit comparable with svg, which just packages huge amounts of path info in attributes (kind of rediculous to use attributes for that); xml is nice, but nor for everything we'll see 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 and DVI output
Olivier Guéry wrote: On Fri, Apr 11, 2008 at 4:34 PM, luigi scarso [EMAIL PROTECTED] wrote: at some point i will redo the backends, but i wonder if it really makes sense to support dvi any longer; i'd rather prepare for future formats xps ? Do you plan some support for the ebooks formats (epub, mobipocket) ? it depends, we have one here and it's slow and the screen is already degrading (although the quality is not that bad); it's a matter of paper sizes and margins, so that can already be done; hyperlinks are suppoorted too, but normally very slow on such devices; one problem is that they use part of the screen for buttons and such which kind of conflicts with stand alone documents that have their own interface; Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new version luatex / mkiv
Wolfgang Werners-Lucchini wrote: Hallo, is there or will there be a documented interface description for mplib. In the luatex reference manual (for now). http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/tags/beta-0.25. 2/manual/?root=luatex This manual is not viewable without deleting a html-frame. Or what I am doing wrong? i don't know, it's a pdf document, so no html frame is part of it The manual describes a lua interface. Isn't mplib a dll under windows? no, a cross platform library that will be embedded in lua and the core of metapost 2 (aka megapost) keep in mind that it's beta 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] solution for problem with m-chemic.tex
Peter Münster wrote: Hello, It's a repost, because version 2008.04.10 still fails: What about the integration of this patch from Wolfgang Schuster into the distribution: i have fixed something (will be in next release) but not that way ... loading must permit pstricks usage as well btw, does \usemodule[pictex,chemic] work? loading pictex directly in mkiv will fail because it uses a different catcode management system; thrd-pic is a copy of pictex but contexified - 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] luatexing
Wolfgang Werners-Lucchini wrote: Hallo, I have a few silly questions about tex.print() To produce $\sqrt{2}=1.4142135623731$ it should be enough to write tex.print($\\sqrt{2}= .. math.sqrt(2) .. $) this is because \\ can mean anything, for instance it may expand to \par or \crlf or .. there is a \luaescapestring primitive which catches things like quotes tex.print(\detokenize{$\sqrt{2}=} .. math.sqrt(2) .. $) may also work ok or better tex.print([[$\sqrt{2}=]] .. math.sqrt(2) .. $) but that's both not working. The following instead does the job: tex.print($\string\\sqrt{2}= .. math.sqrt(2) .. $) why? Another question: What is the differenz between 'tex.sprint()' and 'tex.write()'? tokenization under a catcode regime versus writing strings - 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] mplib undefined commands
Hi Mojca I have modified the gnuplot module a bit, and stumbled upon: 1.) the need for \ifx\savebuffer\undefined \else \savebuffer[...]\fi which has been expected 2.) undefined command \forceMPTEXcheck{put_text} ok, i will add a fake I have now used a wrapper to skip that line in LuaTeX (btw: what's the suggested \if clause or \beginNOLUATEX to check for luatex/mkiv?) Does it make sense to define \let\forceMPTEXcheck\empty in mkiv perhaps? best make a yourmodule.tex yourmodule.mkii yourmodule.mkiv and in the tex file adds: \loadmarkfile{yourmodule} 3.) undefined command \obeyMPlines. I actually forgot why I needed it, but according to the comment: \obeyMPlines % - no longer a problem \def\obeyedline{}% - thanks to this I simply commented out the first line and hoped for no problems in mkii ok, another fake 4.) It seems to work without problems now, except for one tiny detail that I get in the final PDF. [do we need TeXtexts in MkIV] What is that supposed to mean? well, that everything now can be 'textext' I need to admit that I have the following piece of code in the module (in case that matters). Maybe I'm the only one who uses it, so if you have any idea how to modify the macros to make \sometxt[gp][iwona,14pt]{text} work in mkiv, I will happily drop the old code/replace it for mkiv. hm, so \sometxt is not working? i thought that i tested it (maybe not ... too much to test) \long\def\redofiltersometxt[#1]% {\doifnextcharelse[{\reredofiltersometxt[#1]}{\redodofiltersometxt[#1]}} \long\def\redodofiltersometxt[#1]#2% {\increment\txtcounter \TeXtext[#1]\txtcounter{#2}% \filtersometxt} \long\def\reredofiltersometxt[#1][#2]#3% {\increment\txtcounter \TeXtext[#1]\txtcounter{\switchtobodyfont[#2]\strut#3}% \filtersometxt} i think that we have it in the core anyhow, just collects what does not work (btw, i fixed something in textext ... i used to work only for code passed as mpgraphic, but now it works also with libraries and so) - 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] urw-garamond with MKIV
Hello, This does no more work with MKIV: \usemodule[urwgaramond] \starttext \rm\input knuth \it\input knuth \bf\input knuth \bi\input knuth \stoptext Could anybody help me, to get urw-garamond with MKIV? (ftp://dante.ctan.org/tex-archive/fonts/urw/garamond.zip must be installed) TIA! 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] new version luatex / mkiv
Hans Hagen wrote: This manual is not viewable without deleting a html-frame. Or what I am doing wrong? i don't know, it's a pdf document, so no html frame is part of it That is just a weirdness in viewcvs, too bad. Here is better link http://www.luatex.org/svn/tags/beta-0.25.2/manual/luatexref-t.pdf The manual describes a lua interface. (next paragraphs written as the MPlib maintainer) Real API documentation will be provided once I am past the alpha release stage. At the moment, I do not trust the API enough to expose it to anything except controlled environments (lua mplib, newmpost) Isn't mplib a dll under windows? It is possible to build the unix version as a .so because support for that comes from autofoo automatically, but that is not yet officially supported: debugging dynamic libraries is harder than debugging static code. MPlib could become a dll on windows eventually, but first someone will have to explain to me how to create a windows dll (and I vastly prefer a solution that does not involve me having to pay Microsoft any money). I have exactly zero knowledge in that area and do not have a Windows installation either: the one and only XP machine here is my wife's gaming machine and that is strictly offlimits to me. Future versions of luatex and mpost itself (and potential other texlive programs) will almost certainly remain statically linked because that is much more convenient for us as maintainers. 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] updating minimals
Hi all, Trying this morning to update my minimal context with the first-setup script, I get this error when running texexec --make en --luatex ... LuaTools | running command: luatex --ini --lua=cont-en.luc /win/context/tex/texmf-context/tex/context/base/cont-en.tex \\dump (/win/context/tex/texmf-context/tex/context/base/cont-en.tex (/win/context/tex/texmf-context/tex/context/base/context.tex (/win/context/tex/texmf-context/tex/context/base/syst-pln.tex) (/win/context/tex/texmf-context/tex/context/base/syst-prm.tex) (/win/context/tex/texmf-context/tex/context/base/luat-env.tex) (/win/context/tex/texmf-context/tex/context/base/luat-lib.tex ! LuaTeX error ...context/tex/texmf-context/tex/context/base/l-aux.lua:55: attempt to call field 'Carg' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.45 \registerctxluafile{l-aux}{1.001} ? ... I'm lost! -- Jean ___ 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] updating minimals
Jean Magnan de Bornier wrote: Hi all, Trying this morning to update my minimal context with the first-setup script, I get this error when running texexec --make en --luatex You need luatex 0.25.2 for the latest context, and it seems that is not yet available for your platform (either that, or there is a relative ordering problem in the minimals). Which platform are you on? 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] updating minimals
Le 12 avril à 11:14:03 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | You need luatex 0.25.2 for the latest context, and it seems that is not | yet available for your platform (either that, or there is a relative | ordering problem in the minimals). Which platform are you on? I see; here for my platform: 11:57 [EMAIL PROTECTED] /home/jean % uname -a Linux boldair 2.6.17-gentoo #1 SMP Wed Aug 1 15:48:08 CEST 2007 i686 Intel(R) Pentium(R) M processor 1.10GHz GenuineIntel GNU/Linux tia, -- Jean ___ 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] two easy xml-questions
Hi gang, speaking of xml... I have two easy questions, but can't find an answer. It's about tweaking the pdf-output I get: 1. How do you add an additional hyphenation to a word? How would I enter the equivalent of super\-duper in an xml-file? I tried superaddhyphen;duper with this definition: \defineXMLentity[addhyphen]{\-} in my environment, but this doesn't seem to work. 2. Similar question: how to prevent an unwanted ligature, esp. in German? In TeX, I write Kauf{}laden. What would be a good way to do this in xml? I was thinking of Kaufnolig;laden and \defineXMLentity[nolig]{\kern0pt} Any thoughts? Thanks! 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 and DVI output
Do you plan some support for the ebooks formats (epub, mobipocket) ? it depends, we have one here and it's slow and the screen is already degrading (although the quality is not that bad); it's a matter of paper sizes and margins, so that can already be done; hyperlinks are suppoorted too, but normally very slow on such devices; one problem is that they use part of the screen for buttons and such which kind of conflicts with stand alone documents that have their own interface; Thank's for your answers Hans and Taco. I'm going to try to explain this in english… hum ;o) I'm in contact with François Bon who launch 3 month ago this : http://www.publie.net It's a publisher of contemporary texts. Since there's not a standard for numerical texts and lot of different devices (a tabular [1]) you can download various formats on this site : — pdf (landscape style for computers) ; — small pdf for ephone ; — mobipocket prc [2] ; — htm ; — xml. (I wich they use the epub openformat from idpf [3] too). They use something like adobe indisgn for this (and maybe other things for xml / html). The result is not so good (lack of nbsp !)… it's a lot of work. They do a lot « by hands ». For my point of view ConTeXt (or an xml format ?) is the solution : one low-level file and an automatisation process for all the other files. Except for some complex poetry, texts are « simple » (no columns, no images…). On publie.net [4] you can read a few pages of all texts (pdf using issuu [5]) and download the all texts in « public domain » section [6], but only pdf and rtf formats. What do you think ? Am I wrong ? Is the use of indisgn the right way ? Best regards, Olivier. [1] http://wiki.mobileread.com/wiki/E-book_Reader_Matrix [2] http://en.wikipedia.org/wiki/Mobipocket [3] http://www.idpf.org/ [4] http://www.publie.net [5] http://www.issuu.com [6] http://www.publie.net/tnc/spip.php?rubrique10 -- [Message tapé sur un clavier Bépo : http://www.clavier-dvorak.org ] Olivier [EMAIL PROTECTED] http://nemolivier.blogspot.com ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] solution for problem with m-chemic.tex
On Sat, Apr 12 2008, Hans Hagen wrote: btw, does \usemodule[pictex,chemic] work? Yes, this test file compiles well: % engine=luatex \usemodule[pictex,chemic] \starttext test \stoptext 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] luatex on live is down
hello, luatex on http://live.contextgarden.net/ failed to compile. here is the error msg. TeXExec | processing document 'texweb.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file texweb.top TeXExec | using randomseed 1353 TeXExec | tex engine: luatex TeXExec | tex format: cont-en Missing configuration file LuaTools | running command: luatex --fmt=/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en --lua=/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en.luc texweb.tex LuaTools | LuaTools | runtime: 0.040 seconds TeXUtil | unable to locate texweb.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | TeX run 2 TeXExec | writing option file texweb.top TeXExec | using randomseed 1353 TeXExec | tex engine: luatex TeXExec | tex format: cont-en Missing configuration file LuaTools | running command: luatex --fmt=/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en --lua=/var/tmp/tex/luatex-cache/context/aa64c2bfae05c5f9adeafd9a312c87be/formats/cont-en.luc texweb.tex LuaTools | LuaTools | runtime: 0.015 seconds TeXUtil | unable to locate texweb.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | runtime: 0.46923 I hope it will be fixed soon ___ 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] updating minimals
Jean Magnan de Bornier wrote: Le 12 avril à 11:14:03 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | You need luatex 0.25.2 for the latest context, and it seems that is not | yet available for your platform (either that, or there is a relative | ordering problem in the minimals). Which platform are you on? I see; here for my platform: 11:57 [EMAIL PROTECTED] /home/jean % uname -a Linux boldair 2.6.17-gentoo #1 SMP Wed Aug 1 15:48:08 CEST 2007 i686 Intel(R) Pentium(R) M processor 1.10GHz GenuineIntel GNU/Linux Binary here: http://minimals.contextgarden.net/current/bin/luatex/linux/bin/ It looks like you have to download and install it by hand. This (and the broken live) hints at a problem in the new minimals, but I am not sure how/what. Mojca? 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] LuaTex error attempt to index global 'lang' (a nil value)
Hmmm this produces something funny: $ luatools --selfupdate LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.005 seconds Perhaps some link is wrong or I shouldn't use the alias /usr/texbin (as installed by MacTeX)? On 08/04/2008, Mojca Miklavec [EMAIL PROTECTED] wrote: Did you try to run luatools --selfupdate ? ___ 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] LuaTex error attempt to index global 'lang' (a nil value)
@Mojca, I found that /usr/texbin was pointing to a missing directory, so this caused the problem mentioned below. I took /usr/texbin out of the $PATH and replaced it with /usr/local/texlive/2007/bin/i386-darwin -- this lets luatools --selfupdate run correctly: LuaTools | to be replaced old script /usr/local/texlive/2007/bin/i386-darwin/luatools LuaTools | checking new script /usr/local/texlive/texmf-local/scripts/context/lua/luatools.lua LuaTools | old script content replaced by new content LuaTools | LuaTools | runtime: 0.056 seconds But the old problem still persists. @Hans, I pressed enter when the original error occurs and this just gives me one more line before the script stops: l.3174 ? ../../../../src/texk/web2c/luatexdir/tex/linebreak.c:1599: failed assertion `alink(cur_p)==temp_head' LuaTools | LuaTools | runtime: 10.399 seconds @Taco, I think my core-ref.tex contains the same as yours: 3165 \def\setupbuttons 3166{\dodoubleargument\getparameters[\??bt]} 3167 3168 \definecomplexorsimpleempty\button 3169 3170 \def\complexbutton 3171{\docomplexbutton\??bt} 3172 3173 \presetlocalframed[\??bt] 3174 3175 \long\def\docomplexbutton#1[#2]#3#4% get rid of possible space before [#4] 3176{\dodocomplexbutton#1[#2]{#3}#4} % #4 == [ 3177 3178 \def\buttonframed{\dodoubleempty\localframed[\??bt]} % goodie 3179 3180 \long\def\dodocomplexbutton#1[#2]#3[#4]% #3 can contain [] - {#3} later Anybody? Roland On 12/04/2008, Roland [EMAIL PROTECTED] wrote: Hmmm this produces something funny: $ luatools --selfupdate LuaTools | to be replaced old script /usr/texbin/luatools LuaTools | unable to locate new script LuaTools | LuaTools | runtime: 0.005 seconds Perhaps some link is wrong or I shouldn't use the alias /usr/texbin (as installed by MacTeX)? On 08/04/2008, Mojca Miklavec [EMAIL PROTECTED] wrote: Did you try to run luatools --selfupdate ? ___ 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] Footnotes set outside of columns when using columnsets
Hi, When using columnsets is it possible to have footnotes placed at the bottom of the page rather than in columns? I searched the documentation and haven't found a way to do this. Minimal examples. Using columnsets: \definecolumnset[twocolumn][n=2] \starttext \startcolumnset[twocolumn] \dorecurse{4}{\input knuth \footnote[footnote]{footnote}\par} \stopcolumnset \stoptext It produces footnotes in columns which isn't what I want. The behaviour I want is the that produced by this example using \startcolumns: \starttext \startcolumns \dorecurse{4}{\input knuth \footnote[footnote]{footnote}\par} \stopcolumns \stoptext I'd like to be able to take advantage of the addition feature offered by using columnsets but need the footnotes to be set at the bottomof the page outside of the columns. Advice on how to do this would be much appreciated. Thanks in advance, Elliot ___ 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] updating minimals
On Sat, Apr 12, 2008 at 3:38 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Jean Magnan de Bornier wrote: Le 12 avril à 11:14:03 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | You need luatex 0.25.2 for the latest context, and it seems that is not | yet available for your platform (either that, or there is a relative | ordering problem in the minimals). Which platform are you on? I see; here for my platform: 11:57 [EMAIL PROTECTED] /home/jean % uname -a Linux boldair 2.6.17-gentoo #1 SMP Wed Aug 1 15:48:08 CEST 2007 i686 Intel(R) Pentium(R) M processor 1.10GHz GenuineIntel GNU/Linux Binary here: http://minimals.contextgarden.net/current/bin/luatex/linux/bin/ It looks like you have to download and install it by hand. This (and the broken live) hints at a problem in the new minimals, but I am not sure how/what. Mojca? For linux the binary should be OK, the proper version at least (the only missing/old ones are freebsd sun at the moment). I didn't test it though. One question: does your first-setup update bin/texlua as well? Old texlua might be the culprit as well. Only guessing ... Concerning the broken live: I haven't touched live since the last conference, and I guess that Arthur just recompiles luatex every now and then, and probably didn't touch it in the last few days (we should adapt the live to use the minimals instead of tex live). So the two are completely unrelated (shame on us). Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new version luatex / mkiv
Hello Hans, Saturday, April 12, 2008, 3:23:36 PM, you wrote: http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/tags/beta-0.25. 2/manual/?root=luatex This manual is not viewable without deleting a html-frame. Or what I am doing wrong? i don't know, it's a pdf document, so no html frame is part of it I think the files are defective. No? Is Lua going to be the only or main programming language for use with ConTeXt? -- Best regards, Lou ___ 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] updating minimals
Concerning the broken live: I haven't touched live since the last conference, and I guess that Arthur just recompiles luatex every now and then, and probably didn't touch it in the last few days Yes, true. But now I have a more urgent problem, as my glasses are broken, too; so I can't take care of it right now, sorry. 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] new version luatex / mkiv
On Sat, Apr 12, 2008 at 5:09 PM, Lou wrote: Hello Hans, Saturday, April 12, 2008, 3:23:36 PM, you wrote: http://foundry.supelec.fr/plugins/scmsvn/viewcvs.php/tags/beta-0.25. 2/manual/?root=luatex This manual is not viewable without deleting a html-frame. Or what I am doing wrong? i don't know, it's a pdf document, so no html frame is part of it I think the files are defective. No? The files are not defective - if you use svn checkout, it works OK. It seems that only the web interface has problems. 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] updating minimals
OK, fixed. 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] updating minimals
Le 12 avril à 17:06:11 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | For linux the binary should be OK, the proper version at least (the | only missing/old ones are freebsd sun at the moment). | I didn't test it though. One question: does your first-setup update | bin/texlua as well? Old texlua might be the culprit as well. Only | guessing ... OK I downloaded by hand luatex for texmf-linux/bin and texlua for bin/texlua, but it wasn't that. Something else is broken, I have exactly the same error :-( -- Jean ___ 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] updating minimals
On Sat, 12 Apr 2008, Jean Magnan de Bornier wrote: Le 12 avril à 17:06:11 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | For linux the binary should be OK, the proper version at least (the | only missing/old ones are freebsd sun at the moment). | I didn't test it though. One question: does your first-setup update | bin/texlua as well? Old texlua might be the culprit as well. Only | guessing ... OK I downloaded by hand luatex for texmf-linux/bin and texlua for bin/texlua, but it wasn't that. Something else is broken, I have exactly the same error :-( What does luatex -v say? I sometimes get the error that you are getting if the PATH variable gets messed up. 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] updating minimals
Le 12 avril à 19:53:27 Aditya Mahajan [EMAIL PROTECTED] écrit notamment: | On Sat, 12 Apr 2008, Jean Magnan de Bornier wrote: | Le 12 avril à 17:06:11 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | | | For linux the binary should be OK, the proper version at least (the | | only missing/old ones are freebsd sun at the moment). | | | I didn't test it though. One question: does your first-setup update | | bin/texlua as well? Old texlua might be the culprit as well. Only | | guessing ... | | OK I downloaded by hand luatex for texmf-linux/bin and texlua for | bin/texlua, but it wasn't that. Something else is broken, I have exactly | the same error :-( | What does luatex -v say? I sometimes get the error that you are | getting if the PATH variable gets messed up. Here the whole thing (I see nothing about path though): . 18:58 [EMAIL PROTECTED] /win/context/bin % luatex -v This is LuaTeX, Version snapshot-0.25.1-2008032113 LuaTeX merges and builds upon (parts of) the code from these projects: tex by Donald Knuth etex by Peter Breitenlohner, Phil Taylor and friends omega by John Plaice and Yannis Haralambous aleph by Giuseppe Bilotta pdftexby Han The Thanh and friends kpathsea by Karl Berry, Olaf Weber and others lua by Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de Figueiredo metapost by John Hobby, Taco Hoekwater and friends. xpdf by Derek Noonberg (partial) fontforge by George Williams (partial) Some extensions to lua and additional lua libraries are used, as well as libraries for graphic inclusion. More details can be found in the source. Code development was sponsored by a grant from Colorado State University via the 'oriental tex' project, the TeX User Groups, and donations. The LuaTeX team is Hans Hagen, Hartmut Henkel, Taco Hoekwater. There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2. For more information about these matters, see the file named COPYING and the LuaTeX source. Copyright 2008 Taco Hoekwater, the LuaTeX Team. This is build 915, created on 20071128T092554Z Compiled with libpng 1.2.15; using libpng 1.2.15 Compiled with zlib 1.2.3; using zlib 1.2.3 Compiled with xpdf version 3.01 -- Jean ___ 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] updating minimals
On Sat, 12 Apr 2008, Jean Magnan de Bornier wrote: Le 12 avril à 19:53:27 Aditya Mahajan [EMAIL PROTECTED] écrit notamment: | On Sat, 12 Apr 2008, Jean Magnan de Bornier wrote: | Le 12 avril à 17:06:11 Mojca Miklavec [EMAIL PROTECTED] écrit notamment: | | | For linux the binary should be OK, the proper version at least (the | | only missing/old ones are freebsd sun at the moment). | | | I didn't test it though. One question: does your first-setup update | | bin/texlua as well? Old texlua might be the culprit as well. Only | | guessing ... | | OK I downloaded by hand luatex for texmf-linux/bin and texlua for | bin/texlua, but it wasn't that. Something else is broken, I have exactly | the same error :-( | What does luatex -v say? I sometimes get the error that you are | getting if the PATH variable gets messed up. Here the whole thing (I see nothing about path though): . 18:58 [EMAIL PROTECTED] /win/context/bin % luatex -v This is LuaTeX, Version snapshot-0.25.1-2008032113 I meant that there could be two luatex in your $PATH, and the wrong one could be used (that happens with me sometimes). You are running this command from /win/context/bin (I am assuming that luatex lies in this directory). Do you get the same output when you run it from another directory? 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] t-bib and interactivity for url= and doi=
Taco Hoekwater wrote: Tobias Burnus wrote: in principle, I expect that with the following setup I should be able to click on a DOI or on a URL, however, somehow they do not seem to be interactive It turns out that only \cite[url] is interactive in the current version of the module. I can fix that pretty easily, but a small real-life testfile will be helpful, also for the DOI problem. See attached TeX file. Tobias test.tex Description: TeX document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] t-bib and interactivity for url= and doi=
Tobias Burnus wrote: in principle, I expect that with the following setup I should be able to click on a DOI or on a URL, however, somehow they do not seem to be interactive Another item one could make interactive is the ISBN number; contrary to the DOI and the URL there is no true canonical place, however, WorldCat (as used below) is in my opinion a sensible choice. (WorldCat is operated by OCLC, in which 60,000 libraries from 112 countries are members.) \def\gotoISBN#1{\useURL[bibfoo1][#1]% \useURL[foo2][http://www.worldcat.org/search?q=kw:#1]% \goto{\url[foo1]}[url(foo2)]} Tobias ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mplib
On 12 Apr 2008 at 9:39, [EMAIL PROTECTED] wrote: \startlua mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10, } ) if mp then res = mp:execute( beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye; ) tex.print([ .. tostring(res.status) .. ]) mp:finish() end \stoplua no format, so beginfig, draw etc are unknown I thought 'plain.mem' is the default. But I see, there exists only 'metafun.mem'. So I wrote: -- mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10, mem_name = metafun.mem } ) -- and it get the same result metapost.process(metafun,some commands) may work better -- \startlua mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10 } ) if mp then res = metapost.process(metafun,beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye;) tex.print([ .. tostring(res.status) .. ]) mp:finish() end \stoplua -- results in : -- mplib : loading format: metafun.mp, name: d:/context/tex/texmf-cache/luatex- cache/context/c80dc1fd5292ec817c6e82c295beaf1e/formats/cont-en- metafun.mem ! Emergency stop. \@@expanded . ]) -- mp:finish() -- end } l.54 \stoplua ! == Fatal error occurred, no output PDF file produced! -- why does it load 'metafun.mp'? after that I tried -- \startlua mp = mplib.new ( { hash_size = 10, main_memory = 200, param_size = 10, mem_name = metafun.mem } ) if mp then res = metapost.process(mp, beginfig(1) draw (0,0) .. (1,1) .. (2,1); endfig; bye;) tex.print([ .. tostring(res.status) .. ]) mp:finish() end \stoplua -- which gives the following error: -- report error: This is MetaPost, Version 1.003 (Cweb version 0.40) I can't find the PLAIN mem file! -- What else should I check to find the error? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new version luatex / mkiv
On 12 Apr 2008 at 12:00, [EMAIL PROTECTED] wrote: Hallo Taco, Real API documentation will be provided once I am past the alpha release stage. At the moment, I do not trust the API enough to expose it to anything except controlled environments (lua mplib, newmpost) Isn't mplib a dll under windows? It is possible to build the unix version as a .so because support for that comes from autofoo automatically, but that is not yet officially supported: debugging dynamic libraries is harder than debugging static code. On the other side, it is very easy to replace a dll by a new version, if the interface stays stable. MPlib could become a dll on windows eventually, but first someone will have to explain to me how to create a windows dll (and I vastly prefer a solution that does not involve me having to pay Microsoft any money). You have not to pay anything, to build a Dll. And there is Msys for example, which works in a unix-environment under windows. Should be no problem. I have exactly zero knowledge in that area and do not have a Windows installation either: the one and only XP machine here is my wife's gaming machine and that is strictly offlimits to me. :-) Future versions of luatex and mpost itself (and potential other texlive programs) will almost certainly remain statically linked because that is much more convenient for us as maintainers. If there is more than one program, which is using mplib, you have to update all theses programs, if you make some mplib changes. But I think that a dll could very much boost the metapost usage. It would than be very easy to write third party software. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Adding custom key/value pairs
Hi, I'm new to ConTeXt and decided to teach myself a bit by resetting my old thesis (originally done, many years ago, in LaTeX). As the purpose is to teach myself ConTeXt rather than just have an electronic version of the thesis I decided to try to do things the right way. So, in setting the title page I followed the pattern shown on Contextgarden here: http://wiki.contextgarden.net/Document_Titles. That page shows how to define a nice \placetitle command with an associated \setuptitle which allows us to define values for title, subject, and date. However, I want also to be able to define values for degree, subject, and committee (to follow the school-standard LaTeX style file I had from all those years ago). I can't work out how to do this. Simply using a variable like \c!degree (to match the \c!title I found in the example) doesn't work, as ConTeXt doesn't know about such a control sequence. I was quite puzzled for a while but then it dawned on me that the example I found on contextgarden works because the keys it uses (for key/value pairs) are ones that are already defined in the ConTeXt system: title, subject, date. My attempt fails because the system doesn't know about degree, subject, and committee. I tried defining a new variable with startvariables, but that didn't appear to help. So, my question: what do I need to do to define a new key that can be used in a key/value pair? Here's an example of what I tried: \startvariables all degree: degree \stopvariables \definesystemvariable{tp} % title page \def\setuptitlepage{\dodoubleempty\dosetuptitlepage} \def\dosetuptitlepage[#1][#2]% {\ifsecondargument \dodosetuptitlepage[#1][#2]% \else \dodosetuptitlepage[\v!content][#1]% \fi} \def\dodosetuptitlepage[#1][#2]% {\def\dododosetuptitlepage##1% {\getparameters[\??tp##1][#2]}% \processcommalist[#1]\dododosetuptitlepage} \def\placetitlepage {\startalignment[\v!middle] \doattributes{\??tp\c!degree}\c!style\c!color\@@tpcontentdegree \stopalignment} \setuptitlepage [\c!degree] [\c!style=\tfa,\c!color=] \startfrontmatter \placetitlepage \stopfrontmatter \starttext \stoptext Cheers, Rory ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] t-bib: URL and '%'; spacing between number and text
Taco Hoekwater wrote: I'll try to work out something that does not need to grab all of its argument, so that this hack can be removed again. I have a problem with your fix. As I just found out, with that fix, not only the % in the bib/bbl are printed (as intended), but also the % in the TeX file, i.e. all the sections I commented out now appear - prefixed by a %. Tobias PS: Your fix was: % start fix \unprotect \def\dousepublications#1% {\doonlyonce {#1.\f!bibextension} {\readfile{#1.\f!bibextension} {\catcode`\%=12 \showmessage\m!bib{4}{#1.\f!bibextension}} {\showmessage\m!bib{2}{#1.\f!bibextension \protect % end fix ___ 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] luatexing
On 12 Apr 2008 at 9:39, [EMAIL PROTECTED] wrote: I have a few silly questions about tex.print() To produce $\sqrt{2}=1.4142135623731$ it should be enough to write tex.print($\\sqrt{2}= .. math.sqrt(2) .. $) this is because \\ can mean anything, for instance it may expand to \par or \crlf or .. May be I do not understand this right, but I thought that '\' is luas escape character and tex.print() returns '\' not '\\'. So TeX sees no macro '\\' which could expand to whatever. there is a \luaescapestring primitive which catches things like quotes Can you make a little example of usage? tex.print(\detokenize{$\sqrt{2}=} .. math.sqrt(2) .. $) Could not find the definition of \detokenize. 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] updating minimals
Le 12 avril à 20:42:21 Aditya Mahajan [EMAIL PROTECTED] écrit notamment: | Do you get the same output when you run it from | another directory? yes, exactly the same. thx, -- Jean ___ 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] Unable to generate luatex formats
I'm getting the following error when running this command: luatools -- ini --verbose --compile cont-en LuaTools | running command: luatex --ini --lua=cont-en.luc /usr/ local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex \\dump This is LuaTeX, Version snapshot-0.25.2-2008041101 (Web2C 7.5.6) (INITEX) (/usr/local/texlive/2007/texmf-dist/tex/context/base/cont-en.tex (/usr/local/texlive/2007/../texmf-local/tex/context/base/context.tex (/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-pln.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/syst-prm.tex) (/usr/local/texlive/2007/../texmf-local/tex/context/base/luat-env.tex ! LuaTeX error [string luas[0]]:1: attempt to call field 'luafilechunk' (a ni l value). \ctxluabyteload ...nvironment.luafilechunk(#1) } \ ...fproductionrun \else \ctxluabyteload {#1}{#2} \fi \global \everyloadluac... l.168 \registerctxluafile{luat-env}{1.001} ? I see that it is similar to an error that ZS had. http://www.ntg.nl/pipermail/ntg-context/2008/030012.html But while ZS's problem was solved by updating, I'm installing for the first time with the newest versions. What might be amiss? Thanks! mjg ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Streams
On Fri, Apr 11, 2008 at 11:45 AM, Roman Sigg [EMAIL PROTECTED] wrote: Hello For a publication project in phonetics and dialectology I'd like to print the phonetic transcription and the dialect text in a two column setup. I would be interested to use context for that (more flexibility than LaTeX), but every new paragraph is printed on a new page (as Henning Hraban Ramm posted earlier). Is there a work around other than using two pages? see streams startting at http://wiki.contextgarden.net/Columns#Column_Sets -- 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 ___