[NTG-context] \startlinetable

2010-11-13 Thread Herbert Voss
An example drom the wiki: \setuplinetable[n=6,lines=40] \setuplinetable[c][1] [width=2cm,background=color,backgroundcolor=red] \setuplinetable[c][4] [width=3cm,background=color,backgroundcolor=yellow] \setuplinetable[c][6] [width=3cm,background=color,backgroundcolor=magenta]

Re: [NTG-context] beta

2010-11-13 Thread Erik Margraf
I get the following error message while running first-setup.sh: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.42 \loadmarkfile{catc-ini} --- Strange enough, I find it as /tex/texmf-context/tex/context/base/catc-ini.mkiv Anything I

Re: [NTG-context] XSL-FO to PDF?

2010-11-13 Thread Renaud AUBIN
Uh ? Give FOP a try… http://xmlgraphics.apache.org/fop/1.0/index.html Could you describe your target chain ? XML → FO → PDF ? Renaud Le 10/11/2010 00:22, Peter Davis a écrit : Is there some recent information on using XML, and specifically XSL-FO, with ConTeXt? The pages on the contextgarden

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
I'm currently working on a pret-xml.lua if you are interested… I have started it last year, forgot it, then began to rewrite it from scratch last week… I would like to obtain a rendering similar to oXygen xml. That is a work in progress, but you can check it out:

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
Some precision. I don't think you could consider any pret-xml.lua as an example of XML processing. What processing would you apply to your XML file? Are considering to use directly lua to process your XML inputs? Sorry, but that's not clear to me… You are certainly aware of the fact that there is

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Peter Davis
I was thinking of doing all the XML parsing in TeX/ConTeXt, so I was looking for examples of that. I'm still trying to learn my way around ConTeXt, and XML handling in particular, so I thought a pretty printer would be a good example. Thank you! -pd On Sat, Nov 13, 2010 at 6:23 AM, Renaud AUBIN

[NTG-context] Another Correspendence question

2010-11-13 Thread Russell Urquhart
Hi, Another Correspondence question. In the default, I'd like the body text to be left justified rather than both left and right justified. Does the \setupletterstyle [content][align=left] do this? (or some form thereof)? I can't get this to work. Also, how can I have the 'Date' word

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
I'm currently working on my pret-xml… just implementing attributes parsing… I will upload that asap (even if my lua is… really bad ;) ) My two cents: depending of the complexity of the underlying data model tranported by your xml medium, you should consider another tool (xsltproc, saxon, xsdcxx,

[NTG-context] \showcharacters

2010-11-13 Thread Herbert Voss
\starttext \showcharacters \stoptext with latest minimal and mkii I get only a one line output: ec ec-lmr12: composed bottom char raw with mkiv the \showcharacters macro is missing. There is no file enco-run.mkiv Herbert

Re: [NTG-context] XSL-FO to PDF?

2010-11-13 Thread Peter Davis
On 11/13/10 6:03 AM, Renaud AUBIN wrote: Uh ? Give FOP a try… http://xmlgraphics.apache.org/fop/1.0/index.html Could you describe your target chain ? XML → FO → PDF ? Actually, I could write some XSLT to convert the XSL-FO into TeX or ConTeXt. But I was thinking it might be beneficial to

[NTG-context] Footnote links in the body?

2010-11-13 Thread Marco Pessotto
Hello there. I notice a strange behaviour with the footnote linking. Let's use the following minimal example: \setupinteraction[state=start] \starttext test\footnote{test} \stoptext Compiled with mkiv, the latest beta (ConTeXt ver: 2010.11.12 18:22 MKIV fmt: 2010.11.13), luatex, version

Re: [NTG-context] Another Correspendence question

2010-11-13 Thread Florian Wobbe
On Nov 13, 2010, at 14:28 , Russell Urquhart wrote: Hi, Another Correspondence question. In the default, I'd like the body text to be left justified rather than both left and right justified. Does the \setupletterstyle [content][align=left] Hi, \setupletterstyle [content]

[NTG-context] simplefonts

2010-11-13 Thread Herbert Voss
I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. \usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \definesimplefont[bf][NexusSerif-Bold][size=12pt] \starttext \bf \input knuth \stoptext the names are:

Re: [NTG-context] simplefonts

2010-11-13 Thread Aditya Mahajan
On Sat, 13 Nov 2010, Herbert Voss wrote: I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. I don't know how to do this in simplefonts, but ... \usemodule[simplefonts] \setmainfont[NexusSerif-Regular]

