![](https://secure.gravatar.com/avatar/117a058bed6945e7fa1b40ff2f6e7aa7.jpg?s=120&d=mm&r=g)
On Wed, Jun 3, 2009 at 3:26 PM, Hans Hagen
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}
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 ----------------------------------------------------------------