Re: [NTG-context] still waiting for mswincontext

2007-09-30 Thread Joel C. Salomon
% TEXMFCACHE=%TEMP% VARTEXMF=%TEXMFCACHE%\texmf-var TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN} TEXMFDBS=$TEXMF RUBYLIB=%TEXMFLOCAL%\SCRIPTS\CONTEXT\RUBY; ___ If your question is of interest

Re: [NTG-context] still waiting for mswincontext

2007-09-30 Thread Hans Hagen
not really used TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN} yes TEXMFDBS=$TEXMF dependes on kpse version i think RUBYLIB=%TEXMFLOCAL%\SCRIPTS\CONTEXT\RUBY; often not needed

Re: [NTG-context] still waiting for mswincontext

2007-09-30 Thread Joel C. Salomon
is defined, but I see UNIX-style $var here and there. Should these be expanded at define-time also, or are these for the programs that use them to understand? I've got Perl, Python, and Ruby installed, I'm using mswincontext and upgrades thereto as the only TeX distribution on the machine; I'd like

[NTG-context] got win mimimals at last

2007-09-26 Thread Vyatcheslav Yatskovsky
mimimal distribution (56Mb), install or require Ruby too (not included in minimals?). This installation will NOT be able to coexist with MikTeX or TeXLive, because settings will clash. That's all news and thank you all!! Best, Vyatcheslav Yatskovsky

Re: [NTG-context] How to process simple HTML files with LuaTeX

2007-09-16 Thread Aditya Mahajan
regex will be \\(.\{-}\); I guess that $1 (the first group, that is everything that matches .-) will be compared with mojcaentities table and replaced accordingly. This looks like a really nice feature of lua. In Ruby and Vim, I often find myself writing a bunch of similar regex, and always wished

Re: [NTG-context] How to process simple HTML files with LuaTeX

2007-09-16 Thread Hans Hagen
. indeed This looks like a really nice feature of lua. In Ruby and Vim, I often find myself writing a bunch of similar regex, and always wished there was something like what lua does. the nice thing about many lua feature is that less code (lua c code) behaves more powerful

Re: [NTG-context] Still can't get luatools to work

2007-09-13 Thread The Wizard
dify texmfstart to use "#!/usr/local/bin/ruby" rather than "#!/usr/bin/env ruby". However, after removing the "=", I get a different error: luatools --generate Missing script file Even if I try the entire command line as given texlua --luaonly luatools.lua --gene

[NTG-context] Still can't get luatools working

2007-09-13 Thread The Wizard
I also have to modify texmfstart to use "#!/usr/local/bin/ruby" rather than "#!/usr/bin/env ruby". However, after removing the "=", I get a different error: luatools --generate Missing script file Even if I try the entire command line as given texlua --luaonly luatools

[NTG-context] Problems getting luatools to work

2007-09-12 Thread The Wizard
my scripts look like this: ctxtools #!/bin/sh texmfstart /usr/local/texlive/texmf-local/scripts/context/ruby/ctxtools.rb "$@" texexec #!/bin/sh texmfstart /usr/local/texlive/texmf-local/scripts/context/ruby/texexec.rb "$@" luatools #!/bin/sh luatex --luaonly=luatools.lua "$@&

[NTG-context] Broken pdfs and many tools don't work

2007-09-12 Thread Vyatcheslav Yatskovsky
,!!$TEXMFMAIN} TEXMFDBS=$TEXMF TEXFORMATS=i:\context\tex\texmf-mswin/web2c/{$engine,} MPMEMS=i:\context\tex\texmf-mswin/web2c/{$engine,} TEXPOOL=i:\context\tex\texmf-mswin/web2c/{$engine,} MPPOOL=i:\context\tex\texmf-mswin/web2c/{$engine,} RUBYLIB=i:\context\tex\texmf-local\SCRIPTS\CONTEXT\RUBY; PATH

Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-11 Thread Andrea Valle
Thanks I edited ~/.bash_profile adding On 10 Sep 2007, at 19:26, Henning Hraban Ramm wrote: export PATH='$PATH:/usr/texbin' alias texetex='texexec --xtx' calling from Terminal texetex /test/xetest.tex I'm having env: ruby: No such file or directory Best

Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-11 Thread Arthur Reutenauer
I'm having env: ruby: No such file or directory You should surround the PATH line with double quotes (), not simple ones ('). ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] XeTeX + ConTeXt in TeXShop

