Re: [NTG-context] Verbatim typing with numbers inside float
On 06.10.2010 22:24, Hans Hagen wrote: On 6-10-2010 4:26, Stefan Müller wrote: Hi list, I defined a float for typesetting algorithms, so I can reference them at other places in the document. \definefloat[algorithm][algorithms] When I now place such a figure with \placealgorithm[here][alg:myalgorithm]{Very neat algorithm.}{ \starttyping some source code \stoptyping } then the numbering I set up with \setuptyping[numbering=line] \setuplinenumbering[location=text] is gone. Is there a way to get around this? I try to not use itemize for this (although it seems to work with itemize), because I'd rather use the more semantically correct approach. Any help appreciated. this sort of works \startbuffer some source code some source code some source code \stopbuffer \setuplinenumbering[style=\ttx,distance=0em,width=1em] \startsetups algorithm \startlinenumbering \setuptyping[file][before=,after=] \framed[strut=no,align=normal,frame=off]{\typebuffer} \stoplinenumbering \stopsetups \placealgorithm [here][alg:myalgorithm] {Very neat algorithm.} {\directsetup{algorithm}} - 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 - Thank you very much for your effort. Pretty amazing what's doable. Unfortunately there are two issues: The distance between numbers and source lines is too small for bigger line numbers. I just have to make "distance=0em" big enough for this to work, right? The other thing: The width available for the caption is capped by the width of the longest source line. I think I prefer the source lines to start at the left margin. In addition there is something else I didn't think of when I put up that mail (sorry for that). If I put (a very long piece) source inside a figure I won't have pagebreaks, right? So this makes me think it's probably not what I'm looking for. Splitting up long source code in several pieces (one per page) and put them in separate figures doesn't seem right to me. Setting it as numbered paragraph? Putting up a fake caption with \placefloatcaption (which doesn't seem to work in MkIV)? Are there other possiblities of numbering (by section) more or less big chunks of source code I'm not thinking of? That would help me very much. Thanks for thinking about that. Best regards, Stefan. ___ 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] Broken ConTeXt
On 10/6/2010 3:10 PM, Mojca Miklavec wrote: Are the binaries in C:\ConTeXt\tex\texmf-mswin\bin or C:\ConTeXt\texmf-mswin\bin? That is - with or without tex? In the path the first entry is PATH=C:\ConTeXt\tex\texmf-mswin\bin; That is, then 'with tex.' What does mtxrun --generate return you? C:\>mtxrun --generate MTXrun | resolvers: variable 'SELFAUTOLOC' set to 'C:/context/tex/texmf-mswin/bi n' MTXrun | resolvers: variable 'SELFAUTODIR' set to 'C:/context/tex/texmf-mswin' MTXrun | resolvers: variable 'SELFAUTOPARENT' set to 'C:/context/tex' MTXrun | resolvers: variable 'TEXMFCNF' set to 'c:\ConTeXt\texmf{-local,-context ,}/web2c' MTXrun | resolvers: variable 'TEXMF' set to '{c:\ConTeXt\texmf,c:\ConTeXt\texmf- local,c:\ConTeXt\texmf-context,c:\ConTeXt\texmf-mswin}' MTXrun | resolvers: variable 'TEXOS' set to 'texmf-mswin' MTXrun | resolvers MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf' (runtime) MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-local' (runtime) MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-context' (runtime) MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-mswin' (runtime) MTXrun | resolvers MTXrun | resolvers C:\> Apart from that - you are welcome to test if ConTeXt works fine on MikTeX (2.9). It continues to work just fine on my TeXLive 2010 installation, but I don't think it ever worked on MikTeX 2.8 (the version I have installed). I'm quite puzzled why a fresh installation (twice now) gives exactly the same result. Tom. ___ 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] Verbatim typing with numbers inside float
On 6-10-2010 4:26, Stefan Müller wrote: Hi list, I defined a float for typesetting algorithms, so I can reference them at other places in the document. \definefloat[algorithm][algorithms] When I now place such a figure with \placealgorithm[here][alg:myalgorithm]{Very neat algorithm.}{ \starttyping some source code \stoptyping } then the numbering I set up with \setuptyping[numbering=line] \setuplinenumbering[location=text] is gone. Is there a way to get around this? I try to not use itemize for this (although it seems to work with itemize), because I'd rather use the more semantically correct approach. Any help appreciated. this sort of works \startbuffer some source code some source code some source code \stopbuffer \setuplinenumbering[style=\ttx,distance=0em,width=1em] \startsetups algorithm \startlinenumbering \setuptyping[file][before=,after=] \framed[strut=no,align=normal,frame=off]{\typebuffer} \stoplinenumbering \stopsetups \placealgorithm [here][alg:myalgorithm] {Very neat algorithm.} {\directsetup{algorithm}} - 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] Broken ConTeXt
On Wed, Oct 6, 2010 at 21:20, Tom Maynard wrote: > While I'm pretty sure I didn't do anything wrong, and I'm absolutely certain > that it worked perfectly yesterday, ConTeXt is broken: > > C:\ConTeXt>path > PATH=C:\ConTeXt\tex\texmf-mswin\bin;C:\Ruby187\bin;c:\bin;c:\tsepro;c:\program > iles\vim\vim72;c:\cygwin\bin;C:\Program > Files\Java\jdk1.6.0_18\bin;C:\WINDOWS\ > sstem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program > Files\ooRexx;c:\program > files\MikTex 2.8\mktex\bin;c:\program files\MikTex > 2.8\miktex\bin\miktex\bin\ > > C:\ConTeXt>context --version > > MTXrun | forcing cache reload > MTXrun | resolvers: warning: no lua configuration files found > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf' (runtime) > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-local' (runtime) > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-context' (runtime) > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-mswin' (runtime) > MTXrun | resolvers > MTXrun | resolvers > MTXrun | the resolver databases are not present or outdated > MTXrun | resolvers: using suffix based filetype 'lua' > MTXrun | resolvers: using suffix based filetype 'lua' > MTXrun | resolvers: remembering file 'mtx-context.lua' > MTXrun | resolvers: using suffix based filetype 'lua' > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' > C:\ConTeXt> > > And then I deleted it all, reinstalled Minimals, and get exactly the same > result. Is my luck really this bad? What to do? Are the binaries in C:\ConTeXt\tex\texmf-mswin\bin or C:\ConTeXt\texmf-mswin\bin? That is - with or without tex? The information above is a bit confusing. What does mtxrun --generate return you? Apart from that - you are welcome to test if ConTeXt works fine on MikTeX (2.9). 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 ___
Re: [NTG-context] Running Mk-IV using TeXnicCenter
On Wed, Oct 6, 2010 at 9:30 PM, Mojca Miklavec wrote: > On Wed, Oct 6, 2010 at 20:46, Tom Maynard wrote: >> The information on this page >> http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt ends up >> invoking MkII (i.e. texexec). Is there any information on the equivalent >> MkIV configuration? >> >> The commands given above are: >> >> (A) Path to the compiler... >> >> C:\ConTeXt\usr\local\context\tex\setuptex.bat & >> C:\ConTeXt\usr\local\context\tex\texmf-mswin\bin\texmfstart >> >> (B) Command line arguments... >> >> texexec.rb --bat --nonstop --pdf --interface=nl --color "%bm" >> >> I believe that the 'texmfstart' and obviously the 'texexec.rb' will have to >> change (at least). To what? There is no 'context.rb' on my system. >> >> Any help is appreciated. > > It should probably be OK to set compiler to > C:\ConTeXt\usr\local\context\tex\texmf-mswin\bin\context.exe > and arguments to ... hmmm, > --nonstop "%bm" --batchmode run without stopping and don't show messages on the console --nonstopmode run without stopping > do you need anything else? --pdf and --color are not needed, I have no > idea what --bat does; --bat(man) ? For catwoman -- luigi ___ 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] Running Mk-IV using TeXnicCenter
On Wed, Oct 6, 2010 at 20:46, Tom Maynard wrote: > The information on this page > http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt ends up > invoking MkII (i.e. texexec). Is there any information on the equivalent > MkIV configuration? > > The commands given above are: > > (A) Path to the compiler... > > C:\ConTeXt\usr\local\context\tex\setuptex.bat & > C:\ConTeXt\usr\local\context\tex\texmf-mswin\bin\texmfstart > > (B) Command line arguments... > > texexec.rb --bat --nonstop --pdf --interface=nl --color "%bm" > > I believe that the 'texmfstart' and obviously the 'texexec.rb' will have to > change (at least). To what? There is no 'context.rb' on my system. > > Any help is appreciated. It should probably be OK to set compiler to C:\ConTeXt\usr\local\context\tex\texmf-mswin\bin\context.exe and arguments to ... hmmm, --nonstop "%bm" do you need anything else? --pdf and --color are not needed, I have no idea what --bat does; do you really need Dutch interface or did you just want to copy? 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 ___
Re: [NTG-context] Broken ConTeXt
On Wed, Oct 6, 2010 at 9:20 PM, Tom Maynard wrote: > While I'm pretty sure I didn't do anything wrong, and I'm absolutely certain > that it worked perfectly yesterday, ConTeXt is broken: > > C:\ConTeXt>path > PATH=C:\ConTeXt\tex\texmf-mswin\bin;C:\Ruby187\bin;c:\bin;c:\tsepro;c:\program > iles\vim\vim72;c:\cygwin\bin;C:\Program > Files\Java\jdk1.6.0_18\bin;C:\WINDOWS\ > sstem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program > Files\ooRexx;c:\program > files\MikTex 2.8\mktex\bin;c:\program files\MikTex > 2.8\miktex\bin\miktex\bin\ > > C:\ConTeXt>context --version > > MTXrun | forcing cache reload > MTXrun | resolvers: warning: no lua configuration files found > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf' (runtime) > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-local' (runtime) > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-context' (runtime) > MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-mswin' (runtime) > MTXrun | resolvers > MTXrun | resolvers > MTXrun | the resolver databases are not present or outdated > MTXrun | resolvers: using suffix based filetype 'lua' > MTXrun | resolvers: using suffix based filetype 'lua' > MTXrun | resolvers: remembering file 'mtx-context.lua' > MTXrun | resolvers: using suffix based filetype 'lua' > MTXrun | unknown script 'context.lua' or 'mtx-context.lua' > C:\ConTeXt> > > And then I deleted it all, reinstalled Minimals, and get exactly the same > result. Is my luck really this bad? What to do? You can try #> cd C:\ConTeXt\tex\texmf-context\scripts\context\lua #> luatools --generate -- luigi ___ 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] Broken ConTeXt
On 6-10-2010 9:20, Tom Maynard wrote: While I'm pretty sure I didn't do anything wrong, and I'm absolutely certain that it worked perfectly yesterday, ConTeXt is broken: C:\ConTeXt>path PATH=C:\ConTeXt\tex\texmf-mswin\bin;C:\Ruby187\bin;c:\bin;c:\tsepro;c:\program iles\vim\vim72;c:\cygwin\bin;C:\Program Files\Java\jdk1.6.0_18\bin;C:\WINDOWS\ sstem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ooRexx;c:\program files\MikTex 2.8\mktex\bin;c:\program files\MikTex 2.8\miktex\bin\miktex\bin\ C:\ConTeXt>context --version MTXrun | forcing cache reload MTXrun | resolvers: warning: no lua configuration files found you're missing a texmfcnf.lua file this file is really needed to jumstart ... its location is either determined automatically (relative to binary) or by an environment variable 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 ___
Re: [NTG-context] Running Mk-IV using TeXLive 2010
On Wednesday 06 October 2010 11:39 PM, Mojca Miklavec wrote: On Wed, Oct 6, 2010 at 19:19, R (Chandra) Chandrasekhar wrote: ConTeXt ver: 2010.07.30 11:35 MKII fmt: 2010.10.5 int: english/english system : cont-new loaded (/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! Usually running (for the whole system) sudo fmtutil-sys --all or fmtutil-sys --all or texexec --make en should help. If not, try to figure out where an additional copy of cont-en.fmt resides, delete it and run any of commands above. You don't need to reinstall anything. Thank you very much. I did the following: 1. Deleted /localhost/texlive/2010/texmf-var/web2c/xetex/cont-en.fmt ./localhost/texlive/2010/texmf-var/web2c/pdftex/cont-en.fmt 2. Ran fmtutil-sys --all 3. Ran texexec --make en All three steps were needed to get both texexec and context working under TeXLive 2010, and now they do. I have verified by looking at generator field of the PDF file properties. Wanting to have both context minimals and TeXLive 2010--modified only by tlmgr--coexisting, I tried to install the minimals in a directory called ~/local-context using the following commands: rsync -av rsync://contextgarden.net/minimals/current/context/current/ \ ~/local-context/ rsync -av --include 'mtxrun' --include 'luatools' \ rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \ ~/local-context/bin/ No, no, no. You could go to http://minimals.contextgarden.net/setup/ and follow those instructions. Thanks for the link. You can do: cd ~/local-context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh and then use . ~/local-context/tex/setuptex when you want to switch. The method you use won't "simply work" for various reasons. If there is a complete error-free algorithm/script in future for making TeXLive 2010 and the context-minmals coexist independently I will appreciate knowing about it. The are able to coexist independently as long as you don't clone the instructions from wiki (now already removed fro wiki). Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh. No, you just need to remake the formats. Mojca Thank you. Chandra ___ 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] Broken ConTeXt
While I'm pretty sure I didn't do anything wrong, and I'm absolutely certain that it worked perfectly yesterday, ConTeXt is broken: C:\ConTeXt>path PATH=C:\ConTeXt\tex\texmf-mswin\bin;C:\Ruby187\bin;c:\bin;c:\tsepro;c:\program iles\vim\vim72;c:\cygwin\bin;C:\Program Files\Java\jdk1.6.0_18\bin;C:\WINDOWS\ sstem32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ooRexx;c:\program files\MikTex 2.8\mktex\bin;c:\program files\MikTex 2.8\miktex\bin\miktex\bin\ C:\ConTeXt>context --version MTXrun | forcing cache reload MTXrun | resolvers: warning: no lua configuration files found MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf' (runtime) MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-local' (runtime) MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-context' (runtime) MTXrun | resolvers: skipping list of 'c:/ConTeXt/texmf-mswin' (runtime) MTXrun | resolvers MTXrun | resolvers MTXrun | the resolver databases are not present or outdated MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | resolvers: remembering file 'mtx-context.lua' MTXrun | resolvers: using suffix based filetype 'lua' MTXrun | unknown script 'context.lua' or 'mtx-context.lua' C:\ConTeXt> And then I deleted it all, reinstalled Minimals, and get exactly the same result. Is my luck really this bad? What to do? Tom. ___ 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] Algorithms in ConTeXt
Am 06.10.2010 um 20:53 schrieb Patrick Gundlach: >>> I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something >>> like the algorithm package? It can typeset pseudocode like in the attached >>> graphic. I sort of like the rules on the left side that indicate the scope >>> of the for/while/case statements. >> >> Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic > > but it doesn't draw the nice lines, I am after. At least I haven't found any. The module is a port of the algorithmic package which doesn’t provide lines but you want is in the algorithm2e package. 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] Algorithms in ConTeXt
>> I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something >> like the algorithm package? It can typeset pseudocode like in the attached >> graphic. I sort of like the rules on the left side that indicate the scope >> of the for/while/case statements. > > Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic but it doesn't draw the nice lines, I am after. At least I haven't found any. Patrick ___ 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] Running Mk-IV using TeXnicCenter
On 6-10-2010 8:46, Tom Maynard wrote: The information on this page http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt ends up invoking MkII (i.e. texexec). Is there any information on the equivalent MkIV configuration? The commands given above are: (A) Path to the compiler... C:\ConTeXt\usr\local\context\tex\setuptex.bat& C:\ConTeXt\usr\local\context\tex\texmf-mswin\bin\texmfstart (B) Command line arguments... texexec.rb --bat --nonstop --pdf --interface=nl --color "%bm" I believe that the 'texmfstart' and obviously the 'texexec.rb' will have to change (at least). To what? There is no 'context.rb' on my system. Any help is appreciated. mkiv? just context yourfile.tex mkiv does not need ruby as it uses luatex itself as (lua) script engine texmfstart is replaced by mtxrun - 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] Running Mk-IV using TeXLive 2010
On 6-10-2010 8:09, Mojca Miklavec wrote: Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh. No, you just need to remake the formats. context mkiv will make formats automatically (only mtxrun --generate is needed if files were added/removed) - 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] Running Mk-IV using TeXnicCenter
The information on this page http://wiki.contextgarden.net/Configure_TeXnicCenter_for_ConTeXt ends up invoking MkII (i.e. texexec). Is there any information on the equivalent MkIV configuration? The commands given above are: (A) Path to the compiler... C:\ConTeXt\usr\local\context\tex\setuptex.bat& C:\ConTeXt\usr\local\context\tex\texmf-mswin\bin\texmfstart (B) Command line arguments... texexec.rb --bat --nonstop --pdf --interface=nl --color "%bm" I believe that the 'texmfstart' and obviously the 'texexec.rb' will have to change (at least). To what? There is no 'context.rb' on my system. Any help is appreciated. Tom. ___ 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] Running Mk-IV using TeXLive 2010
On Wed, Oct 6, 2010 at 19:19, R (Chandra) Chandrasekhar wrote: > > ConTeXt ver: 2010.07.30 11:35 MKII fmt: 2010.10.5 int: english/english > > system : cont-new loaded > (/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex > > FatalError : Your format does not match the base files! Usually running (for the whole system) sudo fmtutil-sys --all or fmtutil-sys --all or texexec --make en should help. If not, try to figure out where an additional copy of cont-en.fmt resides, delete it and run any of commands above. You don't need to reinstall anything. > Wanting to have both context minimals and TeXLive 2010--modified only by > tlmgr--coexisting, I tried to install the minimals in a directory called > > ~/local-context > > using the following commands: > > rsync -av rsync://contextgarden.net/minimals/current/context/current/ \ > ~/local-context/ > > rsync -av --include 'mtxrun' --include 'luatools' \ > rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \ > ~/local-context/bin/ No, no, no. You could go to http://minimals.contextgarden.net/setup/ and follow those instructions. You can do: cd ~/local-context rsync -ptv rsync://contextgarden.net/minimals/setup/first-setup.sh . ./first-setup.sh and then use . ~/local-context/tex/setuptex when you want to switch. The method you use won't "simply work" for various reasons. > If there is a complete error-free algorithm/script in future for making > TeXLive 2010 and the context-minmals coexist independently I will appreciate > knowing about it. The are able to coexist independently as long as you don't clone the instructions from wiki (now already removed fro wiki). > Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh. No, you just need to remake the formats. 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 ___
Re: [NTG-context] Algorithms in ConTeXt
On Wed, 6 Oct 2010, Patrick Gundlach wrote: Hi, I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something like the algorithm package? It can typeset pseudocode like in the attached graphic. I sort of like the rules on the left side that indicate the scope of the for/while/case statements. Wolfgang has a module for that: http://bitbucket.org/wolfs/algorithmic Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Algorithms in ConTeXt
Hi, I'd like to ask yet another "LaTeX in ConTeXt" question. Is there something like the algorithm package? It can typeset pseudocode like in the attached graphic. I sort of like the rules on the left side that indicate the scope of the for/while/case statements. Patrick <>___ 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] Verbatim typing with numbers inside float
On 6-10-2010 4:26, Stefan Müller wrote: Hi list, I defined a float for typesetting algorithms, so I can reference them at other places in the document. \definefloat[algorithm][algorithms] When I now place such a figure with \placealgorithm[here][alg:myalgorithm]{Very neat algorithm.}{ \starttyping some source code \stoptyping } then the numbering I set up with \setuptyping[numbering=line] \setuplinenumbering[location=text] is gone. Is there a way to get around this? I try to not use itemize for this (although it seems to work with itemize), because I'd rather use the more semantically correct approach. Any help appreciated. needs a bit of thinking ... (deeply burried numbering) - 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] Running Mk-IV using TeXLive 2010
On Wednesday 06 October 2010 03:33 PM, Mojca Miklavec wrote: On Wed, Oct 6, 2010 at 04:07, R (Chandra) Chandrasekhar wrote: If I wanted to fix my broken TeXLive, should I just re-install ConTeXt from the TeXLive 2010 DVD or should I do a full re-install of the full scheme? You have two options: a) finish what you started b) reinstall In case of reinstall, it should be enough if you reinstall context and luatex, I guess that can be done with: tlmgr install --reinstall context luatex You will have some leftovers (extra files), but that should in general not be a problem. (You can try to delete (= first move to some other place) texmf-dist/tex/context before reinstalling if tmlgr won't complain too much about missing files that cannot be removed.) Before I saw your reply I did the following: 1. mv /usr/local/texlive/2010/texmf-dist/tex/context /tmp 2. Installed the ConteXt scheme from the TeXLive 2010 DVD along with the following further customizations, just in case they had been altered: Extra Fonts Recommended Fonts TeX and Outline Fonts Extra Formats LuaTeX packages 3. tlmgr update --self --all 4. luatools --generate context --make The context from TeXLive 2010 works fine but texexec fails with this message: --- ConTeXt ver: 2010.07.30 11:35 MKII fmt: 2010.10.5 int: english/english system : cont-new loaded (/localhost/texlive/2010/texmf-dist/tex/context/base/cont-new.tex FatalError : Your format does not match the base files! -- If something goes very bad, you can of course always reinstall everything, but if the above works, there's no reason to worry. It looks like that :-( If you want to finish what you have just started, you need to also sync mtxrun and fetch texmfcnf.lua from minimals and fix it according to TL structure. (That's slightly more non-trivial.) I almost forgot about that file when I said that one should also update mtxrun. Wanting to have both context minimals and TeXLive 2010--modified only by tlmgr--coexisting, I tried to install the minimals in a directory called ~/local-context using the following commands: rsync -av rsync://contextgarden.net/minimals/current/context/current/ \ ~/local-context/ rsync -av --include 'mtxrun' --include 'luatools' \ rsync://contextgarden.net/minimals/current/bin/context/linux-64/bin/ \ ~/local-context/bin/ I then set the following environment variables: PATH=~/local-context/bin:$PATH; export PATH OSFONTDIR=/usr/local/share/fonts:/usr/local/texlive/2010/texmf/fonts:$HOME/.fonts; export OSFONTDIR Finally, I ran luatools --generate context --make context --make cont-en mtxrun --script fonts --reload But I got errors about some files not being resolved and context was broken. So, I unset the environment variables, and just to be doubly sure, repeated steps 1 to 4 above, to get a working context (but not texexec) from TeXLive 2010. If there is a complete error-free algorithm/script in future for making TeXLive 2010 and the context-minmals coexist independently I will appreciate knowing about it. Meanwhile, it looks like I need to reinstall TeXLive 2010 afresh. Thanks to everyone for all the explanations and help. Chandra ___ 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] question about \inouter cum suis
On 6-10-2010 4:18, Thomas A. Schmitz wrote: \defineinmargin [MyOuter] [outer] [normal] [distance=1cm] \starttext test \MyOuter{1}test \stoptext \def\domarginblockskip#1% {\doifelsenothing\margincontentdistance {\hskip\dimexpr +\margincontenthoffset +\compensatedinnermakeupmargin +\csname\??im#1\c!distance\endcsname \relax} {\hskip\dimexpr \hskip got lost +\margincontenthoffset +\compensatedinnermakeupmargin +\margincontentdistance \relax}% \relax} -- - 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] Verbatim typing with numbers inside float
Hi list, I defined a float for typesetting algorithms, so I can reference them at other places in the document. \definefloat[algorithm][algorithms] When I now place such a figure with \placealgorithm[here][alg:myalgorithm]{Very neat algorithm.}{ \starttyping some source code \stoptyping } then the numbering I set up with \setuptyping[numbering=line] \setuplinenumbering[location=text] is gone. Is there a way to get around this? I try to not use itemize for this (although it seems to work with itemize), because I'd rather use the more semantically correct approach. Any help appreciated. Thanks in advance, Stefan. ___ 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] question about \inouter cum suis
OK, another question, hopefully less stupid: \defineinmargin [MyOuter] [outer] [normal] [distance=1cm] \starttext test \MyOuter{1}test \stoptext gives ! You can't use `\dimexpr' in restricted horizontal mode. but the definition is taken from page-mar.mkiv Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question about \inouter cum suis
On Oct 6, 2010, at 3:57 PM, Wolfgang Schuster wrote: > It’s “D’oh” :) > > Wolfgang \dorecurse{2}{D'oh!} Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question about \inouter cum suis
Am 06.10.2010 um 15:48 schrieb Thomas A. Schmitz: > > On Oct 6, 2010, at 3:39 PM, Hans Hagen wrote: > >> \setuppagenumbering >> [alternative=doublesided] >> >> inner/outer tracking only kicks in when in doublesided mode > > DUH! (to quote a well-known cartoon character). It’s “D’oh” :) 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] question about \inouter cum suis
On Oct 6, 2010, at 3:39 PM, Hans Hagen wrote: > \setuppagenumbering > [alternative=doublesided] > > inner/outer tracking only kicks in when in doublesided mode DUH! (to quote a well-known cartoon character). Of course! I thought my location=doublesided in \setuplayout did this, but I was wrong! Thanks a lot! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] question about \inouter cum suis
On 6-10-2010 1:04, Thomas A. Schmitz wrote: \setuppapersize[A6][A6] \setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm, location=doublesided] \setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm] \setuppagenumbering [alternative=doublesided] inner/outer tracking only kicks in when in doublesided mode - 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] wrong itemize indenting
Hi all, I mentioned it already but so far I couldn't find a solution. Here is an example of my problem: \starttext \showframe \overfullrule=4pt \startbuffer \startitemize[n,fit][left={Abb. },distance=.5em] \item \dorecurse{20}{eins } \item \dorecurse{20}{zwei } \item \dorecurse{20}{drei } \stopitemize \stopbuffer \getbuffer % -> correct indenting \bTABLE \bTR\bTD \getbuffer \eTD\eTR \eTABLE \getbuffer % -> wrong indenting \stoptext If one uses an itemize environment with the "fit"-option in a TABLE the further itemize environments getting disturbed. Is this a bug or is there a workaround? I appreciate your help. Andreas ___ 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] question about \inouter cum suis
Dear gang, consider the following: \setuppapersize[A6][A6] \setuplayout [width=middle, height=middle, backspace=3cm, margin=1.5cm, location=doublesided] \starttext This nation, \inouter{1}turning 100 years old, had no {\em Odyssey}, no St.~George slaying the dragon, no Prometheus. The emerging American genius for making a lot of money was a poor substitute for King Arthur and his knights (although the Horatio Alger myth of rags to riches was good for a lot of mileage). Without a mythology and set of ancient heroes to call its own, America had to manufacture its heroes. So the mythmaking machinery of nineteenth|-|century American media created a suitable heroic archetype in the cowboys of the Wild West. The image was of the undaunted cattle drivers living a life of reckless individualism, braving the elements, staving off brutal Indian \inouter{2}attacks. Or of heroic lawmen dueling with six|-|guns in the streets at high noon. This artificial Wild West became America's Iliad. This nation, turning 100 years old, had no {\em Odyssey}, no St.~George \inouter{3}slaying the dragon, no Prometheus. The emerging American genius for making a lot of money was a poor substitute for King Arthur and his knights (although the Horatio Alger myth of rags to riches was good for a lot of mileage). Without a mythology and set of ancient heroes to call its own, America had to manufacture its heroes. \stoptext The \inouter{2} is typeset in the INNER margin, both in mkiv and mkii. I assume that's because the paragraph it's in starts on an odd page. Is there any setup command to change this behavior? Or is this the expected behavior? I looked into page-mar.mkiv, but couldn't find anything... All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Running Mk-IV using TeXLive 2010
On Wed, Oct 6, 2010 at 04:02, R (Chandra) Chandrasekhar wrote: > > Can I put minimals in $TEXMFHOME which is ~/texmf on my system? That seems > to be the place where I can keep stuff newer than TeXLive 2010 without > conflict. Can minimals function standalone, though, or will I run into > mismatches with TeXLive 2010 again? That would be a bad idea. First of all - it's much better to install minimals in parallel. If nothing else, if the latest beta breaks, you will still have a working ConTeXt somewhere. But the main reason is that even if you put the latest ConTeXt into TEXMFHOME, you will still experience problems because: - you need the latest luatex - you need the latest mtxrun script - you need to fix texmfcnf.lua (you could do this without breaking the rest of TL though, but you need to do it manually) > Also, should OSFONTDIR then point to /usr/local/texlive/2010/texmf/ or to > something else? This is usually the folder where your system stores fonts. LuaTeX can already find all the fonts in TEXMF tree, you probably want to tell LuaTeX where all the other fonts are. If you don't need any other fonts but those that are shipped with TL, you may leave this variable empty. 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 ___
Re: [NTG-context] Running Mk-IV using TeXLive 2010
On Wed, Oct 6, 2010 at 04:07, R (Chandra) Chandrasekhar wrote: > > If I wanted to fix my broken TeXLive, should I just re-install ConTeXt from > the TeXLive 2010 DVD or should I do a full re-install of the full scheme? You have two options: a) finish what you started b) reinstall In case of reinstall, it should be enough if you reinstall context and luatex, I guess that can be done with: tlmgr install --reinstall context luatex You will have some leftovers (extra files), but that should in general not be a problem. (You can try to delete (= first move to some other place) texmf-dist/tex/context before reinstalling if tmlgr won't complain too much about missing files that cannot be removed.) If something goes very bad, you can of course always reinstall everything, but if the above works, there's no reason to worry. If you want to finish what you have just started, you need to also sync mtxrun and fetch texmfcnf.lua from minimals and fix it according to TL structure. (That's slightly more non-trivial.) I almost forgot about that file when I said that one should also update mtxrun. 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 ___
Re: [NTG-context] placepublications does not place publications
On Oct 6, 2010, at 10:21 AM, Hans Hagen wrote: > On 5-10-2010 3:04, Thomas A. Schmitz wrote: >> Hi all, >> >> the following code works in mkii. It used to work in mkiv as well, but >> doesn't anymore with the latest beta (I can't tell at which version it >> stopped working, sorry). Maybe a side-effect of the new structure code? > > Fixed in next beta (when fixing alan's blockwise list filtering I somehow > deleted part of a line elsewhere). > > Hans > Excellent, thanks a lot! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] placepublications does not place publications
On 5-10-2010 3:04, Thomas A. Schmitz wrote: Hi all, the following code works in mkii. It used to work in mkiv as well, but doesn't anymore with the latest beta (I can't tell at which version it stopped working, sorry). Maybe a side-effect of the new structure code? Fixed in next beta (when fixing alan's blockwise list filtering I somehow deleted part of a line elsewhere). 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 ___
Re: [NTG-context] two buglets
On 5-10-2010 11:55, Philipp Gesang wrote: I assume by “shapes” you mean the base symbol (all diacritics stripped). indeed (and we might need to add/patch a few more shcodes to char-def.lua if needed) 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 ___
Re: [NTG-context] Running Mk-IV using TeXLive 2010
On 6-10-2010 9:32, Florian Wobbe wrote: No, you clobbered your TeXLive distro with the current context beta. normally that would work out ok given that you delete the old base path and also update luatex binaries, but in 2010 it also demands installing texmfcnf.lua as we no longer use texmf.cnf - 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] Running Mk-IV using TeXLive 2010
On 6-10-2010 4:02, R (Chandra) Chandrasekhar wrote: On Tuesday 05 October 2010 11:15 PM, Florian Wobbe wrote: I used to update TeXLive 2009 successfully with this method, however I ran into the same error when updating TeXLive 2010. As I did not succeed and could not figure out what caused the error I installed minimals without problems. I suggest you install minimals and point the environment variable OSFONTDIR to your TeXLive tree. This adds only about 200MiB to your disk which is rather neglectable compared to the 2.7GiB of a full TeXLive. I trust that minimals is what I was updating using with rsync and that it is a cut-down version of the ConTeXt distribution that came with TeXLive 2010. The word minimal refers to a minimal tex distribution and it started as a small subset of tex live: only context, some fonts and a few binaries. They were zips at our website till Mojca cum suis turned it into a nicely syncable whole. So, there is overlap between the minimals and tex live but normally the minimals have newer files (tex, fonts, binaries). 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 ___
Re: [NTG-context] Running Mk-IV using TeXLive 2010
On Oct 6, 2010, at 04:02 , R (Chandra) Chandrasekhar wrote: > On Tuesday 05 October 2010 11:15 PM, Florian Wobbe wrote: > >> I used to update TeXLive 2009 successfully with this method, however >> I ran into the same error when updating TeXLive 2010. As I did not >> succeed and could not figure out what caused the error I installed >> minimals without problems. I suggest you install minimals and point >> the environment variable OSFONTDIR to your TeXLive tree. This adds >> only about 200MiB to your disk which is rather neglectable compared >> to the 2.7GiB of a full TeXLive. > > I trust that minimals is what I was updating using with rsync and that it is > a cut-down version of the ConTeXt distribution that came with TeXLive 2010. No, you clobbered your TeXLive distro with the current context beta. > Can I put minimals in $TEXMFHOME which is ~/texmf on my system? That seems to > be the place where I can keep stuff newer than TeXLive 2010 without conflict. > Can minimals function standalone, though, or will I run into mismatches with > TeXLive 2010 again? I wouldn't try and mix minimals with TeXLive. Let TeXLive and minimals live side by side and they don't hurt each other. Make sure you set your PATH environment and put context/tex/texmf-linux-64/bin before the TeXLive binary path. This way the executables from minimals get preference over those from TeXLive and you'd still be able to run latex without changing your environment. > Also, should OSFONTDIR then point to /usr/local/texlive/2010/texmf/ or to > something else? You would want to point it at /usr/local/texlive/2010/texmf-dist/fonts// so that mtxrun --script fonts --reload finds the fonts that come with your TeXLive. Mine looks like this: OSFONTDIR=/usr/local/texlive/2010/texmf-dist/fonts//:/Library/Fonts//:/System/Library/Fonts// Florian ___ 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 ___