Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document; changing line spacing for typed text only

2007-02-17 Thread cormullion
On 2007-02-15, at 18:16.0, Vyatcheslav Yatskovsky wrote: 1) How can I integrate ruby/perl scripts into a .tex document? (I want to create a CD cataloguing tool and gonna use script for reading CD file list). By coincidence I've just written something about this too. Not for ruby/perl,

[NTG-context] CSS-like coding style

2007-02-17 Thread Vyatcheslav Yatskovsky
Hello, I'm puzzled with an odd thing. If I try to adopt CSS-like coding style, \setuptyping[ before={ \blank[2*big] \setupinterlinespace[line=1ex] }, after={} ] \setuppagenumbering[ location=bottom ] works perfectly. But \setuplayout[

Re: [NTG-context] CSS-like coding style

2007-02-17 Thread Taco Hoekwater
Vyatcheslav Yatskovsky wrote: Hello, I'm puzzled with an odd thing. If I try to adopt CSS-like coding style, A rather short answer is possible: Don't do that :-) Seriously: if it works, it is by conincidence only. I will note even explain you the (current) rules, because they may change

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document; changing line spacing for typed text only

2007-02-17 Thread Aditya Mahajan
On Sat, 17 Feb 2007, [EMAIL PROTECTED] wrote: On 2007-02-15, at 18:16.0, Vyatcheslav Yatskovsky wrote: 1) How can I integrate ruby/perl scripts into a .tex document? (I want to create a CD cataloguing tool and gonna use script for reading CD file list). By coincidence I've just written

Re: [NTG-context] CSS-like coding style

2007-02-17 Thread Peter Münster
On Sat, 17 Feb 2007, Vyatcheslav Yatskovsky wrote: \setuplayout[ topspace=0cm, bottomspace=2cm, rightmargin=2cm, width=fit, height=fit ] fails Hello, you can use the %-sign: \setuplayout[ topspace=0cm, bottomspace=2cm,

Re: [NTG-context] CSS-like coding style

2007-02-17 Thread Aditya Mahajan
On Sat, 17 Feb 2007, Vyatcheslav Yatskovsky wrote: Hello, I'm puzzled with an odd thing. If I try to adopt CSS-like coding style, \setuptyping[ before={ \blank[2*big] \setupinterlinespace[line=1ex] }, after={} ] \setuppagenumbering[ location=bottom

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document; changing line spacing for typed text only

2007-02-17 Thread cormullion
On 2007-02-17, at 18:45.0, Aditya Mahajan wrote: Interesting. Just a couple of points. Do not use the prefix m- for your modules. m- is reserved for modules in the core distribution. You can use t- (third party) if you want to distribute your module, or p- (personal) if you do not want to

[NTG-context] replacing symbols

2007-02-17 Thread Vyatcheslav Yatskovsky
Hi, Let me restate my question. If I get some text from an XML file using \XMLflush, is there a command in PLAIN TeX to replace some symbols (say, ““ - \letterampersand), on-a-fly without invoking perl, ruby, or lisp or ...? Why is there need in external script to do such an easy thing? And

Re: [NTG-context] Not able to use Bibtex module

2007-02-17 Thread Zulkifli Hidayat
On Fri, 16 Feb 2007, Zulkifli Hidayat wrote: Hi, I'm trying to use bib module. So far, I still can't make it work. I can't have the pdf shows the list of reference. I have made a small test file to try the bib module (it is shown below this mail). For the test, I use only the default