On Wed, Jun 3, 2009 at 3:26 PM, Hans Hagen <pra...@wxs.nl> wrote:
> Zhichu Chen wrote:
>>
>> Well, I shouldn't say the module units is not fully supported, but
>> it won't give me what I want in MKIV. Those units it made are in
>> italic shape but I really need them to be upright.
>>
>> I think I don't need to provide a test file, 'cause any files don't
>> work for me.
>
> well, even then it helps to have a simple example showing the problem as now
> you expect someone else to key in something in order to solve your problem
>
> personally i only look into problem reports that come with a simple example
> (and i'm quite happy that in most cases reports come with such examples)
>
> so, can you make a small test?

Sure,
==============
\usemodule[units]

\starttext
$0.511\Mega\eVolt$
\stoptext
==============
This one will give me like "0.511eV" with the italic "eV" and no "M"
at all, besides,
these's no extra space between 0.511 and eV.

MKII works fine with it and gives "0.511 MeV" with upright MeV and some small
space in between.

I can also provide my log file (a bit long):

===============================================================
$ context test.tex && start test.pdf
MTXrun | run 1: luatex
--fmt="d:/ConTeXt/tex/texmf-cache/luatex-cache/context/0dd5b42bdd07abd55bf90fb1a48a099e/formats/c
ont-en" 
--lua="d:/ConTeXt/tex/texmf-cache/luatex-cache/context/0dd5b42bdd07abd55bf90fb1a48a099e/formats/cont-en.lui"
--b
ackend=pdf "./test.tex"
This is LuaTeX, Version beta-0.40.0-2009042214 (Web2C 7.5.7)
 \write18 enabled.
(test.tex
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated

ConTeXt  ver: 2009.06.02 22:10 MKIV  fmt: 2009.6.3  int: english/english

system          : cont-new loaded
(d:/ConTeXt/tex/texmf-local/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/cont-new.mkiv)
(d:/ConTeXt/tex/texmf-local/tex/context/base/cont-mtx.tex))
system          : cont-fil loaded
(d:/ConTeXt/tex/texmf-local/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys loaded
(d:/ConTeXt/tex/texmf-context/tex/context/user/cont-sys.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex) (
d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv)) (d
:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.mkiv)))
system          : test.top loaded
(test.top)
fonts           : preloading latin modern fonts
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.tex (d:
/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex (d:/
ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.tex (d:/Con
TeXt/tex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex (d:/ConT
eXt/tex/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex) (d:/ConT
eXt/tex/texmf-local/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv)) (d:/ConTe
Xt/tex/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeX
t/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.tex
(d:/ConTeXt/t
ex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/te
x/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/te
x/texmf-local/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex
/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/
texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/tex
mf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texm
f-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texm
f-local/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf
-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-
local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-loc
al/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-loca
l/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-tmf.tex)
(d:/ConTeXt/tex/texmf-loca
l/tex/context/base/type-siz.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-siz.mkiv))
(d:/ConTeXt/tex/texmf-local
/tex/context/base/type-otf.tex
(d:/ConTeXt/tex/texmf-local/tex/context/base/type-otf.mkiv))
(d:/ConTeXt/tex/texmf-local/
tex/context/base/type-otf.mkiv))
bodyfont        : 12pt rm is loaded
language        : language en is active
system          : module units loaded
(d:/ConTeXt/tex/texmf-local/tex/context/base/m-units.tex)
systems         : begin file test at line 3
fonts           : resetting map file list
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-empty.map}
fonts           : using map file: original-base
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-base.map}
fonts           : using map file: original-ams-base
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-ams-base.map}
fonts           : using map file: original-ams-euler
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-ams-euler.map}
fonts           : using map file: original-public-lm
{d:/ConTeXt/tex/texmf-local/fonts/map/pdftex/context/original-public-lm.map}
fonts           : using map file: lm-math
{d:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-math.map}
fonts           : using map file: lm-rm
{d:/ConTeXt/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1]
systems         : end file test at line 5
 
){d:/ConTeXt/tex/texmf/fonts/enc/dvips/lm/lm-mathit.enc}<d:/ConTeXt/tex/texmf/fonts/opentype/public/lm/lmroman12-regula
r.otf><d:/ConTeXt/tex/texmf/fonts/type1/public/lm/lmmi12.pfb>
mkiv lua stats : used config path          -
d:/ConTeXt/tex/texmf/web2c/texmf.cnf
mkiv lua stats : used cache path           - d:/ConTeXt/tex/texmf-cache
mkiv lua stats : input load time           - 0.051 seconds
mkiv lua stats : stored bytecode data      - 168 modules, 45 tables, 213 chunks
mkiv lua stats : cleaned up reserved nodes - 20 nodes, 8 lists of 1411
mkiv lua stats : node memory usage         - 19 glue_spec, 2 dir
mkiv lua stats : loaded patterns           - en:us:pat:exc:2
mkiv lua stats : startup time              - 2.890 seconds (including
runtime option file processing)
mkiv lua stats : jobdata time              - 0.061 seconds saving,
0.006 seconds loading
mkiv lua stats : callbacks                 - direct: 240, indirect:
28214, total: 28454
mkiv lua stats : loaded fonts              - 31 files: eufb10:tfm
eufb7:tfm eufb9:tfm eufm10:tfm eufm7:tfm eufm9:tfm lme
x10:tfm lmmi12:tfm lmmi7:tfm lmmi9:tfm lmmib10:tfm lmmib7:tfm
lmmono12-regular:otf lmmono8-regular:otf lmmono9-regular:o
tf lmroman12-bold:otf lmroman12-regular:otf lmroman7-bold:otf
lmroman7-regular:otf lmroman9-bold:otf lmroman9-regular:ot
f lmsans12-regular:otf lmsans8-regular:otf lmsans9-regular:otf
lmsy10:tfm lmsy7:tfm lmsy9:tfm msam10:tfm msam7:tfm msbm1
0:tfm msbm7:tfm
mkiv lua stats : fonts load time           - 0.751 seconds
mkiv lua stats : result saved in file      - test.pdf
mkiv lua stats : luatex banner             - this is luatex, version beta-0.40.0
mkiv lua stats : control sequences         - 29890 of 165536
mkiv lua stats : current memory usage      - 38 MB (ctx: 39 MB)
mkiv lua stats : runtime                   - 4.703 seconds, 1
processed pages, 1 shipped pages, 0.213 pages/second
MTXrun | total runtime: 6.540
==================================================================================

That's it.

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



-- 
Best Regards
Chen
----------------------------------------------------------------

          Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
         No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
             tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
                                               | www.sinap.ac.cn
----------------------------------------------------------------
___________________________________________________________________________________
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