> well, we can use:
> > def validsomething(str,something)> if str then> list = [str].flatten.collect do |s|> something[s] || s # || s addedExcellent! Could you please add it to the distribution?Many thanks!-RichardP.S. I'll probably have to learn at basics of Ruby... I'm familiar with Perl, PHP
users [mailto:[EMAIL PROTECTED]Sent: Fri, 21 Jul 2006 14:49:34 +0200Subject: Re: [NTG-context] base/tex.rb comments
Richard Gabriel wrote:
>
> I'm attaching the complete context.cnf file for reference.
context.cnf is not actually used by any programs. It is only
provided as a sa
Richard Gabriel wrote:
>
> I'm attaching the complete context.cnf file for reference.
context.cnf is not actually used by any programs. It is only
provided as a sample of how texmf.cnf could be set up.
Greetings, Taco
___
ntg-context mailing list
ntg
Hans Hagen wrote:
> Richard Gabriel wrote:
>> Hello Hans and others,
>>
>> I'd have two comments to the texmf/scripts/context/ruby/base/tex.rb
>> script.
>>
>> 1. I find quite impractical that the formats (cont-en, cont-nl etc.)
>> are hardcoded in the scripts. When one wants to add a new format,
Richard Gabriel wrote:
> Hello Hans and others,
>
> I'd have two comments to the texmf/scripts/context/ruby/base/tex.rb
> script.
>
> 1. I find quite impractical that the formats (cont-en, cont-nl etc.)
> are hardcoded in the scripts. When one wants to add a new format, then
> he must add it on
Hello Hans and others,I'd have two comments to the texmf/scripts/context/ruby/base/tex.rb script.1. I find quite impractical that the formats (cont-en, cont-nl etc.) are hardcoded in the scripts. When one wants to add a new format, then he must add it on 4 or 5 places in the script, and do it a