Re: [NTG-context] on the t-ruby module

2015-02-18 Thread Pablo Rodriguez
On 02/18/2015 08:36 PM, Wolfgang Schuster wrote: >> Am 18.02.2015 um 20:25 schrieb Wolfgang Schuster: >>> Am 18.02.2015 um 20:04 schrieb Pablo Rodriguez: >>> >>> I have just discovered your t-ruby module. >>> >>> Many thanks for thi

Re: [NTG-context] on the t-ruby module

2015-02-18 Thread Wolfgang Schuster
> Am 18.02.2015 um 20:25 schrieb Wolfgang Schuster > : > >> >> Am 18.02.2015 um 20:04 schrieb Pablo Rodriguez : >> >> Hi Wolfgang, >> >> I have just discovered your t-ruby module. >> >> Many thanks for this module, which is extremel

Re: [NTG-context] on the t-ruby module

2015-02-18 Thread Wolfgang Schuster
> Am 18.02.2015 um 20:04 schrieb Pablo Rodriguez : > > Hi Wolfgang, > > I have just discovered your t-ruby module. > > Many thanks for this module, which is extremely useful for interlinear > translations. > > Here you have the sample: > > \usemodule[ruby

[NTG-context] on the t-ruby module

2015-02-18 Thread Pablo Rodriguez
Hi Wolfgang, I have just discovered your t-ruby module. Many thanks for this module, which is extremely useful for interlinear translations. Here you have the sample: \usemodule[ruby] \defineruby[trans][textstyle=\it] \starttext \startTEXpage[offset=1em] \trans{The}{Der} \trans{sentence}{Satz

[NTG-context] Ruby warnings when running texexec

2014-04-22 Thread Jonathan Budd
Hi all Whenever I run texexec I encounter a series of warnings from Ruby. For example, running texexec —version returns the following: texexec --version /usr/local/texlive/2013/texmf-dist/scripts/context/ruby/texexec.rb:688: warning: class variable access from toplevel /usr/local/texlive/2013

Re: [NTG-context] Complex Ruby

2013-02-24 Thread Wolfgang Schuster
Am 19.02.2013 um 18:14 schrieb Zenlima : > Hi, > > I wonder how to make complex ruby like it is shown in the comments of > the ruby module. Maybe I don't see the the obvious - can anyone help me > with that? I need ruby text above and under a word in mkiv. The module suppo

[NTG-context] Complex Ruby

2013-02-19 Thread Zenlima
Hi, I wonder how to make complex ruby like it is shown in the comments of the ruby module. Maybe I don't see the the obvious - can anyone help me with that? I need ruby text above and under a word in mkiv. H. _

Re: [NTG-context] TeXexec / mptex / Ruby bug with Unicode letters

2012-12-11 Thread Hans Hagen
On 12/11/2012 9:00 AM, Michal Kvasnička wrote: Hallo. It seems that something was changed in Ruby that makes texexec --mptex not working with some Unicode letters, e.g. rcaron. probably true This file compiles all right with texexec --mptex: beginfig(1); label(textext("a&quo

[NTG-context] TeXexec / mptex / Ruby bug with Unicode letters

2012-12-11 Thread Michal Kvasnička
Hallo. It seems that something was changed in Ruby that makes texexec --mptex not working with some Unicode letters, e.g. rcaron. This file compiles all right with texexec --mptex: beginfig(1); label(textext("a"),origin); endfig; end. However, when I change "a" to "

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread S Barmeier
On 03/11/2012 02:58 PM, Wolfgang Schuster wrote: > > Am 11.03.2012 um 10:18 schrieb S Barmeier: > >>>>>> Is there something like ruby for vertical layout? >>>>> >>>>> For vertical typesetting you can also use ruby. >>>>> &

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread Wolfgang Schuster
Am 11.03.2012 um 10:18 schrieb S Barmeier: >>>>> Is there something like ruby for vertical layout? >>>> >>>> For vertical typesetting you can also use ruby. >>>> >>>> Wolfgang >>> >>> OK, how do I use th

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread S Barmeier
>>>> Is there something like ruby for vertical layout? >>> >>> For vertical typesetting you can also use ruby. >>> >>> Wolfgang >> >> OK, how do I use the vertical ruby in horizontal text? > > That’s not supported, you can o

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread Wolfgang Schuster
Am 11.03.2012 um 09:57 schrieb S Barmeier: >>> Is there something like ruby for vertical layout? >> >> For vertical typesetting you can also use ruby. >> >> Wolfgang > > OK, how do I use the vertical ruby in horizontal text? That’s not support

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread S Barmeier
>> Is there something like ruby for vertical layout? > > For vertical typesetting you can also use ruby. > > Wolfgang OK, how do I use the vertical ruby in horizontal text? ___ If your question

Re: [NTG-context] ruby for vertical layout

2012-03-11 Thread Wolfgang Schuster
Am 10.03.2012 um 21:32 schrieb S Barmeier: > Is there something like ruby for vertical layout? For vertical typesetting you can also use ruby. Wolfgang ___ If your question is of interest to others as w

[NTG-context] ruby for vertical layout

2012-03-10 Thread S Barmeier
Is there something like ruby for vertical layout? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] ruby module

2012-03-09 Thread S Barmeier
On 03/09/2012 04:30 PM, ntg-context-requ...@ntg.nl wrote: >>>> >>> Is it possible to place the ruby text in a margin? >>> >> >>> >> No. >>> >> >>>> >>> This would allow me to keep line spacing decentl

Re: [NTG-context] ruby module

2012-03-09 Thread Wolfgang Schuster
Am 04.03.2012 um 14:26 schrieb S Barmeier: >>> Is it possible to place the ruby text in a margin? >> >> No. >> >>> This would allow me to keep line spacing decently tight and also prevent >>> the reader from only reading the annotation. >>

Re: [NTG-context] ruby overhang

2012-03-04 Thread Wolfgang Schuster
Am 04.03.2012 um 15:43 schrieb S Barmeier: > \usemodule[ruby] > \setupruby[overhang=start] > \starttext > foo \ruby{bar}{foo bar baz} baz > \stoptext > > end,yes,auto all give overhang=none. Am I doing something wrong? You need also “align=center” because by default the b

[NTG-context] ruby overhang

2012-03-04 Thread S Barmeier
\usemodule[ruby] \setupruby[overhang=start] \starttext foo \ruby{bar}{foo bar baz} baz \stoptext end,yes,auto all give overhang=none. Am I doing something wrong? Severin ___ If your question is of interest to others

Re: [NTG-context] ruby module

2012-03-04 Thread S Barmeier
>> Is it possible to place the ruby text in a margin? > > No. > >> This would allow me to keep line spacing decently tight and also prevent >> the reader from only reading the annotation. > > This can be added but then you need a symbol (or something else) to s

Re: [NTG-context] ruby module

2012-03-04 Thread Wolfgang Schuster
Am 04.03.2012 um 10:11 schrieb S Barmeier: > Is it possible to place the ruby text in a margin? No. > This would allow me to keep line spacing decently tight and also prevent > the reader from only reading the annotation. This can be added but then you need a symbol (or something els

[NTG-context] ruby module

2012-03-04 Thread S Barmeier
Is it possible to place the ruby text in a margin? This would allow me to keep line spacing decently tight and also prevent the reader from only reading the annotation. How can one change the font size of the annotation and is there a way to keep it fixed, not being scaled according to the font

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Hans Hagen
Jose Augusto wrote: Hi Hans, I ran just now ruby 1.8.6 and the force_encoding() patch worked well. yes, but if we can avoid adapting all those strings ... i'm pretty sure that if we follow that route we have to patch a lot also keep in mind that in 1.9 there are several encodings (ext

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Jose Augusto
Hi Hans, I ran just now ruby 1.8.6 and the force_encoding() patch worked well. Just now I upgrade "--context=current". The banner in the texexec.rb is banner = ['TeXExec', 'version 6.2.1', '1997-2009', 'PRAGMA ADE/POD'] and the date of thi

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Hans Hagen
Jose Augusto wrote: Meanwhile I don't think that the magic string # encoding: ASCII-8BIT solves the problem. This string indicates that the script is written in ASCII-8BIT, but when is reading the strings from the .tex or .tui files ruby 1.9.1 considers them as US-ASCII regardless o

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Jose Augusto
Hi Hans, The patch I proposed works also with ruby less than 1.9 (e.g. ruby 1.8.7)! The force_encoding() method is used only if RUBY_VERSION >= 1.9. If the scripts are executed by ruby 1.8 or lesser version, there's no change done to the current line of code (e.g. 'case line.chomp

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Hans Hagen
e the proposed patches be helpful... your patch will not work with ruby < 1.9 so if my patch (opening files in rb mode) works ok that's more robust; another option is to patch texmfstart.rb #!/usr/bin/env ruby #encodin

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Jose Augusto
us email << used >> the file with the offending chars wrapped in a main file, which was just: >> >> \starttext >> \input zzz.tex >> \stoptext >> >> That is, the offending chars were in zzz.tex. >> >> In that example I noticed the error because

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Jose Augusto
Hi all, I think I solved the problem. At least for my actual errors... I read the following net article about string coding in ruby 1.9 and up: http://blog.grayproductions.net/articles/ruby_19s_string With that info at hand, I made two >> brute-force "trial" patches &l

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-10 Thread Hans Hagen
hars were in zzz.tex. In that example I noticed the error because the cross-refs in the equation numbering were not working. The parsing of the .tui file by ruby 1.9.1 failed. Then I saw the errors. ruby 1.9 internally is no longer 8 bit clean i.e. there is always an encoding (file as well as inte

Re: [NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-09 Thread Hans Hagen
Jose Augusto wrote: when /^c (.*)$/o then @plugins.reader('MyCommands', [$1]) what if you remove the o (/o) can you find out what changed between 1.8 and 1.9 ... actually 1.9 is the stepping stone to 2.0 and 2 versions can be incompatible to 1 versions also, can you make a test fil

[NTG-context] Ruby 1.9.1 and non-ascii char parsing in .tui file

2009-08-08 Thread Jose Augusto
Hi all, A few weeks ago I reported a problem with ruby 1.9.1, which was solved by removing the offending .tui line (Mojca and Hans AFAIR). The problem was related with the existence of non-ascii chars in the .tui file. Sadly it strikes again, now when chars with accents appear in titles (sections

Re: [NTG-context] ConTeXt Minimals parsing of .tui broken with ruby 1.9.1 in Windows

2009-07-15 Thread Jose Augusto
Hi all, Thanks for the patch. I just updated ConTeXt Minimals and re-tried. Here is the GOOD result, now its working: - F:\ANOS\TeXes>ruby -v ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mingw32] F:\ANOS\TeXes>texexec con-hello1.tex T

Re: [NTG-context] ruby or perl or lua or ...

2009-07-14 Thread Hans Hagen
uages :) :) :) If talking about scripting (ruby, perl) ... in ideal world it should all end up being lua only (until the next language comes to the horizon), but there might not be enough motivation to rewrite *all* the existing scripts, so some of the older scripts (texfont etc.) will probably st

Re: [NTG-context] ruby or perl or lua or ...

2009-07-14 Thread Hans Hagen
t use kpsewhich at all) and is pretty fast the only bit that is still depending on ruby is the index sorting that is built in texexec (used by pdftex and xetex) but i could not motivate myself to rewrite that bit the luatx workflow only uses lua and uses luatex itself as lua interpreter so ther

Re: [NTG-context] ruby or perl or lua or ...

2009-07-14 Thread Mojca Miklavec
:) If talking about scripting (ruby, perl) ... in ideal world it should all end up being lua only (until the next language comes to the horizon), but there might not be enough motivation to rewrite *all* the existing scripts, so some of the older scripts (texfont etc.) will probably stay in ruby/pe

[NTG-context] ruby or perl or lua or ...

2009-07-14 Thread ivo welch
hi hans---just curious. do you plan conTeXt to use just one computer language in the future? /iaw ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.n

Re: [NTG-context] ConTeXt Minimals parsing of .tui broken with ruby 1.9.1 in Windows

2009-07-14 Thread Mojca Miklavec
>> After installing ConTeXt Minimals (the devel version) yesterday, >> I ran the above example with ruby 1.9.1-p129 in Windows >> (both Win 2000 and XP show the problem). > > (maybe mojca can patch this in core-uti.mkii: ): > > > % \appendtoks &g

Re: [NTG-context] ConTeXt Minimals parsing of .tui broken with ruby 1.9.1 in Windows

2009-07-14 Thread Hans Hagen
Jose Augusto wrote: Hello all, I want to report a problem that is either in ConTeXt, or in ruby 1.9.1 (last version of ruby). More probably, the problem has to do with ruby handling non-ASCII characters. I have no means of trying Linux, Solaris, etc... Anyone using ConTeXt with ruby 1.9.1 will

[NTG-context] ConTeXt Minimals parsing of .tui broken with ruby 1.9.1 in Windows

2009-07-14 Thread Jose Augusto
Hello all, I want to report a problem that is either in ConTeXt, or in ruby 1.9.1 (last version of ruby). More probably, the problem has to do with ruby handling non-ASCII characters. I have no means of trying Linux, Solaris, etc... Anyone using ConTeXt with ruby 1.9.1 will face it probably (at

[NTG-context] ruby 1.9

2009-03-01 Thread Hans Hagen
Hi, Akira reported problems with context and ruby 1.9 and it looks like there are some upward incompatible changes in ruby (even syntax) so i need some time to figure that out. In the meantime ... just avoid using texexec with ruby 1.9 Hans

Re: [NTG-context] Bridge between Lua and Ruby

2008-04-28 Thread luigi scarso
On Sun, Apr 27, 2008 at 11:29 AM, Diamantini Maurice <[EMAIL PROTECTED]> wrote: > Bonjour à tous ! > > I just see that there is a bridge between the Ruby language > (used by context tools) and Lua (soon to be part of the next TeX > compiler, via

[NTG-context] Bridge between Lua and Ruby

2008-04-28 Thread Diamantini Maurice
Bonjour à tous ! I just see that there is a bridge between the Ruby language (used by context tools) and Lua (soon to be part of the next TeX compiler, via LuaTeX) http://rubyluabridge.rubyforge.org/ I thought this would be interesting for somebody on this list ;-) -- Maurice Diamantini

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-17 Thread Taco Hoekwater
Hans Hagen wrote: > Joel C. Salomon wrote: >> On Sat, Apr 12, 2008 at 3:02 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: >>> > Slight tangent: Is there any support for using any of the OpenType >>> > math fonts (I know of Cambria Math, STIX, and Asana Math—this last on >>> > tug.org) in mkiv? >>> >>

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-16 Thread Hans Hagen
Joel C. Salomon wrote: > On Sat, Apr 12, 2008 at 3:02 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: >> > Slight tangent: Is there any support for using any of the OpenType >> > math fonts (I know of Cambria Math, STIX, and Asana Math—this last on >> > tug.org) in mkiv? >> >> cambria ... probably in

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-16 Thread Joel C. Salomon
On Sat, Apr 12, 2008 at 3:02 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > > Slight tangent: Is there any support for using any of the OpenType > > math fonts (I know of Cambria Math, STIX, and Asana Math—this last on > > tug.org) in mkiv? > > cambria ... probably in the near future (as tex gyre

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-12 Thread Hans Hagen
Joel C. Salomon wrote: > Slight tangent: Is there any support for using any of the OpenType > math fonts (I know of Cambria Math, STIX, and Asana Math—this last on > tug.org) in mkiv? cambria ... probably in the near future (as tex gyre will also have math and), since stix is type 1 and spread o

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Joel C. Salomon
On Fri, Apr 11, 2008 at 10:37 AM, Mojca Miklavec <[EMAIL PROTECTED]> wrote: > > Any clues for how to go about this? > > There are two options: > 1.) take a look at first-setup.sh (really stupid script); you can call > mtx-update with "--engine=luatex" As opposed to "--engine=all"? Sounds good so

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Martin Schröder
2008/4/11, luigi scarso <[EMAIL PROTECTED]>: > What about an image to run with a virtual machine ? Much better. Best Martin ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread luigi scarso
age, that I'm > > > trying to minimize. > > A bit off-topic: > > mayb we can also think a context-live iso img. > > I have already done it once (perl and ruby added to the CD, and > formats generated), and one could be prepared at/for the conference. >

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Mojca Miklavec
On Fri, Apr 11, 2008 at 4:17 PM, Joel C. Salomon wrote: > On Fri, Apr 11, 2008 at 3:42 AM, Hans Hagen wrote: > > one option is to write a dedicated fetch script, load the minimals for > > luatex use only (is an option) and then look at the files you need > > Any clues for how to go about this?

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Mojca Miklavec
o think a context-live iso img. I have already done it once (perl and ruby added to the CD, and formats generated), and one could be prepared at/for the conference. However, I have no idea how sensible the formats are (if you prepare a live CD with slightly different versions of pdfTeX for differe

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread luigi scarso
> See my reply to Hans (about five minutes before this message); it's > complexity of installation and options, not disc usage, that I'm > trying to minimize. A bit off-topic: mayb we can also think a context-live iso img. -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Joel C. Salomon
On Fri, Apr 11, 2008 at 9:54 AM, Mojca Miklavec <[EMAIL PROTECTED]> wrote: > There are many other OpenType fonts that get fetched by default as > well. And maybe the whole bin/common can be left out in that case > (maybe windows still needs some libraries). > > So there is still some space that

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Joel C. Salomon
On Fri, Apr 11, 2008 at 3:42 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > one option is to write a dedicated fetch script, load the minimals for > luatex use only (is an option) and then look at the files you need Any clues for how to go about this? > i wonder if it's worth the trouble because

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Mojca Miklavec
On Fri, Apr 11, 2008 at 9:42 AM, Hans Hagen <[EMAIL PROTECTED]> wrote: > Joel C. Salomon wrote: > > On Tue, Apr 8, 2008 at 4:22 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > >> luatex + context mkiv is indeed independent [of Ruby] > >> > >> - index

Re: [NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-11 Thread Hans Hagen
Joel C. Salomon wrote: > On Tue, Apr 8, 2008 at 4:22 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: >> luatex + context mkiv is indeed independent [of Ruby] >> >> - index sorting takes place in mkiv >> - job control is done with mtxrun/mtx-context > > Now t

[NTG-context] ConTeXt ultraminimals (was re: Perl/Ruby dependency)

2008-04-10 Thread Joel C. Salomon
On Tue, Apr 8, 2008 at 4:22 PM, Hans Hagen <[EMAIL PROTECTED]> wrote: > luatex + context mkiv is indeed independent [of Ruby] > > - index sorting takes place in mkiv > - job control is done with mtxrun/mtx-context Now that I've been told the idea is at least possible, I

Re: [NTG-context] perl/Ruby dependency -- how deep?

2008-04-08 Thread Hans Hagen
Mojca Miklavec wrote: > Yes. You can already use "context" (see mtx-context.lua), though there > is no stub yet (you can easily make one), and it's not so well tested > yet. it works ok, but at this moment has less options than texexec, but those are not needed for runs ---

Re: [NTG-context] perl/Ruby dependency -- how deep?

2008-04-08 Thread Hans Hagen
Joel C. Salomon wrote: > Two questions came up when I was looking into putting ConTeXt on a USB > stick (i.e., as a "portable app"): > > 1. Is perl still required for a ConTeXt installation (say, under > Windows)? I know texexec is now written in Ruby, but are there

Re: [NTG-context] perl/Ruby dependency -- how deep?

2008-04-08 Thread Mojca Miklavec
On Tue, Apr 8, 2008 at 8:37 PM, Joel C. Salomon wrote: > Two questions came up when I was looking into putting ConTeXt on a USB > stick (i.e., as a "portable app"): > > 1. Is perl still required for a ConTeXt installation (say, under > Windows)? I know texexec is now

[NTG-context] perl/Ruby dependency -- how deep?

2008-04-08 Thread Joel C. Salomon
Two questions came up when I was looking into putting ConTeXt on a USB stick (i.e., as a "portable app"): 1. Is perl still required for a ConTeXt installation (say, under Windows)? I know texexec is now written in Ruby, but are there other programs in Stand-alone or the Minimals th

Re: [NTG-context] A ruby script to create the font for Chinese fonts

2007-12-20 Thread Zhichu Chen
Oops, seems that I've "accidentally" sent an old one. On Dec 21, 2007 8:45 AM, Zhichu Chen <[EMAIL PROTECTED]> wrote: > Hi, > > Although Hans has made the perfect ruby script "ttf2uni.rb" that meets > most of our needs, I just found that "sometime

[NTG-context] A ruby script to create the font for Chinese fonts

2007-12-20 Thread Zhichu Chen
Hi, Although Hans has made the perfect ruby script "ttf2uni.rb" that meets most of our needs, I just found that "sometimes" embedding ttf files is very very slow, so I made some tiny modifications on it. It will convert an oft file to a ttf file if no ttf files are found

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

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

[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 a

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

2007-05-04 Thread Henning Hraban Ramm
othing 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 co

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

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

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

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

2007-05-04 Thread Aditya Mahajan
the --ifchanged switch. If something has broken, 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 counte

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

2007-05-04 Thread Henning Hraban Ramm
ect 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 --ifchange

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

[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 compl

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

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). >

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 f

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\c

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 co

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) (D:

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, Vyatcheslav___

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) (D:\context\cd

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 sc

[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

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/con

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 cont-ne

[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 fi

Re: [NTG-context] Two problems with current ruby scripts

2006-10-25 Thread Mojca Miklavec
On 10/25/06, Hans Hagen wrote: > > >> Command:texexec --output=dvips foo > >> Should produce: foo.dvi > >> Actually produces: foo.pdf > >> > hm, i need to check that, maybe there is no dvips option > >> Command:texexec --dvi foo > >> Should produce: foo.dvi > >> Act

Re: [NTG-context] Two problems with current ruby scripts

2006-10-25 Thread Hans Hagen
ontext/stubs/unix > into /usr/bin, add a texmfstart stub that calls ruby with the right path > to texmfstart.rb. > > - Forwarded message from Mike Bird <[EMAIL PROTECTED]> - > >> From: Mike Bird <[EMAIL PROTECTED]> >> Subject: New texexec very confu

[NTG-context] Two problems with current ruby scripts

2006-10-25 Thread Norbert Preining
calls ruby with the right path to texmfstart.rb. - Forwarded message from Mike Bird <[EMAIL PROTECTED]> - > From: Mike Bird <[EMAIL PROTECTED]> > Subject: New texexec very confused > To: [EMAIL PROTECTED] > Date: Tue, 24 Oct 2006 20:52:30 -0700 > > The new ruby

Re: [NTG-context] Hardcoded options in the Ruby scripts

2006-10-25 Thread Richard Gabriel
ont-cn.tex and cont-ja.tex and defined the default language, default encoding etc. in them. And created new formats. But I had to add these new formats into scripts/ruby/base/tex.rb in order to generate and use them. In case of ConTeXt update, I have to do this change again and again. That's the r

Re: [NTG-context] Hardcoded options in the Ruby scripts

2006-10-23 Thread Hans Hagen
Richard Gabriel wrote: > > Lines 131-137: > Here are a few languages predefined which texexec "knows". If I want > to add a format for another language, I have to add a new line here. such as ...? (adding a user inferface is more that adding something to texexec) > > Line 339: > Here are the "def

[NTG-context] Hardcoded options in the Ruby scripts

2006-10-23 Thread Richard Gabriel
Hello Hans,I'm still wondering why there are certain formats hardcoded in your scripts and how the "make all formats" feature does (not work).See scripts/ruby/base/tex.rb:Lines 131-137:Here are a few languages predefined which texexec "knows". If I want to add a forma

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

2006-09-29 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=106&release_id=752 >> >>Taco >> > > Is it normal that pdfetex.pool is no more built ? Yes. There is now only one executable, pdftex. It con

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=106&release_id=752 > >Taco > > Is it normal that pdfetex.pool is no more built ? ___ ntg-context mailing list ntg-context@ntg

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=106&release_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 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=106&release_id=752 Taco ___ n

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 htt

  1   2   >