Re: [NTG-context] MKIV bug
Am 2009-01-18 um 06:06 schrieb Yue Wang: OK, in fact the whole file is just add \bye at the end of that piece of code. This works well on both mkii and mkiv: \starttext ... \stoptext and this only works in MKII, not mkiv: ... \bye Why do you expect ConTeXt to work without \start|stoptext ? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MKIV bug
Hi, Why do you expect ConTeXt to work without \start|stoptext ? Well, it used to work, and i use it a lot in my own document. (both mkiv and mkii support this before the 2008.11.10 version) Yue Wang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MKIV bug
Yue Wang wrote: Hi, Why do you expect ConTeXt to work without \start|stoptext ? Well, it used to work, and i use it a lot in my own document. (both mkiv and mkii support this before the 2008.11.10 version) start/stoptext is really needed in order to let multipass info work - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] MKIV bug
Hi, Hans Using context=experimental, the following cross references all appear as ?? MKII works fine. \placeformula \startformula \startalign \NC v \NC = u + at \NR[eq:v] \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] \stopalign \stopformula Equation (\in[eq:v]) tells the final velocity after time $t$ and equation (\in[eq:h]) tells the distance travelled in time $t$. Yue Wang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MKIV bug
But it works fine here with both context=experimental and context=beta. The versions are ``2009.01.17 00:15'' for experimental and ``2009.01.14 11:29'' for beta. On Sat, Jan 17, 2009 at 10:55:48PM +0800, Yue Wang wrote: Hi, Hans Using context=experimental, the following cross references all appear as ?? MKII works fine. \placeformula \startformula \startalign \NC v \NC = u + at \NR[eq:v] \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] \stopalign \stopformula Equation (\in[eq:v]) tells the final velocity after time $t$ and equation (\in[eq:h]) tells the distance travelled in time $t$. Yue Wang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Longmin Wang longminw...@gmail.com Math. Dept., Nankai Univ., China http://math.nankai.edu.cn/~wanglm/ GnuPG-Key ID: 1024D/2A5CFA5C Fingerprint: 8587 1246 3AAD C185 D419 ADF1 B620 D8B8 2A5C FA5C ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MKIV bug
Longmin Wang wrote: But it works fine here with both context=experimental and context=beta. The versions are ``2009.01.17 00:15'' for experimental and ``2009.01.14 11:29'' for beta. Appears fine here as well, with context 2009.01.17 00:15. But I assume your test file was longer thatn just the little block below. Perhaps you should post a full file. Btw, the example breaks with cont-xp, but in a different way: it throws an error at me about an undefined control sequence (\currentformulassynchronize). Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MKIV bug
Hi, Taco: Appears fine here as well, with context 2009.01.17 00:15. But I assume your test file was longer thatn just the little block below. Perhaps you should post a full file. Btw, the example breaks with cont-xp, but in a different way: it throws an error at me about an undefined control sequence (\currentformulassynchronize). OK, in fact the whole file is just add \bye at the end of that piece of code. This works well on both mkii and mkiv: \starttext \placeformula \startformula \startalign \NC v \NC = u + at \NR[eq:v] \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] \stopalign \stopformula Equation (\in[eq:v]) tells the final velocity after time $t$ and equation (\in[eq:h]) tells the distance travelled in time $t$. \stoptext and this only works in MKII, not mkiv: \placeformula \startformula \startalign \NC v \NC = u + at \NR[eq:v] \NC h \NC = ut + \frac12 gt^2 \NR[eq:h] \stopalign \stopformula Equation (\in[eq:v]) tells the final velocity after time $t$ and equation (\in[eq:h]) tells the distance travelled in time $t$. \bye Another problem which I reported a few weeks ago is still not solved. when I use a sans font, like \setupbodyfont[iwona, ss,12pt], the label for the equation still uses roman font unless i manually change them by \setupformulae. I think this can be improved. Yue Wang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mkiv: bug in processMPbuffer
Hi Hans and Taco, The latest beta solves the problems metioned by Thomas Schmitz and myself concerning \uniqueMPgraphic: many thanks for your attention. However, I observed the following regarding \processMPbuffer: some grahpics don't show up when tyepset with mkiv, while they are fine with mkii. (This with mkiv, LuaTeX revision 2, (LuaTeX date stamp 2008102016), ConTeXt version 2008.10.23 17:32). (For the Chief of Rumour Control: it is not crucial to address the reported bug urgently…). Best regards: OK %% begin bug-processMPbuffer.tex \setupcolors[state=start] \starttext \startbuffer[axes-1] textextoffset := ExHeight ; numeric u ; u := .5cm ; vardef arrowheadonpath (expr p, s) = save autoarrows ; boolean autoarrows ; autoarrows := true ; set_ahlength(scaled ahfactor) ; % arrowhead p if s1 : cutafter (point (s*arclength(p)+.5ahlength) on p) fi enddef ; path xox ; xox := (-u,0)--(8u,0) ; path yoy ; yoy := (0,-u)--(0,7u) ; draw xox withcolor blue ; draw yoy withcolor blue ; ahfactor := 4 ; % default is 2.5 fill arrowheadonpath(xox,1) withcolor .625blue ; % try .25 fill arrowheadonpath(yoy,1) withcolor .625blue ; % try .25 \stopbuffer \startbuffer[chemin-1] textextoffset := ExHeight ; numeric u ; u := .5cm ; z1 = (5u,0) ; z2 = z1 rotated 60 ; z11 = z1 rotated 15 ; z12 = z1 rotated 30 ; z13 = z1 rotated 45 ; z0 = (2u,0) rotated 30 ; path gamma ; gamma := (0,0)--(5u,0) ; draw gamma withpen pencircle scaled .4mm withcolor .625yellow ; path gammaR ; gammaR := z1..z11..z12..z13..z2 ; draw gammaR withpen pencircle scaled .4mm withcolor .625yellow ; dotlabel.bot (btex \switchtobodyfont[10pt] \strut $R$ etex, z1) ; path gammaRR ; gammaRR := z2--(0,0) ; draw gammaRR withpen pencircle scaled .4mm withcolor .625yellow ; dotlabel.top (btex \switchtobodyfont[10pt] \strut $R{\rm e}^{2{\rm i} \pi/n}$ etex , z2) ; dotlabel.rt (btex \switchtobodyfont[10pt] \strut ${\rm e}^{{\rm i}\pi/ n}$ etex , z0) ; label.rt (btex \switchtobodyfont[10pt] \strut $\Gamma_{R}$ etex , z11) ; fill arrowheadonpath(gamma,.4) withcolor .625yellow ; fill arrowheadonpath(gammaR,.4) withcolor .625yellow ; fill arrowheadonpath(gammaRR,.4) withcolor .625yellow ; \stopbuffer This file has been typeset on \currentdate{} at \currenttime, with \doifmodeelse{mkiv} {mkiv, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp)} {mkii, using the command: \type{texexec basic-test.tex}}, ConTeXt version \contextversion. % LuaTeX version \luatexversion, This MetaPost graphic is shown with mkiv: \placefigure[middle][-]{none}{\processMPbuffer[chemin-1]} {} \blank but not this one \placefigure[middle][-]{none}{\processMPbuffer[axes-1]} {} \blank nor this one \placefigure[middle][-]{none}{\processMPbuffer[axes-1,chemin-1]} {} \stoptext %% end of bug-processMPbuffer.tex ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv: Bug in Right to Left numerals?
On Tue, Oct 21, 2008 at 7:19 PM, Otared Kavian [EMAIL PROTECTED] wrote: On 21 oct. 08, at 15:13, Khaled Hosny wrote: This isn't actually a bug, \textdir TRT will reverse all text, try setting \setupdirection[bidi=global] to enable the experimental auto-bidi support. Thanks Khaled for your attention, but what I get is: ! Undefined control sequence. l.21 \setupdirection [bidi=global] ? Process aborted Is this feature so experimental that it is not yet included in the latest beta? \setupdirections[bidi=global] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv: Bug in Right to Left numerals?
On 22 oct. 08, at 09:02, Wolfgang Schuster wrote: On Tue, Oct 21, 2008 at 7:19 PM, Otared Kavian [EMAIL PROTECTED] wrote: On 21 oct. 08, at 15:13, Khaled Hosny wrote: This isn't actually a bug, \textdir TRT will reverse all text, try setting \setupdirection[bidi=global] to enable the experimental auto-bidi support. Thanks Khaled for your attention, but what I get is: ! Undefined control sequence. l.21 \setupdirection [bidi=global] ? Process aborted Is this feature so experimental that it is not yet included in the latest beta? \setupdirections[bidi=global] Wolfgang Thanks Wolfgang… the plural makes sense indeed. However it seems that it is necessary to add \pardir TRT \textdir TRT before Right-to-Left text. Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mkiv: Bug in Right to Left numerals?
Hi Hans, Taco, Idriss and the mkiv team, Since I have been unable to use mkiv until very recently I am not aware whether the following bug has been addressed or not (Luigi Scarso taught me how to install and use mkiv on Mac OS, last Sunday…). Below is a minimal file which shows that the numerals in Right-to-Left text are reversed, while they shouldn't. XeTeX and XeConTeXt behave correctly in this respect. If the bug is known, pardon me for the noise… Best regards: OK %% begin file bug-RL-numerals.tex \starttext \definefontfeature [testPersian] [analyze=yes, mode=node, language=dflt, script=arab, aalt=yes, init=yes, medi=yes, fina=yes, isol=yes, liga=yes, mset=yes] \font\FaarsiA=arabtype*testPersian at 36pt \startbuffer[faarsi] این متن در سال ۲۰۰۸ مسیحی نوشته شده است. \stopbuffer \pardir TLT \textdir TLT This file has been typeset on \currentdate{} at \currenttime, mkiv, ConTeXt version \contextversion, % LuaTeX version \luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp). \blank[6*big] The number input as « 2008 » in Persian is written in the output as « 8002 » in the following Persian text: \blank[6*big] \pardir TRT \textdir TRT \FaarsiA \getbuffer[faarsi] \blank[6*big] \stoptext %% end file bug-RL-numerals.tex bug-RL-numerals.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv: Bug in Right to Left numerals?
This isn't actually a bug, \textdir TRT will reverse all text, try setting \setupdirection[bidi=global] to enable the experimental auto-bidi support. On Mon, Oct 20, 2008 at 11:02 PM, Otared Kavian [EMAIL PROTECTED] wrote: Hi Hans, Taco, Idriss and the mkiv team, Since I have been unable to use mkiv until very recently I am not aware whether the following bug has been addressed or not (Luigi Scarso taught me how to install and use mkiv on Mac OS, last Sunday…). Below is a minimal file which shows that the numerals in Right-to-Left text are reversed, while they shouldn't. XeTeX and XeConTeXt behave correctly in this respect. If the bug is known, pardon me for the noise… Best regards: OK %% begin file bug-RL-numerals.tex \starttext \definefontfeature [testPersian] [analyze=yes, mode=node, language=dflt, script=arab, aalt=yes, init=yes, medi=yes, fina=yes, isol=yes, liga=yes, mset=yes] \font\FaarsiA=arabtype*testPersian at 36pt \startbuffer[faarsi] این متن در سال ۲۰۰۸ مسیحی نوشته شده است. \stopbuffer \pardir TLT \textdir TLT This file has been typeset on \currentdate{} at \currenttime, mkiv, ConTeXt version \contextversion, % LuaTeX version \luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp). \blank[6*big] The number input as « 2008 » in Persian is written in the output as « 8002 » in the following Persian text: \blank[6*big] \pardir TRT \textdir TRT \FaarsiA \getbuffer[faarsi] \blank[6*big] \stoptext %% end file bug-RL-numerals.tex ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Khaled ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] mkiv: Bug in Right to Left numerals?
On 21 oct. 08, at 15:13, Khaled Hosny wrote: This isn't actually a bug, \textdir TRT will reverse all text, try setting \setupdirection[bidi=global] to enable the experimental auto-bidi support. Thanks Khaled for your attention, but what I get is: ! Undefined control sequence. l.21 \setupdirection [bidi=global] ? Process aborted Is this feature so experimental that it is not yet included in the latest beta? Best regards: OK On Mon, Oct 20, 2008 at 11:02 PM, Otared Kavian [EMAIL PROTECTED] wrote: Hi Hans, Taco, Idriss and the mkiv team, Since I have been unable to use mkiv until very recently I am not aware whether the following bug has been addressed or not (Luigi Scarso taught me how to install and use mkiv on Mac OS, last Sunday…). Below is a minimal file which shows that the numerals in Right-to- Left text are reversed, while they shouldn't. XeTeX and XeConTeXt behave correctly in this respect. If the bug is known, pardon me for the noise… Best regards: OK %% begin file bug-RL-numerals.tex \starttext \definefontfeature [testPersian] [analyze=yes, mode=node, language=dflt, script=arab, aalt=yes, init=yes, medi=yes, fina=yes, isol=yes, liga=yes, mset=yes] \font\FaarsiA=arabtype*testPersian at 36pt \startbuffer[faarsi] این متن در سال ۲۰۰۸ مسیحی نوشته شده است. \stopbuffer \pardir TLT \textdir TLT This file has been typeset on \currentdate{} at \currenttime, mkiv, ConTeXt version \contextversion, % LuaTeX version \luatexversion, LuaTeX revision \luatexrevision, (LuaTeX date stamp \luatexdatestamp). \blank[6*big] The number input as « 2008 » in Persian is written in the output as « 8002 » in the following Persian text: \blank[6*big] \pardir TRT \textdir TRT \FaarsiA \getbuffer[faarsi] \blank[6*big] \stoptext %% end file bug-RL-numerals.tex ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Khaled ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___