[NTG-context] Compiling error \subpagenumber
Hi, I got a series of files, which are organized in a project-structure. With the following versions I get the desired output: ConTeXt ver: 2007.12.18 19:11 MKII fmt: 2008.3.19 int: english/english ConTeXt ver: 2008.01.11 12:09 MKIV fmt: 2008.1.11 int: english/english Since the update lately the project does not compile anymore: ConTeXt ver: 2008.03.11 23:55 MKII fmt: 2008.3.15 int: english/ english Undefined controlsequence write ...ubpage }{\newnofsubpages }{\oldsubpage} inserted text }\endwrite \actualshipout ... \box \postponedcontent \box 0}} \else \message {[\ifarrang... \myshipout ... \fi {\thisisrealpage \realfolio #1} \gotonextrealpage \aftersh... \dofinaloutput ...agebody #1#2\setpagecounters }}} \fi \the \everyaftershipou... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... ... l.84 \stopfrontmatter Hans, could you have a look into this? Kind regards Willi ___ 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 LuaTeX
Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? Kind regards Willi ___ 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 LuaTeX
Taco thanks! This helped. Willi On Mar 19, 2008, at 10:32 AM, Taco Hoekwater wrote: Willi Egger wrote: Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? You need a binary of luatex 0.25.0. The best way to get one is to download the right one for your platform from the minimals http://minimals.contextgarden.net/current/bin/luatex/ Best wishes, Taco __ _ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net __ _ ___ 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 LuaTeX
Willi Egger wrote: Hi, I just tried to update context with ctxtools --updatecontext. I receive though the following error while preparing the format-files (cont-en.fmt) (/Applications/luatex/tex/texmf-local/tex/context/base/core-inc.mkiv ! LuaTeX error ...luatex/tex/texmf-local/tex/context/base/core- inc.lua:85: attempt to index global 'img' (a nil value). \ctxluabytecode ...ode .. #1 .. str) end end } \registerctxluafile ...{\the \luabytecodecounter } \fi l.21 \registerctxluafile{core-inc}{1.001} Hm, what to do? You need a binary of luatex 0.25.0. The best way to get one is to download the right one for your platform from the minimals http://minimals.contextgarden.net/current/bin/luatex/ Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] no file 'cont-sys.tex' + You can't use `\end' in internal vertical mode
Hello! I am trying ConTeXt with XeTeX and after processing the file I got this message: TeXExec | processing document 'eduardo-nunes-conteste.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file eduardo-nunes-conteste.top TeXExec | using randomseed 51 TeXExec | tex engine: xetex TeXExec | tex format: cont-en This is XeTeX, Version 3.141592-2.2-0.996 (Web2C 7.5.6) (WARNING: translate-file natural.tcx ignored) entering extended mode (./eduardo-nunes-conteste.tex systems : end file eduardo-nunes-conteste at line 276 system : cont-err loaded (/usr/share/texmf/tex/context/base/cont-err.tex systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead ) ! You can't use `\end' in internal vertical mode. recently read \normalend l.276 \stoptext No PDF was produced. I read in the mail list a message about this warning (! You can't use `\end' in internal vertical mode.) but I couldn't understand. Could you please tell me what is the problem with my file or my installation of context? Thanks! armando ___ 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 file 'cont-sys.tex' + You can't use `\end' in internal vertical mode
[EMAIL PROTECTED] wrote: No PDF was produced. I read in the mail list a message about this warning (! You can't use `\end' in internal vertical mode.) but I couldn't understand. Could you please tell me what is the problem with my file or my installation of context? With the file, most likely. But what is hard to say without seeing 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 ___
Re: [NTG-context] no file 'cont-sys.tex' + You can't use `\end' in internal vertical mode
Le 19 mars à 12:26:12 Taco Hoekwater [EMAIL PROTECTED] écrit notamment: | [EMAIL PROTECTED] wrote: | | No PDF was produced. I read in the mail list a message about this | warning (! You can't use `\end' in internal vertical mode.) but I | couldn't understand. Could you please tell me what is the problem with | my file or my installation of context? | With the file, most likely. But what is hard to say without seeing it. | Best wishes, | Taco Hi all, After an update about one hour ago, I just had the same error with a cite command inside a footnote. Removing the command to put it in the text has the error vanish. I use xetex. All the best -- 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] setupexternalfigures broken ?
luigi scarso wrote: On Tue, Mar 18, 2008 at 11:24 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Mar 18, 2008, at 11:18 PM, luigi scarso wrote: setupexternalfigures seems broken on ConTeXt ver: 2008.03.11 23:55 MKIV fmt: 2008.3.18 int: english/ english This is LuaTeX, Version snapshot-0.25.0-2008031821 I'm only able to include images from current dir. Seems to work here with. I have \setupexternalfigures[directory={../pictures}] and my pictures are found. Not here. To be more precise % engine=luatex \setupexternalfigures[directory={./images}] \starttext OK \externalfigure[/opt/works/2ufficio/2ufficio/CATALOGO_DUEUFFICIO/img/3M81890XX.jpg] OK \externalfigure[./images/3M81890XX.jpg] NO \externalfigure[3M81890XX.jpg] \stoptext can you make me a small zip with the structure you use - 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] figure libraries (mkiv)
Peter Rolf wrote: Hi Hans, Looks like I'm the only one using resource libs. I have tried to solve the problem with figure inclusion, but my lua is still too bad (coroutines). At least I have found the place where things go wrong. function figures.bases.find(basename,askedlabel) [..] if base[2] and base[3] then for e, d, k in xml.elements(base[3],/(rlx:library|figurelibrary)/*:figure/*:label) do page = page + 1 if xml.content(d[k]) == askedlabel then t = { base = file.replacesuffix(base[2],pdf), format = pdf, name = xml.filters.text(e,*:file), -- always empty page = page, -- wrong pagenumber (far too high) } -- tex.sprint(table.serialize(t)) figures.bases.found[askedlabel] = t break end end end [..] And what is the correct namespace for resource libraries? we can make that * too - 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] Some BibTeX questions
Hi! A couple of questions regarding BibTeX and ConTeXt. :-) 1) For various reasons I want to make my own .bbl file. Do I understand correctly that I therefore don't need to use \setupbibtex in my document? I wouldn't see the point in linking to my original .bib file if I don't want the system to generate the .bbl in the first place. However, is this the command which generates the .aux file? What purpose does this one have? 2) In an automatically generated .bbl file, the \setuppublicationlist command seems to have as a value for the samplesize parameter the very first s-key of the list, .i.e that of the first publication in the database. These labels are clearly generated from the first three characters of the first Author data, and the last two character of the Year data. For example, in my database, the author being Achinstein and the year being 1975 for the first entry, the generated s-key is Ach75. This is the value \setuppublicationlist[samplesize] as well. What is the purpose of 'samplesize' exactly? And what is the use of the s-key in the first place? Is it mandatory? The answer to this is unclear to me. Hic et nunc, I wouldn't even know where to use them; not in the way I cite references in my document. I would use a and y exclusively. 3) All the a-keys with author lastnames in my generated bbl file contain the names in brackets {}, excluding the normal delimiting brackets of the key itself. For example, for my first publication, you read a={{Achinstein}}. With more than one authors, I have for example a={{Bromberger},{Halle}}. However, in Taco's documentation (bibmod-doc), there are no such brackets in the sample entry: a=Hoekwater. Are the brackets absolutely necessary? With more than one name, perhaps? Many thanks in advance for your answers! As always I'm ever grateful for the great help this list provides. Jeff Smith ___ 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 ___