Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-30 Thread Taco Hoekwater
Renaud AUBIN wrote: Taco Hoekwater a écrit : And all you need now is the latest pdftex -) http://sarovar.org/project/showfiles.php?group_id=106release_id=752 Taco Is it normal that pdfetex.pool is no more built ? Yes. There is now only one executable, pdftex. It contains all code

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-29 Thread Renaud AUBIN
\starttext \input "|ls" \stoptext leads to (/usr/share/texmf-tetex/tex/latex/tools/.tex File ignored) Runaway argument? ls" ! Paragraph ended before \next was complete. to be read again \par ??? Taco Hoekwater a crit: Hans Hagen wrote: piping: the latest versions of

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-29 Thread Taco Hoekwater
Renaud AUBIN wrote: \starttext \input |ls \stoptext leads to (/usr/share/texmf-tetex/tex/latex/tools/.tex File ignored) Runaway argument? ls ! Paragraph ended before \next was complete. to be read again \par ??? The pipe symbol has to be non-active

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-29 Thread Renaud AUBIN
Taco Hoekwater a crit: The pipe symbol has to be non-active (\catcode`\|=12 ) Taco \starttext \catcode`\|=12 \input "|ls -l" \stoptext ! I can't find file `"|ls -l"'. l.7 \input "|ls -l" ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-29 Thread Taco Hoekwater
Renaud AUBIN wrote: \starttext \catcode`\|=12 \input |ls -l \stoptext ! I can't find file `|ls -l'. And all you need now is the latest pdftex -) http://sarovar.org/project/showfiles.php?group_id=106release_id=752 Taco ___ ntg-context

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-29 Thread Renaud AUBIN
Taco Hoekwater a écrit : And all you need now is the latest pdftex -) http://sarovar.org/project/showfiles.php?group_id=106release_id=752 Taco Thanks Yes, I finally realized that... ;) I'm now on my way to upgrade it... ___ ntg-context

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-29 Thread Renaud AUBIN
Taco Hoekwater a écrit : And all you need now is the latest pdftex -) http://sarovar.org/project/showfiles.php?group_id=106release_id=752 Taco Is it normal that pdfetex.pool is no more built ? ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-28 Thread Hans Hagen
Renaud AUBIN wrote: Hi all, Is it possible to run a ruby script from a context document during its processing (I already know how to do that using \write18 but there is maybe a better way...) then get the output of the script to display or use it into the document. It's a little bit hard

Re: [NTG-context] run a ruby script and use the standard output ???

2006-09-28 Thread Taco Hoekwater
Hans Hagen wrote: piping: the latest versions of pdftex support this (i\ve forgotten the syntax, but taco who wrote the patch may remember) piping syntax: \input |ruby ./myscript.rb \vartest X the magic trick is the | symbol. With your current tex: \writ18{ruby ./myscript.rb