* Small issue with dimensions @ 2011-11-14 17:54 Vedran Miletić 2011-11-14 19:19 ` Romain Diss 0 siblings, 1 reply; 8+ messages in thread From: Vedran Miletić @ 2011-11-14 17:54 UTC (permalink / raw) To: NTG-ConTeXt mailing list Hi, the following code \starttext 1\unit{bit / second} \stoptext gives 1 econd tested with: mtx-context | current version: 2011.11.14 16:17 Vedran ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-14 17:54 Small issue with dimensions Vedran Miletić @ 2011-11-14 19:19 ` Romain Diss 2011-11-14 19:35 ` Vedran Miletić 0 siblings, 1 reply; 8+ messages in thread From: Romain Diss @ 2011-11-14 19:19 UTC (permalink / raw) To: NTG-ConTeXt mailing list; +Cc: Vedran Miletić Hi, On 14 nov 2011, Vedran Miletić wrote: > the following code > > \starttext > 1\unit{bit / second} > \stoptext > > gives > 1 econd It works correctly here with the latest beta. It gives "1 bit/s". I take the opportunity of this mail to mention again another \unit problem. I copy/paste here a part of a mail I sent two weeks ago but which didn't get any answer... > It seems that some unit combinations don't work very well with the \unit > macro. I have some problems with the m- (milli-) prefix but some tests reveal > other strange errors. > Here is a minimal example. The entries 02, 07, 08, 09, 10, 11, 12 and 15 > cause problem : > \starttext > \startbuffer > 00: \unit{10 mm} > 01: \unit{10 km} > 02: \unit{10,2 mA} > 03: \unit{123 kA} > 04: \unit{0,001 MA} > 05: \unit{1 dal} > 06: \unit{2.21 GW} > 07: \unit{345 mW} > 08: \unit{152.20 mHz} > 09: \unit{55.5 mmol} > 10: \unit{6.7 mol/l} > 11: \unit{125 g/l} > 12: \unit{125 g / l} > 13: \unit{125 km/s} > 14: \unit{125 m/s} > 15: \unit{125 mA/s} > 16: 1\unit{bit / second} > \stopbuffer > \typebuffer > Result: \startlines \getbuffer \stoplines > \stoptext All the best. -- Romain Diss <romain.diss@yahoo.fr> ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-14 19:19 ` Romain Diss @ 2011-11-14 19:35 ` Vedran Miletić 2011-11-14 19:44 ` Romain Diss 0 siblings, 1 reply; 8+ messages in thread From: Vedran Miletić @ 2011-11-14 19:35 UTC (permalink / raw) To: Romain Diss; +Cc: NTG-ConTeXt mailing list Datuma 14. studenoga 2011. 20:19 Romain Diss <romain.diss@yahoo.fr> je napisao/la: > Hi, > > On 14 nov 2011, Vedran Miletić wrote: >> the following code >> >> \starttext >> 1\unit{bit / second} >> \stoptext >> >> gives >> 1 econd > It works correctly here with the latest beta. It gives "1 bit/s". It does. I posted the wrong code, sorry. Therefore: \starttext 1\unit{second} \stoptext gives 1 econd. Vedran ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-14 19:35 ` Vedran Miletić @ 2011-11-14 19:44 ` Romain Diss 2011-11-15 10:12 ` Vedran Miletić 0 siblings, 1 reply; 8+ messages in thread From: Romain Diss @ 2011-11-14 19:44 UTC (permalink / raw) To: Vedran Miletić; +Cc: NTG-ConTeXt mailing list On 14 nov 2011, Vedran Miletić wrote: > Datuma 14. studenoga 2011. 20:19 Romain Diss <romain.diss@yahoo.fr> je > napisao/la: > > On 14 nov 2011, Vedran Miletić wrote: > >> the following code > >> > >> \starttext > >> 1\unit{bit / second} > >> \stoptext > >> > >> gives > >> 1 econd > > > > It works correctly here with the latest beta. It gives "1 bit/s". > > It does. I posted the wrong code, sorry. Therefore: > > \starttext > 1\unit{second} > \stoptext > > gives 1 econd. But \unit{1 second} gives the correct result... -- Romain Diss <romain.diss@yahoo.fr> ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-14 19:44 ` Romain Diss @ 2011-11-15 10:12 ` Vedran Miletić 2011-11-17 8:26 ` Hans Hagen 0 siblings, 1 reply; 8+ messages in thread From: Vedran Miletić @ 2011-11-15 10:12 UTC (permalink / raw) To: Romain Diss; +Cc: NTG-ConTeXt mailing list Datuma 14. studenoga 2011. 20:44 Romain Diss <romain.diss@yahoo.fr> je napisao/la: >> \starttext >> 1\unit{second} >> \stoptext >> >> gives 1 econd. > > But \unit{1 second} gives the correct result... Indeed, but IIRC Hans' original approach was 1\unit{second} style of writing[1]. I would like to know if this can be fixed. Vedran [1] http://www.ntg.nl/pipermail/ntg-context/2011/059762.html ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-15 10:12 ` Vedran Miletić @ 2011-11-17 8:26 ` Hans Hagen 2011-11-17 18:25 ` Vedran Miletić 2011-11-19 21:40 ` Vedran Miletić 0 siblings, 2 replies; 8+ messages in thread From: Hans Hagen @ 2011-11-17 8:26 UTC (permalink / raw) To: mailing list for ConTeXt users; +Cc: Vedran Miletić On 15-11-2011 11:12, Vedran Miletić wrote: > Datuma 14. studenoga 2011. 20:44 Romain Diss<romain.diss@yahoo.fr> je > napisao/la: >>> \starttext >>> 1\unit{second} >>> \stoptext >>> >>> gives 1 econd. >> >> But \unit{1 second} gives the correct result... > > Indeed, but IIRC Hans' original approach was 1\unit{second} style of > writing[1]. I would like to know if this can be fixed. I'll look into it (first I have some deadlines to catch). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-17 8:26 ` Hans Hagen @ 2011-11-17 18:25 ` Vedran Miletić 2011-11-19 21:40 ` Vedran Miletić 1 sibling, 0 replies; 8+ messages in thread From: Vedran Miletić @ 2011-11-17 18:25 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users Datuma 17. studenoga 2011. 09:26 Hans Hagen <pragma@wxs.nl> je napisao/la: > I'll look into it (first I have some deadlines to catch). > > Hans Thanks. Vedran ___________________________________________________________________________________ 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] 8+ messages in thread
* Re: Small issue with dimensions 2011-11-17 8:26 ` Hans Hagen 2011-11-17 18:25 ` Vedran Miletić @ 2011-11-19 21:40 ` Vedran Miletić 1 sibling, 0 replies; 8+ messages in thread From: Vedran Miletić @ 2011-11-19 21:40 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users Datuma 17. studenoga 2011. 09:26 Hans Hagen <pragma@wxs.nl> je napisao/la: > On 15-11-2011 11:12, Vedran Miletić wrote: >> >> Datuma 14. studenoga 2011. 20:44 Romain Diss<romain.diss@yahoo.fr> je >> napisao/la: >>>> >>>> \starttext >>>> 1\unit{second} >>>> \stoptext >>>> >>>> gives 1 econd. >>> >>> But \unit{1 second} gives the correct result... >> >> Indeed, but IIRC Hans' original approach was 1\unit{second} style of >> writing[1]. I would like to know if this can be fixed. > > I'll look into it (first I have some deadlines to catch). > > Hans Just updated to latest minimals and rechecked, it's fixed. Thanks. Vedran ___________________________________________________________________________________ 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] 8+ messages in thread
end of thread, other threads:[~2011-11-19 21:40 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-11-14 17:54 Small issue with dimensions Vedran Miletić 2011-11-14 19:19 ` Romain Diss 2011-11-14 19:35 ` Vedran Miletić 2011-11-14 19:44 ` Romain Diss 2011-11-15 10:12 ` Vedran Miletić 2011-11-17 8:26 ` Hans Hagen 2011-11-17 18:25 ` Vedran Miletić 2011-11-19 21:40 ` 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).