[NTG-context] Troubles with backgrounds in bTABLE
Hi all, I need to use the background mechanism to draw a thicker line in a bTABLE...eTABLE setup together with MKII. It looks like that there is a bug somewhere in this. I am unable to draw the line at the top of the cell. However it is possible to draw a diagonal through the cel. I think that the problem is related to the background mechanism in general, because the problem is also present when using the background mechanism in framed. The behavior is identical in MKII en MKIV. I updated this morning to the latest version of Context, the bug is there as it was in a version ca 1 month old. Please refer to the attached test file. Using: This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) ConTeXt ver: 2010.08.04 00:37 MKII fmt: 2010.8.4 int: english/english Kind regards Willi test-background.tex Description: Binary data ___ 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] vbox construct breaking MKII
Hi all, Any variation of the following construct breaks in MKII as long as there is no new line after the closing } of the vbox. MKIV does not have this problem. \startbuffer[bf4] \vbox{ test }\stopbuffer Please refer to the testfile Kind regards Willi test_braces.tex Description: Binary data ___ 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] Troubles with backgrounds in bTABLE
On Wed, Aug 04 2010, Willi Egger wrote: Please refer to the attached test file. Hello Willi, Here some workaround: \startuniqueMPgraphic{Topline} path p,q; p := unitsquare xscaled \overlaywidth yscaled \overlayheight; draw urcorner p -- ulcorner p withpen pencircle scaled 2pt; draw lrcorner p -- lrcorner p withpen pencircle scaled 0pt; \stopuniqueMPgraphic 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] Troubles with backgrounds in bTABLE
Hi Peter, thanks for this rapid reply! Though not nice, it works! Willi On 4 Aug 2010, at 09:32, Peter Münster wrote: On Wed, Aug 04 2010, Willi Egger wrote: Please refer to the attached test file. Hello Willi, Here some workaround: \startuniqueMPgraphic{Topline} path p,q; p := unitsquare xscaled \overlaywidth yscaled \overlayheight; draw urcorner p -- ulcorner p withpen pencircle scaled 2pt; draw lrcorner p -- lrcorner p withpen pencircle scaled 0pt; \stopuniqueMPgraphic 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 ___ ___ 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] Troubles with backgrounds in bTABLE
Hi Willi, Am 04.08.2010 08:57, schrieb Willi Egger: Hi all, I need to use the background mechanism to draw a thicker line in a bTABLE...eTABLE setup together with MKII. It looks like that there is a bug somewhere in this. I am unable to draw the line at the top of the cell. However it is possible to draw a diagonal through the cel. I think that the problem is related to the background mechanism in general, because the problem is also present when using the background mechanism in framed. The behavior is identical in MKII en MKIV. I updated this morning to the latest version of Context, the bug is there as it was in a version ca 1 month old. No bug, only the bounding box. The relative position of a graphic does not count any longer, if the graphic leaves MP. For example: drawing a fullcircle/unitcircle results in the same graphic, although they have a different center point. Only the final boundingbox is counting here (equal in this case). In your example the boundingbox has the size (OverlayWidth,2pt) or (OverlayWidth+2pt,2p) if you ignore the linewidth. So you need a manual boundingbox setup, as in the attached example. The Topline does not cross the borders of the OverlayBox (donno if this is wanted, but easy to change). Best wishes, Peter \setupcolors[state=start] \startuniqueMPgraphic{Topline} draw (1pt,OverlayHeight-1pt)--(OverlayWidth-1pt,OverlayHeight-1pt) withpen pencircle scaled 2pt; setbounds currentpicture to OverlayBox; \stopuniqueMPgraphic \startuniqueMPgraphic{Diagonal} path p,q; p := unitsquare xscaled \overlaywidth yscaled \overlayheight; draw llcorner p -- urcorner p withpen pencircle scaled 2pt; \stopuniqueMPgraphic \defineoverlay[Topline][\useMPgraphic{Topline}] \defineoverlay[Diagonal][\useMPgraphic{Diagonal}] \starttext \bTABLE \setupTABLE[r][1][background=Topline] \bTR \bTD Test\ \eTD \eTR \bTR \bTD Test\ \eTD \eTR \eTABLE \blank \framed[background=Topline,framecolor=red]{test} \blank \bTABLE \setupTABLE[r][1][background=Diagonal] \bTR \bTD Test\ \eTD \eTR \bTR \bTD Test\ \eTD \eTR \eTABLE \blank \framed[background=Diagonal]{test} \stoptext ___ 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] 4th ConTeXt Meeting, update
On Wed, Jul 28, 2010 at 8:56 PM, luigi scarso luigi.sca...@gmail.com wrote: On Wed, Jul 28, 2010 at 6:32 PM, Alan BRASLAU alan.bras...@cea.fr wrote: Indeed, that is the point... Alan Ok, I choose these guns for the moment: Linux 32bit, last minimals. Give me 3 targets to shot and let me choose what I like. Do I win for abandonment ? -- 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] vbox construct breaking MKII
On 4-8-2010 9:16, Willi Egger wrote: Hi all, Any variation of the following construct breaks in MKII as long as there is no new line after the closing } of the vbox. MKIV does not have this problem. \startbuffer[bf4] \vbox{ test }\stopbuffer Please refer to the testfile \stopbuffer has to be on a line of its own so } \stopbuffer - 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] Troubles with backgrounds in bTABLE
Hello Peter, thanks for your explanation. Hm, that also makes clear why the diagonal works without setting the bounding box. Willi On 4 Aug 2010, at 09:45, Peter Rolf wrote: Hi Willi, Am 04.08.2010 08:57, schrieb Willi Egger: Hi all, I need to use the background mechanism to draw a thicker line in a bTABLE...eTABLE setup together with MKII. It looks like that there is a bug somewhere in this. I am unable to draw the line at the top of the cell. However it is possible to draw a diagonal through the cel. I think that the problem is related to the background mechanism in general, because the problem is also present when using the background mechanism in framed. The behavior is identical in MKII en MKIV. I updated this morning to the latest version of Context, the bug is there as it was in a version ca 1 month old. No bug, only the bounding box. The relative position of a graphic does not count any longer, if the graphic leaves MP. For example: drawing a fullcircle/unitcircle results in the same graphic, although they have a different center point. Only the final boundingbox is counting here (equal in this case). In your example the boundingbox has the size (OverlayWidth,2pt) or (OverlayWidth+2pt,2p) if you ignore the linewidth. So you need a manual boundingbox setup, as in the attached example. The Topline does not cross the borders of the OverlayBox (donno if this is wanted, but easy to change). Best wishes, Peter test-background.tex___ 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] footnotes again
On Aug 4, 2010, at 1:59 AM, Hans Hagen wrote: this works again: \starttext \showframe \setupnotedefinition[footnote][location=left,width=1cm] \setupnote[footnote][location=page,numbercommand=] test \footnote{test} \stoptext Great, this is what I need! I have adapted it like so to have the numbers flushright in a box: \starttext \def\NoteNumber#1{\showboxes\hbox to 16pt{\hbox to 12.5pt{\strut\hfill #1}}} \showframe \setupnotedefinition[footnote][location=left,width=16pt] \setupnote[footnote][location=page,numbercommand=\NoteNumber] \dorecurse{11}{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.\footnote{Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor note \recurselevel .}\par} \stoptext So, before I wikify: \setupnotedefinition[location=left,width=dimension] controls the width of the area where the number will be typeset and of the indentation. But which key controls whether the number is typeset in the margin or in the text area? Thanks! Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnotes again
On 4-8-2010 12:03, Thomas A. Schmitz wrote: So, before I wikify: \setupnotedefinition[location=left,width=dimension] controls the width of the area where the number will be typeset and of the indentation. But which key controls whether the number is typeset in the margin or in the text area? location ... note are just descriptions; so there's also distance and so (btw, in principle, as notes are also list entries, you could call them up in an appendix as well, but I didn't test that) 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] comments, font catalogue
Hello, 1. is there the same in Context than the Latexian \begin{comment} ... \end{comment} --- 2. In the Minimal tree there are many .afm, .tfm and other font files. Is there a sort of font catalogue (visualization of the fonts) ? The source of such a catalogue would be a good example for beginners - like me. -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___ 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] comments, font catalogue
On Wed, Aug 4, 2010 at 14:02, R. Bastian wrote: 2. In the Minimal tree there are many .afm, .tfm and other font files. Is there a sort of font catalogue (visualization of the fonts) ? There is a luatex-based web server that shows all the OpenType fonts, but I'm not sure how to call it and whether it still works. (There are many more fonts in the TeX Live tree or on CTAN.) 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] comments, font catalogue
Am 2010-08-04 um 14:02 schrieb R. Bastian: Hello, 1. is there the same in Context than the Latexian \begin{comment} ... \end{comment} What is that supposed to to? If you want to comment some larger parts out, you might use \startmode[comment] % name is random ... \stopmode Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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] comments, font catalogue
On 4-8-2010 2:22, Mojca Miklavec wrote: On Wed, Aug 4, 2010 at 14:02, R. Bastian wrote: 2. In the Minimal tree there are many .afm, .tfm and other font files. Is there a sort of font catalogue (visualization of the fonts) ? There is a luatex-based web server that shows all the OpenType fonts, but I'm not sure how to call it and whether it still works. (There are many more fonts in the TeX Live tree or on CTAN.) The server is started with mtxrun --script server --auto and serves http://localhost:31415/mtx-server-ctx-startup.lua however, the fonttest fails because I forgot to adapt the cache path to the new situation .. i'll upload a fix. The help systems seems to work. 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] comments, font catalogue
On Wed, Aug 4, 2010 at 9:56 AM, Henning Hraban Ramm hra...@fiee.net wrote: Am 2010-08-04 um 14:02 schrieb R. Bastian: Hello, 1. is there the same in Context than the Latexian \begin{comment} ... \end{comment} What is that supposed to to? If you want to comment some larger parts out, you might use \startmode[comment] % name is random ... \stopmode Or \starthiding \stophiding 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 ___
Re: [NTG-context] comments, font catalogue
On 4-8-2010 3:58, Aditya Mahajan wrote: On Wed, Aug 4, 2010 at 9:56 AM, Henning Hraban Rammhra...@fiee.net wrote: Am 2010-08-04 um 14:02 schrieb R. Bastian: Hello, 1. is there the same in Context than the Latexian \begin{comment} ... \end{comment} What is that supposed to to? If you want to comment some larger parts out, you might use \startmode[comment] % name is random ... \stopmode Or \starthiding \stophiding ot \startcomment .. \stopcomment (which if all is ok will put them in the document as comments when interaction is enabled) 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] comments, font catalogue
Am 2010-08-04 um 16:00 schrieb Hans Hagen: Or \starthiding \stophiding ot \startcomment .. \stopcomment (which if all is ok will put them in the document as comments when interaction is enabled) cool, I learn new thing about ConTeXt every day :) Greetlings, Hraban ___ 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] Pagebreak without background
On 2-8-2010 3:16, Julian Becker wrote: \defineoverlay[left page] [\useMPgraphic{left page}] \defineoverlay[right page][\useMPgraphic{right page}] \setupbackgrounds[leftpage] [background=left page] \setupbackgrounds[rightpage][background=right page] But now I have them on every page. I don't want those to appear on certain pages. E.g. I want to start chapters on the right page and want the left page to be completely empty. For my chapters I currently have \definepagebreak[chapterpagebreak][yes,header,right] \setuphead[chapter][page=chapterpagebreak] \defineoverlay[left page] [left page] \defineoverlay[right page] [right page] \setupbackgrounds[leftpage] [background=left page] \setupbackgrounds[rightpage][background=right page] \setuppagenumbering[alternative=doublesided] \definepagebreak[chapterpagebreak][left,header,blank,right] \setuphead[chapter][page=chapterpagebreak] \starttext \chapter{x} \chapter{x} \stoptext -- - 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] module for articles for the Context meeting ?
Is there a module to use for the articles for context meeting ? -- 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] comments
On Wed, 4 Aug 2010 09:58:38 -0400 Aditya Mahajan adit...@umich.edu scribit: On Wed, Aug 4, 2010 at 9:56 AM, Henning Hraban Ramm hra...@fiee.net wrote: Am 2010-08-04 um 14:02 schrieb R. Bastian: Hello, 1. is there the same in Context than the Latexian \begin{comment} ... \end{comment} What is that supposed to to? If you want to comment some larger parts out, you might use \startmode[comment] % name is random ... \stopmode Or \starthiding \stophiding Aditya With MkII, \starthiding \stophiding works. Thanks, -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___ 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] comments, font catalogue
On Wed, 04 Aug 2010 16:00:55 +0200 Hans Hagen pra...@wxs.nl scribit: On 4-8-2010 3:58, Aditya Mahajan wrote: On Wed, Aug 4, 2010 at 9:56 AM, Henning Hraban Rammhra...@fiee.net wrote: Am 2010-08-04 um 14:02 schrieb R. Bastian: Hello, 1. is there the same in Context than the Latexian \begin{comment} ... \end{comment} What is that supposed to to? If you want to comment some larger parts out, you might use \startmode[comment] % name is random ... \stopmode Or \starthiding \stophiding ot \startcomment .. \stopcomment (which if all is ok will put them in the document as comments when interaction is enabled) Hans With MkII, \startcomment .. \stopcomment issues an error. Thanks, - 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 ___ -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___ 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] Texlive 2009 and stable context
Taco Hoekwater t...@elvenkind.com Tue, 03 Aug 2010 19:33:39 +0200 Almost. You need this file http://minimals.metatex.org/current/misc/web2c/texmfcnf.lua and it should go into texlive/texmf/web2c/ or somewhere else where it can be found (any location where texmf.cnf will be found) and then it should work, I think. But I cannot test this, so be warned that it may not work. Best wishes, Taco This helps somewhat. It seems that the definitions TEXMFOS = $SELFAUTODIR, TEXMFMAIN = $SELFAUTOPARENT/texmf, TEXMFCONTEXT= $SELFAUTOPARENT/texmf-context, TEXMFLOCAL = $SELFAUTOPARENT/texmf-local, TEXMFFONTS = $SELFAUTOPARENT/texmf-fonts, TEXMFPROJECT= $SELFAUTOPARENT/texmf-project, are not true for my case. How do I set these variables so that things will work correctly? Running mtxrun --generate spits this MTXrun | resolvers: variable 'SELFAUTOLOC' set to '/usr/bin' MTXrun | resolvers: variable 'SELFAUTODIR' set to '/usr' MTXrun | resolvers: variable 'SELFAUTOPARENT' set to '.' MTXrun | resolvers: variable 'TEXMFCNF' set to '' MTXrun | resolvers: variable 'TEXMF' set to '' MTXrun | resolvers: variable 'TEXOS' set to '/usr No wonder that cont-en is not found when I run mtxrun --compile cont-en. I would like mtxrun --compile cont-en to find the context distribution within TEXMFLOCAL = /usr/local/share/texmf. Here is the directory structure in /usr/local/share/texmf where I keep the context package. In addition under /usr/share/texmf-texlive are all fonts that are used by all things tex. ./ ./fonts ./fonts/cid ./fonts/afm ./fonts/fea ./fonts/map ./fonts/data ./fonts/type1 ./fonts/vf ./fonts/tfm ./fonts/pfm ./fonts/truetype ./fonts/enc ./fonts/misc ./doc ./doc/fonts ./doc/context ./doc/latex ./bibtex ./bibtex/bst ./ls-R ./metapost ./metapost/context ./context ./context/config ./context/data ./tex ./tex/context ./tex/generic ./tex/latex ./web2c ./web2c/context.cnf ./web2c/natural.tcx ./web2c/contextcnf.lua ./scripts ./scripts/context Thank you, Eythan ___ 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] Texlive 2009 and stable context
Hans Hagen pra...@wxs.nl Tue, 03 Aug 2010 19:40:40 +0200 On 3-8-2010 6:48, Eythan Weg wrote: Sometimes in June I was no longer able to compile context beta, running into a problem that persists with the new stable (7-30-2010). Hans suggested in response to a similar problem by someone else, to install minimals. But this seems to me wasteful because I use parts of latex. The minimals are independent; also, you get the latest binaries with it. I know, but I need more than context and I am not happy with the duplication the installation of minimals entails. I hope that correct configuration would bring things the way they were just a month or two ago. Thank you, Eythan ___ 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] Texlive 2009 and stable context
On 08/04/2010 06:15 PM, Eythan Weg wrote: Taco Hoekwatert...@elvenkind.com Tue, 03 Aug 2010 19:33:39 +0200 Almost. You need this file http://minimals.metatex.org/current/misc/web2c/texmfcnf.lua and it should go intotexlive/texmf/web2c/ or somewhere else where it can be found (any location where texmf.cnf will be found) and then it should work, I think. But I cannot test this, so be warned that it may not work. Best wishes, Taco This helps somewhat. Sorry, I cannot help any further. I have lots of installs here, but not texlive 2009, and certainly not in a 'system bin directories' setup. If you can switch to texlive 2010 pretest, life would be quite simple, but I have no idea how to do something with your system. My own advise is therefore: install the context minimals next to texlive 2009. which one is used depends on PATH and nothing else, so you can have a minimals install that does not conflict with the pre-existing texlive. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] vbox construct breaking MKII
On Wed, 4 Aug 2010, Hans Hagen wrote: On 4-8-2010 9:16, Willi Egger wrote: Hi all, Any variation of the following construct breaks in MKII as long as there is no new line after the closing } of the vbox. MKIV does not have this problem. \startbuffer[bf4] \vbox{ test }\stopbuffer Please refer to the testfile \stopbuffer has to be on a line of its own so } \stopbuffer Is it possible to have an inline version of \start...stopbuffer. So that \buffer[options]{...} is similar to \startbuffer[options] .. \stopbuffer The functionality is already there. \type parses the contents correctly, and \startbuffer writes it to an external file. Something that combines the two will be great. Such a feature will be handy for inline syntax highlighting with the t-vim module. 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 ___
Re: [NTG-context] module for articles for the Context meeting ?
On 08/04/2010 05:42 PM, luigi scarso wrote: Is there a module to use for the articles for context meeting ? We somewhat agreed that the preprints will be assumed to be camera-ready copy. I do not know what will happen after the conference, but it seems likely that I will want to steal some of your stuff for the maps, so as far as *I* am concerned, the maps module is perfect. Pavel or Jano should answer as well. Best wishes, Tafco ___ 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] vbox construct breaking MKII
On 4-8-2010 6:51, Aditya Mahajan wrote: On Wed, 4 Aug 2010, Hans Hagen wrote: On 4-8-2010 9:16, Willi Egger wrote: Hi all, Any variation of the following construct breaks in MKII as long as there is no new line after the closing } of the vbox. MKIV does not have this problem. \startbuffer[bf4] \vbox{ test }\stopbuffer Please refer to the testfile \stopbuffer has to be on a line of its own so } \stopbuffer Is it possible to have an inline version of \start...stopbuffer. So that \buffer[options]{...} is similar to \startbuffer[options] ... \stopbuffer The functionality is already there. \type parses the contents correctly, and \startbuffer writes it to an external file. Something that combines the two will be great. Such a feature will be handy for inline syntax highlighting with the t-vim module. \setbuffer[bla]more bla\endbuffer - 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] vbox construct breaking MKII
On Wed, 4 Aug 2010, Hans Hagen wrote: On 4-8-2010 6:51, Aditya Mahajan wrote: On Wed, 4 Aug 2010, Hans Hagen wrote: On 4-8-2010 9:16, Willi Egger wrote: Hi all, Any variation of the following construct breaks in MKII as long as there is no new line after the closing } of the vbox. MKIV does not have this problem. \startbuffer[bf4] \vbox{ test }\stopbuffer Please refer to the testfile \stopbuffer has to be on a line of its own so } \stopbuffer Is it possible to have an inline version of \start...stopbuffer. So that \buffer[options]{...} is similar to \startbuffer[options] ... \stopbuffer The functionality is already there. \type parses the contents correctly, and \startbuffer writes it to an external file. Something that combines the two will be great. Such a feature will be handy for inline syntax highlighting with the t-vim module. \setbuffer[bla]more bla\endbuffer That does not work in mkii and does not look right for the user interface. For pretty printing using the inbuilt macros, one can use \startTEX \stopTEX and \typeTEX{...} Normally, I want the display version to insert blank spaces while the inline version to leave them alone. In the t-vim module, I can create environment \startvimTEX ... \stopvimTEX (that writes contents to file and inputs the result) but cannot easily create \typevimTEX. For that I will need to reimplement all the catcode trickery of \definetype and \definebuffer. 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 ___
Re: [NTG-context] Verbatim line numbering: location intext/text, empty lines, wrapped lines
On 3-8-2010 2:50, Stefan Müller wrote: Example: \starttext \defineframedtext[framedcode][strut=yes, offset=2mm, width=7cm, align=right] \definetyping[code][numbering=line, before={\startframedcode}, after={\stopframedcode}] \setuplinenumbering[location=text] \startcode This is the first line % line 1 This is a rather long line that is wrapped, so look how the line numbering is done % line 2 Another line % line 3 % line 4 Last line after an empty line % line 5 \stopcode \stoptext you can test the beta (i just uploaded a zip); it's somewhat tricky as we need to determine which lines are broken and i didn't test the new hackery too well 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] vbox construct breaking MKII
On 4-8-2010 7:23, Aditya Mahajan wrote: (that writes contents to file and inputs the result) but cannot easily create \typevimTEX. For that I will need to reimplement all the catcode trickery of \definetype and \definebuffer. \definetype[TEXtype][option=TEX] test \TEXtype{oeps \test{oeps}} test - 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] vbox construct breaking MKII
On Wed, 4 Aug 2010, Hans Hagen wrote: On 4-8-2010 7:23, Aditya Mahajan wrote: (that writes contents to file and inputs the result) but cannot easily create \typevimTEX. For that I will need to reimplement all the catcode trickery of \definetype and \definebuffer. \definetype[TEXtype][option=TEX] test \TEXtype{oeps \test{oeps}} test But I want to store the argument oeps \test{oeps} in an external file, process that external file with vim, and \input the result. 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 ___
Re: [NTG-context] vbox construct breaking MKII
On 4-8-2010 9:36, Aditya Mahajan wrote: On Wed, 4 Aug 2010, Hans Hagen wrote: On 4-8-2010 7:23, Aditya Mahajan wrote: (that writes contents to file and inputs the result) but cannot easily create \typevimTEX. For that I will need to reimplement all the catcode trickery of \definetype and \definebuffer. \definetype[TEXtype][option=TEX] test \TEXtype{oeps \test{oeps}} test But I want to store the argument oeps \test{oeps} in an external file, process that external file with vim, and \input the result. As pretty printing happens in lua, you can intercept the string there. Just look at pret-*.lua: there is a visualizer.flush_line in there that can write to a file, apply vim, and read in the result (can also be words instead of lines). 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 ___