* m-units
@ 2001-09-29 18:11 Thomas Lohmann
2001-09-29 21:12 ` m-units Tobias Burnus
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Lohmann @ 2001-09-29 18:11 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 329 bytes --]
Hello,
using m-units, no space appears at the end of the unit. In the example
... Dichte 2,65 \Gram\Per\Cubic\Centi\Meter, 27\% Portlandzement der
Dichte 3,1 \Gram\Per\Cubic\Centi\Meter und 22\% Wasser beträgt ...
appears no space before the comma and even before the "und".
What wrong?
Thank you,
Greetings
Thomas Lohmann
[-- Attachment #2: test.log --]
[-- Type: text/plain, Size: 1740 bytes --]
This is pdfeTeX, Version 3.14159-13d-2.1 (Web2C 7.3.1) (format=cont-en 2000.7.29) 21 AUG 2001 21:48
entering extended mode
**&cont-en test
(test.tex[/var/lib/texmf/pdftex/config/pdftex.cfg]
ConTeXt ver: 2000.1.31 fmt: 2000.7.29 int: english mes: english
language : language en is active
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
line 43: inserting E-TEX code \unless
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
bodyfont : 12pt rm is loaded
language : patterns 2-deo-2 2-en-2 2-uk-2 2-de-2 2-fr-2 2-sp-2 2-nl-2 loa
ded
specials : tex,postscript,rokicki loaded
\openout2 = `test.tui'.
system : test.top loaded
(./test.top) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
system : macros of module chart loaded
(/usr/share/texmf/tex/context/base/m-chart.tex) (./test.tuo)
systems : begin file test at line 3
system : saving buffer flw-1
\openout4 = `flw-1.tmp'.
systems : end file test at line 14
)
Here is how much of TeX's memory you used:
366 strings out of 32413
3992 string characters out of 406753
298038 words of memory out of 1100001
21347 multiletter control sequences out of 10000+25000
9049 words of font info for 28 fonts, out of 400000 for 1000
22 hyphenation exceptions out of 1000
27i,1n,44p,125b,234s stack positions out of 1500i,500n,1500p,50000b,5000s
No pages of output.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: m-units
2001-09-29 18:11 m-units Thomas Lohmann
@ 2001-09-29 21:12 ` Tobias Burnus
0 siblings, 0 replies; 4+ messages in thread
From: Tobias Burnus @ 2001-09-29 21:12 UTC (permalink / raw)
Hallo Thomas, hi all,
> using m-units, no space appears at the end of the unit. In the example
> ... Dichte 2,65 \Gram\Per\Cubic\Centi\Meter, 27\% Portlandzement der
> Dichte 3,1 \Gram\Per\Cubic\Centi\Meter und 22\% Wasser beträgt ...
> appears no space before the comma and even before the "und".
Well I actually wouldn't expect an space between the 'm' (metre) and a
',' (comma). But there should be naturally a space between 'm' and the
'u' of 'und'.
> What wrong?
I think everything is ok. \TeX\ uses the space after the \Meter to see
it as end-macro-sign. So \TeX{} needs to know that it hasn't to read on.
Solutions:
a) '\Meter\ und'
b) '\Meter{} und'
c) '{\Meter} und'
I actually prefer the first one.
It is possible to try to find out whether a "\foo " should eat the space
or not, but it is not very easy to make it always right. (I think it is
somewhere in de-tex-faq also described, but I cannot find it right now.)
"It's a feature not a bug" ;-)
Tobias
--
My programs don't have bugs only random features.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: m-units
2010-08-03 12:49 m-units Vedran Miletić
@ 2010-08-03 17:33 ` Vedran Miletić
0 siblings, 0 replies; 4+ messages in thread
From: Vedran Miletić @ 2010-08-03 17:33 UTC (permalink / raw)
To: Hans Hagen, NTG-ConTeXt mailing list
Datuma 3. kolovoza 2010. 14:49 Vedran Miletić <rivanvx@gmail.com> je napisao/la:
> Hi,
>
> I made some changes to m-units.tex. According to Wikipedia [1], Bit
> should be denoted as "bit", Byte as "B" and Baud as "Bd". I also added
> binary prefixes.
>
> Hope this is acceptable.
>
> Regards,
>
> --
> Vedran Miletić
>
> [1] http://en.wikipedia.org/wiki/Units_of_information
>
This version also adds zebi and yobi prefixes, mentioned at [2]
http://www.inf.uniri.hr/~vmiletic/context/m-units.tex.zip
Regards,
--
Vedran Miletić
[2] http://www.iec.ch/news_centre/release/nr2005/nr2005.htm
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* m-units
@ 2010-08-03 12:49 Vedran Miletić
2010-08-03 17:33 ` m-units Vedran Miletić
0 siblings, 1 reply; 4+ messages in thread
From: Vedran Miletić @ 2010-08-03 12:49 UTC (permalink / raw)
To: Hans Hagen, NTG-ConTeXt mailing list
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
Hi,
I made some changes to m-units.tex. According to Wikipedia [1], Bit
should be denoted as "bit", Byte as "B" and Baud as "Bd". I also added
binary prefixes.
Hope this is acceptable.
Regards,
--
Vedran Miletić
[1] http://en.wikipedia.org/wiki/Units_of_information
[-- Attachment #2: m-units.tex.gz --]
[-- Type: application/x-gzip, Size: 6955 bytes --]
[-- Attachment #3: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-03 17:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-29 18:11 m-units Thomas Lohmann
2001-09-29 21:12 ` m-units Tobias Burnus
2010-08-03 12:49 m-units Vedran Miletić
2010-08-03 17:33 ` m-units Vedran Miletić
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).