Re: [NTG-context] setupitemize confusion
On Thu, 27 Jul 2006, Steffen Wolfrum wrote: Am 27.07.2006 um 07:32 schrieb Aditya Mahajan: On Wed, 26 Jul 2006, Steffen Wolfrum wrote: Hi, both paragraph should be indented 12 pt. But there are different: \starttext \startitemize[width=12pt] \sym{\endash}\input tufte \stopitemize \setupitemize[width=12pt] \sym{\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far as I understood the manual (cont-eni) one can use \item and \sym also without the start-stop environment: in cases where it is just needed as one entry (not a list). This works, somehow. But is there no setup possible? I need it in a bibliography: the normal entries author, title etc. maybe two lines are hangindented with \hangafter=1\hangindent=12pt. But when a author has two or more titles it is written - title etc. maybe two lines. And here the - must be the same space as the hangindent (12pt), as one can imagine easily. That's why I used a \item res. \sym for this. And a start/stop each would make the code quite chaotic. But maybe there is even another solution for this construction, even better? Ask Taco to implement this in the bib module :-) Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupitemize confusion
Am 27.07.2006 um 08:05 schrieb Aditya Mahajan: On Thu, 27 Jul 2006, Steffen Wolfrum wrote: Am 27.07.2006 um 07:32 schrieb Aditya Mahajan: On Wed, 26 Jul 2006, Steffen Wolfrum wrote: Hi, both paragraph should be indented 12 pt. But there are different: \starttext \startitemize[width=12pt] \sym{\endash}\input tufte \stopitemize \setupitemize[width=12pt] \sym{\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far as I understood the manual (cont-eni) one can use \item and \sym also without the start-stop environment: in cases where it is just needed as one entry (not a list). This works, somehow. But is there no setup possible? I need it in a bibliography: the normal entries author, title etc. maybe two lines are hangindented with \hangafter=1\hangindent=12pt. But when a author has two or more titles it is written - title etc. maybe two lines. And here the - must be the same space as the hangindent (12pt), as one can imagine easily. That's why I used a \item res. \sym for this. And a start/stop each would make the code quite chaotic. But maybe there is even another solution for this construction, even better? Ask Taco to implement this in the bib module :-) The bib module won't help (I assume): the bibliography is already typed, not generated. Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Charts, Graphs, Tufte, and ConTeXt
Karl Ove Hufthammer [EMAIL PROTECTED] wrote: Yes! R (especially using the new grid and lattice framework) produces excellent charts and graphs, with very sensible default options (much of it based on Cleveland's research). What is Cleveland's research? Can you provide references on the web? Thank you, Nicolas Grilly ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] gnuplot in ConTeXt
Hi, The ConTeXt term is now in development. You have at least two or three alternatives (with one prefered but in dev): - use postscript term and include the resulting graphics with externalfigure - use mp term and process the MP buffer with metafun - last but not least, use directly the context terminal... For this one, you have to: - compile and install gnuplot from source by adding context.trm in gnuplot/term/ and adding context.trm to term.h (if you are on linux, else on windows you can use the wiki's patched binary gnuplot http://pub.mojca.org/gnuplot/bin/) - get mp-gnuplot.mp and t-gnuplot.tex and copy these two files into your current document directory - use \usemodule[t-gnuplot] to bypass the gnuplot module distributed with the ConTeXt release Then, you can try: \usemodule[t-gnuplot] \starttext \startGNUPLOTscript{abc} plot sin(x) \stopGNUPLOTscript \useGNUPLOTgraphic[abc] \useGNUPLOTgraphic[abc][width=\textwidth] \stoptext If you have any questions... Cheers, Renaud Dalyoung Jeong a crit: Dear all, I have installed gnuplot and others(aqua term, x11). I tested the minimal sample file in ConTeXt Wiki. In the wiki page, there is a command like \startGNUPLOTgraphics{sin} plot sin(x) \stopGNUPLOTgraphics but there is an error message like l.6 \startGNUPLOTgraphics {sin} ? x If I changed \startGNUPLOTgraphics{sin} to \startGNUPLOTgraphic{sin}, then the error is disappeared but the output showed only texts but not graph. Only a grey box is appeared. Would you please show me an example in detail? Thank you for reading. Dalyoung ___ 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
Re: [NTG-context] setupitemize confusion
Steffen Wolfrum a crit: The bib module won't help (I assume): the bibliography is already typed, not generated. Steffen Hi Steffen, Aditya, I'm agree with Aditya, Taco can surely help on this point... I'm also interested by this feature (to Taco: since IEEE bib formatting follows it ;) ) Cheers, Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupitemize confusion
Hi Steffen, Can you provide some working sample code (two or three typical entries + wrap with \start/stopitemize) ? Is your bibliography big ? I assume your this work is urgent and you can't make a .bib, right ? Renaud Steffen Wolfrum a crit: Am 27.07.2006 um 08:05 schrieb Aditya Mahajan: On Thu, 27 Jul 2006, Steffen Wolfrum wrote: Am 27.07.2006 um 07:32 schrieb Aditya Mahajan: On Wed, 26 Jul 2006, Steffen Wolfrum wrote: Hi, both paragraph should be indented 12 pt. But there are different: \starttext \startitemize[width=12pt] \sym{\endash}\input tufte \stopitemize \setupitemize[width=12pt] \sym{\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far as I understood the manual (cont-eni) one can use \item and \sym also without the start-stop environment: in cases where it is just needed as one entry (not a list). This works, somehow. But is there no setup possible? I need it in a bibliography: the normal entries "author, title etc. maybe two lines" are hangindented with \hangafter=1\hangindent=12pt. But when a author has two or more titles it is written "- title etc. maybe two lines". And here the "- " must be the same space as the hangindent (12pt), as one can imagine easily. That's why I used a \item res. \sym for this. And a start/stop each would make the code quite chaotic. But maybe there is even another solution for this construction, even better? Ask Taco to implement this in the bib module :-) The bib module won't help (I assume): the bibliography is already typed, not generated. Steffen ___ 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
Re: [NTG-context] setupitemize confusion
Renaud AUBIN wrote: Steffen Wolfrum a écrit : The bib module won't help (I assume): the bibliography is already typed, not generated. Steffen Hi Steffen, Aditya, I'm agree with Aditya, Taco can surely help on this point... I'm also interested by this feature (to Taco: since IEEE bib formatting follows it ;) ) It would not be very hard to add this feature to the module, but that will probably not help Steffen in this case. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] core-buf.tex?
All, In looking at core-buf.tex to see if I could find anything about subblocks, I came across at line 518: \def\setblocklevel#1% sign {\global\advance\blocklevel #11 \ifcase\blocklevel\doingblocksfalse\else\doingblockstrue\fi} Is that 11 correct? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupitemize confusion
Hi Renaud, sure, here it is: \starttext \def\Textit{\groupedcommand\it\/} \def\hangover{\hangafter=1\hangindent=16pt } \hangover\Textit{Badura, Peter:} Parlamentarismus und parteienstaatliche Demokratie, in: Pawlowski, Hans{|-|}Martin{|/|} Wieacker, Franz (Hrsg.), Festschrift für Karl Michaelis zum 70. Geburtstag, Göttingen 1972, S. 9ff. \hangover{\endash} Die parlamentarische Verantwortlichkeit\index {Verantwortlichkeit} der Minister, ZParl 1980, S. 573ff. \hangover{\endash} Staatsrecht, 3. Aufl., München 2003. \hangover{\endash} Die parlamentarische Demokratie, in: Isensee, Josef {|/|}Kirchhof, Paul (Hrsg.), Handbuch des Staatsrechts der Bundesrepublik Deutschland, Bd. II, 3. Aufl., Heidelberg 2004, § 25. \stoptext You see what is needed? Steffen Am 27.07.2006 um 09:11 schrieb Renaud AUBIN: Hi Steffen, Can you provide some working sample code (two or three typical entries + wrap with \start/stopitemize) ? Is your bibliography big ? I assume your this work is urgent and you can't make a .bib, right ? Renaud Steffen Wolfrum a écrit : Am 27.07.2006 um 08:05 schrieb Aditya Mahajan: On Thu, 27 Jul 2006, Steffen Wolfrum wrote: Am 27.07.2006 um 07:32 schrieb Aditya Mahajan: On Wed, 26 Jul 2006, Steffen Wolfrum wrote: Hi, both paragraph should be indented 12 pt. But there are different: \starttext \startitemize[width=12pt] \sym{\endash} \input tufte \stopitemize \setupitemize[width=12pt] \sym {\endash}\input tufte \stoptext How do I make the second the same as the first? Shouldn't you wrap the second one with \startstop itemize? \setupitemize[width=12pt] \startitemize \sym{\endash}\input tufte \stopitemize Aditya Well, I hope not! As far as I understood the manual (cont-eni) one can use \item and \sym also without the start-stop environment: in cases where it is just needed as one entry (not a list). This works, somehow. But is there no setup possible? I need it in a bibliography: the normal entries author, title etc. maybe two lines are hangindented with \hangafter=1 \hangindent=12pt. But when a author has two or more titles it is written - title etc. maybe two lines. And here the - must be the same space as the hangindent (12pt), as one can imagine easily. That's why I used a \item res. \sym for this. And a start/stop each would make the code quite chaotic. But maybe there is even another solution for this construction, even better? Ask Taco to implement this in the bib module :-) The bib module won't help (I assume): the bibliography is already typed, not generated. Steffen ___ 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupitemize confusion
Taco Hoekwater a écrit : It would not be very hard to add this feature to the module, but that will probably not help Steffen in this case. Taco Yes, but you're also a ConTeXt guru, no ? ;) PS to Taco: No more time for #context ? Renaud ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] updating context on Ubuntu 6.06
Sanjoy Mahajan wrote: def locatedlocaltree -return `kpsewhich --expand-var $TEXMFLOCAL`.chomp rescue nil +return `kpsewhich --expand-var '$TEXMFLOCAL'`.chomp rescue nil end returns 'result' here can you try: def locatedlocaltree tree = `kpsewhich --expand-path $TEXMFLOCAL`.chomp rescue nil unless tree FileTest.directory?(tree) then tree = `kpsewhich --expand-path $TEXMF`.chomp rescue nil end return tree end (uses expand-path instead) 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] updating context on Ubuntu 6.06
Sanjoy Mahajan wrote: How does Windows quoting work? Well, the whole story isn't needed, but only how would this ruby line `kpsewhich --expand-var '$TEXMFLOCAL'` differ on Windows relative to Unix? the problem is that one never knows when the shell does things and when the program does ... so in order to be really sure, we need taco to look into the kpse source to see if ' is handled there (here they are retained) And the $@ - $@ change can be done in the Unix stubs only, so the change won't affect Windows (which uses .bat files and a different syntax). so in texmfstart: f.write(#{program} #{callname} \[EMAIL PROTECTED]\012) The other part of the patch was changing system() to be used within an if instead of a rescue block, and I got the return information about system() from the Programming Ruby manual online. It didn't say anything about it applying only to Unix, so that change should be safe too. will look 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] keepblocks
All, Can anyone explain what this is supposed to do? \keepblocks ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] setuplabeltext bug ?
Hi, the label is killed when changing new (de) german to old (deo) german: \mainlanguage[de]%de=new, deo=old \starttext \setuplabeltext[de][chapter=Chapter] \chapter{Text} \stoptext Right? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupitemize confusion
Steffen Wolfrum wrote: Hi Renaud, sure, here it is: \starttext \def\Textit{\groupedcommand\it\/} \def\hangover{\hangafter=1\hangindent=16pt } Try this: \def\dashauthor {\leavevmode\hbox to 16pt{\endash\hss}\ignorespaces} \hangover{\dashauthor} Die parlamentarische ... Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] updating context on Ubuntu 6.06
Hans Hagen wrote: Sanjoy Mahajan wrote: How does Windows quoting work? Well, the whole story isn't needed, but only how would this ruby line `kpsewhich --expand-var '$TEXMFLOCAL'` differ on Windows relative to Unix? the problem is that one never knows when the shell does things and when On unix, it is pretty easy to test what the shell does by pasting the stuff you want to try after the 'echo' command. In this case: $ echo kpsewhich --expand-var '$TEXMFLOCAL' kpsewhich --expand-var $TEXMFLOCAL I assume a similar trick is possible on windows, yes? And the $@ - $@ change can be done in the Unix stubs only, so the change won't affect Windows (which uses .bat files and a different syntax). so in texmfstart: f.write(#{program} #{callname} \[EMAIL PROTECTED]\012) Yes. That reminds me: I assume on MacOsX the same stubs will work except that \012 has to be changed into \015. Can someone test that? Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] core-buf.tex?
David Arnold wrote: All, In looking at core-buf.tex to see if I could find anything about subblocks, I came across at line 518: \def\setblocklevel#1% sign {\global\advance\blocklevel #11 \ifcase\blocklevel\doingblocksfalse\else\doingblockstrue\fi} Is that 11 correct? That is not 11, that is #1 followed by 1, and it is called with #1 == + or #1 == -, so the expansion becomes \global\advance\blocklevel + 1 or \global\advance\blocklevel - 1 Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setupitemize confusion
Very nice! Thank you Taco. Steffen Am 27.07.2006 um 10:36 schrieb Taco Hoekwater: Steffen Wolfrum wrote: Hi Renaud, sure, here it is: \starttext \def\Textit{\groupedcommand\it\/} \def\hangover{\hangafter=1\hangindent=16pt } Try this: \def\dashauthor {\leavevmode\hbox to 16pt{\endash\hss}\ignorespaces} \hangover{\dashauthor} Die parlamentarische ... Cheers, taco ___ 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] setuphead
Hi, I was sure it should be quite standard, but I couldn't figure our how to set a heading like this: Chapter label/number (centered,small,italic) (linebreak) Chapter titel (centered,bigger,bold) Is there a command=... to be written, or could it be achieved by combining the various options that setuphead has predefined? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] centered headertexts ??
Steffen Wolfrum wrote: Hi, apologies, I guess this one is a pretty easy question, but after trying (almost) every combination I gave up... How do I get xxx and yyy set in the header's center?? the ugly way : \setupheadertexts[text][\hfill xxx \hfill][][][\hfill yyy\hfill] \setuppagenumbering [alternative=doublesided,location= {header,marginedge}] \setupheadertexts[][xxx][yyy][] \starttext \input tufte \input knuth \input tufte \input knuth \input tufte \input knuth \stoptext we can consider a more explicit variant: \def\settext {\doquintupleempty\dosettext} \def\dosettext[#1][#2][#3][#4][#5]% text header middle text/text {\iffifthargument \setvalue{\??tk#1#2\executeifdefined{\c!text:#3}\c!middletext}% {\dodoubletexts{\??tk#1}{#2}% {\c!leftstyle \c!leftcolor \c!leftwidth }{#4}% {\c!rightstyle\c!rightcolor\c!rightwidth}{#5}}% \else\iffourthargument \setvalue{\??tk#1#2\executeifdefined{\c!text:#3}\c!middletext}% {\dodoubletexts{\??tk#1}{#2}% {\c!leftstyle \c!leftcolor \c!leftwidth }{#4}% {\c!rightstyle\c!rightcolor\c!rightwidth}{#4}}% \else\ifthirdargument \setvalue{\??tk#1#2\c!middletext}% {\dodoubletexts{\??tk#1}{#2}% {\c!leftstyle \c!leftcolor \c!leftwidth }{#3}% {\c!rightstyle\c!rightcolor\c!rightwidth}{#3}}% \fi\fi\fi} \def\resettext {\dotripleempty\doresettext} \def\doresettext[#1][#2][#3]% text header middle {\ifthirdargument \letvalue{\??tk#1#2\executeifdefined{\c!text:#3}\c!middletext}\empty \else\ifsecondargument \letvalue{\??tk#1#2\c!lefttext }\empty \letvalue{\??tk#1#2\c!middletext}\empty \letvalue{\??tk#1#2\c!righttext }\empty \fi\fi} \setvalue{\c!middle:\c!text}{\c!middletext} \setvalue{\c!left :\c!text}{\c!lefttext } \setvalue{\c!right :\c!text}{\c!righttext } \settext[text][header][middle][xxx][yyy] (or maybe \setpagetext \resetpagetext) - 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] setuplabeltext bug ?
ConTeXt ver: 2006.07.22 18:35 ... that's the current beta that i-installer offers. Steffen Am 27.07.2006 um 11:49 schrieb Taco Hoekwater: Steffen Wolfrum wrote: Hi, the label is killed when changing new (de) german to old (deo) german: What context version? (works ok here, using the latest). Taco \mainlanguage[de]%de=new, deo=old \starttext \setuplabeltext[de][chapter=Chapter] \chapter{Text} \stoptext Right? Steffen ___ 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 mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] underbar and hyphenation
Taco Hoekwater wrote: Hi, Be warned, this entire reply does not answer any questions ;-) OK Jano Kula wrote: Not always. A year ago a graphic designer used it a quiet creative way in the book of interviews. All the questions or persons were underlined, often hyphenated. It was an experiment and it worked. By the way, some of the caption and figure alingment Mojca asked for was used there also. I've put few sample pages here (done in LaTeX): http://web.iol.cz/kula/sample.pdf (1,5MB). Perhaps I am way too old-fashioned, but that looks rather ugly to me. Sure you are ;) Modern designs are modern designs. But don't worry you are not the only one. We have spent many hours, did many experiments and I was afraid of using it also. The result was a pragmatic solution when all the possibilities mentioned below were not usable in the book with many different situations we needed to handle. I was very suprised when the designer (experienced, respected and well aware of typography history and present) came up with this solution. I can't say I like it, but in print it wasn't that ugly as I was expecting. What I liked more than this solution was the courage to breake the rules we are all aware of (btw, like Godard used to do in his films; the book is a collection of interviews with him). So not for emphasis but as a graphic element it is -- and will be -- used. IMO, graphic element == emphasis Imagine the form with prescribed empty lines (lines, dots, dashes) and the pieces of predifined text on them in the schoolbook. Backgrounds, colorization, larger or different typeface, indentation, additional vertical space, they are all tools to draw extra attention to particular bits of the text. Hence, whether we like it or not, we must be able to use underlining. Greetings, Jano ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuplabeltext bug ?
Steffen Wolfrum wrote: ConTeXt ver: 2006.07.22 18:35 ... that's the current beta that i-installer offers. Steffen I have 2006.07.24 but I doubt that is causing the problem. Did you try \setuplabeltext[deo], by chance ? Because that certainly does not work. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] underbar and hyphenation
Jano Kula wrote: Imagine the form with prescribed empty lines (lines, dots, dashes) and the pieces of predifined text on them in the schoolbook. that's when we use the textbackgrounds (which then draw lines insteadof fills) 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] setuplabeltext bug ?
This was my thread about: I tried \setuplabeltext[deo] and was wondering why it doesn't work. How should someone know that it doesn't work?! Steffen Am 27.07.2006 um 13:15 schrieb Taco Hoekwater: Steffen Wolfrum wrote: ConTeXt ver: 2006.07.22 18:35 ... that's the current beta that i-installer offers. Steffen I have 2006.07.24 but I doubt that is causing the problem. Did you try \setuplabeltext[deo], by chance ? Because that certainly does not work. Taco ___ 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
Re: [NTG-context] underbar and hyphenation
Hans Hagen wrote: Jano Kula wrote: Imagine the form with prescribed empty lines (lines, dots, dashes) and the pieces of predifined text on them in the schoolbook. that's when we use the textbackgrounds (which then draw lines insteadof fills) Thanks, Hans, for both tips, I'll try them. Jano ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] updating context on Ubuntu 6.06
It was hard to find a machine not running bash, a measure of the success of free software. But I eventually found a nearby Solaris more a measure of the lack of diversity ... imagine everyone living a house of the same design, driving the same car, etc etc Or instead walking, cycling, or taking public transit...but I dream. can you try: ... I ran this ruby script (on Linux): def locatedlocaltree tree = `kpsewhich --expand-path $TEXMFLOCAL`.chomp rescue nil unless tree FileTest.directory?(tree) then tree = `kpsewhich --expand-path $TEXMF`.chomp rescue nil end return tree end print locatedlocaltree+\n and got the error due to lack of quotes around $TEXMF{,LOCAL}: kpsewhich: option `--expand-path' requires an argument kpsewhich: option `--expand-path' requires an argument Unix definitely needs those quotes to protect the variables in the backquoted command from the shell. Also the 'rescue nil' doesn't seem to have any effect. Probably similar to system(), the `cmd` construct doesn't raise an exception if the command fails or even isn't found. Instead you get tree equal to the empty string, since `` captures (the empty) stdout. Is path expansion (instead of variable expansion) a risky change? It might make tree a colon-separated list. That will cause trouble for the directory test in the 'unless' clause, and also break later uses of the returned value of locatedlocaltree that assume it is one path element. -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] setuplabeltext bug ?
Steffen Wolfrum wrote: This was my thread about: I tried \setuplabeltext[deo] and was wondering why it doesn't work. How should someone know that it doesn't work?! Frankly, I don't know where this is documented. But it doesnt work because deo is a descendant of de, thanks to this definition in lang-ger.tex: \installlanguage % old german [deo] [\c!spacing=\v!packed, \c!default=\s!de, % this line does it \c!state=\v!stop] The same is true for a few other languages: no (norwegian) - nl % BUG! uk (british)- en us (american) - en agr (ancient greek) - gr For Hans: that the norwegian definition is wrong. Even if it uses dutch hyphenation patterns, it should definately not use the dutch label texts. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuphead
Steffen Wolfrum wrote: Hi, I was sure it should be quite standard, but I couldn't figure our how to set a heading like this: Chapter label/number (centered,small,italic) (linebreak) Chapter titel (centered,bigger,bold) Is there a command=... to be written, or could it be achieved by combining the various options that setuphead has predefined? I guess you need numbercommand,inbetween and textcommand. Not a definitive answer, but I am positive that will work. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] keepblocks
David Arnold wrote: All, Can anyone explain what this is supposed to do? \keepblocks It is the opposite of \hideblocks, so you can use it to unhide hidden blocks, I assume. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] setuplabeltext bug ?
On Jul 27, 2006, at 3:23 PM, Taco Hoekwater wrote: no (norwegian) - nl Today the Netherlands, tomorrow the world ;-) Thomas ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] section versus subject
Hi, maybe another quite ... basic question: What's wrong about \subject? I assumed that the only difference between \section and \subject is numbering or not. But why does \subject not appear in the TOC (see below)? \starttext \definecombinedlist[content] [section,subject] \completecontent \page \section{section} \subject{subject} \stoptext Thanks, Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Charts, Graphs, Tufte, and ConTeXt
Nicolas Grilly skreiv: Karl Ove Hufthammer [EMAIL PROTECTED] wrote: Yes! R (especially using the new grid and lattice framework) produces excellent charts and graphs, with very sensible default options (much of it based on Cleveland's research). What is Cleveland's research? Can you provide references on the web? Cleveland has done much research on graphical perception and the visual decoding of information from data displays. He was one of the first to do actual scientific study on this. Earlier, many people had opinions on various common graphs (e.g., ‘pie charts are bad – I don’t like them’). Cleveland came along and did actual scientific *experiments* to show why some type of graphs were worse than others for presenting data (e.g., ‘humans are very bad at judging angles and very good at judging position along a common scale; that’s why pie charts are terrible and dot plots good at presenting (the same) data’), and he proposed new graphical display *based* on this research. See for example this very interesting and easy to read article: Title: Graphical Perception: Theory, Experimentation, and Application to the Development of Graphical Methods Author(s): William S. Cleveland; Robert McGill Source: Journal of the American Statistical Association, Vol. 79, No. 387. (Sep., 1984), pp. 531-554. Stable URL: http://links.jstor.org/sici?sici=0162-1459%28198409%2979%3A387%3C531%3AGPTEAA%3E2.0.CO%3B2-Y Some of Cleveland’s research resulted in novel graphical displays, such as trellis displays, coplots and dot plots, and much of it resulted in improvements to common displays. Unfortunately, many of these smaller improvements and very minor but important details seems to be unknown to people who design graphing software. Let me mention a few (not too exciting) examples: Circles should be used instead of rectangles as plotting symbols, especially with data overlap, because overlapping rectangles still look like rectangles, while overlapping circles look nothing like circles. Cleveland actually recommended a list of plotting symbols (for plotting several groups in one plot) for use in scatterplots; see: Title: A Model for Studying Display Methods of Statistical Graphics Author(s): William S. Cleveland Source: Journal of Computational and Graphical Statistics, Vol. 2, No. 4. (Dec., 1993), pp. 323-343. Stable URL: http://links.jstor.org/sici?sici=1061-8600%28199312%292%3A4%3C323%3AAMFSDM%3E2.0.CO%3B2-Y Tick marks should point outwards, not inwards (so they don’t camouflage data). The data rectangle should always be slightly smaller than the scale-line rectangle (the box around the data), again to avoid camouflaging the data. These are just a few (perhaps less interesting) features of graph design that R does correctly, but many other programs (e.g., gnuplot, at least for tick marks and data rectangles) don’t (by default). Much of Cleveland’s research has been summarised in his excellent book W.S. Cleveland. Elements of Graphing Data. Revised edition. 1994. See also his other book W.S. Cleveland. Visualizing data. 1993. Other articles of his that may be of interest: Title: Graphical Perception and Graphical Methods for Analyzing Scientific Data Author(s): William S. Cleveland; Robert McGill Source: Science, New Series, Vol. 229, No. 4716. (Aug. 30, 1985), pp. 828-833. Stable URL: http://links.jstor.org/sici?sici=0036-8075%2819850830%293%3A229%3A4716%3C828%3AGPAGMF%3E2.0.CO%3B2-D Abstract:Graphical perception is the visual decoding of the quantitative and qualitative information encoded on graphs. Recent investigations have uncovered basic principles of human graphical perception that have important implications for the display of data. The computer graphics revolution has stimulated the invention of many graphical methods for analyzing and presenting scientific data, such as box plots, two-tiered error bars, scatterplot smoothing, dot charts, and graphing on a log base 2 scale. Title: Graphical Perception: The Visual Decoding of Quantitative Information on Graphical Displays of Data Author(s): William S. Cleveland; Robert McGill Source: Journal of the Royal Statistical Society. Series A (General), Vol. 150, No. 3. (1987), pp. 192-229. Stable URL: http://links.jstor.org/sici?sici=0035-9238%281987%29150%3A3%3C192%3AGPTVDO%3E2.0.CO%3B2-T Abstract:Studies in graphical perception, both theoretical and experimental,