2007-09-11 Thread Henning Hraban Ramm
Am 2007-09-11 um 12:44 schrieb Arthur Reutenauer: I'm having env: ruby: No such file or directory You should surround the PATH line with double quotes (), not simple ones ('). Sorry, I'm used to write Python (where or ' doesn't matter) or PHP (where I normally use 's)... Never post

Re: [NTG-context] cont-en.fmt

2007-08-28 Thread Mojca Miklavec
be that the space in path name is causing problems, but I'm not sure. I just tried the following (although I don't have any windows around): cd /tmp mkdir bla bla cd bla bla ln -s path-to-context mycontext cd mycontext . setuptex texexec --make --all and got ruby: No such file or directory -- /tmp/bla

Re: [NTG-context] cont-en.fmt

2007-08-28 Thread Istvan Hollerbach
--all and got ruby: No such file or directory -- /tmp/bla (LoadError) (Because it's bla bla, not bla.) But this has failed already one step before yours. (Besides that: are your folders write-protected? Since mktexlsr complains about unable to write to ...) Mojca

Re: [NTG-context] lilypond

2007-08-27 Thread Mojca Miklavec
On 7/6/07, Henning Hraban Ramm wrote: Am 2007-07-03 um 17:59 schrieb Wolfgang Werners-Lucchini: Sorry, the publicly available LilyPond module is outdated. Try the attached one. I delayed the publishing of my latest version because Ruby texexec had a bug that prevented lilypond from being

[NTG-context] Using mswincontext from the command line

2007-08-26 Thread Vyatcheslav Yatskovsky
gs 08.08.2007 17:31DIR perl 08.08.2007 17:31DIR ruby 08.08.2007 17:32DIR scite 12.08.2007 04:04DIR tex 08.08.2007 17:31DIR xmllib When I run cscite.bat it sets some env. vars, and everything within the sci-te editor works

Re: [NTG-context] OpenType in ConTeXt

2007-08-11 Thread Patrick Gundlach
Hello Wolfgang, The otftotfm documentation is exemplary! It is, indeed. I would like to volunteer to help writing such docs for texfont or otfinstall. But it is very difficult to get the information. Not all of us are able to read sourcecode in perl and ruby and lua. Well, as propably

Re: [NTG-context] installing MKIV

2007-08-09 Thread Joel C. Salomon
On 8/8/07, Peter Rolf [EMAIL PROTECTED] wrote: So you don't even need lua anymore. i see. but on windows you waste more than 7mb disk space this way. installing the lua binaries costs only 288kb. so where is the benefit? - no need to install anything else (no huge ruby/perl or whatever

Re: [NTG-context] installing MKIV

2007-08-09 Thread Peter Rolf
ruby/perl or whatever) - bytcode compiler in sync with luatex internals - texlua has the libs that we need built in it's just that i don't see the need for three identical files, when you can use one with different (mode switching) parameters. yes, i know. it's an early beta. If you're

Re: [NTG-context] installing MKIV

2007-08-08 Thread Hans Hagen
as advantage - no need to install anything else (no huge ruby/perl or whatever) - bytcode compiler in sync with luatex internals - texlua has the libs that we need built in alternatives: -- texlua.cmd -- @echo off setlocal set ownpath=%~dp0% %ownpath%luatex --luaonly %* endlocal and similar for texluac

Re: [NTG-context] installing MKIV

2007-08-08 Thread Peter Rolf
meg gave as advantage - no need to install anything else (no huge ruby/perl or whatever) - bytcode compiler in sync with luatex internals - texlua has the libs that we need built in i see the advantages :) it's just that i don't see the need for three identical files, when you can use one

Re: [NTG-context] installing MKIV

2007-08-08 Thread Hans Hagen
be a better way. these 7 meg gave as advantage - no need to install anything else (no huge ruby/perl or whatever) - bytcode compiler in sync with luatex internals - texlua has the libs that we need built in has to do with unix where the shebang line will only work with texlua since luatex --luaonly

Re: [NTG-context] mkiv goes beta

