ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* font loading
@ 2005-08-19 15:40 Idris Samawi Hamid
  0 siblings, 0 replies; 2+ messages in thread
From: Idris Samawi Hamid @ 2005-08-19 15:40 UTC (permalink / raw)


Hi Taco,

>===== Original Message From Taco Hoekwater <taco@elvenkind.com> =====

>> There is apparently something wrong with the indenting mechanism in the

>I've verified this bug, but will probably have to wait until Hans is
>back (i don't understand his changes to \setupindenting)

Ok, but is there at least a workaround for the problems loading the math and 
other default fonts? This is really critical:

>===== Original Message From mailing list for ConTeXt users 
<ntg-context@ntg.nl> =====
Another bug/feature:

Something has apparently changed in the way fonts/maps are loaded.

The following used to work, now does not

====================
% output=pdf interface=en

\usetypescriptfile[type-mpoow]
\usetypescript[MinionProOptow]
\setupbodyfont[minionprooptow,10pt]

\starttext

\dots

\stoptext
====================

The typescript file is my own, but the following line is relevant:

=====================
\definetypeface [minionprooptow]
[mm] [math] [euler] [default] [encoding=texnansi,rscale=0.89]
=====================

When I process this the log gives

=====================
Warning: pdfetex.exe (file eurm10): Font eurm10 at 64 not found
=====================

Second: why doesn't the ellipsis use the main text font? I guess that \dots is
obtained from the math font, but in running text this makes no sense.

Shouldn't ConTeXt define \dots with respect the text font? Or does it use
something other than \dots?

[update: I used a chardef, but doesn't ConTeXt have a more general ellipsis 
command?]

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

* RE: font loading
@ 2005-08-19 17:14 Idris Samawi Hamid
  0 siblings, 0 replies; 2+ messages in thread
From: Idris Samawi Hamid @ 2005-08-19 17:14 UTC (permalink / raw)


Hi Taco

>===== Original Message From Taco Hoekwater <taco@elvenkind.com> =====
>Without the actual typefaces I can only guess, but have you tried
>
>   \loadmapfile[original-ams-euler]
>
>(or even  \loadmapfile[context-base])
>
>lines like that are in the newer cont-sys.rme file, but chances are
>that your local cont-sys.tex doesn't have them yet. In any case, you
>should check for major differences between your local config files
>and the distributed .ori ones

Ok, I have cont-sys.rme/tex/ori. Which one of these three governs the system? 
In any case, both .ori and .tex have the same mapfiles loaded, including euler 
etc.

Here is an example anyone can run: it gives similar pdfetex errors (Font 
texnansi-lmbx12 at 60 not found) This file worked with the older ConTeXt:

================type-test.tex=================
%% font mapping
\starttypescript   [serif]    [test]           [texnansi]
\definefontsynonym [LMRSerif] [texnansi-lmbx12][encoding=texnansi]
\stoptypescript

%% general names
\starttypescript   [serif]    [test]           [name]
\definefontsynonym [Serif]    [LMRSerif]
\stoptypescript

%% font sizes
\starttypescript   [serif]    [test]           [size]
\definebodyfont [4pt,5pt,6pt,7pt,8pt,9pt,10pt,11pt,12pt,14.4pt,17.3pt]
  [rm]
  [tf=Serif sa 1]
\stoptypescript

%% hanging
\starttypescript  [serif]     [hanging][test]

\setupfontsynonym [Serif]     [handling=normal]
\setupfontsynonym [SerifCapt] [handling=normal]

\stoptypescript

%% final typefaces
\starttypescript[LMRTest]

\definebodyfontenvironment
  [LMRTest]
  [default]
  [interlinespace=2.8ex]

\definetypeface [lmrtest]
[rm] [serif] [test] [test] [encoding=texnansi]
\stoptypescript
==============================================

test file:

================fonttest.tex==================
% output=pdf interface=en

\usetypescriptfile[type-test]
\usetypescript[LMRTest]
\setupbodyfont[lmrtest,10pt]

%  \loadmapfile[original-base.map]

\starttext

\dots ABCD

\stoptext
==============================================

Best
Idris

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

end of thread, other threads:[~2005-08-19 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-19 15:40 font loading Idris Samawi Hamid
2005-08-19 17:14 Idris Samawi Hamid

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