Re: [NTG-context] MKIV numbering

2010-05-14 Thread Taco Hoekwater
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 From the mkiv source, it looks like the inheritance is disabled at the moment for some reason (

Re: [NTG-context] installing metauml in context

2010-05-14 Thread Taco Hoekwater
Hi, The attached file runs without errors for me in mkiv (latest beta, 2010.05.14 15:26 MKIV). However, note the following: 1. I had to add loading of 8r-base.map for the rptmr font 2. The placement of the text strings is wrong (probably related) Best wishes, Taco Shiv Shankar Dayal wrote:

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Wolfgang Schuster
Am 15.05.10 00:23, schrieb 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 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

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

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] Context 2010.05.08 - 3D annotations

2010-05-14 Thread Michail Vidiassov
Dear Hans, On Fri, 14 May 2010, Hans Hagen wrote: On 14-5-2010 5:25, Michail Vidiassov wrote: One more 3D related questoin - support for attaching files to PDF. It seems that instead of embedding 3D annotation into main PDF file sometimes it is better to attach to it a separate file with just

[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 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 info needed .. t

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 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 9

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

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 ---

[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] 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 > > sp

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 wron

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 simi

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

[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 t

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 »s

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] Context 2010.05.08 - 3D annotations

2010-05-14 Thread Hans Hagen
On 14-5-2010 6:37, Michail Vidiassov wrote: One more 3D related questoin - support for attaching files to PDF. It seems that instead of embedding 3D annotation into main PDF file sometimes it is better to attach to it a separate file with just an annotation in it and have a picture that will lau

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 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 and 8pt dep

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 Saunders 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: mk

[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 of

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 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 >>

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?

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 enlar

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 for

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] 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 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] Issue with \setupinterlinespace

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 3:15 PM, Khaled Hosny 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. use *numbers*

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 = transparency

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 wrote: > > Wgat is wrong with this example: > > > > \setuplayout[grid=force] > > \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em] > > \starttext > > \input knuth > > \stop

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,

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 files.

Re: [NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread luigi scarso
On Fri, May 14, 2010 at 2:03 PM, Khaled Hosny 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 http://wiki.contextgarden.net/Reference/e

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 b

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 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 from mkii

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

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 Hagen 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)); endfor; b

[NTG-context] Issue with \setupinterlinespace

2010-05-14 Thread Khaled Hosny
Wgat is wrong with this example: \setuplayout[grid=force] \setupinterlinespace[height=1.081em, depth=.7em, distance=.018em] \starttext \input knuth \stoptext I get: ! You can't use `\dimexpr' in horizontal mode. \dimexpr -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free

[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 test-e

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Marco
On Fri, 14 May 2010 12:44:47 +0200, Hans Hagen 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)); > > endfor; > > because tran

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 te

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 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 pr

Re: [NTG-context] Ampersand in Metapost

2010-05-14 Thread Marco
On Fri, 14 May 2010 00:37:44 +0200, Mojca Miklavec wrote: > On Thu, May 13, 2010 at 23:45, Marco wrote: > > On Thu, 13 May 2010 22:58:46 +0200, Hans Hagen > > wrote: > >> On 13-5-2010 9:18, Marco wrote: > >> > Hi, > >> > > >> > I have a problem producing an ampersand in metapost. In ConTeXt > >

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 \doifmode{mkiv}{\usemodule[

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 \use