2007-08-07 Thread Hans Hagen
Peter Rolf wrote: Hans Hagen schrieb: Hi, ConTeXt MKiV goes beta. no big problems on windows. only - texmfstart.exe is missing in the binaries i noticed this, somehow there is/was a problem with the ruby to exe conversion - pdftex should be updated to 1.40.5 will happen in due time

Re: [NTG-context] mkiv goes beta

2007-08-07 Thread Peter Rolf
Hans Hagen schrieb: Peter Rolf wrote: Hans Hagen schrieb: Hi, ConTeXt MKiV goes beta. no big problems on windows. only - texmfstart.exe is missing in the binaries i noticed this, somehow there is/was a problem with the ruby to exe conversion - pdftex should be updated to 1.40.5

Re: [NTG-context] OpenType in ConTeXt

2007-08-07 Thread Pascal de Bruijn
the script didn't support Semibold, which to me is very essential. The Bold version of AGaramondPro doesn't have any small caps, and Semibold just looks beter. And if I understand the script correctly, the font in converted into static versions supporting OsF and Sc, right? (Ruby isn't very readable, when

Re: [NTG-context] OpenType in ConTeXt

2007-08-07 Thread Wolfgang Werners-Lucchini
and what the steps are. Patrick The otftotfm documentation is exemplary! I would like to volunteer to help writing such docs for texfont or otfinstall. But it is very difficult to get the information. Not all of us are able to read sourcecode in perl and ruby and lua. Wolfgang

Re: [NTG-context] OpenType in ConTeXt

2007-08-06 Thread Patrick Gundlach
bolditalic GaramondPremrPro-BdIt.otf -- Put the files in otf/adobe/garamond and run ruby otfinst.rb -f otf Patrick ___ If your question is of interest to others as well, please

[NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread Saji Njarackalazhikam Hameed
. Next we used the ruby library hpricot to retrieve the web document and filter it into a context document. This step was interesting and I would like to sharing the code with anybody interested. I am a novice Ruby programmer, so the code may be far from perfect .. nevertheless. saji

Re: [NTG-context] lilypond

2007-07-06 Thread Henning Hraban Ramm
the publishing of my latest version because Ruby texexec had a bug that prevented lilypond from being called, I guess that's gone, but I had no time to check yet. And I didn't adapt the module to LilyPond 2.11, too. (2.10.2x should work.) I don't know if inline LilyPond worked at any time, though; I

Re: [NTG-context] cannot generate cont-en format

2007-06-24 Thread In Hee Park
Thanks all, Taco, Mojca, and Hans! I tried your suggestions and finally decided to install TeXLive with ruby, which let me compile tex files and get pdf output. Thanks again! _ In-Hee Park [2007-06-24.Sun.10:03am] Mojca Miklavec wrote `Re: [NTG-context] cannot...' Also, be aware

[NTG-context] Fwd: Draw chess board

2007-06-05 Thread Zhichu Chen
script like sgf2mpost, I don't know how to if there is an easy way to determine how many steps does the sgf include. I didn't mean using sgf2mpost script directly, but to use it as a help when creating a new one [in ruby for example]. If I solved the sgf problem, I think I can input a game manually

Re: [NTG-context] Ruby version requirements

2007-05-28 Thread Hans Hagen
Oliver Buerschaper wrote: Hi all, I'm in the middle of putting together a native Mac OS X edition of ConTeXt Minimal ... for this I need to know which version of Ruby is minimally required by the latest ConTeXt release. (It wouldn't hurt though to know this for older ConTeXt versions

[NTG-context] Ruby version requirements

2007-05-27 Thread Oliver Buerschaper
Hi all, I'm in the middle of putting together a native Mac OS X edition of ConTeXt Minimal ... for this I need to know which version of Ruby is minimally required by the latest ConTeXt release. (It wouldn't hurt though to know this for older ConTeXt versions, too ;-) Any help appreciated

Re: [NTG-context] Ruby version requirements

2007-05-27 Thread Taco Hoekwater
Oliver Buerschaper wrote: Hi all, I'm in the middle of putting together a native Mac OS X edition of ConTeXt Minimal ... for this I need to know which version of Ruby is minimally required by the latest ConTeXt release. (It wouldn't hurt though to know this for older ConTeXt versions

Re: [NTG-context] installprogram problem

2007-05-25 Thread Aditya Mahajan
end end BTW, using p as a variable name is not a good idea in ruby. p prints out the output of inspect, and is useful while debugging programs. Compare a = /ad?/ b = a.match(Dad) puts b p b puts b.inspect Aditya

Re: [NTG-context] Draw chess board

2007-05-24 Thread Mojca Miklavec
output. If I was in your place, I would write a ruby (or lua ;) parser (the file above can help you, but you can probably parse the input in a much more clever efficient way with ruby) + metapost code generator. Then you write a ConTeXt module with \startSGFscript{name} or \startSGFfile

Re: [NTG-context] installprogram problem

2007-05-24 Thread Aditya Mahajan
::finalizer method. In /scritps/ruby/base/texutil.rb change def MyExtras::finalizer(logger) unless (ENV[CTX.TEXUTIL.EXTRAS] =~ /^(no|off|false|0)$/io) || (ENV[CTX_TEXUTIL_EXTRAS] =~ /^(no|off|false|0)$/io) then @@programs.each do |p| cmd = @@programs[p.to_i] #AM: why p.to_i

Re: [NTG-context] installprogram problem (was: lilypond newbie)

2007-05-23 Thread Henning Hraban Ramm
Am 2007-05-14 um 23:39 schrieb Henning Hraban Ramm: Did you try old Perl texexec? (As I wrote several times, LilyPond doesn't get called - or one time at max - with Ruby texexec.) But it seems to need one Ruby run afterwards. I tried to track down my problem with texexec calling LilyPond

[NTG-context] texexec message suppression.

2007-05-14 Thread John R. Culleton
? Is there a setting somewhere in my texlive instllation that I can tweak? Should I do surgery on texexec itself? (Never fooled with Ruby, but there is always a first time.) -- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http

Re: [NTG-context] lilypond newbie

2007-05-14 Thread Henning Hraban Ramm
? Did you try old Perl texexec? (As I wrote several times, LilyPond doesn't get called - or one time at max - with Ruby texexec.) But it seems to need one Ruby run afterwards. Sorry, I can't help you further, I just don't understand most of the TeX internals needed. Greetlings from Lake

Re: [NTG-context] lilypond newbie

2007-05-10 Thread Henning Hraban Ramm
a known problem that ConTeXt versions on CTAN are often outdated, too.) I should update the contextgarden version, but I wanted to wait if Aditya could find the error with Ruby texexec and clean up the code a bit. In any case, just take the example from the file Hraban just posted

Re: [NTG-context] lilypond newbie

2007-05-09 Thread Henning Hraban Ramm
as you use more than one LilyPond snippet - at the moment the Ruby texexec doesn't process more than one, the old Perl texexec does, though. Aditya is hunting the bug (I hope). Please find attached my latest version of t-lilypond (has some more options). BTW I always check my LilyPond code

[NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Henning Hraban Ramm
Ahoi! While processing my LilyPond/ConTeXt songbook, I experience still the same behaviour as in 2006-10: The checking, if a LilyPond buffer/temp file has changed, works only with the old Perl texexec, the recent Ruby version creates/processes the files only if they're missing completely

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Aditya Mahajan
On Fri, 4 May 2007, Henning Hraban Ramm wrote: Ahoi! While processing my LilyPond/ConTeXt songbook, I experience still the same behaviour as in 2006-10: The checking, if a LilyPond buffer/temp file has changed, works only with the old Perl texexec, the recent Ruby version creates/processes

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Henning Hraban Ramm
. Actually it was easy, and I remember to have that problem reported when I enhanced the LilyPond module: It says the following with *-1.tmp for every song, i.e. the counter doesn't work in the Ruby version: TeXUtil | running texmfstart --ifchanged=prd_winternacht- lilypond-1.tmp --exec bin:lilypond

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Aditya Mahajan
, it will also affect the R module. Actually it was easy, and I remember to have that problem reported when I enhanced the LilyPond module: It says the following with *-1.tmp for every song, i.e. the counter doesn't work in the Ruby version: TeXUtil | running texmfstart --ifchanged

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Henning Hraban Ramm
Am 2007-05-04 um 21:15 schrieb Aditya Mahajan: \global\advance\lily!figures\plusone \edef\lily!filename{\bufferprefix lilypond-\the\lily!figures} ... \edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec bin:lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts \lily! filename.tmp}

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Henning Hraban Ramm
Am 2007-05-04 um 21:50 schrieb Henning Hraban Ramm: \global\advance\lily!figures\plusone \edef\lily!filename{\bufferprefix lilypond-\the\lily!figures} ... \edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec bin:lilypond -b eps -dno-gs-load-fonts -dinclude-eps-fonts \lily!

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Aditya Mahajan
On Fri, 4 May 2007, Henning Hraban Ramm wrote: Am 2007-05-04 um 21:50 schrieb Henning Hraban Ramm: \global\advance\lily!figures\plusone \edef\lily!filename{\bufferprefix lilypond-\the\lily!figures} ... \edef\LP{texmfstart --ifchanged=\lily!filename.tmp --exec bin:lilypond -b eps

Re: [NTG-context] differences of perl/ruby texexec

2007-05-04 Thread Henning Hraban Ramm
at all (only placeholders), while normally also the Ruby script does create something... And remember: It works with Perl texexec! Maybe --ifchanged in not honored at all and lilypond is run every time, irrespective of whether the snippet has changed or not. No, it works completely correct

Re: [NTG-context] Syntax highlighted output

2007-04-28 Thread Aditya Mahajan
on Windows XP and I am using the standalone ConTeXt distribution from the 22nd March 2007. When I came to install the module, I found that it was already included in the distribution. I have installed the distribution under C:\ConTeXt\ along with Perl (C:\perl\) and Ruby (C:\ruby\). What is non

Re: [NTG-context] Syntax highlighted output

2007-04-28 Thread Chris Rawnsley
the tail end of the last error I mentioned in a previous email): system(texmfstart bin:vim -u NONE -e -c \set noswapfile\ -c \set tabstop=8\ -c \set cp\ -c \syntax on\ -c \set syntax=ruby\ -c \let contextstartli ne=1\ -c \let contextstopline=0\ -c \source kpse:2context.vim\ -c \wqa\ c_Implementation

Re: [NTG-context] Syntax highlighted output

2007-04-28 Thread Aditya Mahajan
\set tabstop=8\ -c \set cp\ -c \syntax on\ -c \set syntax=ruby\ -c \let contextstartline=1\ -c \let contextstopline=0\ -c \source kpse:2context.vim\ -c \wqa\ c_Implementation-vimsyntax.tmp Aditya

Re: [NTG-context] Syntax highlighted output

2007-04-28 Thread Aditya Mahajan
unnessary configurations Line 312 after: -u NONE % No need to read unnessary configurations Line 324 before: #1}} Line 324 after: #1}} I never really understood how quoting behaves in the tex-ruby-vim chain. Something is still fishy there as the module

[NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Tobias Burnus
Hi, the following command works with the PERL but not with the RUBY version. Is this option obsolete or simply not yet implemented: (texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf texexec: works texmfstart texexec: ! Missing number, treated as zero. to be read again

Re: [NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Taco Hoekwater
Tobias Burnus wrote: Hi, the following command works with the PERL but not with the RUBY version. Is this option obsolete or simply not yet implemented: (texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf The option --paper should become --papersize. The shortcutted form

Re: [NTG-context] texexec.pl vs. .rb

2007-04-05 Thread Wolfgang Schuster
2007/4/5, Tobias Burnus [EMAIL PROTECTED]: Hi, the following command works with the PERL but not with the RUBY version. Is this option obsolete or simply not yet implemented: (texmfstart) texexec --pdfarrange --paper=a5a4 --print=up test.pdf Hi Tobias, replace --paper by --paperformat

Re: [NTG-context] Relationship among mptopdf, mpost and latex

2007-03-28 Thread Mojca Miklavec
, which used to support LaTeX input as well until ConTeXt has switched to ruby (and there should be no reason why it would not support that now). so some user (like me for example) don't use latex anymore from some year at least. Exactly that was the problem: no LaTeX user has ever updated

Re: [NTG-context] ConTeXt release 2007.03.19

2007-03-20 Thread Lutz Haseloff
to change it everytime before an update :-) Since ruby treats tha call to Net::HTTP::Proxy(proxy_addr, proxy_port).new(site) without giving proxy_addr and proxy_port the same way as Net::HTTP.new (site), perhaps Hans can change ctxtools.rb in this way. I would like to have a command line like: ctxtools

Re: [NTG-context] mplib

2007-03-19 Thread Sanjoy Mahajan
and ruby. -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] texshow does not read t-vim.xml

2007-03-17 Thread Taco Hoekwater
features. Then, I was no longer happy with perl. Then, the XML format was not complete enough to cover all of the nice extensions in texshow-web. Even later, we wanted to create a local http server using ruby (and reuse the texshow-web code), but we could not figure out how to make that work reliably

Re: [NTG-context] texmfstart/pdftex parameters

2007-03-10 Thread Sanjoy Mahajan
Thanks. From reading the mails I can't see a solution. Perhaps Sanjoy knows one. I don't know, unfortunately. Hans sent me a proposed fix, but it didn't work. One problem is that passing multiple options is working on Hans's setup, so the problem is elusive. I need to learn a bit of ruby

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

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] 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

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

2007-02-16 Thread luigi scarso
On 2/15/07, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, I want to ask a few questions that I cannot resolve by myself so far. 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

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document

2007-02-16 Thread Vyatcheslav Yatskovsky
\executesystemcommand{some_external_program ...} When I try something like \starttext Hello \executesystemcommand{1.rb} \stoptext I get systems : system commands are disabled (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo)

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document

2007-02-16 Thread Vyatcheslav Yatskovsky
Thanks, \executesystemcommand{myscript.rb} seems to work. But what is the best way to insert a result (say, formatted text) into the 'caller' document body? The only idea I have is to use \input later in the document, but I'm not sure that it would work. Best regards,

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document

2007-02-16 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: \executesystemcommand{some_external_program ...} When I try something like \starttext Hello \executesystemcommand{1.rb} \stoptext I get systems : system commands are disabled (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo)

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document

2007-02-16 Thread Aditya Mahajan
On Fri, 16 Feb 2007, Aditya Mahajan wrote: On Fri, 16 Feb 2007, Vyatcheslav Yatskovsky wrote: \executesystemcommand{some_external_program ...} When I try something like \starttext Hello \executesystemcommand{1.rb} \stoptext I get systems : system commands are disabled

Re: [NTG-context] Newbie questions: integrating ruby/perl scripts into a document

2007-02-16 Thread Aditya Mahajan
On Fri, 16 Feb 2007, Vyatcheslav Yatskovsky wrote: \executesystemcommand{some_external_program ...} When I try something like \starttext Hello \executesystemcommand{1.rb} \stoptext I get systems : system commands are disabled (D:\context\cd-mus.tuo) (D:\context\cd-mus.tuo)

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

2007-02-15 Thread Vyatcheslav Yatskovsky
Hello, I want to ask a few questions that I cannot resolve by myself so far. 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). 2) How to change line spacing for typed text only? (I use medium

[NTG-context] Manuals

2007-02-05 Thread Hans van der Meer
In the NTG MAPS journal of last fall Hans Hagen has written an article titled What tools do ConTeXt users have? It broadly describes the many changes and additions to the ConTeXt Perl tools on account of the switch to Ruby tools. In several places a manual or different manuals are pointed

Re: [NTG-context] problem with pdftex-1.40.1 and Gentium ligatures

2007-02-02 Thread Sanjoy Mahajan
The -recorder switch of pdftex/web2c (don't know how to use that with texexec) Like so: texexec --passon=-recorder file.tex The --passon feature had lapsed in the transition from perl to ruby texexec, but Hans and Taco fixed it in one of the recent ConTeXt releases. I now use it all

[NTG-context] ConTeXt textext fails

2007-01-24 Thread Hans van der Meer
a metapost source: \startuseMPgraphic{taalengels}{width,height,gap} label.ulft(textext(\tts 66\%~), (bs + 27 * u, baseline + 660 * bt + dotsize/2)); Aha, I conclude, trouble with the %-sign! But I think I have seen that error before, originating in one of the Ruby-scripts if I remember well

Re: [NTG-context] error: the file 'texexec' is not found

2007-01-19 Thread Taco Hoekwater
. Is there any way to get this or something similar that's not in a bash environment to just work? It looks like this is a side-effect of a not-too-robust installation, may apparent by switching from the perl version of texexec to the ruby version. The simple and best solution is to add the source

Re: [NTG-context] texexec ruby problem

2007-01-15 Thread Hans Hagen
Michal Kvasnicka wrote: Good morning. I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1 Linux. I tried to make ruby version of texexec working, but I failed. When I try to run it, I get this error message: /usr/share/texmf/scripts/context/ruby/texexec.rb:10:in `require

[NTG-context] texexec ruby problem

2007-01-14 Thread Michal Kvasnicka
Good morning. I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1 Linux. I tried to make ruby version of texexec working, but I failed. When I try to run it, I get this error message: /usr/share/texmf/scripts/context/ruby/texexec.rb:10:in `require': no such file to load

Re: [NTG-context] texexec ruby problem

2007-01-14 Thread Sanjoy Mahajan
I've just installed new ConTeXt (ver: 2006.08.08 21:51) under SuSE 10.1 How did you install it? What was there before? It sounds like the new one isn't visible, since it's date is 2007.01.12 15:56 (or maybe later). Is 2006.08.08 the version that came with SuSE? What does kpsewhich

Re: [NTG-context] Columns page-break problem

2007-01-14 Thread Sanjoy Mahajan
What's wrong? Was something changed? Haven't I installed the ConTeXt properly? I don't think you have. See my response in the texexec ruby problem thread. -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien) ___ ntg-context mailing list

[NTG-context] announcement: new texlive rpm

2007-01-13 Thread Peter Münster
be touched by rpm (for personal files) - support for URW Garamond - support for Adobe eurofont - support for ruby versions of ConTeXt scripts - latest TeX-live - latest ConTeXt - latest pdfTeX - latest MetaPost See also http://wiki.contextgarden.net/TeX-live Tested on SuSE-10.1. Feedback is welcome

Re: [NTG-context] announcement: new texlive rpm

2007-01-13 Thread luigi scarso
tree ( updateConTeXt.sh ) - texmf-local tree that won't be touched by rpm (for personal files) - support for URW Garamond - support for Adobe eurofont - support for ruby versions of ConTeXt scripts - latest TeX-live - latest ConTeXt - latest pdfTeX - latest MetaPost See also http

Re: [NTG-context] Strange ConTeXt - XeTeX problem

2007-01-08 Thread Aditya Mahajan
On Mon, 8 Jan 2007, Helin Gai wrote: Thanks for the reply. I solved the problem eventually by commenting out the line $ENV{'TEXFONTMAPS'} = '.;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//' ; in texexec.pl. texexec.pl is no longer supported. About a year ago, ConTeXt moved to the ruby

Re: [NTG-context] Strange ConTeXt - XeTeX problem

2007-01-08 Thread Helin Gai
by commenting out the line $ENV{'TEXFONTMAPS'} = '.;$TEXMF/fonts/map/{xetex,pdftex,dvips,}//' ; in texexec.pl. texexec.pl is no longer supported. About a year ago, ConTeXt moved to the ruby version texexec.rb. Try your code with texmfstart texexec --xetex filename Aditya

Re: [NTG-context] Problem using mptopdf with Metapost containing LaTeX

2007-01-04 Thread Taco Hoekwater
and to the latest ConTeXt beta and since then I get an error if my Metapost file contains LaTeX control sequences: Same here. I am guessing this is a bug in the ruby version of texexec, because it used to work with the perl version, for sure. Taco MPtoPDF 1.3.2 : running 'texexec --mptex ' TeXExec

Re: [NTG-context] Problem using mptopdf with Metapost containing LaTeX

2007-01-04 Thread Hans Hagen
kind of lost in the sequence of shell script calling ruby scripts calling perl scripts, etc. So, I wasn't able to find out the right command line options, etc. for making mpost aware of calling latex instead of tex. Can someone help me out here? does adding a --latex directive help? Hans

[NTG-context] Problem using mptopdf with Metapost containing LaTeX

2007-01-03 Thread Martin Buchmann
call mptopdf but got kind of lost in the sequence of shell script calling ruby scripts calling perl scripts, etc. So, I wasn't able to find out the right command line options, etc. for making mpost aware of calling latex instead of tex. Can someone help me out here? Best regards Martin

Re: [NTG-context] Making a verbatim file for another language

2006-12-31 Thread Jarimatti Valkonen
(Terminal.app) and have defined the following aliases: --- # ConTeXt stuff alias texmfstart=ruby /usr/local/teTeX/share/texmf.local/scripts/ context/ruby/texmfstart.rb alias context=texmfstart texexec --- You could try those, just change the name and path to texmfstart.rb so that it matches your

Re: [NTG-context] Making a verbatim file for another language

2006-12-31 Thread cormullion
On 2006-12-30, at 21:24.0, Jarimatti Valkonen wrote: /usr/local/teTeX/share/texmf.local/scripts/context/ruby/texmfstart.rb Unfortunately, I don't have a scripts directory here... Obviously my system is not correctly installed. What is the recommended way to install the latest Context version

[NTG-context] ConTeXt upgrade blues

2006-12-30 Thread Rolf Marvin Bøe Lindgren
. kpathsea: Appending font creation commands to missfont.log. ! Font \*12ptrmtfrm*=ec-lmr12 not loadable: Metric (TFM) file not found. ruby `kpsewhich --format=texmfscripts texmfstart.rb` texexec test (which is in essence what the recommended shell script does) gives ConTeXt ver: 2005.01.31

Re: [NTG-context] store counter or variable and reread again

2006-12-30 Thread Aditya Mahajan
=counter.tex TeXExec | while=counter.tex Notice that ok=\jobname. Shouldn't ok be a boolean. And the condition for while is a string rather than a boolean. I am not too sure on what ruby does for non boolean conditionals, but the present implementation can break (under some crazy conditions, maybe

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread cormullion
OK, I think vim works OK here, so this is what I tried: ... \setupcolors[state=start] \usemodule[vimsyntax] \definetypeVIMfile [typeRUBY] [syntax=ruby] \typeRUBY[typeRUBY]{fibo.rb} \defineVIMtyping[RUBY][syntax=ruby] \startRUBY # This is a ruby program puts Hello World \stopRUBY ... Error

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Mojca Miklavec
On 12/29/06, [EMAIL PROTECTED] wrote: OK, I think vim works OK here, so this is what I tried: ... \setupcolors[state=start] \usemodule[vimsyntax] \definetypeVIMfile [typeRUBY] [syntax=ruby] \typeRUBY[typeRUBY]{fibo.rb} \defineVIMtyping[RUBY][syntax=ruby] \startRUBY # This is a ruby

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Aditya Mahajan
On Fri, 29 Dec 2006, Mojca Miklavec wrote: On 12/29/06, [EMAIL PROTECTED] wrote: OK, I think vim works OK here, so this is what I tried: ... \setupcolors[state=start] \usemodule[vimsyntax] \definetypeVIMfile [typeRUBY] [syntax=ruby] \typeRUBY[typeRUBY]{fibo.rb

Re: [NTG-context] Making a verbatim file for another language

2006-12-29 Thread Aditya Mahajan
. I wouldn't really know how to do any other kind... ;-) try using texmfstart texexec filename which should call the ruby version of texexec. What is the output of texmfstart texexec --check It will take some time, and it will be a long output, just post the first 10-15 lines. Aditya

Re: [NTG-context] Manual (English) Update soon?

2006-12-29 Thread plink
mentioned. Except if you need some more processing of the TeX contents, like some people do :-( In that case, since the mkiv stuff isn't available, currently you either have to switch to plain luatex or to use ConTeXt with pdftex and maybe weave another layer of ruby around the script onion

Re: [NTG-context] PSTricks

2006-12-29 Thread Sanjoy Mahajan
Isn't there --nobackends (or something similar) which will then not run any dvips (or dvipdfm)? It's --nobackend Here's the revised (ruby) texexec man page (as PDF) -- see p.3. It's in the Debian packages and will go into the 2006 TeXLive. -Sanjoy `Not all those who wander are lost.' (J.R.R

Re: [NTG-context] Making a verbatim file for another language

2006-12-28 Thread Aditya Mahajan
. (And ofcourse, \setupcolors[state=start]) 1. If you want to typeset an existing file, and lets say the filetype (in vim's terms) is ruby. Then \definetypeVIMfile [name of macro] %Usually typeRUBY, typeMATLAB, etc. [ % Optional arguments start=linenumber, %starting line number, defaults

<    2   3   4   5   6   7   8   9   10   11   >