[NTG-context] Ruby warnings when running texexec

2014-04-23 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

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 well, please

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 is of interest to others as

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 supported, you can only use horizontal ruby in horizontal text and

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 only use horizontal ruby in horizontal text and vertical ruby in vertical text. Wolfgang I

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 the vertical ruby in horizontal text? That’s not supported, you can only use horizontal ruby in horizontal text

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. Wolfgang OK, how do I use the vertical ruby in horizontal text? That’s not supported, you can

[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 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. This can be added but then you need a symbol (or something else) to

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 decently tight and also prevent the reader from only reading the annotation. This can be added but then you need a symbol

[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 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 else) to see to

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 see to which word the annotation refers. I'm

[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 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 base text is stretched (with

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 all, Ok, here it goes. Atached are the files used in the test. The problem as reported in the previous 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

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 (read the above article

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

2009-08-10 Thread Jose Augusto
I Hans, I just sent a mail with a possible patch, before I read this answer from you :-) As I say there, the patches work (at least for me) and I had updated context mkii a few hours ago, so I don't know if the betas you mentioned have already been installed... Hope the proposed patches be

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

2009-08-10 Thread Hans Hagen
Jose Augusto wrote: I Hans, I just sent a mail with a possible patch, before I read this answer from you :-) As I say there, the patches work (at least for me) and I had updated context mkii a few hours ago, so I don't know if the betas you mentioned have already been installed... Hope the

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' ). Also, I

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 of the

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 this script (after updating) is 10-04-2009 (its April..) I'm

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 (external

[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

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

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

2009-07-14 Thread Mojca Miklavec
On Tue, Jul 14, 2009 at 21:09, ivo welch wrote: hi hans---just curious.   do you plan conTeXt to use just one computer language in the future? (even though I'm not Hans ...) No. At least TeX, lua and metapost will probably stay, so that already adds to three languages :) :) :) If talking

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

2009-07-14 Thread Hans Hagen
ivo welch wrote: hi hans---just curious. do you plan conTeXt to use just one computer language in the future? indeed. most useful script are already converted to lua (mtx-* files that run on top of mtxrun); the advantage is that mtxrun has a built in filedatabase handler (so we don't use

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

2009-07-14 Thread Hans Hagen
Mojca Miklavec wrote: On Tue, Jul 14, 2009 at 21:09, ivo welch wrote: hi hans---just curious. do you plan conTeXt to use just one computer language in the future? (even though I'm not Hans ...) No. At least TeX, lua and metapost will probably stay, so that already adds to three languages

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

[NTG-context] Ruby and Context

2006-05-11 Thread John R. Culleton
Until a few minutes ago my Linux Slackware system dd not have a Ruby interpreter. Yet Context runs fine. I seem to remember something about some components of Context existing as Ruby scripts. Am I dreaming or are there such beasties? -- John Culleton Books with answers to marketing and

Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Maurice Diamantini
Le 12 mai 05 à 09:01, Hans Hagen a écrit : luigi.scarso wrote: A little off-topic: why ruby and not python ? - i didn't like those tabs/indentation - ruby's reminded me of modula which i used a (real) lot in the past - ruby has a small footprint - i just like it Hans I agree with the

Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Hans Hagen
Maurice Diamantini wrote: What about Lua, Adding one more dependency to ConTeXt make it more difficult to install and maintain. So what is the advantage of luo in conTeXt instead of ruby? perl, python, ruby are 'huge', and distributing them with tex is a problem; lua is 'made for embedding'

Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Hans Hagen
Maurice Diamantini wrote: What about Lua, Adding one more dependency to ConTeXt make it more difficult to install and maintain. btw, it's not a dependency: lua will be 'always pesent in the binary' and since we nowadays only have one binary ... also, my guess is that adding it to aleph is

Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread Taco Hoekwater
Hi Maurice, Maurice Diamantini wrote: What about Lua, Adding one more dependency to ConTeXt make it more difficult to install and maintain. So what is the advantage of luo in conTeXt instead of ruby? Lua will not be 'in context', but 'in pdftex': the lua library will be integrated in the

Re: [NTG-context] ruby, Lua, Megapost, tcl, ...

2005-09-19 Thread luigi.scarso
Hans Hagen wrote: btw, it's not a dependency: lua will be 'always pesent in the binary' and since we nowadays only have one binary ... also, my guess is that adding it to aleph is easy ok, secret link: http://www.pragma-ade.com/general/manuals/luatex.pdf FANTASTIC!! It's what I want. I

Re: [NTG-context] ruby

2005-05-12 Thread luigi.scarso
Hans Hagen wrote: Hi, when pondering about some ruby to bin for unix and googling a bit, A little off-topic: why ruby and not python ? i ran into: http://www.erikveen.dds.nl/ruby.html amazing stuff, not only rubyscript2exe (cross platform)! bookmarked luigi

Re: [NTG-context] ruby

2005-05-12 Thread Hans Hagen
luigi.scarso wrote: A little off-topic: why ruby and not python ? - i didn't like those tabs/indentation - ruby's reminded me of modula which i used a (real) lot in the past - ruby has a small footprint - i just like it Hans -

Re: [NTG-context] ruby

2005-05-11 Thread Nikolai Weibull
Hans Hagen, May 11: when pondering about some ruby to bin for unix Why would you want to do that? because ruby is not always installed (for some reason distribution do install tons of useless games and all kind of progs whose name i instantly forget, but no forget to install a recent

Re: [NTG-context] ruby in TeX ?

2005-01-24 Thread Taco Hoekwater
luigi scarso wrote: Almost 1 year ago, Nagy Bence posted at comp.tex.pdftex a email with subject Ruby in TeX where he wrote The pdtex mailing list, yes? I assume you are talking about this thread: http://www.tug.org/pipermail/pdftex/2004-February/004762.html and it's parent:

Re: [NTG-context] ruby in TeX ? Ok

2005-01-24 Thread luigi scarso
It's seem useful as starting point. Many thanks, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context