Re: [NTG-context] simplefonts

2010-11-13 Thread Herbert Voss
Am 13.11.2010 19:32, schrieb Aditya Mahajan: On Sat, 13 Nov 2010, Herbert Voss wrote: I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. I don't know how to do this in simplefonts, but ... \usemodule[simplefonts]

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
Hi folks, My custom XML pretty printer: http://www.nibua-r.org/gitsnap/pret-xml/ A direct link to the sample: http://www.nibua-r.org/gitsnap/pret-xml/pret-xml_test.pdf I'm sorry, the lua code is quite bad but I will improve it as soon as I will figure out how to implement functors… Feel free to

Re: [NTG-context] simplefonts

2010-11-13 Thread Wolfgang Schuster
Am 13.11.2010 um 19:25 schrieb Herbert Voss: I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. \usemodule[simplefonts] \setmainfont[NexusSerif-Regular] \setmainfont[Nexus Serif] Wolfgang

Re: [NTG-context] simplefonts

2010-11-13 Thread Khaled Hosny
On Sat, Nov 13, 2010 at 07:37:52PM +0100, Herbert Voss wrote: Am 13.11.2010 19:32, schrieb Aditya Mahajan: On Sat, 13 Nov 2010, Herbert Voss wrote: I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. I don't

[NTG-context] Dummy buff-ver.mkiv question

2010-11-13 Thread Renaud AUBIN
Hi folks, From http://wiki.contextgarden.net/Verbatim_text#Defining_your_own_set_of_colors and considering the following code snippet from buff-ver.mkiv \definepalet [colorpretty] [ prettyone=colorprettyone, prettytwo=colorprettytwo, prettythree=colorprettythree,

Re: [NTG-context] simplefonts

2010-11-13 Thread Herbert Voss
Am 13.11.2010 19:44, schrieb Wolfgang Schuster: Am 13.11.2010 um 19:25 schrieb Herbert Voss: I want to use \bf and \it with sinplefonts. Is this the only way to get a bold style? Without it I didn't get a bold style. \usemodule[simplefonts] \setmainfont[NexusSerif-Regular]

[NTG-context] t-simplefonts.tex

2010-11-13 Thread Herbert Voss
Why are there two definitions for math? \def\dodefinesimplefonttypeface[#1][#2][#3]% {\getparameters[\sf#1][\c!style=\v!serif,#3]% \processaction [\namedsimplefontparameter{#1}\c!style] [ \v!serif={\simplefo...@definetextfont [#1][#1][#2][#3]},

Re: [NTG-context] Footnote links in the body?

2010-11-13 Thread luigi scarso
On Sat, Nov 13, 2010 at 5:47 PM, Marco Pessotto melmo...@gmail.com wrote: Last question en passant: is this list the right place to post bug reports? yes -- luigi ___ If your question is of interest to others as

[NTG-context] Lucida New Math and simplefonts

2010-11-13 Thread Herbert Voss
Everything works fine with using simplefonts and Lucida, except the math fonts, which are taken from LM \usemodule[simplefonts] \setmainfont [Lucida Bright] \setmathfont [Lucida New Math] \starttext roman $x=3$ \stoptext o...@shania:/opt/context pdffonts 08-03-3.pdf name

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Thomas Schmitz
On Sat, 13 Nov 2010 19:39:31 +0100 Renaud AUBIN au...@nibua-r.org wrote: Hi folks, My custom XML pretty printer: http://www.nibua-r.org/gitsnap/pret-xml/ A direct link to the sample: http://www.nibua-r.org/gitsnap/pret-xml/pret-xml_test.pdf I'm sorry, the lua code is quite bad but I will

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
The local pret-xml.lua is used when running context on pret-xml_test from the basedir. To get the original pret-xml.lua and check the differences, just rename pret-xml.lua to pret-xml.new and re-run context… You should see some differences between the good ol'pret-xml and the draft of mine… I

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Thomas Schmitz
On Sat, 13 Nov 2010 21:32:09 +0100 Renaud AUBIN au...@nibua-r.org wrote: The local pret-xml.lua is used when running context on pret-xml_test from the basedir. To get the original pret-xml.lua and check the differences, just rename pret-xml.lua to pret-xml.new and re-run context… You should

Re: [NTG-context] XML pretty printer?

2010-11-13 Thread Renaud AUBIN
This is a draft for review, not yet even the beginning of a real third party module… As soon as I will integrate the reviews from interested people, I will properly set the third module stuff… Thank you for your advice. Renaud Le 13/11/2010 21:40, Thomas Schmitz a écrit : On Sat, 13 Nov 2010

Re: [NTG-context] Another Correspendence question

2010-11-13 Thread Russell Urquhart
That did the trick! Thank you very much! Russ On Sat, Nov 13, 2010 at 06:10:42PM +0100, Florian Wobbe wrote: On Nov 13, 2010, at 14:28 , Russell Urquhart wrote: Hi, Another Correspondence question. In the default, I'd like the body text to be left justified rather than both left

Re: [NTG-context] Dummy buff-ver.mkiv question

2010-11-13 Thread Peter Münster
On Sat, Nov 13 2010, Renaud AUBIN wrote: I conclude that we are limited to a four colors palet for our custom pretty printer… Right or wrong? Hello Renaud, No. Ok, from that basis, one solution could be to directly define custom colors within pret-xxx.lua… but how? See

Re: [NTG-context] Dummy buff-ver.mkiv question

2010-11-13 Thread Peter Münster
On Sat, Nov 13 2010, Peter Münster wrote: On Sat, Nov 13 2010, Renaud AUBIN wrote: I conclude that we are limited to a four colors palet for our custom pretty printer… Right or wrong? No. Better: wrong. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] Dummy buff-ver.mkiv question

