ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \digits
@ 2003-08-29 17:59 Patrick Gundlach
  2003-08-31 21:48 ` \digits Hans Hagen
  2003-08-31 21:56 ` \digits Hans Hagen
  0 siblings, 2 replies; 8+ messages in thread
From: Patrick Gundlach @ 2003-08-29 17:59 UTC (permalink / raw)


Hello, 

while browsing the source, I came across the very nice \digits
macro. 

But I have some comments: In my opinion some characters don't look right

\starttext
\digits 123.222,=      % short, OK
\digits 123.222,==     % should be em dash (?)
\digits +123.222,22    % OK
\digits -123.222,33    % too small
\stoptext

The + and - should be the same size. 

Any comments?

Patrick
-- 
Silent is the goldfish in its bowl

^ permalink raw reply	[flat|nested] 8+ messages in thread
* \digits
@ 2009-02-24 20:06 Wolfgang Schuster
  2009-02-24 21:10 ` \digits Taco Hoekwater
  0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2009-02-24 20:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Feb 15, 2009 at 5:04 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> Hi,
>
> the \digits command cause a error message with the last beta in MkIV.
>
>
> % engine=luatex
> \starttext
> \digits{1.000}
> \stoptext
>
>
> ! \textfont 1 is undefined (character :).
> \mathematics #1->\relax \ifmmode #1\else $#1$
>                                             \fi
> \doscandigit ...\digitoutputmode ,\else .\fi \fi }
>                                                  \egroup
> \digitsep ...x \digitsepbox \hbox {\doscandigit #1
>                                                  }\fi \chardef \skipdigit
> 0...
> \scandigits #1->\if #1.\digitsep 1
>                                  \else \if #1,\digitsep 2\else \if
> #1@\digi...
> \next *#1->\dododohandletokens {#1}
>                                   \dohandletokens
> <argument> 1.
>             000
> ...
> l.3 \digits{1.000}
>
>
> Best regards,
> Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-02-24 22:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 17:59 \digits Patrick Gundlach
2003-08-31 21:48 ` \digits Hans Hagen
2003-08-31 21:56 ` \digits Hans Hagen
2003-09-01 11:01   ` \digits Patrick Gundlach
2003-09-04 19:42     ` \digits Hans Hagen
2009-02-24 20:06 \digits Wolfgang Schuster
2009-02-24 21:10 ` \digits Taco Hoekwater
2009-02-24 22:33   ` \digits Hans Hagen

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).