ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with \digits
@ 2009-06-16 14:46 richard.stephens
  2009-06-16 14:53 ` luigi scarso
  2009-09-07 17:19 ` Flavien Lambert
  0 siblings, 2 replies; 9+ messages in thread
From: richard.stephens @ 2009-06-16 14:46 UTC (permalink / raw)
  To: ntg-context


Hello,

I am using mkiv beta (14-Jun-09) and the \digits command does not like the
decimal point. Any suggestions?
Test code and log file follow:

Richard

====Test code====
\starttext
\digits{1.6}
\stoptext

====Log file====
This is LuaTeX, Version beta-0.40.5-2009061023 (Web2C 2009)
 \write18 enabled.
(testdigits.tex
color           : system all is global activated
color           : system gray is global activated
color           : mpcmyk color space is supported
color           : mpspot color space is supported
color           : system rgb is global activated
color           : system all is global activated

ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.6.16  int: english/english

system          : cont-new loaded
(C:/Tools/context/texmf-context/tex/context/base/cont-new.tex
systems         : beware: some patches loaded from cont-new.tex
(C:/Tools/context/texmf-context/tex/context/base/cont-new.mkiv)
(C:/Tools/context/texmf-context/tex/context/base/cont-mtx.tex))
system          : cont-fil loaded
(C:/Tools/context/texmf-context/tex/context/base/cont-fil.tex
loading         : ConTeXt File Synonyms
)
system          : cont-sys.rme loaded
(C:/Tools/context/texmf-context/tex/context/user/cont-sys.rme
(C:/Tools/context/texmf-context/tex/context/base/type-tmf.tex)
(C:/Tools/context/texmf-context/tex/context/base/type-siz.tex
(C:/Tools/context/texmf-context/tex/context/base/type-siz.mkiv))
(C:/Tools/context/texmf-context/tex/context/base/type-otf.tex
(C:/Tools/context/texmf-context/tex/context/base/type-otf.mkiv)))
system          : testdigits.top loaded
(testdigits.top)
fonts           : preloading latin modern fonts
bodyfont        : 12pt rm is loaded
language        : language en is active
systems         : begin file testdigits at line 1
! \textfont1 is undefined (character 58).
\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...
\dodohandletokenstwo *#1->\dododohandletokens {#1}
                                                  \dohandletokens
<argument> 1.
             6
...
l.2 \digits{1.6}

?



Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188  
Registered in England and Wales.  
Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.  

CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.  

Please consider the environment before printing this e-mail 
___________________________________________________________________________________
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] 9+ messages in thread
[parent not found: <mailman.0.1245232802.29561.ntg-context@ntg.nl>]
* Re: Re: Palatino? -> bitmap fonts???
@ 2005-03-16 19:01 Willi Egger
  2005-03-16 19:40 ` problem with \digits Martin Kolaøík
  0 siblings, 1 reply; 9+ messages in thread
From: Willi Egger @ 2005-03-16 19:01 UTC (permalink / raw)


Hi Mathias,

your example runs smoothly here, using:
	pdfeTeXk, Version 3.141592-1.20a-2.2
	ConTeXt  ver: 2005.01.26  fmt: 2005.1.26


1. Which version of ContTeXt do you run? A new version requires the 
map-files to be placed in  ...\fonts\map.

2. Niew versions of pdftex do nomore use a pdftex.cfg file. So the 
mapfiles must be loaded explicitely with \loadmapfile[...] or must be 
lodaed automatically - see also cont-usr.tex

Kind regards

Willi

Matthias Weber wrote:
> Hello,
> 
> I am not desperate to use new fonts right now, but whenever I see
> somebody with a success I'll give it a try.
> 
> Here is what happens to me when
> trying to use palatino (or any of the other fonts) with the sample file
> (Mac OS X, most recent gwTeX)
> 
> 
>> %% testing-fonts.tex
>> \usetypescript [adobekb][\defaultencoding]
>> \setupbodyfont[pos]
>> \usetypescript[palatino][\defaultencoding]
>> \setupbodyfont[palatino,12pt]
>>
>> %% for times uncomment this
>> %\usetypescript[times][\defaultencoding]
>> %\setupbodyfont[times,12pt]
>>
>> \starttext
>> \input knuth
>> \bigskip
>>
>> And this is some maths with PostScript fonts.
>> \startformula
>> {a \over b} = {c \over d} \iff ad - bc = 0, \qquad \int_0^{2\pi}  
>> \sin(x)^2dx =\pi, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0.
>> \stopformula
>>
>> \stoptext
> 
> 
> 
> It gives me the plain text in the right font, but as a bitmap font,  
> which reminds me of the bad old times
> when one looked at TeX output without the Adobe Type Manager in OS  7-9...
> 
> I get the warning (which I wouldn't be able to fix)
> 
>> Warning: pdfetex (file ec-urw-palatino.map): cannot open font map file
>> {/usr/local/teTeX/share/texmf.local/fonts/map/pdftex/context/original- 
>> youngryu-
>> px.map}]
> 
> 
> The math part uses the computer modern fonts as usual.
> 
> 
> Any clues what I'm missing?
> 
> Matthias
> 
> 
> 
> On Mar 11, 2005, at 4:57 AM, Patrick Gundlach wrote:
> 
>> Hello Thomas,
>>
>>
>> [...]
>>
>>> create the tfms myself with texfont, but I thought there was some
>>> default support for Palatino. Am I missing something?
>>
>>
>> Yes.... go to the garden and search for palatino. You'll find:
>>
>> http://contextgarden.net/Psnfss
>>
>>
>> Patrick
>> -- 
>> ConTeXt wiki: http://contextgarden.net
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

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

end of thread, other threads:[~2009-09-08 11:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16 14:46 Problem with \digits richard.stephens
2009-06-16 14:53 ` luigi scarso
2009-09-07 17:19 ` Flavien Lambert
2009-09-08 11:02   ` Hans Hagen
     [not found] <mailman.0.1245232802.29561.ntg-context@ntg.nl>
2009-06-18  8:06 ` richard.stephens
2009-06-18  8:24   ` luigi scarso
2009-06-18  8:26   ` luigi scarso
  -- strict thread matches above, loose matches on Subject: below --
2005-03-16 19:01 Re: Palatino? -> bitmap fonts??? Willi Egger
2005-03-16 19:40 ` problem with \digits Martin Kolaøík
2005-03-17  9:24   ` 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).