Re: [NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-12 Thread Alan BRASLAU
On Monday 11 May 2009 20:16:11 Aditya Mahajan wrote: I would also use \implies instead of \Rightarrow (slightly different spacing). ! Undefined control sequence. recently read \implies $\to$ \usemodule[math-ams]

Re: [NTG-context] Metapost question

2009-05-12 Thread Taco Hoekwater
Jean Magnan de Bornier wrote: Le 11 mai à 20:02:36 Mojca Miklavec mojca.miklavec.li...@gmail.com écrit notamment: | | Which command does that evil? They both seem to work here ... | | mpost, texexec --mpgraphic, mpost -mem=metafun.mem, all three of them! | I don't understand. Can you

Re: [NTG-context] New module - mkiv font loading

2009-05-12 Thread Wolfgang Schuster
Am 11.05.2009 um 14:41 schrieb Yue Wang: Hi Wolfgang: nice script. Can the module meet my needs discussed in http://www.ntg.nl/pipermail/ntg-context/2009/040831.html ? or is it possible to extend the support to xetex? When you take care about font switching in your module it's easy, large

[NTG-context] enco-xtx.tex is still wrong

2009-05-12 Thread Yue Wang
Hi, Hans, The enco-xtx.tex defination is still wrong... it behaves very differently compared to unicode-letters.tex Yue Wang ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Hi: update: change the second example, remove the .otf suffix , and texexec --xtx gives: TeXExec | runtime: 5.766 Obviously, this is a parsing bug in ConTeXt. I doubt the reason to the third one is the same. Yue Wang 2009/5/12 Yue Wang yuleo...@gmail.com: Hi, Hans and Jonathan: I made

Re: [NTG-context] in luatex/mkiv formats are generated on the fly

2009-05-12 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: Hello, Hans in luatex/mkiv formats are generated on the fly What do you mean? That one does NOT need context --make at all? indeed (only luatools --generate if needed) -

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Hi, Sum up: define a font usng typescripts takes 64.797 seconds. define a font like \definefont[a][file:SimSun.ttf] takes 55.548 seconds define a font like \definefont[a][file:SimSun] takes 4.329 seconds define a font like \font\a=[simsun] takes 1.812 seconds Jonathan and Jin-Hwan, sorry for the

[NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Dear all, I am close to give up, but maybe there is a solution... I have a book to typeset literally peppered with hundreds of little drawings which are supposed to appear irregularly surrounded by text flowing around them on all sides. |xx |

Re: [NTG-context] enco-xtx.tex is still wrong

2009-05-12 Thread Hans Hagen
Yue Wang wrote: Hi, Hans, The enco-xtx.tex defination is still wrong... it behaves very differently compared to unicode-letters.tex well, it's not supposed to do the same (and we're not going to be latex compatible anyway) as we now need mpore 'tables' i've reorganized the xetex code

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
here is the xelatex result given by a chinese user: \documentclass{minimal} \usepackage{xeCJK} \setCJKfamilyfont{song}{SimSun} \begin{document} {hello {\CJKfamily{song}你好}}\par % 1 lines \end{document} got 209 pages, three seconds to run. note he is switching families 2 times.

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
sorry the the context sample and latex sample are not equivalent (note the \par). So I test again: \starttypescript[serif] [myzhfont] \definefontsynonym [Serif] [file:SimSun] \definefontsynonym [SerifBold] [file:SimSun] \definefontsynonym [SerifItalic] [file:SimSun]

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: here is the xelatex result given by a chinese user: \documentclass{minimal} \usepackage{xeCJK} \setCJKfamilyfont{song}{SimSun} \begin{document} {hello {\CJKfamily{song}你好}}\par % 1 lines \end{document} got 209 pages, three seconds to run. note he is switching

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Taco Hoekwater
Hans Hagen wrote: anyway .. i cannot comment on runtimes as xetex on my windows box runs too slow (caching issue) and all examples are slow, no matter how i specify fonts so i will not look into the code till that gets fixed first The example with the typescript seems logical to me: a

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Any chance lua might change something here in the future? P. 2009/5/12 Hans Hagen pra...@wxs.nl: Piotr Kopszak wrote: Dear all, I am close to give up, but maybe there is a solution... I have a book to typeset literally peppered with hundreds of little drawings which are supposed to appear

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 11:22 AM, Piotr Kopszak kops...@gmail.com wrote: Dear all, I am close to give up, but maybe there is a solution... I have a book to typeset literally peppered with hundreds of little drawings which are supposed to appear irregularly surrounded by text flowing around

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Hans Hagen
Piotr Kopszak wrote: Any chance lua might change something here in the future? maybe, but not in the near future Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Wolfgang Schuster
Am 12.05.2009 um 11:09 schrieb Yue Wang: Hi, Sum up: define a font usng typescripts takes 64.797 seconds. You can speed it up when you replace \definetypeface (...) with \definefont: \unprotect \definefontsynonym [ZhSerif] [name:AdobeSongStd-Light] \definefont

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Taco Hoekwater wrote: Hans Hagen wrote: anyway .. i cannot comment on runtimes as xetex on my windows box runs too slow (caching issue) and all examples are slow, no matter how i specify fonts so i will not look into the code till that gets fixed first The example with the typescript seems

Re: [NTG-context] XeConTeXt bug report II: MetaPost Graphics

2009-05-12 Thread Hans Hagen
Yue Wang wrote: 736 on current version but that line already looks that way ... so what needs to be patched - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Thank you, Taco. currently I found one way to speed up font loading: \synchronizemathfontsfalse \let\synchronizetext\relax \starttypescript[serif] [myzhfont] \definefontsynonym [Serif] [file:SimSun] \stoptypescript \definetypeface [myzhfont] [rm] [serif][myzhfont] [default]

Re: [NTG-context] XeConTeXt bug report II: MetaPost Graphics

2009-05-12 Thread Yue Wang
Hi, Hans Prof. Cho asked you to comment the line after the { i.e.: - {\scratchdimen\wd#2\scratchdimen.5\scratchdimen\hskip-\the\scratchdimen +{% Yue Wang On Tue, May 12, 2009 at 7:05 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: 736 on current version but that line already looks

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Taco Hoekwater
Hans Hagen wrote: Taco Hoekwater wrote: Hans Hagen wrote: anyway .. i cannot comment on runtimes as xetex on my windows box runs too slow (caching issue) and all examples are slow, no matter how i specify fonts so i will not look into the code till that gets fixed first The example with

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Only to show better how I would like text and images placed on the page. \definelayer [figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}] \setupcolors[state=start] \setupbackgrounds[page][background=figure] \starttext

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 7:26 PM, Taco Hoekwater t...@elvenkind.com wrote: Hans Hagen wrote: Taco Hoekwater wrote: Hans Hagen wrote: anyway .. i cannot comment on runtimes as xetex on my windows box runs too slow (caching issue) and all examples are slow, no matter how i specify fonts so

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: Thank you, Taco. currently I found one way to speed up font loading: \synchronizemathfontsfalse \let\synchronizetext\relax \starttypescript[serif] [myzhfont] \definefontsynonym [Serif] [file:SimSun] \stoptypescript \definetypeface [myzhfont] [rm]

Re: [NTG-context] XeConTeXt bug report II: MetaPost Graphics

2009-05-12 Thread Jin-Hwan Cho
Hi, Yue Wang, Many years have passed since I wrote spec-dpx.tex for ConTeXt. The file spec-dpx.tex included in texlive 2008 (the only one I have) looks quite changed according to the progression of ConTeXt. Anyway, your example worked when I change the 763th line of spec-dpx.tex as follows:

Re: [NTG-context] XeConTeXt bug report III: Wrong hyperlink

2009-05-12 Thread Jin-Hwan Cho
On May 12, 2009, at 2:00 PM, Yue Wang wrote: Hi, Hans and Jin-Hwan: When using ConTeXt to produce my documents, I found that all hyperlinks are wrong. And here is a simple test. The tex and pdf files are attached in the mail. The problem will happen when: 1) using pdftex to produce the dvi,

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 1:28 PM, Piotr Kopszak kops...@gmail.com wrote: Only to show better how I would like text and images placed on the page. \definelayer [figure][width=\overlaywidth,height=\overlayheight] \defineoverlay[figure][{\directsetup{figure}\tightlayer[figure]}]

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Taco Hoekwater
Yue Wang wrote: \font\a=[simsun] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime: TeXExec | runtime: 2.922 \font\a=[simsun.ttf] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime: TeXExec | runtime: 2.938 Please try an otf font and/or

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Taco Hoekwater wrote: Yue Wang wrote: \font\a=[simsun] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime: TeXExec | runtime: 2.922 \font\a=[simsun.ttf] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime: TeXExec | runtime: 2.938 Please try an otf

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Hi, \font\a=[AdobeSongStd-Light.otf] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime = 3.25 \font\a=[AdobeSongStd-Light] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime=3.234 Yue Wang 2009/5/12 Taco Hoekwater t...@elvenkind.com: Yue Wang wrote:

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: \font\a=[simsun] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext runtime: TeXExec | runtime: 2.922 \font\a=[simsun.ttf] \starttext \dorecurse{1}{ hello {\a 你好}\par} \stoptext as taco already mentioned there's a problem with xetex caching fonts in a

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Taco Hoekwater
Yue Wang wrote: \font\a=[AdobeSongStd-Light] Why? I asked to use \definefont. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
2009/5/12 Hans Hagen pra...@wxs.nl: Yue Wang wrote: Thank you, Taco. currently I found one way to speed up font loading: \synchronizemathfontsfalse \let\synchronizetext\relax \starttypescript[serif] [myzhfont] \definefontsynonym [Serif] [file:SimSun] \stoptypescript

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Hi, On Tue, May 12, 2009 at 8:26 PM, Taco Hoekwater t...@elvenkind.com wrote: Yue Wang wrote: \font\a=[AdobeSongStd-Light] Why? I asked to use \definefont. After reading Hans' explanation, I understand what you said now. \dorecurse{1}{ hello {\font\a=[AdobeSongStd-Light]\a 你好}\par}

Re: [NTG-context] XeConTeXt bug report III: Wrong hyperlink

2009-05-12 Thread Hans Hagen
Jin-Hwan Cho wrote: I think that the value of the paperheight is better than 0 for top value. thanks for figuring it out ... i now just fall back to fit Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: moreover, can you tell me why pdftex load these fonts so fast? (also 6 families * 3 sizes) i don't know; as the same code is used so it must be xetex itself then - Hans

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
But I want text in one column in the whole document. I was wondering however if I could mimick something similar with textflows but cannot understand the Dutch example in page-flw.tex. Piotr 2009/5/12 luigi scarso luigi.sca...@gmail.com: On Tue, May 12, 2009 at 1:28 PM, Piotr Kopszak

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread luigi scarso
On Tue, May 12, 2009 at 3:03 PM, Piotr Kopszak kops...@gmail.com wrote: But I want text in one column in the whole document. I was wondering however if I could mimick something similar with textflows but cannot understand the Dutch example in page-flw.tex. Do you mean this ? % Example

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Yes, exactly. 2009/5/12 luigi scarso luigi.sca...@gmail.com: On Tue, May 12, 2009 at 3:03 PM, Piotr Kopszak kops...@gmail.com wrote: But I want text in one column in the whole document. I was wondering however if I could mimick something similar with textflows but cannot understand the

Re: [NTG-context] enco-xtx.tex is still wrong

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 5:27 PM, Hans Hagen pra...@wxs.nl wrote: Mojca Miklavec wrote: wrong: f:write(format(\\XeTeXcharclass\%04X \\XeTeXcharclass%s\n,i,upper(lbc))) better: f:write(format(\\XeTeXcharclass\%04X \\XeTeXcharclass%s\n,code,upper(lbc))) But I didn't test anything at

[NTG-context] [***SPAM***] Bug? \getmarking fails under some circumstances

2009-05-12 Thread Oliver Heins
Hello, I'm new to ConTeXt, so this is perhaps not a bug but a fault on my side. Under some circumstances, the living column heads fail to refer to the subsubject. As you can see from the attached minimal example \startsetups[header] \getmarking[subject]\ $\cdot$ \getmarking[subsubject]

[NTG-context] ppchtex color

2009-05-12 Thread Alan BRASLAU
No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start] \usemodule[chemic] \starttext

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Wolfgang Schuster
Am 12.05.2009 um 15:18 schrieb Piotr Kopszak: Yes, exactly. \setuppapersize [S6] \setuptolerance [soepel,rek] \setupcolors[state=start] \setupfooter[strut=no] \setupwhitespace[big] \setuplayout [rightmargin=5cm, width=fit, margin=0pt, edgedistance=1cm, footer=4cm,

Re: [NTG-context] The ultimate (?) float problem

2009-05-12 Thread Piotr Kopszak
Right. If I understand correctly on the first look textflows appear in fixed locations on consecutive pages. I guess I'm banging my head against a wall but what about if it was possible to have them side by side on the same page? 2009/5/12 Wolfgang Schuster schuster.wolfg...@googlemail.com:

Re: [NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-12 Thread Xan
En/na Olivier ha escrit: Hi Xan, For example, what is the equivalent of: \begin{equation*} \left.\begin{aligned} 2^2 | n_0\\ 4^2 | n_0 + 2 \Rightarrow (2^2)^2 | n_0 +2 \Rightarrow 2^2 | n_0 +2 \text{ ya que } 2^2 | (2^2)^2 \end{aligned}\right\} \Rightarrow 2^2 | (n_0 + 2 - n_0)

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 8:54 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: moreover, can you tell me why pdftex load these fonts so fast? (also 6 families * 3 sizes) i don't know; as the same code is used so it must be xetex itself then Then let me tell you why: ConTeXt tries to load

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Hi, Hans: here is the solution to your great feature: change \def\defaultfontfile{lmmono10-regular} in font-ini.mkii to \def\defaultfontfile{[lmmono10-regular]} to disable that feature. Yue Wang On Tue, May 12, 2009 at 9:59 PM, Yue Wang yuleo...@gmail.com wrote: On Tue, May 12, 2009 at 8:54

Re: [NTG-context] Metapost question

2009-05-12 Thread Jean Magnan de Bornier
Le 12 mai à 09:42:29 Taco Hoekwater t...@elvenkind.com écrit notamment: | Jean Magnan de Bornier wrote: | Le 11 mai à 20:02:36 Mojca Miklavec mojca.miklavec.li...@gmail.com écrit notamment: | | | | Which command does that evil? They both seem to work here ... | | | | mpost, texexec

Re: [NTG-context] Metapost question

2009-05-12 Thread Aditya Mahajan
On Tue, 12 May 2009, Jean Magnan de Bornier wrote: Le 12 mai à 09:42:29 Taco Hoekwater t...@elvenkind.com écrit notamment: | Jean Magnan de Bornier wrote: | Le 11 mai à 20:02:36 Mojca Miklavec mojca.miklavec.li...@gmail.com écrit notamment: | | | | Which command does that evil? They both

Re: [NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Hans Hagen
Yanrui Li wrote: Hi Hans, I tried to use Chinese opentype fonts with luatex + plain fmt but I failed. Only with Chinese TTF fonts it can work. This a simple example: \pdfoutput=1 \font\myfont=AdobeSongStd-Light \myfont 我想实现 LuaTeX 对中文的支持 \end When I compiled it, I got the following

[NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Yanrui Li
Hi Hans, I tried to use Chinese opentype fonts with luatex + plain fmt but I failed. Only with Chinese TTF fonts it can work. This a simple example: \pdfoutput=1 \font\myfont=AdobeSongStd-Light \myfont 我想实现 LuaTeX 对中文的支持 \end When I compiled it, I got the following messages: This is LuaTeX,

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: On Tue, May 12, 2009 at 8:54 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: moreover, can you tell me why pdftex load these fonts so fast? (also 6 families * 3 sizes) i don't know; as the same code is used so it must be xetex itself then Then let me tell you why:

Re: [NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Yanrui Li
On Tue, May 12, 2009 at 10:37 PM, Hans Hagen pra...@wxs.nl wrote: Yanrui Li wrote: Hi Hans, I tried to use Chinese opentype fonts with luatex + plain fmt but I failed. Only with Chinese TTF fonts it can work. this is because a cidmap is needed and the kpse that you use does not have it;

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: Hi, Hans: here is the solution to your great feature: huh? what great features? what's wrong with the features anyway? you want a special version that instead prints hundreds of error messages each and every run because some font is missing which in practice is harmless?

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 10:50 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: On Tue, May 12, 2009 at 8:54 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: moreover, can you tell me why pdftex load these fonts so fast? (also 6 families * 3 sizes) i don't know; as the same code is

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 11:02 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: Hi, Hans: here is the solution to your great feature: huh? what great features? what's wrong with the features anyway? you want a special version that instead prints hundreds of error messages each and every

Re: [NTG-context] Metapost question

2009-05-12 Thread Jean Magnan de Bornier
Le 12 mai à 16:32:26 Aditya Mahajan adit...@umich.edu écrit notamment: | Can you post a file that fails at your end? here, but it doesn't *fail*, it produces ecindf.1 ok but then shows infinitely this message. ... input metafun; numeric u; u=.5cm; path AX; AX = drawdblarrow

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Taco Hoekwater
Yue Wang wrote: \def\defaultfontfile{file:lmmono10-regular} After changing like this, XeTeX runs like a blink. (It wasted 6 seconds for each compile. now it won't) Does that mean that the near-endless font issues with xetex are now finally fixed? Cheers, Taco

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: loading 6 fonts, each fonts will be scanned for 3 times. so there are 18 searching. 12 of them are fc searches, and these are quite slow. if so, then this fc mechanism is pretty messed up as it's just a hash lookup which cna be fast also, it does not explain why simple

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: On Tue, May 12, 2009 at 11:02 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: Hi, Hans: here is the solution to your great feature: huh? what great features? what's wrong with the features anyway? you want a special version that instead prints hundreds of error messages

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Taco Hoekwater wrote: Yue Wang wrote: \def\defaultfontfile{file:lmmono10-regular} After changing like this, XeTeX runs like a blink. (It wasted 6 seconds for each compile. now it won't) Does that mean that the near-endless font issues with xetex are now finally fixed? no ... suffix and

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 11:22 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: On Tue, May 12, 2009 at 11:02 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: Hi, Hans: here is the solution to your great feature: huh? what great features? what's wrong with the features anyway? you

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: On Tue, May 12, 2009 at 11:02 PM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: Hi, Hans: here is the solution to your great feature: huh? what great features? what's wrong with the features anyway? you want a special version that instead prints hundreds of error messages

[NTG-context] Howto add a # sign to a \button URL?

2009-05-12 Thread Oliver Heins
Hallo, I try to send a message from a pdf to a webserver. This works fine, unless the URL has a `#' in it. Then TeX throws an error: ! Illegal parameter number in definition of \!!stringa I tried to work around it with \edef'ing a \doublecross macro which expands to \char35, but this did not

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 11:41 PM, Hans Hagen pra...@wxs.nl wrote: Taco Hoekwater wrote: Yue Wang wrote: \def\defaultfontfile{file:lmmono10-regular} After changing like this, XeTeX runs like a blink. (It wasted 6 seconds for each compile. now it won't) Does that mean that the near-endless

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Hans Hagen
Yue Wang wrote: So why XeTeX is spending 6 seconds aimlessly? since ConTeXt asked it to search for a non-existed font. keep in mind that the font (lmmono10-regular) *is* existing, it's ust that xetex cannot find it as it favors names instead of files (and praise yourself happy that it's not

Re: [NTG-context] Metapost question

2009-05-12 Thread Taco Hoekwater
Jean Magnan de Bornier wrote: Le 12 mai à 16:32:26 Aditya Mahajan adit...@umich.edu écrit notamment: | Can you post a file that fails at your end? here, but it doesn't *fail*, it produces ecindf.1 ok but then shows infinitely this message. I cannot reproduce this problem. To make sure

Re: [NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 11:47 PM, Hans Hagen pra...@wxs.nl wrote: Yanrui Li wrote: I need to load it only for the experiments of Chinese punctuation compression in the bbox way. i played with that and discarded the code (in mkiv) for the moment because first i want more info about fonts and

Re: [NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Wolfgang Schuster
Am 12.05.2009 um 18:04 schrieb Yue Wang: On Tue, May 12, 2009 at 11:47 PM, Hans Hagen pra...@wxs.nl wrote: - we have a set of default cjk fonts in tex live that can serve as reference Adobe set will be good enough for reference. With Adobes fonts you can use the 'palt' feature but this

Re: [NTG-context] XeConTeXt bug report III: Wrong hyperlink

2009-05-12 Thread Yue Wang
On Tue, May 12, 2009 at 8:49 PM, Hans Hagen pra...@wxs.nl wrote: Jin-Hwan Cho wrote: I think that the value of the paperheight is better than 0 for top value. thanks for figuring it out ... i now just fall back to fit then focus=standard wont make the link point to the right place... btw,

Re: [NTG-context] Metapost question

2009-05-12 Thread Jean Magnan de Bornier
Le 12 mai à 17:53:48 Taco Hoekwater t...@elvenkind.com écrit notamment: | I cannot reproduce this problem. To make sure it is not a mem file | version differencne, can you delete and regenerate mpost.mem ? I followed this, nothing better! Then I tried to delete also metafun.mem and that worked!

Re: [NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Dohyun Kim
2009/5/12 Hans Hagen pra...@wxs.nl: Yanrui Li wrote: Hi Hans, I tried to use Chinese opentype fonts with luatex + plain fmt but I failed. Only with Chinese TTF fonts it can work. This a simple example: \pdfoutput=1 \font\myfont=AdobeSongStd-Light \myfont 我想实现 LuaTeX 对中文的支持 \end

Re: [NTG-context] bugs in beta (footnotes)

2009-05-12 Thread Henning Hraban Ramm
Am 2009-05-10 um 18:44 schrieb Henning Hraban Ramm: But it doesn't work, it's always bytext, i.e. numbering runs through from start to end. And the marks still don't show up in the text! (Latest minimals beta, 2009-05-10 18.30 MESZ) I find this is fixed now (Beta 2009.05.12 17:37). Great,

Re: [NTG-context] Chinese opentype fonts can not be loaded in luatex-plain

2009-05-12 Thread Hans Hagen
Dohyun Kim wrote: even after modification of kpse, two more problems should be fixed. 1. lowering uppercase filename before searching cidmap 2. including l-io.lua into luatex-plain i uploaded a beta Hans -

Re: [NTG-context] Howto add a # sign to a \button URL?

2009-05-12 Thread Hans Hagen
Oliver Heins wrote: Hallo, I try to send a message from a pdf to a webserver. This works fine, unless the URL has a `#' in it. Then TeX throws an error: does \# work? - Hans Hagen |

[NTG-context] color

2009-05-12 Thread Hans Hagen
Hi, just a note ... mkiv now defaults to color as nobody objected wolfgangs (if i remember right) request Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt |

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: \startchemical \color[red]{\chemical[ONE,SB,Z0][C]} \stopchemical % text C is offset... add a % after the } (maybe we should ignore endofline, i.e. make a mkiv variant and extend/maintain that) -

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start]

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. minimal example: \setupcolors[state=start]

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: No, ppchtex is not dead... i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans -

Re: [NTG-context] ppchtex color

2009-05-12 Thread Alan BRASLAU
i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Unzipped cont-tmf.zip on top of my minimals installation and ran context on my current working documents: system : module

Re: [NTG-context] ppchtex color

2009-05-12 Thread Alan BRASLAU
i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Works correctly (bonds in red, atoms in black): \usemodule[chemic] \setupchemical[rulecolor=red] \starttext \startchemical

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
Alan BRASLAU wrote: i split ppchtex in mkii/mkiv (and included the fixes) so we can improve things eventually can you check if it still runs ok (beta zip on website) Hans Unzipped cont-tmf.zip on top of my minimals installation and ran context on my current working documents: system

Re: [NTG-context] XeConTeXt bug report I: strange benchmark

2009-05-12 Thread Yue Wang
Hi, Hans: On Tue, May 12, 2009 at 11:22 PM, Hans Hagen pra...@wxs.nl wrote: \setupbodyfont[myzhfont] \dorecurse{1}{{hello {\switchtobodyfont[myzhfont] 你好}}\par} so it's probably also an operating system issue (caching files in mem, disk access etc) After debugging for half an hour in