Re: [NTG-context] table row span question
> Use natural tables, they provide better control about the > cell size and > layout. Wolfgang, thanks! I wasn't aware of them. They don't seem to have found their way into contextref.pdf I could do what I want and more! Below is the solution for my situation. Gleened from http://wiki.contextgarden.net/TABLE and the docs referenced on that page. Martin \setupTABLE[column][width=4cm] \setupTABLE[column][1][width=1cm] \setupTABLE[row][align={middle,lohi},height=6ex] \bTABLE \bTR \bTD Std \eTD \bTD Montag \eTD \bTD Dienstag \eTD \bTD Mittwoch \eTD \bTD Donnerstag \eTD \bTD Freitag \eTD\eTR \bTR \bTD 1 \eTD \bTD[nr=2] mo \eTD \bTD[nr=2] di \eTD \bTD[nr=2] mi \eTD \bTD frei \eTD \bTD frei \eTD \eTR \bTR \bTD 2 \eTD \bTD do \eTD \bTD fr \eTD \eTR \bTR \bTD 3 \eTD \bTD mo \eTD \bTD di \eTD \bTD mi \eTD \bTD do \eTD \bTD fr \eTD \eTR \eTABLE ___ 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] "show u;" from TeX
Hi! Is it possible to get the value of a MetaPost variable from TeX? It can, e.g., add "show u;" to MetaPost input, then parse output. I want to pretty- print the values of some MetaPost variables. Another question: is it possible to query the expansion of a macro from inside \directlua, if I have a variable that stores the macro name? ___ 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] Problems with the installation of the minimals on Win XP
Hi! Why not to use my Win installer? ;) @Mojca or someone at the server: I see that http://minimals.contextgarden.net/setup/context-installer/ContextMinimalInstall.exe contains quite old version of the installer. Can you please update it if I send you the files? -- Best Regards, Vyatcheslav Yatskovsky ___ 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] ConTeXt Minimals and TEXMFCACHE
On 26-8-2010 9:03, Nicola wrote: Hi, according to the wiki “ConTeXt minimals does not touch anything outside its installation folder”, but if TEXMFCACHE is not set by setuptex, actually many files may be written outside the ConTeXt minimals folder, and (as in my case) they may conflict with the files written by ConTeXt from TeX Live in the same cache folder. Is there any reason why exporting TEXMFCACHE is commented out in setuptex? You can set it up in a texmfcnf.lua file in your texmf-local/web2c tree. Anyway, it is unlike to conflict as I hash the path so one cache can serve many trees. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] impostion
Hello, is it possible to create following impostion, please? \setuppapersize[A5,landscape][A4] \setuparranging[???] | 2nd page| | bottom up | | | | | | 1 st page | | normal | | | | | | 4th page| | bottom up | | | | | | 3rd page | | normal | | | | | regards Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/ ___ 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] ConTeXt Minimals and TEXMFCACHE
Hi, according to the wiki “ConTeXt minimals does not touch anything outside its installation folder”, but if TEXMFCACHE is not set by setuptex, actually many files may be written outside the ConTeXt minimals folder, and (as in my case) they may conflict with the files written by ConTeXt from TeX Live in the same cache folder. Is there any reason why exporting TEXMFCACHE is commented out in setuptex? Nicola ___ 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] align header in table
Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on] \NC \alpha \NC \beta \NC error absoluto\NC error relativo \NC \NR \NC 2 \NC 2,1 \NC 0,1 \NC 0,05 \NC \NR \NC 2\times 10\high{-4} \NC 2,1\times 10\high{-4} \NC 0,1\times 10\high{-4} \NC 0,05 \NC \NR \NC 2\times 10\high{4} \NC 2,1\times 10\high{4} \NC 0,1\times 10\high{4} \NC 0,05 \NC\NR \stopTABLE Is there a way to have the entries of first row centered? The obvious \setupTABLE[row][first][align=middle] do not have any effect. Thanks, Jeronimo. ___ 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] Problems with the installation of the minimals on Win XP :-(
I solved it, but I think in a very ugly way: 1. I downloaded the kpathsea60071.dll via http and copied the file to /context/bin 2. I downloaded also curl.exe (Don't know if it was necessary :-( ) 3. The I got the errors: MSVCP71.DLL and MSVCR71.DLL not found 4. I searched for this files and found them fortunately on my work pc (It is not recommanded to download this file in the internet! ) 5. I copied this files to /context/bin 6. I commented the rsync part of the installation script (Don't know if it was necessary ? ) 7. Started the modified script. 8. ConteXt works now :-). Greetings FloMo 2010/8/26 Florian Baudach > Hi, > > after solving my problems with the minimals with Linux, I have now a > problem with the Windows version. :-( > > > > My boss allowed me to use ConTeXt for a book project :-), unfortunately > > we work here with WinXP and the first-setup.bat fails with the following > error: > > > > mtxrun.exe – Komponente nicht gefunden (mtxrun.exe – component not found) > > > > Die Anwendung konnte nicht gestartet werden, weil kpathsea60071.dll nicht > gefunden wurde. Neuinstallation der Anwendung könnte das Problem beheben. > > > > (Couldn’t start the application. Couldn’t found kpathsea60071.dll. A new > installation of the application could solve the problem.) > > > > I have installed ruby first. What could be wrong? > > > > Greetings > > Florian Baudach > > > > > > > ___ 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] Problems with the installation of the minimals on Win XP :-(
I had the same problem trying to update Context with 'first-setup.bat'. I saw that there was a file kpathsea60071.dll in context/tex/texmf-mswin/bin. So then I copied it to context/bin and it worked again. Peter van Hoeflaken 2010/8/26 Florian Baudach > Hi, > > after solving my problems with the minimals with Linux, I have now a > problem with the Windows version. :-( > > > > My boss allowed me to use ConTeXt for a book project :-), unfortunately > > we work here with WinXP and the first-setup.bat fails with the following > error: > > > > mtxrun.exe – Komponente nicht gefunden (mtxrun.exe – component not found) > > > > Die Anwendung konnte nicht gestartet werden, weil kpathsea60071.dll nicht > gefunden wurde. Neuinstallation der Anwendung könnte das Problem beheben. > > > > (Couldn’t start the application. Couldn’t found kpathsea60071.dll. A new > installation of the application could solve the problem.) > > > > I have installed ruby first. What could be wrong? > > > > Greetings > > Florian Baudach > > > > > > > > > ___ > 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 > > ___ > > ___ 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 row span question
Am 26.08.10 15:07, schrieb Martin Althoff: As far as I know, this should be written as \DC \DL[3] \DR OK, maybe syntactically better -- actually changes the appearance too. Now the the columns that I do not want with lines have them and vice versa. Kind of the negative of what I need. The use of DC DL DR kind of eludes me. How to get better control? Somehow the commands seem to have their own life... Use natural tables, they provide better control about the cell size and layout. 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] Porting from MkII to MkIV
I used the context from the ubuntu repository. So I switched to context- minimals current-version and viola it works here too Thanks Wolfgang Schuster wrote: > Am 25.08.10 00:23, schrieb Peter Schorsch: >> Thanks Wolfgang! Your source code looks a lot different than mine... >> there are some commands I have not seen before... so I have to learn :-) > > Works here without problems. > > MTXrun | current version: 2010.08.25 11:13 > > 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 > ___ ___ 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] Problems with the installation of the minimals on Win XP :-(
On Thu, Aug 26, 2010 at 15:15, Florian Baudach wrote: > > we work here with WinXP and the first-setup.bat fails with the following > error: > > mtxrun.exe – Komponente nicht gefunden (mtxrun.exe – component not found) > > Die Anwendung konnte nicht gestartet werden, weil kpathsea60071.dll nicht > gefunden wurde. Neuinstallation der Anwendung könnte das Problem beheben. It seems that the new luatex binary now depends on kpathsea60071.dll (in past it was only XeTeX that depended on that dll). It's not confirmed, but I checked and http://w32tex.org/current/luatex-dev-w32.tar.bz2 does contain that dll. I'm fixing it now. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Problems with the installation of the minimals on Win XP :-(
Hi, after solving my problems with the minimals with Linux, I have now a problem with the Windows version. :-( My boss allowed me to use ConTeXt for a book project :-), unfortunately we work here with WinXP and the first-setup.bat fails with the following error: mtxrun.exe – Komponente nicht gefunden (mtxrun.exe – component not found) Die Anwendung konnte nicht gestartet werden, weil kpathsea60071.dll nicht gefunden wurde. Neuinstallation der Anwendung könnte das Problem beheben. (Couldn’t start the application. Couldn’t found kpathsea60071.dll. A new installation of the application could solve the problem.) I have installed ruby first. What could be wrong? Greetings Florian Baudach ___ 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 row span question
> As far as I know, this should be written as > > \DC \DL[3] \DR OK, maybe syntactically better -- actually changes the appearance too. Now the the columns that I do not want with lines have them and vice versa. Kind of the negative of what I need. The use of DC DL DR kind of eludes me. How to get better control? Somehow the commands seem to have their own life... Thanks again Martin ___ 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 break lines with \type{}?
On Thu, Aug 26 2010, Hans Hagen wrote: > On 26-8-2010 11:02, Peter Münster wrote: > >Hello, > > > >How can I teach \type{} to break lines just as \hyphenatedurl{} does? > > > >\starttext > >\hsize1pt > >\type{C:bla/blub/foo/bar} > >\hyphenatedurl{C:bla/blub/foo/bar} > >\stoptext > > not, but there is \typ for normal text Hello Hans, \typ does not break: \starttext \hsize1pt \typ{c:bla/blub} \stoptext But I've found the solution: % \definetype[Code][style=tt, color=darkblue, align=hyphenated] % not working \def\Code#1{\bgroup\tt\color[darkblue]\hyphenatedurl{#1}\egroup} \starttext \hsize1pt \Code{c:bla/blub} \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mtx-context.lua:1161: attempt to call field 'join' (a nil value)
Hello, context --purgeall gives this error: ...ex/texmf-context/scripts/context/lua/mtx-context.lua:1161: attempt to call field 'join' (a nil value) Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] [***SPAM***] How to break lines with \type{}?
On 26-8-2010 11:02, Peter Münster wrote: Hello, How can I teach \type{} to break lines just as \hyphenatedurl{} does? \starttext \hsize1pt \type{C:bla/blub/foo/bar} \hyphenatedurl{C:bla/blub/foo/bar} \stoptext not, but there is \typ for normal text Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [***SPAM***] How to break lines with \type{}?
Hello, How can I teach \type{} to break lines just as \hyphenatedurl{} does? \starttext \hsize1pt \type{C:bla/blub/foo/bar} \hyphenatedurl{C:bla/blub/foo/bar} \stoptext TIA for any help! Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] hoffset and voffset have no effect
On 26-8-2010 3:50, Michael Goerz wrote: Hi everyone, I cannot see any effect when using voffset and hoffset as a parameter for \startstandardmakeup. For example: \startstandardmakeup[headerstate=none, footerstate=none, hoffset=1in, hoffset=1in, width=4in, height=7.0in] ... \stopstandardmakeup I'd expect them to shift the page content up and to the right, respectively. This is guessing from their name: I actually cannot find any documentation on these parameters. Am I missing something? indeed they are obsolete ... layers are better for that - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with \setuptyping[option=LUA, escape=//]
On Wed, Aug 25 2010, Hans Hagen wrote: > \definetyping[LUA] > \setuptyping[LUA][option=LUA,escape={/btex,/etex}] > > Hopefully you wikify this Hello Hans, I don't know what to wikify, because I don't understand what is supposed to work and what is not. Here another example with strange behaviour: \startbuffer[typefile-test] btex-etex: // /btex \em sometex /etex xxx-yyy:// XXX \em sometex YYY zzz:// ZZZ \em sometex \stopbuffer \savebuffer[typefile-test][typefile-test] \definetyping[LUA] \starttext \section{file=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=xxx-yyy} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape={XXX,YYY}] \startLUA btex-etex: // /btex \em sometex /etex xxx-yyy:// XXX \em sometex YYY zzz:// ZZZ \em sometex \stopLUA \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=btex-etex} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape={/btex,/etex}] \startLUA btex-etex: // /btex \em sometex /etex xxx-yyy:// XXX \em sometex YYY zzz:// ZZZ \em sometex \stopLUA \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape=ZZZ] \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape=ZZZ] \startLUA \stopLUA \typefile{typefile-test} % now it works \stop \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___