Hi, the experimental branch of the garden distribution has a prelude to the new math font subsystem - less definitions, so faster (but some things might not yet work) - unicode math (but mojca, aditya, taco and i are in the process of checking and completing the definitions) - faster startup time of mkiv as well as less memory usage - using runtime virtual fonts which permits more math alphabets (as un unicode) but not all are defined now (not all make sense) since this is evolving, if you use experimental, you need to update on a regular basis (mkiv as well as the luatex bin) but mojca keeps things nicely in sync so that should be done automatically for lin/win/osx Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
After upgrading, \chem{CO_2} still gives me:
! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters.
<to be read again>
\relax
\dosetsubscript ... #1\string #2}{\the #1#2\relax
}#1#2=\dimen 0\relax
\dodosetsubscript ...bscript {#1}{\textfont 2}{#2}
\dosetsubscript {#1}{\scri...
\setsubscripts ...setsubscript \mathsubnormal {.7}
\dodosetsubscript \mathsub...
<argument> \dosetsubscripts
$\@@dochemicalstyle {\@@localchemicalstyle \stru...
\chemicalinnerclip #1->{\setbox 0=\hbox {#1
}\ht 0\ht \strutbox \dp 0\dp \str...
...
l.25 ...nitored three pollutants, \chemical{SO_2},
\chemical{NO_2} and \chem...
?
I will test more tomorrow.
On Fri, Jan 30, 2009 at 11:38 PM, Hans Hagen
Hi,
the experimental branch of the garden distribution has a prelude to the new math font subsystem
- less definitions, so faster (but some things might not yet work)
- unicode math (but mojca, aditya, taco and i are in the process of checking and completing the definitions)
- faster startup time of mkiv as well as less memory usage
- using runtime virtual fonts which permits more math alphabets (as un unicode) but not all are defined now (not all make sense)
since this is evolving, if you use experimental, you need to update on a regular basis (mkiv as well as the luatex bin) but mojca keeps things nicely in sync so that should be done automatically for lin/win/osx
Hans
----------------------------------------------------------------- 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 ___________________________________________________________________________________
Yue Wang wrote:
After upgrading, \chem{CO_2} still gives me:
! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters.
sure, you need to wait till mojca has synced both context and luatex ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Hi, Hans,
please test the following formulas. All of them come from my thesis,
and MKII typeset them right. MKIV produce the wrong result.
I am using the nightly build from w32tex since the luatex binary in
the minimals repository cannot generate the format correctly.
\starttext
\startformula
P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b}
P_{{\rm bend},n}
\stopformula
\startformula
P_{\rm straight}=\exp \left(-{pLV_{\rm d} \over AU_{\rm ave}}\right)
\stopformula
\startformula
\eqalign{
&{Sc_{(i,j)} +R_{(i,j)}L_{(i,j)}A_{(i,j)}\over V_{(i,j)}} -{{\rm
d} C_{{\rm out},(i,j)} \over {\rm d}
t}-(a_{(i,j)}+n_{(i,j)}+K_{(i,j)})C_{{\rm out},(i,j)}\cr
&+a_{(i,j)}P_{(i,j)}C_{\rm env} + n_{(i,j)}C_{{\rm in},(i,j)}=0\cr}
\stopformula
\startformula
\sum_j Q_{(j,i)}=\sum_j Q_{(i,j)}
\stopformula
\startformula
\sum_j Q_{(j,i)}C_{{\rm out},(j,i)} = \sum_j Q_{(i,j)}C_{{\rm in},(i,j)}
\stopformula
\startformula
\cases{
\cases{ {{\rm d} C_{{\rm out},(i,j)} / {\rm d} t}=K_1C_{{\rm
out},(i,j)} + K_2C_{{\rm in},(i,j)}+K_3 & if $(i,j)$ is room edge; \cr
C_{{\rm out},(i,j)}=P_{(i,j)}C_{{\rm in},(i,j)} & otherwise.\cr }
\cr
\cases{ \left. C_{{\rm in},(i,j)}=\sum_k C_{{\rm out},(k,i)}Q_{(k,i)}
\middle/ \sum_k Q_{(k,i)} \right. & for a given $(i,j)$, if $k$
exist.\cr
C_{{\rm in},(i,j)}=C_{\rm env} &otherwise(fresh air duct).\cr }
}
\stopformula
\startformula
{{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k}
\stopformula
\startformula
\cases{ {\partial C(x,t)\over \partial x} \left( 1+{1\over
u_{\infty}}\right) + {v_{\rm d, total}P C(x,t) \over S u_\infty}=0 \cr
C(0,t)=C_0 f(t)\cr}
\stopformula
\startformula
C(x,t)=C_0 f\left(t-{x\over u_\infty}\right) \exp \left( - {v_{\rm d,
total}Px\over S u_\infty}\right)
\stopformula
\startformula
C_{{\rm out},(i,j),t} = P_{(i,j)} C_{{\rm in}, (i,j), t-L/u_\infty}
\stopformula
\startformula
{{\rm d} C\over {\rm d}t} = aPC_{\rm env}+n\epsilon P_{\rm fs} C_{\rm env}
+ {Sc \over V}+ n(1-\epsilon)P_{\rm fs}C
- (a+n+k) C + RL_{\rm fl}A_{\rm fl}
\stopformula
\startformula
C_\infty = {{(aP+n\epsilon P_{\rm fs}) C_{\rm env} +{Sc\over V} +
RL_{\rm fl} A_{\rm fl}}\over a+n+K-n(1-\epsilon)P_{\rm fs}}
\stopformula
\startformula
\left| {C(t)-C_\infty \over C_\infty}\right| = AB \quad \text{where
$A=\left|{C_{\rm I} / C_\infty}-1\right|$ and $B= \exp(k)$.}
\stopformula
\stoptext
Yue Wang
On Sat, Jan 31, 2009 at 12:28 AM, Hans Hagen
Yue Wang wrote:
After upgrading, \chem{CO_2} still gives me:
! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters.
sure, you need to wait till mojca has synced both context and luatex
----------------------------------------------------------------- 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 ___________________________________________________________________________________
Hi, Hans:
Now the results are ok.
However, luatex's result seems a little bit smaller than pdftex's
result (Pixel level comparison)?
http://yuleopen.googlepages.com/xetex.pdf
http://yuleopen.googlepages.com/luatex.pdf
http://yuleopen.googlepages.com/pdftex.pdf
http://yuleopen.googlepages.com/untitled-1.tex
Yue Wang
On Sat, Jan 31, 2009 at 3:12 PM, Yue Wang
Hi, Hans, please test the following formulas. All of them come from my thesis, and MKII typeset them right. MKIV produce the wrong result. I am using the nightly build from w32tex since the luatex binary in the minimals repository cannot generate the format correctly.
\starttext \startformula P_{(i,j)}=\sum_{n=1}^{n_s} P_{{\rm straight},n} \sum_{n=1}^{n_b} P_{{\rm bend},n} \stopformula \startformula P_{\rm straight}=\exp \left(-{pLV_{\rm d} \over AU_{\rm ave}}\right) \stopformula \startformula \eqalign{ &{Sc_{(i,j)} +R_{(i,j)}L_{(i,j)}A_{(i,j)}\over V_{(i,j)}} -{{\rm d} C_{{\rm out},(i,j)} \over {\rm d} t}-(a_{(i,j)}+n_{(i,j)}+K_{(i,j)})C_{{\rm out},(i,j)}\cr &+a_{(i,j)}P_{(i,j)}C_{\rm env} + n_{(i,j)}C_{{\rm in},(i,j)}=0\cr} \stopformula \startformula \sum_j Q_{(j,i)}=\sum_j Q_{(i,j)} \stopformula \startformula \sum_j Q_{(j,i)}C_{{\rm out},(j,i)} = \sum_j Q_{(i,j)}C_{{\rm in},(i,j)} \stopformula \startformula \cases{ \cases{ {{\rm d} C_{{\rm out},(i,j)} / {\rm d} t}=K_1C_{{\rm out},(i,j)} + K_2C_{{\rm in},(i,j)}+K_3 & if $(i,j)$ is room edge; \cr C_{{\rm out},(i,j)}=P_{(i,j)}C_{{\rm in},(i,j)} & otherwise.\cr } \cr \cases{ \left. C_{{\rm in},(i,j)}=\sum_k C_{{\rm out},(k,i)}Q_{(k,i)} \middle/ \sum_k Q_{(k,i)} \right. & for a given $(i,j)$, if $k$ exist.\cr C_{{\rm in},(i,j)}=C_{\rm env} &otherwise(fresh air duct).\cr } } \stopformula \startformula {{\rm d} {\bf y}\over {\rm d} t} = f(t,{\bf y}) \quad {\bf y}(0)={\bf k} \stopformula \startformula \cases{ {\partial C(x,t)\over \partial x} \left( 1+{1\over u_{\infty}}\right) + {v_{\rm d, total}P C(x,t) \over S u_\infty}=0 \cr C(0,t)=C_0 f(t)\cr} \stopformula \startformula C(x,t)=C_0 f\left(t-{x\over u_\infty}\right) \exp \left( - {v_{\rm d, total}Px\over S u_\infty}\right) \stopformula \startformula C_{{\rm out},(i,j),t} = P_{(i,j)} C_{{\rm in}, (i,j), t-L/u_\infty} \stopformula \startformula {{\rm d} C\over {\rm d}t} = aPC_{\rm env}+n\epsilon P_{\rm fs} C_{\rm env} + {Sc \over V}+ n(1-\epsilon)P_{\rm fs}C - (a+n+k) C + RL_{\rm fl}A_{\rm fl} \stopformula \startformula C_\infty = {{(aP+n\epsilon P_{\rm fs}) C_{\rm env} +{Sc\over V} + RL_{\rm fl} A_{\rm fl}}\over a+n+K-n(1-\epsilon)P_{\rm fs}} \stopformula \startformula \left| {C(t)-C_\infty \over C_\infty}\right| = AB \quad \text{where $A=\left|{C_{\rm I} / C_\infty}-1\right|$ and $B= \exp(k)$.} \stopformula \stoptext Yue Wang
On Sat, Jan 31, 2009 at 12:28 AM, Hans Hagen
wrote: Yue Wang wrote:
After upgrading, \chem{CO_2} still gives me:
! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters.
sure, you need to wait till mojca has synced both context and luatex
----------------------------------------------------------------- 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 ___________________________________________________________________________________
participants (2)
-
Hans Hagen
-
Yue Wang