Re: [NTG-context] producing a pdf/X-1a:2001 file

2010-06-25 Thread luigi scarso
On Sat, Jun 26, 2010 at 2:34 AM, Ciro wrote: > The company that is printing my book requires format > PDF/X-1a:2001.  The file produced by LuaTex is PDF 1.5. > > I wonder if there will be a problem, and if so, how can I do the > conversion to X-1a:2001? It's a complex subject, I fear that you need

[NTG-context] producing a pdf/X-1a:2001 file

2010-06-25 Thread Ciro
The company that is printing my book requires format PDF/X-1a:2001. The file produced by LuaTex is PDF 1.5. I wonder if there will be a problem, and if so, how can I do the conversion to X-1a:2001? thank you Ciro __

Re: [NTG-context] checking for an undefined constant

2010-06-25 Thread Vyatcheslav Yatskovsky
Thank you all for such a variety of solutions! Gonna look into it. )) %D \macros %D {doifundefined,doifdefined, %Ddoifundefinedelse,doifdefinedelse, %Ddoifalldefinedelse} %D %D The standard way of testing if a macro is defined is %D comparing its meaning with another undefined one, usu

Re: [NTG-context] vim syntax highlighting in MKIV

2010-06-25 Thread Hans Hagen
On 25-6-2010 9:48, Martin 'golodhrim' Scholz wrote: Hi Hans, Mojca, Aditya and List, just tried to use the vim Syntax Highlighting module in ConTeXt MKIV, but if running the documents complains it searches a file called filename-vimsyntax.tmp-vimsyntax.tmp sure that file not exists but

[NTG-context] vim syntax highlighting in MKIV

2010-06-25 Thread Martin 'golodhrim' Scholz
Hi Hans, Mojca, Aditya and List, just tried to use the vim Syntax Highlighting module in ConTeXt MKIV, but if running the documents complains it searches a file called filename-vimsyntax.tmp-vimsyntax.tmp sure that file not exists but there is a file called filename-vimsyntax.t

Re: [NTG-context] checking for an undefined constant

