Hi, Hans

On Fri, Jan 30, 2009 at 11:53 AM, Yue Wang <yuleo...@gmail.com> wrote:
> sorry for the noise, after switching to experimental, the problem is solved.

by the way, this used to be working in MKIV:
\definefontfeature[zh][mode=node, script=hang, lang=zhs]
\definefontsynonym[zhserif][AdobeSongStd-Light][features=zh]
\definefont[ChineseFont][zhserif at 12pt]

however, in experimental version, it will report zhserif not found.
So I can only write something like:
\definefont[ChineseFont][AdobeSongStd-Light*zh at 12pt]

Bug or feature?

btw, I can use setfontfeature, how can I unset a font feature?


Also, Another experimental bug to report, the following source won't
compile on experimental:


\usetypescript[palatino]
\setupbodyfont[palatino,rm,10pt]

\usemodule[units,pictex,chemic]
\starttext
 \chemical{SO_2}
\stoptext

It reports:

This is luaTeX, Version snapshot-0.33.0-2009012823
(untitled-2.tex

ConTeXt  ver: 2009.01.29 22:33 MKIV  fmt: 2009.1.30  int: english/english

system         : cont-new loaded
(D:/context/tex/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(D:/context/tex/texmf-context/tex/context/base/cont-new.mkiv)
(D:/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system         : cont-fil loaded
(D:/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading        : Context File Synonyms
)
system         : cont-sys.rme loaded
(D:/context/tex/texmf-context/tex/context/user/cont-sys.rme
(D:/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(D:/context/tex/texmf-context/tex/context/base/type-siz.tex)
(D:/context/tex/texmf-context/tex/context/base/type-otf.tex))
bodyfont       : 12pt  is loaded
bodyfont       : style  is not defined
specials       : pdftex loaded
language       : language en is active
system         : untitled-2.top loaded
(untitled-2.top)
bodyfont       : style mm (mm) defined
system         : module units loaded
(D:/context/tex/texmf-context/tex/context/base/m-units.tex
check          : unit Angstrom replaces a macro, use CAPITALS!
)
system         : module pictex loaded
(D:/context/tex/texmf-context/tex/context/base/m-pictex.tex
(D:/context/tex/texmf-context/tex/context/base/thrd-pic.tex))
system         : module chemic loaded
(D:/context/tex/texmf-context/tex/context/base/m-chemic.tex
system         : module pictex (line 21) already loaded
(D:/context/tex/texmf-context/tex/context/base/ppchtex.tex
ppchtex        : using PiCTeX and MetaPost
))
systems        : begin file untitled-2 at line 6
! 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.7  \chemical{SO_2}

?




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
___________________________________________________________________________________

Reply via email to