Re: [NTG-context] Bug in latest context (MK-IV) ?

2010-05-14 Thread Taco Hoekwater
Hans Hagen wrote: taco and i need to check why the \Uprimitive approach does not work A luatex bug: http://tracker.luatex.org/view.php?id=395 Best wishes, Taco ___ If your question is of interest to others as

Re: [NTG-context] [NTG Context] Storm (Lido) font support seems to be broken in newer versions of MKII

2010-05-14 Thread Jan Pohanka
Hello, thanks all for help, the problem is solved now. Original Vit's support will work with two modifications. 1) enco-*.tex must be renamed to enco-*.mkii 2) contents of t-type-s*.tex must be enclosed to \starttypescriptcollection \stoptypescriptcollection the problem lied in the line

Re: [NTG-context] \showmathcharacters doesn't work (MacTex 2009)

2010-05-14 Thread Hans Hagen
On 14-5-2010 6:43, Otared Kavian wrote: Hi Riobard, Since math is done differently in mkiv than in mkii, indeed \showmathcharacters does not work in mkiv. However one can get all the math characters in mkiv in a big list doing the following: begin showmath.tex

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Marco
- label(textext(\letterbackslash\letterampersand),origin); - label(textext(\letterbackslash\),origin); This is because the commands are interpreted with TeX before they are written to mpgraph.mp. The \letterampersand or \ generates the character alone: you need to preceed it with

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Hans Hagen
On 14-5-2010 12:06, Marco wrote: iii) Why should I better use \sometxt? sometxt was introduced in mkii to avoid text processing mp, i.e. it is done at the context end in the current run and mp only gets dimensions; so, it avoids the nested tex run in mkii there is some more trickery and

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Hans Hagen
On 14-5-2010 12:06, Marco wrote: for i=0 downto -3: ran; label(\sometxt{\bold{Test}}, (7cm,-4cm)) rotatedaround ((7cm,-4cm),i*20) withcolor transparent(normal, .2, (r,g,b)); endfor; because transparent overloads the mechanism that sometxt (textext) uses for passing info to tex

[NTG-context] Two questions about a mysterious behavior of ConTeXt

2010-05-14 Thread Marius
Hello, I encountered two mysterious behaviours of ConTeXt mkvi and can't resolve them by my self. So. The first one is: why does ConTeXt behaves differently then I use environment ant then I don't. There are two versions of the same code in the attached files. The test.tex uses environment

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Hans Hagen
On 14-5-2010 1:45, Marco wrote: On Fri, 14 May 2010 12:44:47 +0200, Hans Hagenpra...@wxs.nl wrote: On 14-5-2010 12:06, Marco wrote: for i=0 downto -3: ran; label(\sometxt{\bold{Test}}, (7cm,-4cm)) rotatedaround ((7cm,-4cm),i*20) withcolor transparent(normal, .2, (r,g,b));

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-14 Thread Khaled Hosny
On Thu, May 13, 2010 at 11:35:58PM +0200, Hans Hagen wrote: On 13-5-2010 11:26, Khaled Hosny wrote: On Thu, May 13, 2010 at 10:25:06PM +0200, Hans Hagen wrote: On 13-5-2010 10:06, Khaled Hosny wrote: Nothing special, I always expect interline space to be fixed, I don't know if TeX always

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 1:46 AM, Michael Saunders odrad...@gmail.com wrote: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed: mkiv is different

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-14 Thread Hans Hagen
On 14-5-2010 2:37, Khaled Hosny wrote: On Thu, May 13, 2010 at 11:35:58PM +0200, Hans Hagen wrote: On 13-5-2010 11:26, Khaled Hosny wrote: On Thu, May 13, 2010 at 10:25:06PM +0200, Hans Hagen wrote: On 13-5-2010 10:06, Khaled Hosny wrote: Nothing special, I always expect interline space to

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny khaledho...@eglug.org wrote: Wgat is wrong with this example: \setuplayout[grid=force] \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em] \starttext \input knuth \stoptext use number, not dimensions; see

Re: [NTG-context] Two questions about a mysterious behavior of ConTeXt

