Re: [NTG-context] Insertion of a Document I.D.

2012-05-16 Thread Hans Hagen
On 16-5-2012 05:08, hwit...@gmail.com wrote: I want to generate a document i.d. from the .tex source filename and the current date and put it into the footer. This might be possible already, but I could find it by searching the wiki for filename and document it, or rather too much since

Re: [NTG-context] fixing mpiv on installation path with spaces

2012-05-16 Thread Hans Hagen
On 16-5-2012 01:45, Mojca Miklavec wrote: Hello, last year Taco added many patches to make sure that ConTeXt works even when installed to C:\Documents and Settings\ ... and other weird paths with spaces. However metapost in mkiv still fails. I figured out that the following patch (which *won't*

Re: [NTG-context] fixing mpiv on installation path with spaces

2012-05-16 Thread Hans Hagen
On 16-5-2012 01:45, Mojca Miklavec wrote: Maybe it would be helpful to pass file.addsuffix(name,mp) through additional filter (instead of simply adding quotation marks) that would also check if any other character needs escaping and add quotation marks if needed. let's for the moment

[NTG-context] multi language (with module)

2012-05-16 Thread Peter Schorsch
Hi, to finish my first module I like to make it also available for non-german users (remove the hardcoded german text). But I could not figure out how in a way that works. So I wrote down a minimal example in pseudo-tex to point out my goal. Can you give me an idea/solution how to implement it in

Re: [NTG-context] multi language (with module)

2012-05-16 Thread Wolfgang Schuster
Am 16.05.2012 um 14:17 schrieb Peter Schorsch: Hi, to finish my first module I like to make it also available for non-german users (remove the hardcoded german text). But I could not figure out how in a way that works. So I wrote down a minimal example in pseudo-tex to point out my goal.

Re: [NTG-context] multi language (with module)

2012-05-16 Thread Peter Schorsch
Thanks Wolfgang, your post helped me a lot! I am wondering if only a subset of languages is able to be defined as I got following result: Should be Welcome: Welcome Should be Guten Tag: Guten Tag Should be Bonvenon: Guten Tag The Esperanto text is not displayed. It does not matter wether I put

[NTG-context] Luatex crash on \endinput \end

2012-05-16 Thread Aditya Mahajan
Hi, The following causes luatex to crash (it is harmless, but still...) echo '\\endinput \\end' | context --pipe gives: *** glibc detected *** luatex: double free or corruption (fasttop): 0x0aef00e8 *** === Backtrace: = /lib/libc.so.6(+0x725f2)[0xb75f05f2]

Re: [NTG-context] Luatex crash on \endinput \end

2012-05-16 Thread luigi scarso
On Wed, May 16, 2012 at 6:12 PM, Aditya Mahajan adit...@umich.edu wrote: Hi, The following causes luatex to crash (it is harmless, but still...) echo '\\endinput \\end' | context --pipe gives: *** glibc detected *** luatex: double free or corruption (fasttop): 0x0aef00e8 *** ===