2010-11-13 Thread Renaud AUBIN
Thanks Peter, I should have found that myself, no comment ;) … Renaud Le 13/11/2010 23:04, Peter Münster a écrit : On Sat, Nov 13 2010, Peter Münster wrote: On Sat, Nov 13 2010, Renaud AUBIN wrote: I conclude that we are limited to a four colors palet for our custom pretty

[NTG-context] Centering framed text.

2010-11-13 Thread John Culleton
Given the following, how do I center the framed text box on the page? \setupframedtexts[background=screen,width=.6\hsize, align=middle] \setupcolors[state=start] % \starttext \startframedtext \cbox{\bf\ss\tfb WARNING} The text of the warning. % \stopframedtext

Re: [NTG-context] beta

2010-11-13 Thread Aditya Mahajan
On Sat, 13 Nov 2010, Erik Margraf wrote: I get the following error message while running first-setup.sh: ! I can't find file `catc-ini.mkiv'. to be read again \relax l.42 \loadmarkfile{catc-ini} --- Strange enough, I find it as

Re: [NTG-context] Centering framed text.

2010-11-13 Thread 李延瑞
2010/11/14 John Culleton j...@wexfordpress.com: Given the following, how do I center the framed text box on the page? \setupframedtexts[background=screen,width=.6\hsize, align=middle] \setupcolors[state=start] % \starttext \startframedtext \cbox{\bf\ss\tfb

Re: [NTG-context] Centering framed text.

2010-11-13 Thread John Culleton
On Saturday 13 November 2010 21:11:50 Li Yanrui (李延瑞) wrote: 2010/11/14 John Culleton j...@wexfordpress.com: Given the following, how do I center the framed text box on the page? \setupframedtexts[background=screen,width=.6\hsize, align=middle]

[NTG-context] New paragraphs in the Correspondence module

2010-11-13 Thread Russell Urquhart
Hi All, I hope this is my last question for awhile. In the default correspondence letter, i have tried using a double carriage return as well as \par to try and have a blank line between paragraphs, but none of these work. Do i need to create a new paragraph action? Any reponse is greatly

Re: [NTG-context] New paragraphs in the Correspondence module

2010-11-13 Thread Wolfgang Schuster
Am 14.11.2010 um 05:06 schrieb Russell Urquhart: Hi All, I hope this is my last question for awhile. In the default correspondence letter, i have tried using a double carriage return as well as \par to try and have a blank line between paragraphs, but none of these work. Do i need

Re: [NTG-context] t-simplefonts.tex

2010-11-13 Thread Wolfgang Schuster
Am 13.11.2010 um 20:28 schrieb Herbert Voss: Why are there two definitions for math? Typo Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Lucida New Math and simplefonts

2010-11-13 Thread Wolfgang Schuster
Am 13.11.2010 um 21:03 schrieb Herbert Voss: Everything works fine with using simplefonts and Lucida, except the math fonts, which are taken from LM \usemodule[simplefonts] \setmainfont [Lucida Bright] \setmathfont [Lucida New Math] \setmathfont[Lucida] The commands loads only a