[NTG-context] problems with right bracket in Antykwa Torunska -- fixed
The new distribution of Janusz's fonts (under the same version number) can be found at: http://jmn.pl/pliki/AntykwaTorunska-tex-2_05.zip http://jmn.pl/pliki/Kurier-tex-0_94.zip http://jmn.pl/pliki/Iwona-tex-0_94.zip Cheers. -- Jacko ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE 'last line' tag?
On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO). It's not that easy, since the bottomframe - once set - is persistent ... so every row underneath my header (e.g.) will have 'bottomframe=on' set. No, the options are local to the current level where it is set. If bottomframe is on for one row, it won't set bottomframe to the next rows. In the following example, only two rows (the header and another one in the body) have local bottomframe on, and the last row bottomframe is done with table setup: \starttext \setupTABLE[frame=off] \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] \bTABLE \bTABLEhead \bTR[bottomframe=on]\bTH a \eTH\bTH b \eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR[bottomframe=on]\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \eTABLEbody \eTABLE \stoptext You can also put bottomframe only for a cell with bTD[bottomframe=on]...\eTD. Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2c considerations about win installer
So, more generally, I was asking myself if it would not be possible (and better) to have an .exe installer as usual happens in win, including Perl, maybe Ruby (+ or- 20 Mb doesn't change too much). Double click, and it set ups all the installation parameters. A completely autonomous installer would allow many people to try, use and get fond conTeXt (and maybe to leave Word) without having to struggle with problems which typically lead people to leave out. It seems to me that a similar installer would be a refinement in the spirit of the actual mswincontext distro. At the end, it's not that far form Gerben's distro on macosx. It does everything for me... Or maybe am I missing something? No, nothing; and it is very easy to do it, above all when it could be done with Ruby using the gem installation. You can install and update ConTeXt with a single comand controlling indipendies and everything else needed. It is also very easy using InnoSetup (http://www.jrsoftware.org/isdl.php). Cheers, jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] 2c considerations about win installer
Jilani Khaldi wrote: So, more generally, I was asking myself if it would not be possible (and better) to have an .exe installer as usual happens in win, including Perl, maybe Ruby (+ or- 20 Mb doesn't change too much). Double click, and it set ups all the installation parameters. A completely autonomous installer would allow many people to try, use and get fond conTeXt (and maybe to leave Word) without having to struggle with problems which typically lead people to leave out. It seems to me that a similar installer would be a refinement in the spirit of the actual mswincontext distro. At the end, it's not that far form Gerben's distro on macosx. It does everything for me... Or maybe am I missing something? No, nothing; and it is very easy to do it, above all when it could be done with Ruby using the gem installation. You can install and update ConTeXt with a single comand controlling indipendies and everything else needed. It is also very easy using InnoSetup (http://www.jrsoftware.org/isdl.php). texsync TeXSync | version 1.1.1 - 2002/2004 - PRAGMA ADE/POD TeXSync | --address adress of repository (www.pragma-ade) TeXSync | --destination destination of tree (kpsewhich) TeXSync | --force confirm action TeXSync | --fulldownload everything (all binaries) TeXSync | --listlist available trees TeXSync | --makeremake formats TeXSync | --terse download as less as possible (esp binaries) TeXSync | --treetree to synchronize (tex) TeXSync | --update update installed tree TeXSync | --useruser account (guest) this will sync the minimal distribution - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] feature request: \everytrypass
Peter Rolf wrote: Vit Zyka wrote: Dear ConTeXters, I am counting occurence of some macro in the text. Problem is when this macro is inside \bTABLE (and may be somewhere else). Due to try passes the increment is counter is incremented more then once and the result is multiplied. It is possible to implement some \everytrypass in which user can (e.g.) null incrementing? Or there is some another solution? Thanks Vit Minimal example: --- \newcount\C \def\doIncrement{\global\advance\C by1\relax} \def\doIncrement{\iftrialtypesetting \else\global\advance\C by1\relax\fi}% donno if this works correctly inside a TABLE... Oh, it is already done! ... How I was able to think in opposite... Seems it works correctly in TABLE. ... but there is (at least) two \trialtypesettingtrue missing in caption composition. Bellow is the patch (see VZ comment marks). Thanks Peter Vit -- \def\dopreparestackcaptionaut#1#2#3#4% {\doifsomething\@@kjkjalign {\ExpandBothAfter\doifnotinset\v!middle\@@kjkjalign {\let\captionovershoot\!!zeropoint}}% \edef\captionhsize{\the\wd\tempfloatbox}% \ifdim\captionhsize\hsize % float is wider than \hsize \dosetraggedvbox\@@kjkjalign \setbox\scratchbox\raggedbox % trial run {\hsize\captionhsize \trialtypesettingtrue % VZ \notesenabledfalse \putcompletecaption{#4}{#2}{#3}{0}}% \ifdim\ht\scratchbox\lineheight % more lines \dosetraggedvbox\@@kjkjalign \setbox\tempcaptionbox\raggedbox {\hsize\captionhsize \advance\hsize -\captionovershoot\relax \ifdim\hsize\captionminwidth\relax \hsize\captionhsize \fi \putcompletecaption{#4}{#2}{#3}{0}}% \else \setbox\tempcaptionbox\raggedbox {\hsize\captionhsize \putcompletecaption{#4}{#2}{#3}{0}}% \fi \else % float is smaller of equal to \hsize \ifdim\captionhsize\captionminwidth\relax \scratchdimen\captionminwidth % float smaller than min width \edef\captionhsize{\the\scratchdimen}% \fi \setbox\scratchbox\vbox % test with overshoot {\scratchdimen\captionhsize \trialtypesettingtrue % VZ \advance\scratchdimen \captionovershoot \advance\scratchdimen 3em % an average word length \ifdim\scratchdimen\hsize \hsize\scratchdimen \fi \notesenabledfalse \putcompletecaption{#4}{#2}{#3}{0}}% \ifdim\ht\scratchbox\lineheight % at least an average word longer than a line \dosetraggedvbox\@@kjkjalign \setbox\tempcaptionbox\raggedbox {\scratchdimen\captionhsize \advance\scratchdimen \captionovershoot \ifdim\scratchdimen\hsize \hsize\scratchdimen \fi \putcompletecaption{#4}{#2}{#3}{0}}% \else % just over a line, don't use an overshoot \expanded{\doifcommonelse{\@@kjkjalign}}{\v!left,\v!right,\v!flushleft,\v!flushright} {\dosetraggedvbox\@@kjkjalign \setbox\tempcaptionbox\raggedbox {\hsize\captionhsize % strange : \raggedcenter \putcompletecaption{#4}{#2}{#3}{0}}} {% nicer \setbox\tempcaptionbox\cbox {\hsize\captionhsize \putcompletecaption{#4}{#2}{#3}{0}}}% \fi \fi} Greets, Peter % \def\nullIncrement{\let\doIncrement\relax} % \appendtoks \nullIncrement to \everytrypass \starttext \bTABLE \bTR\bTD Counter\doIncrement\eTD\eTR \eTABLE \message{ Counter=\the\C }% \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnotes in natural tables
Johan Sandblom wrote: With the following file the footnotes are typeset on top of each other. What am I doing wrong? Johan \starttext \startlocalfootnotes[n=0, location={text, none}] \bTABLE \bTR \bTD Sinuit \eTD \bTD penicillin V \eTD \bTD amoxicillin, pivampicillin, cefalosporin\footnote[cef]{Ej cefadroxil eller cefalexin pga H infl}, doxycyklin, trim-sulfa \eTD \eTR \bTR \bTD Otit \eTD \bTD penicillin V \eTD \bTD amoxicillin, pivampicillin, makrolid\footnote{Endast vid allergi}, cefalosporin\note[cef], trim-sulfa \eTD \eTR \eTABLE\stoplocalfootnotes%} \placelocalfootnotes \stoptext \def\doplacelocalnotes[#1][#2]% {\bgroup \processnotes {\dolocalsetupnotes{#1}{#2}% \expanded{\doifinsetelse{\v!none}{\noteparameter\c!location}} \placenotesasnone\placenotesintext\localpostponednotes}% \egroup \checknotes} still not what it should do but already better - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnotes in natural tables
I tried putting this in the testfile itself but got a complaint about a missing \endcsname. So following some previous advice I put this in texmf-local/tex/context/base/cont-loc.tex and rebuilt the format. Processing the testfile did not generate an error but also no improvement. How should I use this code? Johan 2006/4/21, Hans Hagen [EMAIL PROTECTED]: Johan Sandblom wrote: With the following file the footnotes are typeset on top of each other. What am I doing wrong? Johan \starttext \startlocalfootnotes[n=0, location={text, none}] \bTABLE \bTR \bTD Sinuit \eTD \bTD penicillin V \eTD \bTD amoxicillin, pivampicillin, cefalosporin\footnote[cef]{Ej cefadroxil eller cefalexin pga H infl}, doxycyklin, trim-sulfa \eTD \eTR \bTR \bTD Otit \eTD \bTD penicillin V \eTD \bTD amoxicillin, pivampicillin, makrolid\footnote{Endast vid allergi}, cefalosporin\note[cef], trim-sulfa \eTD \eTR \eTABLE\stoplocalfootnotes%} \placelocalfootnotes \stoptext \def\doplacelocalnotes[#1][#2]% {\bgroup \processnotes {\dolocalsetupnotes{#1}{#2}% \expanded{\doifinsetelse{\v!none}{\noteparameter\c!location}} \placenotesasnone\placenotesintext\localpostponednotes}% \egroup \checknotes} still not what it should do but already better - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnotes in natural tables
Johan Sandblom wrote: I tried putting this in the testfile itself but got a complaint about a missing \endcsname. So following some previous advice I put this in texmf-local/tex/context/base/cont-loc.tex and rebuilt the format. Processing the testfile did not generate an error but also no improvement. How should I use this code? in cont-new.tex, after \unprotect (remove the cont-loc file) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnotes in natural tables
No, the result is still the same. I realize I am being obtuse, but in what way, specifically? I placed the code after the ^L after the writestatus thing, and rebuilt the format (although perhaps that is not necessary for cont-new?), but the footnotes still come out on top of each other. Johan 2006/4/21, Hans Hagen [EMAIL PROTECTED]: Johan Sandblom wrote: I tried putting this in the testfile itself but got a complaint about a missing \endcsname. So following some previous advice I put this in texmf-local/tex/context/base/cont-loc.tex and rebuilt the format. Processing the testfile did not generate an error but also no improvement. How should I use this code? in cont-new.tex, after \unprotect (remove the cont-loc file) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Renaud AUBIN wrote: Ouch, grep latex * on the source returns i downloade it, and indeed it seems that calling latex is hard coded into the source of course you can make a batch file latex.cmd that runs context -) integrating does not look that problematic but without proper label support ... . so maybe you can convince the authors to make the --tex switch accept a format Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Tioga looks very nice for 2D plots but IMHO, asymptote could provide a good transition for metaposters. Moreover, asymptote is a all-in-one tool with 3D support and 2D plots of reasonable quality... The discussion is now, what do you prefer: an integrated tool with a great variety of features (even if a small amount of us are interested by three or graph in asymptote) or a better tool but with less features ? It is already possible to do 3D with metapost by using featpost, m3d or others but IMHO asymptote seems great because it integrates nativelly this kind of features. I have just send a mail to Andy Hammer to ask him what he thinks about using plainTeX format instead of hardcoded latex calls... Cheers, Renaud Jilani Khaldi a écrit : Have a look at this: http://www.kitp.ucsb.edu/~paxton/tioga.html and, please, tell us what do you think about it. jk -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] NTG voorjaarsbijeenkomst op 12 en 13 mei a.s.
Beste NTG'ers, Vaak melden de leden die naar een NTG-dag willen komen hun komst pas laat... daar zijn we aan gewend, kunnen we normaal mee omgaan maar dit keer is het anders. De voorbereidingen van ons verblijf bij Defensie in Den Helder en de overtocht naar TeXel en de overnachting daar maken het noodzakelijk dat we echt snel weten wie er allemaal komen. En als er te weinig leden komen, moeten we tijdig aan de noodrem... Daarom deze herhalings-oproep! Geef uiterlijk 30 april aan [EMAIL PROTECTED] door of je van plan bent deel te nemen aan deze NTG-dagen. Op vrijdag 12 (met uitloop op zaterdag 13 mei) vindt de NTG- voorjaarsdag plaats. Er is weer volop gelegenheid om TeX-tips en TeX- ervaringen uit te wisselen met andere NTG leden. We hebben een bijzondere locatie gevonden: we zullen te gast zijn bij de Nederlandse Defensie Academie (NLDA). Op vrijdagmiddag is er een NTG-colloquium voor studenten van de Defensie Academie NTG- leden en ge\{\i}nteresseerden van andere universiteiten, met als thema TeX anno 2006 De middag begint om 13 uur, zodat ook leden die wat verder weg wonen alle gelegenheid hebben om naar Den Helder te reizen. Vrijdagmiddag is er een colloquium, met een aantal presentaties waarbij de gevorderde gebruiker een beeld krijgt van de stand van zaken vandaag de dag terwijl de beginner op TeX gebied een eerste overzicht wordt geboden van hetgeen mogelijk is met TeX als instrument voor het typesetten van teksten. Aan bod komen: * Macropaketten: LaTeX, Context * Data invoer: XML of TeX * Integratie van grafieken en plaatjes * Het direct genereren van PDF-bestanden * TEX als distributie op verschillende platformen Er wordt tijd vrijgehouden voor vragen en discussie, en later in de middag maken we een uitstapje naar TeXel. Wie dat eens mee wil maken, kan (als de wersomstandigheden het toelaten) per marineboot die kant op, maar de gewone veerboot vaart natuurlijk ook. Op TeXel sluiten we de middag af met een barbecuemaaltijd. De terugreis naar Den Helder gaat (de volgende dag) per gewone veerboot. Autos kunnen op het terrein van de KIM achter blijven. Als het varen niet door zou kunnen gaan, is het mogelijk om met een deel van de autos, wel vol beladen, naar TeXel te gaan. Overnachten vindt plaats in de militaire Kazerne op TeXel, waar meerpersoonskamers (4/8) ter beschikking staan. Op zaterdag houden we de NTG-ledenvergadering. Er staan wat verkiezingen op stapel: secretaris Willi Egger en penningmeester Wybo Dekker kunnen worden herkozen, voor Frans Goddijn zit de maximale termijn erop, en Maarten Wisse stelt zijn zetel ter beschikking. Nadere gegevens, o.a. over de route naar de NLDA volgen spoedig, maar er is nu reeds alle aanleiding om vrijdag 12 en zaterdag 13 mei in je agenda te noteren! Let op! Definitieve aanmeldingen moeten binnen zijn voor 30 april, zodat de NLDA zich op onze komst kan voorbereiden. Tot binnenkort, Willi Egger NTG secretaris ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Jilani Khaldi wrote: i downloade it, and indeed it seems that calling latex is hard coded into the source of course you can make a batch file latex.cmd that runs context -) integrating does not look that problematic but without proper label support ... . so maybe you can convince the authors to make the --tex switch accept a format Have a look at this: http://www.kitp.ucsb.edu/~paxton/tioga.html and, please, tell us what do you think about it. interesting (i assume that it produced pdf) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Renaud AUBIN wrote: I have just send a mail to Andy Hammer to ask him what he thinks about using plainTeX format instead of hardcoded latex calls... or configurable calls, i see no reason for binding to whatever format Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Renaud AUBIN wrote: The discussion is now, what do you prefer: an integrated tool with a great variety of features (even if a small amount of us are interested by three or graph in asymptote) or a better tool but with less features ? or multiple tools -) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] [Fwd: NTG voorjaarsbijeenkomst op 12 en 13 mei a.s.]
For those interested -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ---BeginMessage--- Beste NTG'ers, Vaak melden de leden die naar een NTG-dag willen komen hun komst pas laat... daar zijn we aan gewend, kunnen we normaal mee omgaan maar dit keer is het anders. De voorbereidingen van ons verblijf bij Defensie in Den Helder en de overtocht naar TeXel en de overnachting daar maken het noodzakelijk dat we echt snel weten wie er allemaal komen. En als er te weinig leden komen, moeten we tijdig aan de noodrem... Daarom deze herhalings-oproep! Geef uiterlijk 30 april aan [EMAIL PROTECTED] door of je van plan bent deel te nemen aan deze NTG-dagen. Op vrijdag 12 (met uitloop op zaterdag 13 mei) vindt de NTG- voorjaarsdag plaats. Er is weer volop gelegenheid om TeX-tips en TeX- ervaringen uit te wisselen met andere NTG leden. We hebben een bijzondere locatie gevonden: we zullen te gast zijn bij de Nederlandse Defensie Academie (NLDA). Op vrijdagmiddag is er een NTG-colloquium voor studenten van de Defensie Academie NTG- leden en ge\{\i}nteresseerden van andere universiteiten, met als thema TeX anno 2006 De middag begint om 13 uur, zodat ook leden die wat verder weg wonen alle gelegenheid hebben om naar Den Helder te reizen. Vrijdagmiddag is er een colloquium, met een aantal presentaties waarbij de gevorderde gebruiker een beeld krijgt van de stand van zaken vandaag de dag terwijl de beginner op TeX gebied een eerste overzicht wordt geboden van hetgeen mogelijk is met TeX als instrument voor het typesetten van teksten. Aan bod komen: * Macropaketten: LaTeX, Context * Data invoer: XML of TeX * Integratie van grafieken en plaatjes * Het direct genereren van PDF-bestanden * TEX als distributie op verschillende platformen Er wordt tijd vrijgehouden voor vragen en discussie, en later in de middag maken we een uitstapje naar TeXel. Wie dat eens mee wil maken, kan (als de wersomstandigheden het toelaten) per marineboot die kant op, maar de gewone veerboot vaart natuurlijk ook. Op TeXel sluiten we de middag af met een barbecuemaaltijd. De terugreis naar Den Helder gaat (de volgende dag) per gewone veerboot. Autos kunnen op het terrein van de KIM achter blijven. Als het varen niet door zou kunnen gaan, is het mogelijk om met een deel van de autos, wel vol beladen, naar TeXel te gaan. Overnachten vindt plaats in de militaire Kazerne op TeXel, waar meerpersoonskamers (4/8) ter beschikking staan. Op zaterdag houden we de NTG-ledenvergadering. Er staan wat verkiezingen op stapel: secretaris Willi Egger en penningmeester Wybo Dekker kunnen worden herkozen, voor Frans Goddijn zit de maximale termijn erop, en Maarten Wisse stelt zijn zetel ter beschikking. Nadere gegevens, o.a. over de route naar de NLDA volgen spoedig, maar er is nu reeds alle aanleiding om vrijdag 12 en zaterdag 13 mei in je agenda te noteren! Let op! Definitieve aanmeldingen moeten binnen zijn voor 30 april, zodat de NLDA zich op onze komst kan voorbereiden. Tot binnenkort, Willi Egger NTG secretaris ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ---End Message--- ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Ok, but how to deal with asymptote like with metapost. For example, if I produce a pdf with asymptote (with embed fonts) and use this pdf into my ConTeXt document with the same fonts... Is the fonts included twice ? I assume that this is the case... Maybe it could be interesting to "integrate" asymptote. I don't know how hard it is at all... It's only an idea... interesting (i assume that it produced pdf) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] updating
Hi, fyi: if you want to update (e.g. the new kurier zip) you can try something textools --updatetree kurier-tex e:\tex\texmf (take you rown tree roots) this will tell you what will be updated, merged and deleted (use --force to really do it) Hans -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
I agree with you, and this is what I do for my document (I use featpost, metaobj and context term of gnuplot). But sometimes, there is some conflicts... That's the reason why I think that an integrated and expandable solution could be interesting. That's my humble opinion ;) Hans Hagen a écrit : or multiple tools -) Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
I started rewriting the asymptote code to use plain TeX -- I had never used ConTeXt back then, so didn't even try to make that work. But maybe the TeX changes will help those more expert in ConTeXt to make them. I'll dig out my half-finished changes for public onsumption. The asymptote authors said that they welcome asymptote working with other tex formats (someone else had asked about ConTeXt), and prefer, rather than their having to modify it themselves, that users of those formats submit the changes (they use LaTeX themselves). -Sanjoy ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE 'last line' tag?
nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO). It's not that easy, since the bottomframe - once set - is persistent ... so every row underneath my header (e.g.) will have 'bottomframe=on' set. No, the options are local to the current level where it is set. If bottomframe is on for one row, it won't set bottomframe to the next rows. In the following example, only two rows (the header and another one in the body) have local bottomframe on, and the last row bottomframe is done with table setup: The persistence issue is XML specific, I believe and therefore does not apply to your code example. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE 'last line' tag?
nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO). It's not that easy, since the bottomframe - once set - is persistent ... so every row underneath my header (e.g.) will have 'bottomframe=on' set. No, the options are local to the current level where it is set. If bottomframe is on for one row, it won't set bottomframe to the next rows. In the following example, only two rows (the header and another one in the body) have local bottomframe on, and the last row bottomframe is done with table setup: \starttext \setupTABLE[frame=off] \setupTABLE[row][last][rulethickness=0.90pt,bottomframe=on] \bTABLE \bTABLEhead \bTR[bottomframe=on]\bTH a \eTH\bTH b \eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR[bottomframe=on]\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \bTR\bTD bla \eTD\bTD bla \eTD\eTR \eTABLEbody \eTABLE \stoptext You can also put bottomframe only for a cell with bTD[bottomframe=on]...\eTD. the following patch will permit negative numbers (remove empty lines due to mail mess up) \def\setupTBLcell#1#2% cell over col over row {\setupTBLsection % already forgotten \edef\positiverow{\number#1}% \edef\positivecol{\number#2}% \scratchcounter-\maximumrow\advance\scratchcounter#1\advance\scratchcounter\minusone \edef\negativerow{\number\scratchcounter}% \scratchcounter-\maximumcol\advance\scratchcounter#2\advance\scratchcounter\minusone \edef\negativecol{\number\scratchcounter}% \getvalue{\@@tblprefix\v!each\v!each}% \getvalue{\@@tblprefix\c!y\v!each}% \getvalue{\@@tblprefix\c!x\v!each}% \getvalue{\@@tblprefix\c!y\v!oddeven\positiverow}% \getvalue{\@@tblprefix\c!x\v!oddeven\positivecol}% \getvalue{\@@tblprefix\c!x\v!oddeven\positivecol\c!y\v!oddeven\positiverow}% \ifnum\positiverow=\plusone \getvalue{\@@tblprefix\c!y\v!first}% \executeifdefined{\@@tblprefix\c!x\positivecol\c!y\v!first}\donothing \fi \ifnum\positivecol=\plusone \getvalue{\@@tblprefix\c!x\v!first}% \executeifdefined{\@@tblprefix\c!x\v!first\c!y\positiverow}\donothing \fi \ifnum\positiverow=\maximumrow\relax \getvalue{\@@tblprefix\c!y\v!last}% \executeifdefined{\@@tblprefix\c!x\positivecol\c!y\v!last}\donothing \fi \ifnum\positivecol=\maximumcol\relax \getvalue{\@@tblprefix\c!x\v!last}% \executeifdefined{\@@tblprefix\c!x\v!last\c!y\positiverow}\donothing \fi \ifnum\positiverow=\maximumrow\relax\ifnum\positivecol=\maximumcol\relax \getvalue{\@@tblprefix\c!x\v!last\c!y\v!last}% \fi\fi \ifnum\positiverow=\plusone \ifnum\positivecol=\plusone \getvalue{\@@tblprefix\c!x\v!first\c!y\v!first}% \fi\fi \ifnum#1\noftblhdnxlines\else \executeifdefined{\@@tblprefix\v!header\v!each}\donothing \executeifdefined{\@@tblprefix\v!header\positivecol}\donothing \fi \executeifdefined{\@@tblprefix\c!y\positiverow}\donothing \executeifdefined{\@@tblprefix\c!y\negativerow}\donothing \getvalue{\@@tbl\@@tbl\c!extras}\letvalue{\@@tbl\@@tbl\c!extras}\relax % \executeifdefined{\@@tblprefix\c!x\positivecol}\donothing \executeifdefined{\@@tblprefix\c!x\negativecol}\donothing \getvalue{\@@tbl\@@tbl\c!extras}\letvalue{\@@tbl\@@tbl\c!extras}\relax % \executeifdefined{\@@tblprefix\c!x\positivecol\c!y\positiverow}\donothing \executeifdefined{\@@tblprefix\c!x\negativecol\c!y\negativerow}\donothing \global\letcscsname\@@tblsplitafter\csname\@@tbl\@@tbl\c!after\endcsname \relax} \setupcolors[state=start] \setupTABLE[r] [2][color=red] \setupTABLE[r] [-2][color=red] \setupTABLE[c] [2][color=green] \setupTABLE[c] [-2][color=green] \setupTABLE[4] [4][color=blue] \setupTABLE[-4][-4][color=blue] \bTABLE \dorecurse{10}{\bTR \dorecurse{6}{\bTD xxx \eTD} \eTR} \eTABLE \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt + asymptote
Renaud AUBIN wrote: Ok, but how to deal with asymptote like with metapost. For example, if I produce a pdf with asymptote (with embed fonts) and use this pdf into my ConTeXt document with the same fonts... Is the fonts included twice ? I assume that this is the case... Maybe it could be interesting to integrate asymptote. I don't know how hard it is at all... It's only an idea... it depends, if asymptote outputs a parsable format ... Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE: 'distance' override?
Johannes Graumann wrote: Hello, In my quest for tables similar to what the 'booktabs' package in LaTeX what does booktab do then Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] feature request: \everytrypass
Vit Zyka wrote: Oh, it is already done! ... How I was able to think in opposite... Seems it works correctly in TABLE. ... but there is (at least) two \trialtypesettingtrue missing in caption composition. Bellow is the patch (see VZ comment marks). ok, patched - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] itemize question
� wrote: Hello, is it normal, that the first margin=5em is not taken into account, but the with \setupitemize it works? Perhaps I misunderstand the second argument of \startitemize. \starttext \startitemize[packed][margin=5em] \item bla \item bla \stopitemize \setupitemize[margin=5em] \startitemize[packed] \item bla \item bla \stopitemize \stoptext ok, fixed Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt +Tioga
I just had a look at the Tioga page and the figures are excellent. Though it looks even more wedded to LaTeX than asymptote is? -Sanjoy `Never underestimate the evil of which men of power are capable.' --Bertrand Russell, _War Crimes in Vietnam_, chapter 1. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE 'last line' tag?
On Fri, 21 Apr 2006 12:44:45 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: On Thu, 20 Apr 2006 17:27:50 -0700, Johannes Graumann [EMAIL PROTECTED] wrote: nico wrote: Why don't you test if the attribute is set before applying it to the TR? You see the problem on the last row, but the fact is that you force the bottomframe clear for every row (which is dirty IMHO). It's not that easy, since the bottomframe - once set - is persistent ... so every row underneath my header (e.g.) will have 'bottomframe=on' set. No, the options are local to the current level where it is set. If bottomframe is on for one row, it won't set bottomframe to the next rows. In the following example, only two rows (the header and another one in the body) have local bottomframe on, and the last row bottomframe is done with table setup: The persistence issue is XML specific, I believe and therefore does not apply to your code example. It's because you systematically apply the attribute. Doing this should work, even if there's maybe a smarter way of doing: \defineXMLnested [tr] [bottomframe=,rulethickness=0.5pt] {\doifelse{\XMLop{bottomframe}}{}% {\expanded{\bTR}}% {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}} {\eTR} I attach the full example. Regards, BG splittable.tex Description: TeX document ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt +Tioga
interesting (i assume that it produced pdf) Yes with the difference that while Metapost, Asympthote and GLE (http://glx.sourceforge.net/) use their own proprietary language to do PDF graphics, Tioga(*) uses Ruby, a full featrured and very nice language. I even see more presence in the future of Ruby in ConTeXt. Isn'it? jk (*) Tioga has been written by Bill Paxton, a computer scientist. -- Jilani KHALDI http://jkhaldi.oltrelinux.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE: 'distance' override?
Hans Hagen wrote: what does booktab do then Have a look at http://www.idyll.org:8081/JohSite/context/table1.jpg/view I write there: A table formated with the package 'booktabs' in LaTeX. Notice the heavier, continuous '\toprule' and '\bottomrule' as well as the lighter and interrupted lines seperating table-header and table body. Notice as well, that the table rules ar flush on the left and right with the table entries. I had emulated the continuous top- and bottomrule (while using 'distance' for the others) with a frame around the whole thing, but that prevents the table from being splitable ... I have not come across any ConTeXt solution yet making the rules on the left and right edge of the table flush with the Text. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] TABLE 'last line' tag?
nico wrote: \defineXMLnested [tr] [bottomframe=,rulethickness=0.5pt] {\doifelse{\XMLop{bottomframe}}{}% {\expanded{\bTR}}% {\expanded{\bTR[bottomframe=\XMLop{bottomframe},rulethickness=\XMLop{rulethickness}]}}} {\eTR} So much to learn, so little time. Thank you for this hint! Was hunting around in the XML example file for some XML specific switches and didn't get far ... this does it. Thank you. Joh ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] updating
On Fri, 21 Apr 2006, Hans Hagen wrote: fyi: if you want to update (e.g. the new kurier zip) you can try something textools --updatetree kurier-tex e:\tex\texmf (take you rown tree roots) Thanks for this. I was going to ask how to install the new files :-) this will tell you what will be updated, merged and deleted (use --force to really do it) --merge --force is also needed Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Itemize head symbol
Hello, Is it possible to change the symbol of \head in an itemize list, like \sym does for \item? Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Document Structuring
On Thu, 20 Apr 2006 08:34:44 +0200, Renaud AUBIN [EMAIL PROTECTED] wrote: 3. How to obtain (I,II,III,IV) for part numbering ? \setupsection[section-1][conversion=Romannumerals] seems ok, but I would find more natural to be able to write the following, at least to make the conversion local to parts (not applied to any other heading defined with the same level): \setuphead[part][conversion=Romannumerals] Regards, BG ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context