2010-06-25 Thread Wolfgang Schuster
Am 25.06.10 15:39, schrieb Aditya Mahajan: On Fri, 25 Jun 2010, Vyatcheslav Yatskovsky wrote: Hi, Now I check for an undefined constant like this: \ifx \Homeworks \undefined \else Home works -- {\Homeworks} \fi The useful part is in "else" clause. How to swap this check so that "else" is n

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Khaled Hosny
On Fri, Jun 25, 2010 at 08:28:26PM +0400, Yury G. Kudryashov wrote: > Hans Hagen wrote: > > > On 25-6-2010 2:24, Mojca Miklavec wrote: > >> Since they are written in two different scripts you can theoretically > >> enable them simultaneously (but I'm not sure if this is supported by > >> default).

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Yury G. Kudryashov
Hans Hagen wrote: > On 25-6-2010 2:24, Mojca Miklavec wrote: >> Since they are written in two different scripts you can theoretically >> enable them simultaneously (but I'm not sure if this is supported by >> default). > > interesting and quite trivial to support ... do you have a test file? I do

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Hans Hagen
On 25-6-2010 2:24, Mojca Miklavec wrote: On Fri, Jun 25, 2010 at 14:19, Vyatcheslav Yatskovsky wrote: Hello, I have two languages in my document: English and Russian, and want to enable hyphenation for both. (By default, only English words are hyphenated). How to achive this? \mainlanguage[ru

Re: [NTG-context] checking for an undefined constant

2010-06-25 Thread Aditya Mahajan
On Fri, 25 Jun 2010, Vyatcheslav Yatskovsky wrote: Hi, Now I check for an undefined constant like this: \ifx \Homeworks \undefined \else Home works -- {\Homeworks} \fi The useful part is in "else" clause. How to swap this check so that "else" is not needed? From syst-gen.mkii %D \macros

[NTG-context] checking for an undefined constant

2010-06-25 Thread Vyatcheslav Yatskovsky
Hi, Now I check for an undefined constant like this: \ifx \Homeworks \undefined \else Home works -- {\Homeworks} \fi The useful part is in "else" clause. How to swap this check so that "else" is not needed? Rgrds, Vyatcheslav _

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Vyatcheslav Yatskovsky
On 25.06.2010 15:40, ntg-context-requ...@ntg.nl wrote: Since they are written in two different scripts you can theoretically enable them simultaneously (but I'm not sure if this is supported by default). Interesting, how? -- Best Regards, Vyatcheslav Yatskovsky

Re: [NTG-context] Dutch interface for starttablehead starttabletail

2010-06-25 Thread Wolfgang Schuster
Am 25.06.10 09:23, schrieb Peter Van Kranenburg: On 6/25/10 5:17 AM, Wolfgang Schuster wrote: Am 25.06.10 00:31, schrieb Peter Van Kranenburg: Hello all, Can someone tell me the Dutch commands for \starttablehead and \starttabletail? I can't find it. Context gives an error message when I use t

Re: [NTG-context] Dutch interface for starttablehead starttabletail

2010-06-25 Thread Wolfgang Schuster
Am 25.06.10 09:23, schrieb Peter Van Kranenburg: On 6/25/10 5:17 AM, Wolfgang Schuster wrote: Am 25.06.10 00:31, schrieb Peter Van Kranenburg: Hello all, Can someone tell me the Dutch commands for \starttablehead and \starttabletail? I can't find it. Context gives an error message when I use t

Re: [NTG-context] two languages hyphenation

2010-06-25 Thread Mojca Miklavec
On Fri, Jun 25, 2010 at 14:19, Vyatcheslav Yatskovsky wrote: > Hello, > > I have two languages in my document: English and Russian, and want to enable > hyphenation for both. (By default, only English words are hyphenated). How > to achive this? \mainlanguage[ru] \starttext some russian text {\la

[NTG-context] two languages hyphenation

2010-06-25 Thread Vyatcheslav Yatskovsky
Hello, I have two languages in my document: English and Russian, and want to enable hyphenation for both. (By default, only English words are hyphenated). How to achive this? Rgrds, Vyatcheslav ___ If your questio

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov
No more needed. I removed MacTeX 2009 completely again and installed ConTeXt minimal distribution. Installation was flawless and it worked fine again. Maybe updating ConTeXt under MacTeX 2009 using this guide http://wiki.contextgarden.net/Running_Mark_IV (Update ConTeXt section) did something

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Hans Hagen
On 25-6-2010 12:09, David Abdurachmanov wrote: I had earlier problems with line numbering, after cleaning MacTeX from my Mac and fully reinstalling and updating (I even updated ConTeXt to the latest version as described in wiki and regenerated everything) and again have problems. The good sig

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov
I had earlier problems with line numbering, after cleaning MacTeX from my Mac and fully reinstalling and updating (I even updated ConTeXt to the latest version as described in wiki and regenerated everything) and again have problems. The good sign is that ConTeXt works without problems, but beh

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Mojca Miklavec
2010/6/25 David Abdurachmanov wrote: > Hi, > After finding out that line numbering works different in Mark IV I tried > using this version on Mac OS X via MacTeX 2009. Don't. MacTeX 2009 doesn't work with Mark IV, and even if it would, it's way too old. If you want to install and use MacTeX,

Re: [NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread Hans Hagen
On 25-6-2010 9:06, David Abdurachmanov wrote: After finding out that line numbering works different in Mark IV I tried using this version on Mac OS X via MacTeX 2009. I modified TeXworks to use "texexec --lua $filename" as for ConTeXt. I have updated MacTeX to latest version and actually I st

Re: [NTG-context] Dutch interface for starttablehead starttabletail

2010-06-25 Thread Peter Van Kranenburg
On 6/25/10 5:17 AM, Wolfgang Schuster wrote: Am 25.06.10 00:31, schrieb Peter Van Kranenburg: Hello all, Can someone tell me the Dutch commands for \starttablehead and \starttabletail? I can't find it. Context gives an error message when I use the English commands. \starttablehead : \starttab

[NTG-context] Problems with Mark IV (MacTeX 2009)

2010-06-25 Thread David Abdurachmanov
Hi, After finding out that line numbering works different in Mark IV I tried using this version on Mac OS X via MacTeX 2009. I modified TeXworks to use "texexec --lua $filename" as for ConTeXt. I have updated MacTeX to latest version and actually I still cant' make it work. I tried following th