2010-05-14 Thread Wolfgang Schuster
Am 14.05.10 13:59, schrieb Marius: Hello, I encountered two mysterious behaviours of ConTeXt mkvi and can't resolve them by my self. So. The first one is: why does ConTeXt behaves differently then I use environment ant then I don't. There are two versions of the same code in the attached

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-14 Thread Khaled Hosny
On Fri, May 14, 2010 at 02:54:49PM +0200, Hans Hagen wrote: On 14-5-2010 2:37, Khaled Hosny wrote: On Thu, May 13, 2010 at 11:35:58PM +0200, Hans Hagen wrote: On 13-5-2010 11:26, Khaled Hosny wrote: On Thu, May 13, 2010 at 10:25:06PM +0200, Hans Hagen wrote: On 13-5-2010 10:06, Khaled Hosny

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Khaled Hosny
On Fri, May 14, 2010 at 02:55:54PM +0200, luigi scarso wrote: On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny khaledho...@eglug.org wrote: Wgat is wrong with this example: \setuplayout[grid=force] \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em] \starttext \input knuth

Re: [NTG-context] How to achieve transparency?

2010-05-14 Thread Henning Hraban Ramm
Am 2010-05-13 um 22:57 schrieb Hans Hagen: r = red channel g = green channel b = blue channel c = cyan channel m = magenta channel y = yellow channel k = black channel h = hue or hexadecimal s = saturation v = value (or so) h = hex (i'll add x for hex as well) a = alternative t =

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny khaledho...@eglug.org wrote: I see, in the wiki:   height: ration|size of strut (e.g. 0.72 or 9pt)   depth:  ration|size of strut (e.g. 0.28 or 3pt) And I assumed .7em is comparable to 9pt, how it is different? Using points gives the same error.

Re: [NTG-context] does expandaparameters work

2010-05-14 Thread Wolfgang Schuster
Am 13.05.10 20:04, schrieb Erik Margraf: Thanks!! Works perfectly for me. Is this a patch for syst-aux.mkiv? It is but wait till Hans add it himself, I added a entry to the bug tracker. In the meantime you can add the patch to cont-log.tex Wolfgang

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Hans Hagen
On 14-5-2010 3:07, Aditya Mahajan wrote: This is because the commands are interpreted with TeX before they are written to mpgraph.mp. The \letterampersand or \ generates the character alone: you need to preceed it with backslash, so that metapost finally knows what to do. So, should all the

Re: [NTG-context] does expandaparameters work

2010-05-14 Thread Hans Hagen
On 14-5-2010 3:25, Wolfgang Schuster wrote: Am 13.05.10 20:04, schrieb Erik Margraf: Thanks!! Works perfectly for me. Is this a patch for syst-aux.mkiv? It is but wait till Hans add it himself, I added a entry to the bug tracker. In the meantime you can add the patch to cont-log.tex unless

Re: [NTG-context] How to achieve transparency?

2010-05-14 Thread Hans Hagen
On 14-5-2010 3:16, Henning Hraban Ramm wrote: Am 2010-05-13 um 22:57 schrieb Hans Hagen: r = red channel g = green channel b = blue channel c = cyan channel m = magenta channel y = yellow channel k = black channel h = hue or hexadecimal s = saturation v = value (or so) h = hex (i'll add x

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-14 Thread Henning Hraban Ramm
Am 2010-05-13 um 23:09 schrieb Hans Hagen: I recall trying grid a while ago but it didn't work, looks like I have to set \setuplayout[grid=force]. for sure there are bugs as it needs much testing but we have predefined grid setups: % none don't enlarge % halfline

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Michael Saunders
luigi scarso: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed: mkiv is different from mkii. How is it to be done in MKIV? I could find no

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 4:07 PM, Michael Saunders odrad...@gmail.com wrote: luigi scarso: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex \stoptext Confirmed:

[NTG-context] a space after title

2010-05-14 Thread Marius
Hello, There is too big spacing after subsubject in the test3.pdf file. How to get rid of it? Thanks, Marius test3.tex Description: TeX document test3.pdf Description: Adobe PDF document ___ If your question is

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Hans Hagen
On 14-5-2010 2:50, luigi scarso wrote: On Fri, May 14, 2010 at 1:46 AM, Michael Saundersodrad...@gmail.com wrote: \setupregister[index][bd][pagestyle=bold] \starttext \index{bc}\index{be} This is a \index[bd::]{test}test. \page This is a less important \index{test}test. \page \placeindex

Re: [NTG-context] 10+ reasons why I still use MKII

2010-05-14 Thread Idris Samawi Hamid ادريس سماوي حامد
On Fri, 14 May 2010 06:37:02 -0600, Khaled Hosny khaledho...@eglug.org wrote: for arabic you really need to set the interline space (idris might have more input on this) - it has more height than depth Not always عٍ or فيٍ is as deep as high is أً. so for say 12pt arabic we should use 8pt ht

Re: [NTG-context] Problem with the loading cid fonts in luatex-plain format

2010-05-14 Thread Hans Hagen
On 9-5-2010 11:27, Li Yanrui (李延瑞) wrote: Hi, The following is my test file for Adobe OTF fonts loading. \font\cidfont=file:AdobeSongStd-Light \cidfont 测试 \bye works ok in context (on my machine) so probably a path issue (in texmf.cnf) Hans

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Mojca Miklavec
On Fri, May 14, 2010 at 12:06, Marco wrote: On Fri, 14 May 2010 00:37:44 +0200, Mojca Miklavec wrote: PS: I would say: better use \sometxt which is far more reliable unless you have to use textext to do string manipulation. I don't know exactly which transformations are considered as »string

[NTG-context] MKIV numbering

2010-05-14 Thread richard . stephens
Hello, Does anyone else have the following problems with numbering for figures, equations etc in MKIV 1. Using \setupnumbering[way=bysection] does not work 2. The colour of references to figures etc is wrong. The example below illustrates the problems. Try compiling in MKII and MKIV and note

Re: [NTG-context] a space after title

2010-05-14 Thread Peter Münster
On Fri, May 14 2010, Marius wrote: There is too big spacing after subsubject in the test3.pdf file. How to get rid of it? \setuphead [subsection] [alternative=text] \setuphead [subsection] [alternative=text, distance=0pt] Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] a space after title

2010-05-14 Thread Marius
Thank you, Peter, but there those options come from? I can't find distance option here: http://www.pragma-ade.com/general/qrcs/setup-en.pdf and here http://wiki.contextgarden.net/Reference/en/setuphead too. Maybe, there is some logic behind some options, they just apply globaly or something

Re: [NTG-context] MKIV numbering

2010-05-14 Thread Marco
On Fri, 14 May 2010 16:53:53 +0100, richard.steph...@converteam.com wrote: Hello, Does anyone else have the following problems with numbering for figures, equations etc in MKIV 1. Using \setupnumbering[way=bysection] does not work 2. The colour of references to figures etc is wrong.

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Marco
On Fri, 14 May 2010 17:20:35 +0200, Mojca Miklavec wrote: [...] Here are my results: -There is one obvious reason: speed Average runtime:    textext  variant: 56s    \sometxt variant: 57s That is the same. Maybe my test file is not appropriate to test the speed. I'm sure you

[NTG-context] installing metauml in context

2010-05-14 Thread Shiv Shankar Dayal
Hi, I am running ConTeXt mark IV. I need to use metauml for my work. However, I could not get it installed. Please help. The install file which comes with it does not work for context. -- Best regards, Shiv Shankar Dayal

Re: [NTG-context] installing metauml in context

2010-05-14 Thread Hans Hagen
On 14-5-2010 11:43, Shiv Shankar Dayal wrote: I am running ConTeXt mark IV. I need to use metauml for my work. However, I could not get it installed. Please help. The install file which comes with it does not work for context. more info needed .. test file and so Hans

Re: [NTG-context] installing metauml in context

2010-05-14 Thread Shiv Shankar Dayal
Hi, I am running ConTeXt mark IV. I need to use metauml for my work. However, I could not get it installed. Please help. The install file which comes with it does not work for context. more info needed .. test file and so Hans Sorry about this. Following is from a file for which I took

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Khaled Hosny
On Fri, May 14, 2010 at 03:20:21PM +0200, luigi scarso wrote: On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny khaledho...@eglug.org wrote: I see, in the wiki:   height: ration|size of strut (e.g. 0.72 or 9pt)   depth:  ration|size of strut (e.g. 0.28 or 3pt) And I assumed .7em is

[NTG-context] installing metauml in context

2010-05-14 Thread luigi scarso
(repost) On Sat, May 15, 2010 at 12:04 AM, Shiv Shankar Dayal shivshankar.da...@gmail.com wrote: Hi, I am running ConTeXt mark IV. I need to use metauml for my work. However, I could not get it installed. Please help. The install file which comes with it does not work for context. more

Re: [NTG-context] Context 2010.05.08 - 3D annotations

2010-05-14 Thread Aditya Mahajan
On Sat, 15 May 2010, Michail Vidiassov wrote: On Fri, 14 May 2010, Hans Hagen wrote: On 14-5-2010 5:25, Michail Vidiassov wrote: it's all a matter of taste; you can get the old variant by just making small one page documents and using the \attachment mechanism with the preview as symbol

Re: [NTG-context] installing metauml in context

2010-05-14 Thread Shiv Shankar Dayal
Hi, I am running ConTeXt mark IV. I need to use metauml for my work. However, I could not get it installed. Please help. The install file which comes with it does not work for context. more info needed .. test file and so Hans Sorry about this. Following is from a file for which I took