Re: [NTG-context] Page number not updating in layer

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 07:50 schrieb Michael Bynum: I am trying to use a layer to insert a page number in my document, but the page always displays page number 1. It seems nothing that I have tried has worked. I also don't know how to exclude the first page from the total number of pages count.

Re: [NTG-context] unwanted rgb--gray conversion (mkiv)

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 11:46 schrieb Peter Rolf: Wolfgang Schuster schrieb: Am 02.02.2009 um 14:38 schrieb Peter Rolf: mh, the problem is a little more complex. Mkii reduces rgb(0,0,0) text into gray(0), in mkiv color is as expected. Updated the example... \setupcolors[state=start] AFAIR

[NTG-context] Any ConTeXt user with ancient linux distribution?

2009-02-03 Thread Mojca Miklavec
Hello, The new server on contextgarden.net has a newer linux distribution and 64-bit kernel. I used to compile the linux binaries on the server since they worked everywhere, also on newer machines (I once wrote a note compiled with glibc 2.3.6 and maybe the kernel was 2.4.something; it was debian

Re: [NTG-context] unwanted rgb--gray conversion (mkiv)

2009-02-03 Thread Peter Rolf
Wolfgang Schuster schrieb: Am 03.02.2009 um 11:46 schrieb Peter Rolf: Wolfgang Schuster schrieb: Am 02.02.2009 um 14:38 schrieb Peter Rolf: mh, the problem is a little more complex. Mkii reduces rgb(0,0,0) text into gray(0), in mkiv color is as expected. Updated the example...

Re: [NTG-context] unwanted rgb--gray conversion (mkiv)

2009-02-03 Thread Peter Rolf
Peter Rolf schrieb: Hi Hans, The attached example works fine with mkii (text and gfx both use RGB colors). Using mkiv reduces the colorspace of the graphic to GRAY. Sadly PDFX/-4 doesn't allow to mix color profiles of colorspace RGB with GRAY ones. So I'm forced to always use the RGB

Re: [NTG-context] Serializing nodes

2009-02-03 Thread Hans Hagen
luigi scarso wrote: While grepping, I've found in base/node-ini.lua . --[[ldx-- pSerializing nodes can be handy for tracing. Also, saving and loading node lists can come in handy as soon we are going to use external applications to process node lists./p --ldx]]-- . \starttext

Re: [NTG-context] Page number not updating in layer

2009-02-03 Thread Michael Bynum
Ah ha. That works perfectly. Thank you. Mike On Tue, Feb 3, 2009 at 11:21 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 03.02.2009 um 16:36 schrieb Michael Bynum: Great that fixed it. Sorry about the subject by the way. I thought it would auto add the mailing list

Re: [NTG-context] Serializing nodes

2009-02-03 Thread luigi scarso
On Tue, Feb 3, 2009 at 5:34 PM, luigi scarso luigi.sca...@gmail.com wrote: On Tue, Feb 3, 2009 at 5:26 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: While grepping, I've found in base/node-ini.lua . --[[ldx-- pSerializing nodes can be handy for tracing. Also, saving and

[NTG-context] beta and index

2009-02-03 Thread Wolfgang Schuster
Hi, the last beta fails to produce a abbreviation list and the index. \abbreviation{One}{1} \abbreviation{Two}{2} \starttext \placelistofabbreviations text\index{one} and \One\ and text\index{two}, \Two\ and text \placeindex \stoptext Wolfgang

[NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
Hello, We have a situation where hyphenation is an issue, due to a 2-column layout where the columns are not very wide. We've done a lot of tweaking of settings for hyphenation and interword spacing, and the result seems pretty good. In particular, there are not many cases of consecutive lines

Re: [NTG-context] Serializing nodes

2009-02-03 Thread Hans Hagen
luigi scarso wrote: On Tue, Feb 3, 2009 at 5:34 PM, luigi scarso luigi.sca...@gmail.com wrote: On Tue, Feb 3, 2009 at 5:26 PM, Hans Hagen pra...@wxs.nl wrote: luigi scarso wrote: While grepping, I've found in base/node-ini.lua . --[[ldx-- pSerializing nodes can be handy for tracing.

Re: [NTG-context] unwanted rgb--gray conversion (mkiv)

2009-02-03 Thread Peter Rolf
Wolfgang Schuster schrieb: Am 03.02.2009 um 13:12 schrieb Peter Rolf: Thanks Wolfgang. The gray scales white and a 50% gray are already part of my example (and they work fine). Just add '\pdfcompresslevel0' at the top of my example and you can 'see' (viewing the pdf in a text editor) the

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 1:29 PM, Hans Hagen wrote: Lars Huttar wrote: But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200 pages, so it would be very helpful to have tools to make the

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Hans Hagen
Lars Huttar wrote: On 2/3/2009 1:29 PM, Hans Hagen wrote: Lars Huttar wrote: But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200 pages, so it would be very helpful to have

[NTG-context] korean

2009-02-03 Thread Hans Hagen
Hi, is there someone on this list who has tried korean with mkiv? next week taco and i travel to korea (user group meeting) so we'd better know how to do korean Hans - Hans Hagen |

Re: [NTG-context] footnote inside footnote

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 21:10 schrieb Khaled Hosny: How to get a second level footnote that is typeset with it own numbering, some thing like: Main text body[1] has two footnotes[2]. -- 1. First level footnote[1] 2. Another one -- 1. Second level footnote. Currently the footnote will

[NTG-context] footnote inside footnote

2009-02-03 Thread Khaled Hosny
How to get a second level footnote that is typeset with it own numbering, some thing like: Main text body[1] has two footnotes[2]. -- 1. First level footnote[1] 2. Another one -- 1. Second level footnote. Currently the footnote will just go after the parent one. Regards,

[NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Dave
Hi all, I've been using ConTeXt for a few years and I'm curious about whether it is worth migrating to MKIV (I've just re-read the mk.pdf document). Here are the features I often use: - Postscript fonts... I have typescripts setup for the fonts I bought (full versions of Utopia, Minion,

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 2:22 PM, Hans Hagen wrote: Lars Huttar wrote: On 2/3/2009 1:29 PM, Hans Hagen wrote: Lars Huttar wrote: But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200

Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Aditya Mahajan
On Tue, 3 Feb 2009, Dave wrote: Hi all, I've been using ConTeXt for a few years and I'm curious about whether it is worth migrating to MKIV (I've just re-read the mk.pdf document). Here are the features I often use: - Postscript fonts... I have typescripts setup for the fonts I bought (full

Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Mojca Miklavec
On Tue, Feb 3, 2009 at 9:57 PM, Dave wrote: I've been using ConTeXt for a few years and I'm curious about whether it is worth migrating to MKIV This question and an answer should be linked to from the first page of wiki. Mojca

Re: [NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Taco Hoekwater
Hans Hagen wrote: Khaled Hosny wrote: I came across an OpenType font with TrueType outline that had an .otf extension, attempting to use it gave me this error: !luaTeX error (file /home/khaled/.fonts/UthmanTN1_Ver06.otf): can't find table `CFF ' == Fatal error occurred, no output PDF file

Re: [NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Khaled Hosny
On Tue, Feb 03, 2009 at 11:19:54PM +0100, Hans Hagen wrote: Khaled Hosny wrote: I came across an OpenType font with TrueType outline that had an .otf extension, attempting to use it gave me this error: !luaTeX error (file /home/khaled/.fonts/UthmanTN1_Ver06.otf): can't find table `CFF ' ==

Re: [NTG-context] footnote inside footnote

2009-02-03 Thread Khaled Hosny
On Tue, Feb 03, 2009 at 09:45:12PM +0100, Wolfgang Schuster wrote: Am 03.02.2009 um 21:10 schrieb Khaled Hosny: \definenote[subfootnote][location=page] \starttext Main text body\footnote{First level footnote\subfootnote{Second level footnote.}} has two footnotes\footnote{Another one}.

Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Dave
On Tue, Feb 3, 2009 at 5:14 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: If you neglect the bugs and problems, transition should be painless - only typescripts need to be updated, but once you do that, your documents could even work with both mkii and mkiv. I recall that it took

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 4:27 PM, Hans Hagen wrote: Lars Huttar wrote: On 2/3/2009 3:53 PM, Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Hans Hagen
Lars Huttar wrote: On 2/3/2009 4:27 PM, Hans Hagen wrote: Lars Huttar wrote: On 2/3/2009 3:53 PM, Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards,

Re: [NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Hans Hagen
Taco Hoekwater wrote: That means it really is somewhat of a backend issue, but the easy fix is to either set tfmtable.format=truetype in mkiv or to rename the font. I'll add a tracker item to do this type discovery based on the actual file magic, but it will have a low priority. maybe there

Re: [NTG-context] footnote inside footnote

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 23:44 schrieb Khaled Hosny: On Tue, Feb 03, 2009 at 09:45:12PM +0100, Wolfgang Schuster wrote: Am 03.02.2009 um 21:10 schrieb Khaled Hosny: \definenote[subfootnote][location=page] \starttext Main text body\footnote{First level footnote\subfootnote{Second level footnote.}}

[NTG-context] Determing if the argument is one character or not

2009-02-03 Thread Aditya Mahajan
Hi, I want to write a macro which behaves differently depending on whether its argumet is a single character or not. \MACRO[a] should give $X_{a}$ \MACRO[a:b] should give $X_{[a:b]}$ Any hints on how to do this? Thanks, Aditya

Re: [NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 23:19 schrieb Hans Hagen: Khaled Hosny wrote: I came across an OpenType font with TrueType outline that had an .otf extension, attempting to use it gave me this error: !luaTeX error (file /home/khaled/.fonts/UthmanTN1_Ver06.otf): can't find table `CFF ' it's not a

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Hans Hagen
Lars Huttar wrote: On 2/3/2009 3:53 PM, Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe Acrobat? This is not (legally) possible.

Re: [NTG-context] Determing if the argument is one character or not

2009-02-03 Thread Hans Hagen
Aditya Mahajan wrote: Hi, I want to write a macro which behaves differently depending on whether its argumet is a single character or not. \MACRO[a] should give $X_{a}$ \MACRO[a:b] should give $X_{[a:b]}$ Any hints on how to do this? \def\MACRO[#1#2]% {\doifelsenothing{#2}

Re: [NTG-context] footnote inside footnote

2009-02-03 Thread Khaled Hosny
On Wed, Feb 04, 2009 at 12:26:09AM +0100, Wolfgang Schuster wrote: You need the description env. for footnote to change the left margin. \setupnote [subfootnote] [rule=\vbox{\hskip\dimexpr1em+1pt\relax\blackrule[width=. 2\hsize,height=\noteparameter{rulethickness},depth=0pt]}]

Re: [NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Hans Hagen
Khaled Hosny wrote: I came across an OpenType font with TrueType outline that had an .otf extension, attempting to use it gave me this error: !luaTeX error (file /home/khaled/.fonts/UthmanTN1_Ver06.otf): can't find table `CFF ' == Fatal error occurred, no output PDF file produced! Reading

Re: [NTG-context] korean

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 21:27 schrieb Hans Hagen: is there someone on this list who has tried korean with mkiv? next week taco and i travel to korea (user group meeting) so we'd better know how to do korean Here is a short example with text from one of the korean latex manuals.

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Lars Huttar
On 2/3/2009 3:53 PM, Martin Schröder wrote: 2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe Acrobat? This is not (legally) possible.

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Hans Hagen
Lars Huttar wrote: But the hyphenation is by nature somewhat volatile, so whenever we change something we would like to be able to easily recheck the hyphenation. And our book is over 1200 pages, so it would be very helpful to have tools to make the checking more efficient. so, you only want

Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Arthur Reutenauer
I do physics/chemistry with a lot of equations so incomplete math support is really a deal breaker for me. You realize all the recent discussions on math support are concerned with *OpenType* math, right? The legacy support coming from Knuth's TeX, which is the only one you have available in

Re: [NTG-context] korean

2009-02-03 Thread Dohyun Kim
2009/2/4 Wolfgang Schuster schuster.wolfg...@googlemail.com: Am 03.02.2009 um 21:27 schrieb Hans Hagen: Hi, is there someone on this list who has tried korean with mkiv? next week taco and i travel to korea (user group meeting) so we'd better know how to do korean Korean use the same

Re: [NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Arthur Reutenauer
* In all cases, fonts with only CFF data (no TrueType outlines) always have an .OTF extension. * Fonts containing TrueType outlines may have either .OTF or .TTF, depending on the desire for backward compatibility on older systems or with previous versions of the

Re: [NTG-context] tool for reviewing hyphenation

2009-02-03 Thread Martin Schröder
2009/2/3 Lars Huttar lars_hut...@sil.org: Does anyone know how to tell xdvipdfmx to enable commenting rights in the PDF it creates? Or how to add these rights afterwards, without Adobe Acrobat? This is not (legally) possible. http://en.wikipedia.org/wiki/Adobe_LiveCycle_Reader_Extensions Best

Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Hans Hagen
Dave wrote: I think it would be very helpful to most ConTeXt 'users' if there were a wiki page that spelled out the current status of MKIV exactly and listed which features of MKII work, which are buggy, and which are work in progress. Something a little more high-level than the release notes

Re: [NTG-context] korean

2009-02-03 Thread Wolfgang Schuster
Am 03.02.2009 um 21:27 schrieb Hans Hagen: Hi, is there someone on this list who has tried korean with mkiv? next week taco and i travel to korea (user group meeting) so we'd better know how to do korean Korean use the same rules for line breaking as chinese but spaces in the input are

Re: [NTG-context] Determing if the argument is one character or not

2009-02-03 Thread Wolfgang Schuster
Am 04.02.2009 um 00:11 schrieb Aditya Mahajan: I want to write a macro which behaves differently depending on whether its argumet is a single character or not. \MACRO[a] should give $X_{a}$ \MACRO[a:b] should give $X_{[a:b]}$ Any hints on how to do this? To test for the number argument

[NTG-context] Error with TrueType flavor OpenType fonts with .otf extension

2009-02-03 Thread Khaled Hosny
I came across an OpenType font with TrueType outline that had an .otf extension, attempting to use it gave me this error: !luaTeX error (file /home/khaled/.fonts/UthmanTN1_Ver06.otf): can't find table `CFF ' == Fatal error occurred, no output PDF file produced! Reading OpenType specification, I

Re: [NTG-context] Determing if the argument is one character or not

2009-02-03 Thread Aditya Mahajan
On Wed, 4 Feb 2009, Hans Hagen wrote: Aditya Mahajan wrote: Hi, I want to write a macro which behaves differently depending on whether its argumet is a single character or not. \MACRO[a] should give $X_{a}$ \MACRO[a:b] should give $X_{[a:b]}$ Any hints on how to do this?

Re: [NTG-context] korean

2009-02-03 Thread Dohyun Kim
2009년 2월 4일 (수) 오전 9:25, Wolfgang Schuster schuster.wolfg...@googlemail.com님의 말: 나라의 말이 중국과 달라서 한자로 는 서로 통하지 아니하므로 이런 까 닭으로 어리석은 백성들이 말하고 자 하는 바가 있어도 마침내 제뜻 을 능히 펴지 못하는 사람이 많으 니라. 내가 이를 불쌍히 여겨 새로 스물여덟자를 만드나니 나라의 말이 중국과 달라서 한자로는 % endline space should be honoured 서로 통하지 아니하므로 이런 까닭으로 어리석은

Re: [NTG-context] Determing if the argument is one character or not

2009-02-03 Thread Aditya Mahajan
On Wed, 4 Feb 2009, Wolfgang Schuster wrote: Am 04.02.2009 um 00:11 schrieb Aditya Mahajan: I want to write a macro which behaves differently depending on whether its argumet is a single character or not. \MACRO[a] should give $X_{a}$ \MACRO[a:b] should give $X_{[a:b]}$ Any hints on how

Re: [NTG-context] When to migrate from MKII to MKIV?

2009-02-03 Thread Alan BRASLAU
On Tuesday 03 February 2009 22:34:24 Aditya Mahajan wrote: I personally do not use chemic, figbases, and complicated tables, so cannot comment on those. Chemic seems to work with apparently the same results in mkii and mkiv. I am using this with mkiv without being too demanding for the