[NTG-context] problem with layers and line spacing

2009-08-10 Thread Brian R. Landy
Hi, I am attempting to do some work with layers that can repeat (and update) using \startsetups & \stopsetups. However I find that the line spacing in a \framed in the layers is not alterable and instead tracks the font size on the page. I'm attaching a simple example (it shows the same i

Re: [NTG-context] \seeindex problems

2009-08-10 Thread Xan
if have no time to keep up with / test / etc all those distributions and since norbert does a pretty good job in updating the tex packages used in all debian derivates i expect fixes to show up eventually Hans Okay. Can you forward this message else (if nobert is not subscribed to this li

Re: [NTG-context] \seeindex problems

2009-08-10 Thread Hans Hagen
Xan wrote: hm, strc-reg.mkii has {#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}% maybe you have a bugged version (core-reg.tex can also contain that code) anyhow, replace the first \else by \or Can you report it to ubuntu developers and sent them a patch.

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

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] \seeindex problems

2009-08-10 Thread Xan
hm, strc-reg.mkii has {#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}% maybe you have a bugged version (core-reg.tex can also contain that code) anyhow, replace the first \else by \or Can you report it to ubuntu developers and sent them a patch. I have the

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 encodin

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 ver

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 prop

Re: [NTG-context] \setupfigures does not exist???

2009-08-10 Thread Willi Egger
Hi, use \setupfloat[figure][before={\blank[big]},after={\blank[big]}]. Willi On Aug 9, 2009, at 12:26 PM, Xan wrote: Hi, In the manual (page 273) mentions that we can fix figures parameters with \setupfigures, but when I put that, I receive the following error: ! Undefined control sequ

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 helpfu

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 arti

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 zzz

Re: [NTG-context] \seeindex problems

2009-08-10 Thread Hans Hagen
Xan wrote: hm, strc-reg.mkii has {#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}% maybe you have a bugged version (core-reg.tex can also contain that code) anyhow, replace the first \else by \or - In what file, Hans?: strc-reg.mkii or core-reg.tex?

Re: [NTG-context] \seeindex problems

2009-08-10 Thread Xan
hm, strc-reg.mkii has {#1\ifcase\currententrylevel\s!entrya\or\s!entryb\or\s!entryc\else\s!entryd\fi}% maybe you have a bugged version (core-reg.tex can also contain that code) anyhow, replace the first \else by \or - In what file, Hans?: strc-reg.mkii or core-reg.tex? Xan. _