Re: [NTG-context] component not included
> According toll my observations, you need to reference the needed parts > inside of the \start... and \stop..., so your product would become: > > > ``` > \startproduct pd-medizin > \project pj-medizin > \component test > \stopproduct > ``` > > You also have to restructure the other files, so that \start... is the > first and \stop... the last command in the files. Yes! That is the cause. Thank you! The wiki examples should be corrected to prevent others from this 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] component not included
> > What I am doing wrong? > > Ignore the project file and load the environment file instead at the > begin of your product and component files. > > Wolfgang This is not working! And what shall I do if I have more than one product? Wolfgang mtx-context | run 1: luatex --fmt="E:/LuaTeX/tex/texmf- cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont- en" --jobname="pd-medizin" --lua="E:/LuaTeX/tex/texmf-cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont- en.lui" --no-parse-first-l ine --c:autopdf --c:currentrun=1 --c:fulljobname="./pd-medizin.tex" -- c:input="./pd-medizin.tex" --c:kindofrun=1 --c:maxnofruns=8 "cont- yes.mkiv" This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5024) \write18 enabled. (E:/LuaTeX/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2013.11.01 15:02 MKIV beta fmt: 2014.6.29 int: english/english system > 'cont-new.mkiv' loaded (E:/LuaTeX/tex/texmf-context/tex/context/base/cont-new.mkiv) system > files > jobname 'pd-medizin', input './pd-medizin', result 'pd-medizin' fonts > latin modern fonts are not preloaded languages > language 'en' is active (//HP/ga/Medizin/pd-medizin.tex (env-medizin.tex fonts > preloading latin modern fonts (third stage) fonts > typescripts > unknown library 'loc' {E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm- math.map}{E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm- rm.map}{E:/LuaTeX/tex/texmf-context/fonts/map/pdftex/context/mkiv- base.map} fonts > 'fallback modern ss 11pt' is loaded ) (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd- medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd- medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex ( pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd- medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex (pd-medizin.tex (test.tex ! TeX capacity exceeded, sorry [text input levels=127] system > tex > error on line 5 in file test.tex: TeX capacity exceeded, sorry [ ... 1 \environment env-medizin 2 %\project pj-medizin 3 \product pd-medizin 4 \startcomponent test 5 >> test 6 \stopcomponent 7 ! ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1>Exit code: 1 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] component not included
Hallo, I am trying to start a new project with the following test files: --env-medizin.tex--- \startenvironment env-medizin \mainlanguage[deo] \enableregime[utf] \setupbodyfont[sans,11pt] \setuplanguage[deo][leftquote=\guilsingleright, rightquote=\guilsingleleft, leftquotation=\rightguillemot, rightquotation=\leftguillemot] \setupwhitespace[medium] \stopenvironment --pj-medizin.tex--- \environment env-medizin \startproject pj-medizin \product pd-medizin \stopproject --pd-medizin.tex--- \project pj-medizin \startproduct pd-medizin \component test \stopproduct --test.tex--- \project pj-medizin \product pd-medizin \startcomponent test test \stopcomponent - I compile the product. But I get nothing. test.tex is not included. What I am doing wrong? Here is the output: - mtx-context | run 1: luatex --fmt="E:/LuaTeX/tex/texmf- cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont- en" --jobname="pd-medizin" --lua="E:/LuaTeX/tex/texmf-cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont- en.lui" --no-parse-first-line --c:autopdf --c:currentrun=1 -- c:fulljobname="./pd-medizin.tex" --c:input="./pd-medizin.tex" -- c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv" This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5024) \write18 enabled. (E:/LuaTeX/tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2013.11.01 15:02 MKIV beta fmt: 2014.6.29 int: english/english system > 'cont-new.mkiv' loaded (E:/LuaTeX/tex/texmf-context/tex/context/base/cont-new.mkiv) system > files > jobname 'pd-medizin', input './pd-medizin', result 'pd-medizin' fonts > latin modern fonts are not preloaded languages > language 'en' is active (//HP/ga/Medizin/pd-medizin.tex (pj-medizin.tex (env-medizin.tex fonts > preloading latin modern fonts (third stage) fonts > typescripts > unknown library 'loc' {E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm- math.map}{E:/LuaTeX/tex/texmf/fonts/map/dvips/lm/lm- rm.map}{E:/LuaTeX/tex/texmf-context/fonts/map/pdftex/context/mkiv- base.map} fonts > 'fallback modern ss 11pt' is loaded mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: E:/LuaTeX/tex/texmf-cache/luatex- cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.016 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 15 found files, scanned paths: mkiv lua stats > stored bytecode data: 337 modules (0.312 sec), 69 tables (0.000 sec), 406 chunks (0.312 sec) mkiv lua stats > cleaned up reserved nodes: 39 nodes, 9 lists of 441 mkiv lua stats > node memory usage: 2 glue, 1 kern, 3 penalty, 9 attribute, 20 glue_spec, 3 attribute_list mkiv lua stats > node list callback tasks: 6 unique task lists, 2 instances (re)created, 5 calls mkiv lua stats > used backend: pdf (backend for directly generating pdf output) mkiv lua stats > loaded patterns: deo:de:9 en::2, load time: 0.000 mkiv lua stats > jobdata time: 0.016 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: 57 direct, 204 indirect, 261 total mkiv lua stats > randomizer: resumed with value 0.70265816217536 mkiv lua stats > result saved in file: pd-medizin.pdf, compresslevel 3, objectcompreslevel 3 mkiv lua stats > loaded fonts: 2 files: latinmodern-math.otf, lmsans10-regular.otf mkiv lua stats > fonts load time: 0.344 seconds mkiv lua stats > luatex banner: this is luatex, version beta-0.79.1 (tex live 2014/w32tex) (rev 5024) mkiv lua stats > control sequences: 38207 of 65536 + 10 mkiv lua stats > current memory usage: 32 MB (ctx: 32 MB) mkiv lua stats > runtime: 1.016 seconds mtx-context | pdfview methods: acrobat auto default fullacrobat okular pdfxcview sumatra, current method: sumatra (directives_pdfview_method) system | total runtime: 1.453>Exit code: 0 ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] upate error
Hallo, tried to run update from context minimal and got the following error: - ! LuaTeX error E:/context/tex/texmf-context/tex/context/base/data- env.lua:118: a ttempt to index local 'luasuffixes' (a nil value) stack traceback: E:/context/tex/texmf-context/tex/context/base/data- env.lua:118: in main chunk E:/context/tex/texmf-context/tex/context/base/luat- cod.lua:42: in functi on 'registercode' [string "main ctx instance"]:1: in main chunk. \registerctxluafile ...ua.registercode("#1","#2")} l.35 \registerctxluafile{data-env}{1.001} ? -- What can I do? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] win2k and context
> Just curious: is that the latest version that works according to your > tests or did you actually try just this one? The next version available in https://foundry.supelec.fr/frs/?group_id=10 is 0.74.0 and didn't work. I don't know if there are versions between? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] win2k and context
> At least mtxrun.exe should work with older Windows versions! > > So I could do > > mtxrun --script ./bin/mtx-update.lua --force --update --make -- > context=2012-12-09 --texroot=%CONTEXTROOT% %* > > to fetch an older version. I have tried this on a XP machine, but I got LuaTeX 0.79.1 and context 2013.11.01 (which I had bevor the mtxrun on that machine). I also tried the above command without the --update option. But same result. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] win2k and context
> Please test whether the luatex binaries work at all. Without a working > luatex binary it's pointless to even discuss any further. Once you > find a working luatex, we'll be able to help you further. The mingw 0.72.0 is not complaining about missing functions. So I can say: It runs! Don't know if there are other problems. > > Btw: a working mtxrun alone won't help you because that won't > necessarily give you a compatible luatex version. In the worst case > you can probably replace mtxrun with a batch script. With a working mtxrun I could downgrade using the context= switch. This switch makes not much sens if it is not working with older versions. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] win2k and context
> https://foundry.supelec.fr/frs/?group_id=10 This is LuaTeX only, not the whole distribution. > http://tug.org/svn/texlive/trunk/Master/bin/win32/luatex.dll?view=log Sorry! Can not finde there any older context distribution. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] win2k and context
Hallo Hans, > Any reason to stick to windows 2000? Do you want to run old > experimental luatex? There is no question without a reason! At least mtxrun.exe should work with older Windows versions! So I could do mtxrun --script ./bin/mtx-update.lua --force --update --make -- context=2012-12-09 --texroot=%CONTEXTROOT% %* to fetch an older version. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] win2k and context
> http://www.ntg.nl/pipermail/ntg-context/2013/071049.html > > Taco keeps an archive of windows binaries on > > http://foundry.supelec.fr/gf/project/luatex/frs/ not found > > (click on package name to get the list of older releases) > > but they were compiled on a different compiler, so you need to > > check yourself whether they work for you or not. > > > > In case not, my best bet for downloading it would be fetching > > luatex.dll from an arbitrary commit from > > http://tug.org/svn/texlive/trunk/Master/bin/win32/ not clear to me how to extract a certain older version! > > Most probably the latest binary is still 0.72.0 in which case you > > can > > also fetch it from > > http://www.ctan.org/tex-archive/systems/texlive/tlnet/archive The version is not obvious to me! Seems more or less current. No older archives! > > http://mirrors.ctan.org/systems/texlive/tlnet/archive/luatex.win32.tar.xz No older versions! ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] win2k and context
Can you please tell me the latest context version (mkiv) working with win2k and the download position? ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] reference error
> \starttext > \startchapter > [ title=Vorwort, reference=chap:vorwort with space at the end ] > \stopchapter > > \startchapter > [ title=Vorwort, reference={chap:vorwort2 with space at the end} ] > \stopchapter > > \startchapter > [ title=Vorwort, reference={chap:vorwort3 with space at the end }] > \stopchapter > > \startchapter > [ title=Vorwort, reference=chap:vorwort without space at the end] > \stopchapter > > \startchapter > [ title=Vorwort, reference={chap:vorwort2 without space at the end}] > \stopchapter > > \startchapter > \ConTeXt\ does not support space at the end of references: > Siehe > \in{Kapitel}[chap:vorwort with space at the end ], > \in{Kapitel}[chap:vorwort2 with space at the end ], > \in{Kapitel}[chap:vorwort3 with space at the end ], > \in{Kapitel}[chap:vorwort without space at the end] and > \in{Kapitel}[chap:vorwort2 without space at the end] > \stopchapter > \stoptext Only the last two are working! Not the second!!! Not very intuitive at all. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] reference error
> If you remove the space, i.e. Puuh! If the parser of this reference strings allows spaces, why doesn't work 'reference={chap:neu}'? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] reference error
Hallo, I must do someting wrong --- \starttext \startchapter [ title={Vorwort}, reference=chap:vorwort ] Siehe \in{Kapitel}[chap:neu] \at{Seite}[chap:neu]. \stopchapter \startchapter [ title={Neu}, reference=chap:neu ] Bla. \stopchapter \stoptext --- I get an error: unknown reference '[][chap:neu]' 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] notepad++ and context
Hallo, I have tried to download the files "Npp ConTeXt.zip" and "Npp ConTeXt-Uni.zip" at http://wiki.contextgarden.net/Notepad%2B%2B but they seem to be corrupted. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] getnameinfo
> The Mojca's team of binary magicians boils down to a certain Japanese > physicist when it comes down to Windows. You would have to ask him. Would you please tell me the name and the email address of this physicist? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] big vertical distance
Hallo, the following was ok with mkII: % coding: utf-8 \def\B{\vphantom{\bigg)}} \setupbodyfont[11pt,sans] \starttext \startitemize[a,columns,three,joinedup][grid=no,width=8mm,right=)] \item $\B 5b\cdot (3a+4b-5c)$ \item $\B 3xy\cdot (2x-6y-xy)$ \item $\B (-0{,}5x)\cdot (3y-5x)$ \item $\B (2z-3x+5)\cdot (0{,}5z+x)$ \item $\B 8ac\cdot 3\frac{1}{4}ax$ \item $\B 2\frac{1}{2}ab\cdot 6ax$ \item $\B \frac{2}{3}ax\cdot 1\frac{1}{2}by$ \item $\B 7\frac{1}{2}ay\cdot 1\frac{3}{5}ax$ \item $\B (+4ab)\cdot (-15xy)$ \stopitemize \stoptext now with LuaTeX I get very large vertical distances. Much more then \bigg(. Why is this? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] getnameinfo (Hans Hagen)
> > I have to update LuaTex on a win2k machine. But I get > > two errors while running mtxrun.exe and texlua.exe resp. via first- > > setup.bat. > > > > There is a call to getnameinfo in WS2_32.dll which is available in > > winxp and above. > > > > Here is an info from ms how to deal with this: > > > > "The getnameinfo function was added to the Ws2_32.dll on Windows XP > > and later. If you want to execute an application using this function > > on earlier versions of Windows (Windows 2000, Windows NT, and Windows > > Me/98/95), then you need to include the Ws2tcpip.h file and also > > include the Wspiapi.h file. When the Wspiapi.h include file is added, > > the getnameinfo function is defined to the WspiapiGetNameInfo inline > > function in the Wspiapi.h file. At runtime, the WspiapiGetNameInfo > > function is implemented in such a way that if the Ws2_32.dll or the > > Wship6.dll (the file containing getnameinfo in the IPv6 Technology > > Preview for Windows 2000) does not include getnameinfo, then a > > version of getnameinfo is implemented inline based on code in the > > Wspiapi.h header file. This inline code will be used on older Windows > > platforms that do not natively support the getnameinfo function." > > > > Hope this can be done. > > So you're using xp or win2K? > > Hans I use win2K. What I have included was the solution who to solve this incompatibility. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] getnameinfo
I have to update LuaTex on a win2k machine. But I get two errors while running mtxrun.exe and texlua.exe resp. via first- setup.bat. There is a call to getnameinfo in WS2_32.dll which is available in winxp and above. Here is an info from ms how to deal with this: "The getnameinfo function was added to the Ws2_32.dll on Windows XP and later. If you want to execute an application using this function on earlier versions of Windows (Windows 2000, Windows NT, and Windows Me/98/95), then you need to include the Ws2tcpip.h file and also include the Wspiapi.h file. When the Wspiapi.h include file is added, the getnameinfo function is defined to the WspiapiGetNameInfo inline function in the Wspiapi.h file. At runtime, the WspiapiGetNameInfo function is implemented in such a way that if the Ws2_32.dll or the Wship6.dll (the file containing getnameinfo in the IPv6 Technology Preview for Windows 2000) does not include getnameinfo, then a version of getnameinfo is implemented inline based on code in the Wspiapi.h header file. This inline code will be used on older Windows platforms that do not natively support the getnameinfo function." Hope this can be done. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] problems with letter module
Hallo, I have updated context and the letter module to ConTeXt ver: 2012.12.06 22:36 MKIV fmt: 2012.12.8 int: english/english Problem: My letters do not work anymore. I have found that \setlettervalue{tax}[Steuer]{xxx} is one of the problems. I have to use \setupletter[tax=xxx] instead. I have to lock for then tax renaming. Now the letter is compiling, but it is completly broken. In the log I have found a lot of lines setup > error in line 20, namespace "553", instance "letter", key "frame" setup > error in line 58, namespace "539", instance "letter", key "invoice" setup > error in line 58, namespace "539", instance "letter", key "date" setup > error in line 58, namespace "539", instance "letter", key "phone" setup > error in line 58, namespace "539", instance "letter", key "tax" I have the impression, that there has a lot changed. How can I fix this temporary? (I have to write my letter NOW!) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Error
Hallo, can someon please translate the following error to me? *TeXExec | runtime: 26.109375 >Exit code: -1073741510 I have ConTeXt ver: 2011.10.03 12:59 MKII fmt: 2011.10.3 int: english/english 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] tilde
Hallo, if I want a non-breaking-space I use a tilde '~' sign. For example in: bakerstreet~13 This has worked in my old context. But now, after my update, I get an very long space. Minimal example: \starttext \framed[align=flushright,width=broad]{Hello~World!} \stoptext Is this a bug? What else kann I use for a non-breaking-space? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] installing mkiv
Hallo, I tried to install a mkiv-only context with: first-setup --context=luatex but there is no texmf-context folder. What I am doing wrong? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] AcroRd32 Runtime Error
Hallo, > see l-pdfview.lua ... the clal on windows is: pdfopen --ax --file > > anyhow, unfortunately the pdfopen/close programs are not consistent > with > respect to dealing with commandline options on different platforms > (and > also not downward compatible) which in fact renders them somewhat > useless (it woudl be nice if someone would normalize them) > > Hans if I give the command: context --autopdf a.tex I get the runtime error and after the context run mtx-context | pdfview methods: acrobat default okular, current method: acrobat (directives_pdfview_method)Cannot contact a server. pdfopen --ax --file a.pdf pdfopen --rx --file a.pdf pdfopen --file a.pdf works ok pdfclose --ax --file a.pdf pdfclose --rx --file a.pdf pdfclose --file a.pdf works ok too, if not following a pdfopen, otherwise I get: Cannot execute command "[DocClose("%s")]" (error 16393) Shouldn't be the first two variants for acrobat (resp. reader) 10? I wonder why they are working. I have the reader 9.4.6 and no acrobat at all. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] AcroRd32 Runtime Error
Hallo, > I have updated my context after a very long time. > The first test run does not work because an initally dde attempt to > acroread. > > I got the following errormessage: > > Microsoft Visual C++ Runtime Library > > Runtime Error! > Program: C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe > > This application has requested the Runtime to terminate it in an > unusual way. > Please contact the application's support team for more > information. > > I have Acrobat Reader Version 9.4.6. This is working ok with pdf > files and this has worked ok with context prior to the update. I have the following questions: The executable pdfdde, resp. their incarnations pdfopen and pdfclose know an option --rx. Is this necessary to use acrobat reader 10? pdfdde --help outputs: Beware: only documents opened by `pdfopen' can be closed by `pdfclose'. But if I open my compiled file manually (not by pdfopen), --autopdf works ok. It closes the reader and opens him with the new compiled file and so on. So, an initally open with pdfopen does not work! How is pdfopen/close working? Can someone explain? pdfdde seems to be based on --- DDEOpen.c This file is furnished to you by Adobe Systems Incorporated under the terms of the Acrobat (r) Plug-ins Software Development Kit License Agreement. Copyright (C) 1995-1999, Adobe Systems Inc. All Rights Reserved. --- Is there any difference (not related to Reader 10)? I do not understand at all what has happend. 10 Minutes before my context-update, all was working ok. There must be a little difference. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] sumatra pdf
Hallo, the main problem for me at the moment is the not working acrobat reader. What are the last changes to pdfdde.c or pdf.rb? Can I change to sumatra pdf reader somehow? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Stack size
Hallo, next problem. I got ! TeX capacity exceeded, sorry [parameter stack size=1]. I tried to increase this in texmf.cnf, but this is not recognized. I tried to do the same in the texmfcnf.lua with the same negative result. It is a try and error. How is the 'modern' way to do this? BTW, shouldn't be 1 for the stack size enough? This file is a letter and compiled ok before my update today. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] letter style error
Puhh, there is more broken. With letter style I got ! Undefined control sequence. l.13 \setupletterstyle [option][backaddress=yes] It is always a risk to update context (never change a running system). :-((( 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] AcroRd32 Runtime Error
Hallo, I have updated my context after a very long time. The first test run does not work because an initally dde attempt to acroread. I got the following errormessage: Microsoft Visual C++ Runtime Library Runtime Error! Program: C:\Programme\Adobe\Reader 9.0\Reader\AcroRd32.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I have Acrobat Reader Version 9.4.6. This is working ok with pdf files and this has worked ok with context prior to the update. What can I do to solve the 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] ! Undefined control sequence
> > What is the following command for: > > > > > \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broa > d] > > }] > > > > This is enough, or are there any problems? > > > > \setupTst[1][n,\getvariable{tst}{broad}*broad] > > > To explain it with simpler macros > > \setvariables[tst][set={...}] is similar to > > \def\tstset{\setupTst[1][n,\tstbroad*broad]} > > and > > \setvariables[tst][broad=5] is similar to > > \def\tstbroad{5} > > but the special thing is now that \setvariables calls \tstset (or to > be concrete the value of the 'set' key in \setvariables after the) value was > assigned to broad. > > In a complete and simple example this is what happens: > > \defineitemgroup[Tst] > > \def\tstset{\setupTst[1][\tstbroad*broad]} > > \starttext > > \startTst > \item text > \stopTst > > \def\tstbroad{5}\tstset > > \startTst > \item text > \stopTst > > \stoptext > > Wolfgang > Hi Wolfgang, my question was: Why is this \setvariables[tst][set=... necessary at all. The following example worked without that. \defineitemgroup[Tst] \setupTst[1][n,\getvariable{tst}{broad}*broad] \starttext \startTst \item text \stopTst \setvariables[tst][broad=5] \startTst \item text \stopTst \setvariables[tst][broad=9] \startTst \item text \stopTst % \showvariable{tst}{broad} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Re :! Undefined control sequence
Hallo Taco and Wolfgang, > > Why is this? > > Because \setupitemgroup expands its third argument. > > > And how can I make it work in position 2? > >\setupitemgroup[Tst][1][n,\noexpand\broad ] > thank you very much! > \defineitemgroup[Tst] > > \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broa > d]}] > > \starttext > > \startTst > \item text > \stopTst > > \setvariables[tst][broad=5] > > \startTst > \item text > \stopTst > > \stoptext > > Wolfgang What is the following command for: \setvariables[tst][set={\setupTst[1][n,\getvariable{tst}{broad}*broad] }] This is enough, or are there any problems? \setupTst[1][n,\getvariable{tst}{broad}*broad] 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \doifinset
Hallo, on the garden at http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions one can read to the command \doifinset 'If the first string expands 'empty', it is considered to be always in the set.' But \starttext \doifinset{}{A,B,C}{should go} \stoptext seams to show that this is wrong. Is my example wrong or my understanding of the above sentence? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] ! Undefined control sequence
Hallo, I have a little problem which I can not solve. The following example works with the definition of \broad in position 1 and it fails in position 2. - % Position 1 % \def\broad{5*broad} \defineitemgroup[Tst] \setupitemgroup[Tst][1][n,\broad ] % Position 2 \def\broad{5*broad} \starttext \startTst \item Test \stopTst \stoptext - Why is this? And how can I make it work in position 2? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \textvisiblespace
Hallo, shouldn't \textvisiblespace work in mkiv? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Pagenumbering
Hallo Wolfgang! > >> \starttext > >> \startfrontmatter > >> > >> \completecontent[alternative=c] > >> > >> \setuppagenumbering[state=start,alternative=doublesided,conversion=romannumerals] > >> > >> ... > >> > >> \setuppagenumbering[state=start,alternative=doublesided,conversion=numbers] > >> \setuppagenumber[state=start,number=1] > >> > >> \stopfrontmatter > >> > >> \startbodymatter > >> > >> ... > >> > >> \stopappendices > >> > >> \stoptext > >> > > This example doesn't produce roman numerals with > > > http://www.ntg.nl/pipermail/ntg-context/2009/043296.html I can see, that this is working, but I do not understand why this complicated way is necessary nor can I understand why the above is not working. Is the normal(?) behaviour broken and the solution in your url a workaround? These are the context things which are very frustrating for a normal user and one may come to the conclusion that only the enlightend guru can use this system. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Documentation for \completecontent
> Follows is an example of a document that illustrates 1, above: > > \starttext > \startfrontmatter > > \completecontent[alternative=c] > > \setuppagenumbering[state=start,alternative=doublesided,conversion=r > omannume > rals] > > \chapter{Preface} > \input knuth > > \chapter{Introduction} > \input knuth > > \setuppagenumbering[state=start,alternative=doublesided,conversion=n > umbers] > \setuppagenumber[state=start,number=1] > > \stopfrontmatter > > \startbodymatter > > \chapter{Chapter One} > \input knuth > > \chapter{Chapter Two} > \input knuth > \stopbodymatter > > \startappendices > > \page[stop] > > \stopappendices > > \stoptext This example doesn't produce roman numerals with ConTeXt ver: 2010.04.16 00:11 MKIV fmt: 2010.4.16 int: english/english With mkii they are ok. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] table: vertical distance
> \define[1]\divisionrule > {\dontleavehmode\blap > {\vskip-\strutht > \blackrule[width=\the\dimexpr.5em*#1\relax,height=2\linewidth]}% > \vskip-\lineheight} Ahh! Yes, this helps a lot. Thank you very much! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] table: vertical distance
Hallo, I have to typeset a division and have two diverent solutions but they both have problems. %- \starttext {\setuptables[rulethickness=0.05em,distance=small] \starttable[s0|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|] \NC\NC 1\NC 1\NC 0\NC 0\NC 1\NC 1\NC :\NC 1\NC 1\NC = \NC 1\NC 0\NC 0 \NC 0 \NC 1\NC\AR \NC\NC 1\NC 1\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \DC \DL[2] \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC\DR \NC\NC \NC 0\NC 0\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \NC\NC \NC 0\NC 0\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \DC\DC \DL[2]\DC \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC\DR \NC\NC \NC \NC 0\NC 0\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \NC\NC \NC \NC 0\NC 0\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \DC\DC\DC \DL[2] \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC\DR \NC\NC \NC \NC \NC 0\NC 1\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \NC\NC \NC \NC \NC 0\NC 0\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \DC\DC\DC\DC \DL[2] \DC \DC \DC \DC \DC \DC \DC \DC \DC \DC\DR \NC\NC \NC \NC \NC \NC 1\NC 1\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \NC\NC \NC \NC \NC \NC 1\NC 1\NC \NC \NC \NC \NC \NC \NC \NC \NC \NC\AR \DC\DC\DC\DC \DC \DL[2]\DC \DC \DC \DC \DC \DC \DC \DC \DC \DR \NC\NC\NC\NC\NC\NC\NC 0\NC\NC\NC\NC\NC\NC\NC\NC\NC\NC\AR \stoptable} \setuplines[style=type] \startlines 110011:11=10001 11 -- ~00 ~00 ~-- ~~00 ~~00 ~~-- ~~~01 ~~~00 ~~~-- 11 11 -- ~0 \stoplines \stoptext %- In both examples there is a far to big distance between the lines and the upper digits. But the interline distance as a whole could be smaller. The simulation of a line with '--' in the second example is unsatisfying. Are there some improvments? Or, is there an idea for a better approach? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] simplebib
> > Sorry, I meant the first only. > > > > There are two commands \bibitem and \bibsource which are not clear > to me. > > > When i decode the code (ugly formatting) correct this works: > > \starttext > > bla \in{book}[knuth:1] bla > > bla \bibref[knuth:2]{} bla > > bla \bibref[knuth:3]{} bla > > \startbibliography > > \bibitem[knuth:1]{} Donald E. Knuth, The \TeX book > > \bibitem[knuth:2]{Knuth} Donald E. Knuth, The \METAFONT-book > > \bibsource[key=knuth:3,title=The Art of Computer Programming,...] > > \stopbibliography > > \stoptext > > Wolfgang That means that these two commands are alternatives. Do you know who is the author of this. There is a version number 0.04 and the comment (still in development). I have made some corrections and don't want to do this in the wiki without contacting the author. There should also be a example of usage, maybe yours? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] simplebib
> > on the garden there is am module called 'simplebib' > > which has commands \bibitem and \bibsource > > > > Are these two commands meant alternativly? > > > Both are unrelated to each other, they are two different ways to > create a bibiliography without the bib module and a bib file. > > Wolfgang Sorry, I meant the first only. There are two commands \bibitem and \bibsource which are not clear to me. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] simplebib
Hallo, on the garden there is am module called 'simplebib' which has commands \bibitem and \bibsource Are these two commands meant alternativly? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] callback.register
> there are two user hooks: > > tasks.appendaction("processors","before","modules.mine.whatever_a") > tasks.appendaction("processors","after","modules.mine.whatever_b") > - My example looks now \starttext \startluacode function MyPreLB(head,gc) texio.write("\n") for n in node.traverse(head) do if node.type(n.id) == "glyph" then texio.write(string.char(n.char)) elseif node.type(n.id) == "glue" then texio.write(' ') end end texio.write("\n") return head end tasks.appendaction("processors","before","MyPreLB") \stopluacode Dies ist ein Test. \stoptext Is it correct to return 'head'? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] callback.register
> Hello, > > Here a patch for luat-cbk.lua: > > function callbacks.register(name,func,freeze) > if frozen[name] then > if trace_callbacks then > frozenmessage("registering",name) > end > return nil, name .. " is frozen" > elseif freeze then > frozen[name] = (type(freeze) == "string" and freeze) or > "registered" > return register_callback(name,func) > else > return register_callback(name,func) > end > end > > function callback.register(name,func) -- original > if frozen[name] then > if trace_callbacks then > frozenmessage("registering",name) > end > return nil, name .. " is frozen" > else > return register_callback(name,func) > end > end > > (Untested...) > > Cheers, Peter and function callbacks.report() local list = callback.list() for name, func in table.sortedpairs(list) do local str = frozen[name] if str then logs.report("callbacks","%s: %s -> %s",state(name),name,str) else logs.report("callbacks","%s: %s",state(name),name) end end end 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] callback.register
> > I tried the following > > > > -- > > \starttext > > \startluacode > > local OldPreLB > > > > function MyPreLB(head,gc) > > ?texio.write_nl("### Here I am!") > > ?OldPreLB(head,gc) > > end > > > > OldPreLB = callback.find('pre_linebreak_filter') > > callback.register('pre_linebreak_filter',MyPreLB) > > \stopluacode > > > > Test > > \stoptext > > -- > > > > but MyPreLB() is not called. > > What I am doing wrong here? > > Hi Wolfgang, > > see http://www.ntg.nl/pipermail/ntg-context/2010/047018.html > > -- > Best regards, > > Li Yanrui (???) I see! >From the info found there - there are two user hooks: tasks.appendaction("processors","before","modules.mine.whatever_a") tasks.appendaction("processors","after","modules.mine.whatever_b") - it is not clear for me how to use this. So it seems that the luatex reference is useless for a context user. Is there an other documentation on this? I have found an other mechanism in 'luat-cbk.lua' which offers a pair of functions 'callbacks.push()' and 'callbacks.pop()'. But I have not made any attempts to use them. Are they useable or are they disabled too? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] callback.register
Hallo, I tried the following -- \starttext \startluacode local OldPreLB function MyPreLB(head,gc) texio.write_nl("### Here I am!") OldPreLB(head,gc) end OldPreLB = callback.find('pre_linebreak_filter') callback.register('pre_linebreak_filter',MyPreLB) \stopluacode Test \stoptext -- but MyPreLB() is not called. What I am doing wrong here? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] randomize
> > I know this and I have triggerd this by hand. So there is a lot of > > time between. I have purged files between every run and I got the > > same result if I wait 1 second, 1 minute or 1 day. > > Well, then it probably qualifies as a bug, and, since the .tuc > file > has apparently been dismissed as a cause, you'd have to provide > more > precise information if you're interested in having it corrected (or > do the debugging yourself, of course). > > Arthur I have found a discussion on this thema. See http://lua-users.org/lists/lua-l/2007-03/msg00564.html So I have changed the example to - \starttext \startluacode math.randomseed(os.time()) _=math.random() \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'} context('%s string', a[math.random(1,3)]) \stopluacode \stoptext - and this is working ok! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] randomize
> > Now it works. But WHY? > > Because that's the way random number generators works. They're > not > random at all, they generate completely predictable number > sequences > from a "seed": each time you use the same seed, you get the exact > same > sequence. In your case, you used os.time() as a seed, which is an > integral number of seconds elapsed since some fixed date, and the > fact > you saw the same number ten times simply means your code was ran > ten > times within the same second. I know this and I have triggerd this by hand. So there is a lot of time between. I have purged files between every run and I got the same result if I wait 1 second, 1 minute or 1 day. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] randomize
> >> Delete the tuc file with 'context --purgeall'. > >> > > This does not work! I get allways the same. > > > Delete > > \startluacode > math.randomseed(os.time()) > \stopluacode > > in your file. Now it works. But WHY? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font lookup
> > When you know the filename, you can get the complete path like > this: > > > > \starttext > > > \ctxlua{tex.print(resolvers.find_file("texgyrepagella-regular.otf")) > } > > \stoptext > > > Your question is now answered but why do you need the complete > path? > > Wolfgang I want to modify an example from Patrick (Eigenen Fontloader erstellen) in his blog. I hope I will learn a little from this. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] randomize
> > I get allways (10 times at least) the same result: > > - > > \starttext > > \startluacode > > math.randomseed(os.time()) > > \stopluacode > > > > Encode your Name and Surname as a > > \startluacode > > local a = {'null-terminated', 'dollar-terminated', 'Pascal'} > > context('%s string', a[math.random(1,3)]) > > \stopluacode > > \stoptext > > - > > How can I randomize this? > > Hmm... which version are you using? I do get a ranom output each > time. > Tested with 2009.12.31 and 2010.03.20. This is LuaTeX, Version beta-0.60.0-2010040521 (rev 3596) \write18 enabled. (tst-b.tex ConTeXt ver: 2010.03.30 18:56 MKIV fmt: 2010.4.7 int: english/english > Since the math seed is set after \starttext, it should overwrite the > value after reading the tuc file. > > Actually, I consider saving the random number in tuc file to be a > misfeature. A random sequence generator should generate a random > sequence. > If I want the same behavior all the time, I can use > \setupsystem[random=12345] (which should also set > math.randomseed). I agree with this! A feature could be to save the last used random value in the tuc, so that one can continue with the former used sequenz. But this should not be used automatically, too. May be one should than say \setupsystem[random=last] 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] randomize
> Am 06.04.10 00:21, schrieb Wolfgang Werners-Lucchini: > > Hallo, > > > > I get allways (10 times at least) the same result: > > - > > \starttext > > \startluacode > > math.randomseed(os.time()) > > \stopluacode > > > > Encode your Name and Surname as a > > \startluacode > > local a = {'null-terminated', 'dollar-terminated', 'Pascal'} > > context('%s string', a[math.random(1,3)]) > > \stopluacode > > \stoptext > > - > > How can I randomize this? > > > ConTeXt saves the random value in the tuc file to get the same > output in > each run. > > Delete the tuc file with 'context --purgeall'. This does not work! I get allways the same. And shouldn't the tuc-seed be overwriten from my os.time-seed? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] font lookup
Thank you Wolfgang, > > how can I find the complete path of a existing font > > with luatex under context mkiv. I am looking for an > > equivalent function to > > > > kpse.lookup(fontname) > > > Here is a solution which consults ConTeXt?s font database, no path > in the output means the font is stored in the TeX tree. > > Example: > > \define[1]\FontLookup > {\dolookupfontbyspec{#1} > \ifcase\dolookupnoffound > Font not found\par > \else > Path: \dolookupgetkey{filename}\par > \fi} > > \starttext > \FontLookup{fontname=texgyrepagellaregular} > \FontLookup{fontname=texgyrepagellaoblique} > \FontLookup{fontname=timesnewromanpsmt} > \stoptext > > Result (on my system): > > Path: texgyrepagella-regular.otf Hmm! How does context resolve the complete path afterwards? > Font not found > Path: /Library/Fonts/Times New Roman.ttf Isn't there a lua solution? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] randomize
Hallo, I get allways (10 times at least) the same result: - \starttext \startluacode math.randomseed(os.time()) \stopluacode Encode your Name and Surname as a \startluacode local a = {'null-terminated', 'dollar-terminated', 'Pascal'} context('%s string', a[math.random(1,3)]) \stopluacode \stoptext - How can I randomize this? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] font lookup
Hallo, how can I find the complete path of a existing font with luatex under context mkiv. I am looking for an equivalent function to kpse.lookup(fontname) 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
> > I have it found! > > > > In chapter 4.1.1.10 of the luatex reference one can read: > > > > The argument name is a bit special in this case. Its form is > > > > dpi/.pk > > well, i could turn > > 600dpi/manfnt.720pk > > into > > manfnt.720pk > No, no! That makes sense this way. -- Never change a running system -- 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] setuptex.bat
Hallo, I don't know if the maintainer of the minimals or Hans is the person I have to ask. Is it possible to change the line set PATH=%TEXMFOS%\bin;%PATH% to set PATH=%TEXMFLOCAL%\bin;%TEXMFOS%\bin;%PATH% or set PATH=%TEXMFPROJECT%\bin;%TEXMFOS%\bin;%PATH% in 'setuptex.bat'? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pk-directory
Hallo, I have it found! In chapter 4.1.1.10 of the luatex reference one can read: The argument name is a bit special in this case. Its form is dpi/.pk 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
Hallo Hans, > > so it would be nice, if a user could see (from a log) what and > > where luatex is searching. Isn't there any switch? > > --track=resolvers.locating,resolvers.detail Hmm! luatex ignores this and luatex --help does not list an option named --track nor does it context. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
Hallo Taco, > >> Dumping a ready-made pk file in the local directory worked last > >> time I tried it. > > > > > > No success! Neiter *.pk nor *.600pk > > and not with a local subdir /dpi600 > > > > What extension have you used? > > .600pk (but that was ages ago, when I still cared about pk fonts) so it would be nice, if a user could see (from a log) what and where luatex is searching. Isn't there any switch? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
> > Is there a debug-switch which informs the user what and where > > luatex is searching? > > If you're working in a shell, try setting the KPATHSEA_DEBUG > environment variable to -1, you will get tons of information about > path lookups and directory searches. > > Arthur I thought luatex does not use kpathsearch anymore? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter: backaddress
Hallo Wolfgang, > You're mixing different things. > > What is the difference between > > > > \setupletterstyle[option][backaddress=yes] > > > With \setupletterstyle[=yes|no] you can show or hide > elements ok! > > \setupletterstyle[backaddress][alternative=yes] > > > > In 'default.nli' I found > > > > \defineletterelement[\v!backaddress][\v!auto] > >{\doifelselettervalue\c!backaddress > > {\lettervalue\c!backaddress} > > {\lettervalue\c!fromname > >\doiflettervalue\c!fromaddress\\ > >\lettervalue\c!fromaddress}} > > > > what I interpret in the following way: > > > > If 'backaddress'=auto > >If exist a constant 'backaddress' > > use it > >else > > compose one from 'fromname' and 'fromaddress' > > > The constant needs a content, if there is no content for > 'backadress' the field is filled with 'fromname' and 'fromaddress'. So let's test if I have understand this: With \setupletterstyle[option][backaddress=no|yes] one can disable|enable a backaddress. With \setupletterstyle[backaddress][alternative=no|yes|auto] one can select between no backadress| a composed backaddress from the fromdata| the yes behaviour if no predefined backaddress is defined And to define such a own backaddress, one uses \setlettervalue{backaddress}{something} Hopefully this is right! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] color problem with columns
> > > > \setupcolors[state=start] > > \newcounter\V > > \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1} > > > \def\Vers#1{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V} > #1} > > but i think this is better > > \setupcolors[state=start] > > \definelabel >[Vers] >[headstyle=bolditalic, > headcolor=darkgreen, > command=\groupedcommand\dontleavehmode\space] > > \starttext > \startcolumns > text\par\dorecurse{50}{\Vers Dies ist ein Testsatz der gerade lange > genug ist, um zu zeigen was zu zeigen ist.\par} > \stopcolumns > \stoptext Thank you very much! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] color problem with columns
Hallo, on Vers 38 at page 2 (see example) text is green. \setupcolors[state=start] \newcounter\V \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1} \starttext \startcolumns \dorecurse{50}{\Vers{Dies ist ein Testsatz der gerade lange genug ist, um zu zeigen was zu zeigen ist.}\par} \stopcolumns \stoptext How can this be fixed? Wolfgang PS If a Vers is starting on a new page, the number is black. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
On 27 Mar 2010 at 12:00, ntg-context-requ...@ntg.nl wrote: > > That being said, I realize that it means Metafont fonts can't be > > used in Mark IV, am I right? > > Dumping a ready-made pk file in the local directory worked last > time I tried it. No success! Neiter *.pk nor *.600pk and not with a local subdir /dpi600 What extension have you used? Is there a debug-switch which informs the user what and where luatex is searching? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter: backaddress
Hallo, > \setupletterstyle[backaddress=yes] > > it's a disabled by default but i forgot to do this also in the > default style > (most styles reset the layout and use default values before they > modify it) > > \setupletterstyle > >[backaddress] > >[alternative=auto, > > > 'auto' is now the default value > > Wolfgang I do not understand the the main principle. What is the difference between \setupletterstyle[option][backaddress=yes] and \setupletterstyle[backaddress][alternative=yes] In 'default.nli' I found \defineletterelement[\v!backaddress][\v!auto] {\doifelselettervalue\c!backaddress {\lettervalue\c!backaddress} {\lettervalue\c!fromname \doiflettervalue\c!fromaddress\\ \lettervalue\c!fromaddress}} what I interpret in the following way: If 'backaddress'=auto If exist a constant 'backaddress' use it else compose one from 'fromname' and 'fromaddress' To use this, I tried to set \setupletterstyle[option][backaddress=auto] or \setupletterstyle[backaddress][alternative=auto] And I tried to set this constant backaddress, with setlettervalue{backaddress}{something} But no combination is working. What worked is \setupletterstyle[option][backaddress=yes] \setlettervalue{backaddress}{something} which should not work, because \defineletterelement[\v!backaddress][\v!yes] {\lettervalue\c!fromname \doiflettervalue\c!fromaddress\\ \lettervalue\c!fromaddress} is composing the 'backaddress' from the fromdata. My skills to read the sourcecode are very limited, so most likely I buhave something misunderstood. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] letter: backaddress
Hallo, 'backaddress' is composed from 'fromname' and 'fromaddress', but this is to long and must be shortend. How can I overwritte 'backaddress'? Gruß, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pk-directory
On 26 Mar 2010 at 22:09, Hartmut Henkel wrote: > On Fri, 26 Mar 2010, Hans Hagen wrote: > > On 26-3-2010 21:30, Wolfgang Werners-Lucchini wrote: > > > > > > how should the directory be named where a 600 dpi pk-font is > > > searched for by luatex? > > > > i'm not so sure if luatex does pk fonts (i havent't included pk > fonts > > in 15 years) > > it does, with the default kpathsea paths, e. g.: > > h...@hahepc1:~$ luatex xx > This is LuaTeX, Version beta-0.52.0-2010032122 (rev 3515) > (./xx.tex [1] ) > r10.600pk> > Output written on xx.pdf (1 page, 3242 bytes). > Transcript written on xx.log. > > or > > This is LuaTeX, Version beta-0.52.0-2010032122 (rev 3515) > (./xx.tex [1] ) > pi600/cmr10.pk> > Output written on xx.pdf (1 page, 3242 bytes). > Transcript written on xx.log. > > Regards, Hartmut Hello Hartmut, hallo Hans, I have tried both variants but nothing works. I use the minimals under windows. What can I do (examine files, logs) to solve the 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter-module: reference
Hallo Wolfgang, > > I am trying to make a simple invoice with Wolfgangs letter-module > and > > have some questions: > > > > I have the following reference in mind > > > > \setupletterstyle[reference][ > > alternative=d, > > list={invoice,taxnumber,phone,date}] > > > > 1) How can one position this horizontaly and verticaly? > > > Manual: Section 9.3 and 9.7 This means, that one has to make a customized reference? > > 2) How can I define additional keys like 'taxnumber'? > > > > I have found a key 'frombank' but it is to long for the ref-line and > > > Manual: Chapter 5 Sorry, I must have tomatoes on my eyes but I can not find a command in this chapter which defines a new key. I found \setuplabeltext which sets the labeltext of a defined key and I found \setlettervalue which sets label and value at once. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] pk-directory
Hallo, how should the directory be named where a 600 dpi pk-font is searched for by luatex? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] letter-module: reference
Hallo, I am trying to make a simple invoice with Wolfgangs letter-module and have some questions: I have the following reference in mind \setupletterstyle[reference][ alternative=d, list={invoice,taxnumber,phone,date}] 1) How can one position this horizontaly and verticaly? 2) How can I define additional keys like 'taxnumber'? I have found a key 'frombank' but it is to long for the ref-line and I will put this in the footer, but \setupfootertexts[bla][blub] does not work 3) I have found a variable 'foot'. How can this be used? 4) Is it possible to use 'frombank' in other positions than the ref- line, in the footer per example? Thank you 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] letter module not working
Hallo Wolfgang, > > I have problems compiling this with > > ConTeXt ver: 2010.03.20 22:59 MKIV > > [...] > > > I can't reproduce this. Can you take a look at the end of the log > for > this information: > > correspondence : t-correspondence.tex: 2010.02.28 > correspondence : t-letter.tex: 2009.10.10 > correspondence : default.nli: 2010.02.28 > correspondence : dinb.nls: 2009.10.07 > correspondence : default.nls: 2010.02.28 > correspondence : label.nle: 2009.07.03 > correspondence : addrentry.nle: 2008.12.26 > correspondence : dina.nls: 2007.02.11 I forgot how to tell context to produce a verbose log, but the hint was right. I normaly install the letter module in a local tex tree, but have made an update before with call first-setup --extras="t-letter" and this has installed the letter module in the standard tree where it was not found. Sorry for this! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] letter module not working
Hallo, I have problems compiling this with ConTeXt ver: 2010.03.20 22:59 MKIV -- % coding: utf-8 \usemodule[letter][style=dina] \mainlanguage[deo] \enableregime[utf-8] \setupletter [fromname={\tfa Wolfgang Werners-Lucchini}, subject={Blub}] \starttext \startletter bla \stopletter \stoptext - error message: system : module letter loaded systems : begin file brief2.tex at line 10 ! Missing number, treated as zero. \relax l.6 } \dovspacingyes ...ument #1\else \s!default \fi ")} \fi \dosetcorrespondencesection ... {#2}{#3}\c!after } \endgraf \endgroup \@@su:letter:place:content ...ection [\v!content ] \executeifdefined {\v!lett... \next1 #1,->\doflushlettersection {#1} \doprocesscommaitem ... l.13 \stopletter ? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] math error
Sorry, I found it! \starttext \startformula[] [29;2,2,1]=\frac{206}{7} \stopformula \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] math error
Hallo, the following example compiles ok \starttext \startformula \frac{206}{7}=[29;2,2,1] \stopformula \stoptext while this compiles not \starttext \startformula [29;2,2,1]=\frac{206}{7} \stopformula \stoptext Bug or user 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv and unicode
Hallo, > > I work all the time with good old mkii-context, but I have had a lot > > of problems last time, which could be solved easely if I switch to > > mkiv. So I wonder if I should change. The main argument for me to > > stay with mkii is the following: > > > > I have a lot of lua scripts withhin scite which are preprocessing my > > textfiles (string.gsub etc.) These scripts depent on ansi-code and do > > not work with unicode too. > > > > An other problem I have, is to teach scite to use utf-8 per default. > > (code.page=65001) does not work for me. I have tried this with a > > lot of versions of scite. > > code.page=65001 > output.code.page=65001 I have tried this very often. I have tried this in a fresh scite installation uncommenting this in the global propertie file. But it doesn't work. File->Encoding is Code Page Property. And my files are saved in Ansi. I do not want look every time if I have saved with the proper encoding. I do not want files with ansi and files in utf mixed. I have considered to change the editor, but I very like the lua ability. > > Has anybody experiences with scite-lua-scripts and unicode? > > it depends on what you do but normally lua does not care about funny > characters in strings > > an option is to run the script outside scite and pipe data back Yes, this should allow one to use special librarys. I have heard of 'slnunicode' but haven't tested it yet. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mkiv and unicode
Hallo, I work all the time with good old mkii-context, but I have had a lot of problems last time, which could be solved easely if I switch to mkiv. So I wonder if I should change. The main argument for me to stay with mkii is the following: I have a lot of lua scripts withhin scite which are preprocessing my textfiles (string.gsub etc.) These scripts depent on ansi-code and do not work with unicode too. An other problem I have, is to teach scite to use utf-8 per default. (code.page=65001) does not work for me. I have tried this with a lot of versions of scite. Has anybody experiences with scite-lua-scripts and unicode? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Dezimalkomma
> > Hallo, > > > > I must do something wrong. It is not working for me: > > > > \setupmathematics[autopunctuation=yes] > > \starttext > > $0,1$ > > \stoptext > > maybe an too old version > As I wrote, I tested on the garden. This version is current enough I thinck. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] colored column
Hallo, can someone explain how to write a table column in color, please? The following example worked in 2006 but is not working anymore: \starttext \starttable[o1|\{C{red}|] \VL red \VL\SR \stoptable \stoptext Wolfgang Schuster posted last year the following example: \NewFormatKey W#1% {\ReadFormatKeys b{\localstartcolor[#1]\{} a{\}\localstopcolor}} \starttable[o1|W{red}c|] \VL red \VL\SR \stoptable But this results in printing '{red}' in red, not 'red'! And this variant paints the following vertical line in red too: \NewFormatKey W#1% {\ReadFormatKeys b{\localstartcolor[#1]} a{\localstopcolor}} \starttable[o1|W{red}c|] \VL red \VL\SR \stoptable So, how can I do the job? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] sometimes \rightaligned
Hallo, I have an other problem which was asked for years if I remember right. But I can not find it. In the following \starttext \startnarrower Und Gott der Herr machte Adam und seinem Weibe Röcke von Fellen, und kleidete sie. \RA{\tfx (Genesis 3, 21)} \stopnarrower \stoptext I want \RT a macro which does nothing if there is enough space on the right to set the whole argument and puts the argument in a new line, rightaligned otherwise. Can someone remember who has asked this before, or a fresh solution alternativly. thank you 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Dezimalkomma
Hallo, I must do something wrong. It is not working for me: \setupmathematics[autopunctuation=yes] \starttext $0,1$ \stoptext tested on the garden. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Dezimalkomma
Hallo, if I write $0,8$ the distance between the ',' and the '8' is too big. I can write $0,\!8$ or an other kern, but I don't see how I can write a macro to avoid the extra effort. Shouldn't be this gap in german (\mainlanguage[deo]) as big as $0.8$ in US? Is there a switch I have overseen? --- \mainlanguage[deo] \starttext $0,8$ $0.8$ $0,\!8$ \stoptext --- Thank you 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] table alignment
Thank you Aditya and Wolfgang, I will try it both: > No page breaks possible: > > \defineframedtext[tablebox][frame=off,width=\hsize,offset=0pt,before > =,after=] > > \starttext > > vorher > > \startnarrower > > text > > \starttablebox > \starttable[s0|l|] > \NC table entry \NC\AR > \stoptable > \stoptablebox > > \stopnarrower > > text > > \startnarrower > > text > > \startlinecorrection \dontleavehmode > \startTABLE[frame=off,offset=0pt,loffset=0.25ex,roffset=0.25ex] > \NC table entry \NC\NR > \stopTABLE > \stoplinecorrection > > \stopnarrower > > text > > \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] table alignment
Hallo, > > But how can I get my 3cm? > > If you do not use horizontal lines > > \starttable[o(3cm)|l|] > > Aditya > Not horizontal lines, but a gray header: \starttable[o(3cm)|l|] \RL\SR \NC hmm \NC\AR \stoptable Thank you Aditya for this workaround. If there is really no solution, I will make something with an empty first column. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] table alignment
Thank you Taco, > > I want some space on the left of \start\stoptables. What I get is > > SOME space, but not that what I wanted! > > > > --- > > \starttext vorher > > \setupnarrower[left=3cm] > > \startnarrower[left] > > \starttables[|l|] > > > > Where is that little space from? How can I get a left space of, > say 3cm? > > \starttables[s0|l|] > I see. So, there is no space anymore. But how can I get my 3cm? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] table alignment
Hallo, > > I want some space on the left of \start\stoptables. What I get > is > > SOME space, but not that what I wanted! > > > \starttabulate[|l|] > \NC hmm \NC\NR > \stoptabulate > > Wolfgang Does this mean, that there is no solution with \start\stoptables? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] table alignment
Hallo, I asked this question some times before but I can't remember if I got some answers. Sorry! I want some space on the left of \start\stoptables. What I get is SOME space, but not that what I wanted! --- \starttext vorher \setupnarrower[left=3cm] \startnarrower[left] \starttables[|l|] \NC hmm \NC\MR \stoptables \stopnarrower nachher \stoptext --- Where is that little space from? How can I get a left space of, say 3cm? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columns and whitespace
Hallo Wolfgang, > > Neither \setupwhitespace[halfline]nor > \setupcolumns[blank=halfline]is > > working. Grid is off by default, isn't it? > > > Set the whitespace after \startcolumns. This works, but shouldn't be the whitespace a global setting? I found an other ?solution? When BOTH \setupwhitespace[small] \setupcolumns[blank=halfline] is set then halfline is accepted. But halfline > small. I like context very much, but finding the right option is often a game of pure chance. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columns and whitespace
> > is it possible to get a half line space after paragraphs in > columns? > > The default is no space. And > > > > \setupwhitespace[small] > > > > produces a whole line of space. > > halfline should work unless the grid is forced (although in mkiv > different rules apply than in mkii) > > Hans Neither \setupwhitespace[halfline]nor \setupcolumns[blank=halfline]is working. Grid is off by default, isn't it? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] columns and whitespace
Hallo, is it possible to get a half line space after paragraphs in columns? The default is no space. And \setupwhitespace[small] produces a whole line of space. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] columns and footnotes
Hallo, I use: ConTeXt ver: 2009.11.24 10:13 MKII fmt: 2009.11.24 int: english/english and I have many problems with columns and footnotes. Is there a possibility to set footnotes in two columns too? I tried \setupfootnotes[location=columns] but I can not see any difference to \setupfootnotes[location=lastcolumn] In the moment I use \setupfootnotes[location=page] and it is often the case that footnotes are printed one page to early. It is sometimes the case that the columns and the footnote area overlapp. What can I do to avoid these problems? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] defining commands
Hallo, > >> btw, i'm sure that you've seen > >> > >> \starttexdefinition blabla #1 #2 > >> > >> which like setups ignores spaces so one can have readable > macros > > i was the one who requested the parameterless version > > > > \starttexdefinition commandonly I experimented a little with this: \starttexdefinition BIS #1 #2 [#1 \ldots\ #2] \stoptexdefinition \starttext \BIS1 23 \BIS{10}{20}30 \BIS {10}{20}30 \BIS{10} {20}30 \BIS{10}{20} 30 \BIS {10} {20}30 \BIS{10} {20} 30 \BIS {10} {20} 30 \stoptext and get this: [1 ... 2]3 [102030 ... ][102030 ... ][10 ... 20]30 [1020 ... 3]0 [10 ... 20]30 [10 ... 20] 30 [10 ... 20] 30 So it seems, that the first blank between command and #1 is optional. But the second between #1 and #2 is NEEDED. A last blank after #2 is not needed and not eaten. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] lost in documentation
> Can you make a minimal example or should we waste our time to write > one for you? > > Wolfgang Sorry, here it is: \starttext >From texshow-web { \setuphead[section-3][bodypartconversion=Characters] \section{One} } but this does not work. I deleted the 's' from Characters { \setuphead[section-3][bodypartconversion=Character] \section{Two} } but that is not working too. At the garden page 'titles' I found { \setupsection[section-3][bodypartconversion=Character] \section{Three} } that works, but it does not correspont to the syntaxdescription in texshow-web, which is \starttyping \setupsection[...][...][...,...=...,...] [...] name [...] name conversion numbers characters Characters romannumerals Romannumerals previousnumber yes no \stoptyping The second parameter should be a 'name' and bodypartconversion is not a parameter at all. Looking at the description, my problem should be solved by { \setupsection[section-3][][conversion=Characters] \section{four} } and this works. But the version { \setupsection[section-3][conversion=Characters] \section{five} } works too. Why? And what is the difference to the first solution? \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] leftedge
Hallo, in \setupbackgrounds[header][leftedge,text,rightedge][bottomframe=on] left- and rightedge is not recognized. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] stopper and separator
Hallo, can anyone explain, what \setupheads[stopper={A}] resp. \setupheads[separator={B}] should do? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] lost in documentation
Hallo, this are the things which driving me nuts: Suppose I want to numerate my sections with uppercase characters. In texshow-web I found \setuphead[section-3][bodypartconversion=Characters] but this does not work. I deleted the 's' from Characters \setuphead[section-3][bodypartconversion=Character] but that is not working too. At the garden page 'titles' I found \setupsection[section-3][bodypartconversion=Character] that works, but it does not correspont to the syntaxdescription in texshow-web, which is \setupsection[...][...][...,...=...,...] [...] name [...] name conversion numbers characters Characters romannumerals Romannumerals previousnumber yes no The second parameter should be a 'name' and bodypartconversion is not a parameter at all. Looking at the description, my problem should be solved by \setupsection[section-3][][conversion=Characters] and this works. But the version \setupsection[section-3][conversion=Characters] works too. Why? And what is the difference to the first solution? So much open questions. So much lost time. Wolfgang, a little bit frustrated. ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] simple layout
> \NC \tbox{\externalfigure[...]} \NC ... \NC\AR > > You can find more box type in supp-box.tex Yes! I have never heared about this. Thank you very much! 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] simple layout
Hallo, I need a little help for this simple layout. I am looking for a solution for hours now, but I can not get it work: \setupcolors[state=start] \starttext \framed[background=color, backgroundcolor=gray]{% \starttable[|lp(.1\textwidth)|lp(.9\textwidth)|] \NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}} \NC Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts! \NC\AR % \NC Text rechts! \NC\AR \stoptable} Mehr Text \ldots \stoptext - left: picture (not always the same height) right: text (variable height, sometimes more, sometimes less than on the left) left and right framed (height should be the maximum of left and right height) after that: normal text. Problems: If height(left)>height(right) than height(framed) is not height(left) 'Mehr Text' is not left aligned 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texshow
On 4 Dec 2009 at 16:59, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@ntg.nl Betreff:ntg-context Digest, Vol 66, Issue 21 An: ntg-context@ntg.nl Antwort an: ntg-context@ntg.nl Datum: Fri, 04 Dec 2009 16:59:48 +0100 > > Can I P L E A S E have my good old texshow.pl back? > > Not texshow but at least a overview over all documented commands: > http://pragma-ade.com/download-5.htm Is it possible to include a second XML-File (for the missing commands) in the process which generates 'setup-en.pdf'? I don't like to mix this. With texshow there was an option to include an other second XML-File with examples. Is this possible too? Gruß, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] texshow
On 4 Dec 2009 at 12:00, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@ntg.nl Betreff:ntg-context Digest, Vol 66, Issue 19 An: ntg-context@ntg.nl Antwort an: ntg-context@ntg.nl Datum: Fri, 04 Dec 2009 12:00:03 +0100 > >>> I can't find a file 'texshow.pl' anymore at my context tree. > >>> Is the file excluded in actual minimals? > >> > >> mtxrun --script server --auto > > > > I tried to use this command under windows 2000 scite (console). > > The process does not do anything obvious. I have killed it after > some > > time. > > There should be a line like > > MTXrun | context services: > http://localhost:31415/mtx-server-ctx-startup.lua There is no output at all. > in the terminal, you can copy the link and use it in your browser to > run texshow. This works. But this is blocking the scite-console, which I need for a couple of other things. Can I P L E A S E have my good old texshow.pl back? Wolfgang > -- Musensturm-Verlag -- Postfach 1249 -- 36126 Gersfeld >>> http://www.musensturm.de ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to count with chapter
On 3 Dec 2009 at 18:17, ntg-context-requ...@ntg.nl wrote: Von:ntg-context-requ...@ntg.nl Betreff:ntg-context Digest, Vol 66, Issue 16 An: ntg-context@ntg.nl Antwort an: ntg-context@ntg.nl Datum: Thu, 03 Dec 2009 18:17:05 +0100 > > is this a bug too? > > --- > > %\chapter{Bla} > > \definenumber[PC]\getnumber[PC] > > \setnumber[PC]{1}\getnumber[PC] > > \incrementnumber[PC]\getnumber[PC] > > \incrementnumber[PC]\getnumber[PC] > > --- > > Without \chapter I get: 0 1 2 3 > > With \chapter: 0 1 1 2 > > by default counters are reset per chapter and incrementnumber does > the check > Hmm. But isn't it wrong to reset a counter who doesn't even exist with chapter start? Why not do the same check with setnumber? Gruß, 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___