ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "李 树钧" <hooklee75@hotmail.com>
Subject: RE: My ConTeXt cannot use Type1 fonts...
Date: Sat, 02 Apr 2005 01:04:43 +0800	[thread overview]
Message-ID: <BAY17-F15019196782892A5426A2AA2380@phx.gbl> (raw)
In-Reply-To: <20050331203717.54552128B8@ronja.ntg.nl>

Hi,

Thank Idris Samawi Hamid and Geert for their help on clarifying this 
problem.
Today I saw a solution from a Chinese TeXer, and now I understand why the 
Type1 fonts cannot be recognized.

To make ConTeXt support Chinese, I maintain a file named 
tex\contex\user\cont-sys.tex, which is a modifed copy of 
texmf\tex\context\user\cont-sys.rme.
In this file, there are the following codes:

.......
\resetmapfiles

\donefalse \ifx\pdftexversion\undefined \else 
\ifnum\number\pdftexversion>119
  \donetrue
\fi \fi \ifdone

  \loadmapfile[original-base.map]
  \loadmapfile[original-ams-base.map]
  \loadmapfile[original-public-lm.map]

\else

  \loadmapfile[original-base.map]
  \loadmapfile[texnansi-base.map]
  \loadmapfile[ec-base.map]
  \loadmapfile[qx-base.map]
  \loadmapfile[t5-base.map]
  %loadmapfile[il2-base.map]
  %loadmapfile[pl0-base.map]
  \loadmapfile[8r-base.map]

  \loadmapfile[original-ams-base.map]
  \loadmapfile[original-ams-euler.map]

  \loadmapfile[original-public-lm.map]
  \loadmapfile[texnansi-public-lm.map]
  \loadmapfile[ec-public-lm.map]
  \loadmapfile[qx-public-lm.map]
  \loadmapfile[t5-public-lm.map]
  \loadmapfile[pl0-public-lm.map]
  \loadmapfile[il2-public-lm.map]

\fi
.......

These codes let ConTeXt load the map files for pdftex, so psfonts.map is 
omitted by ConTeXt.
As a result, we have two solutions to overcome this problem:

1. comment all the above codes, and let ConTeXt to read font maps via 
pdftex;
2. add a line "\loadmapfile[xxx.map]" to explicitly load the required map, 
just as we should do in the beginning of a tex file (Geert's solution). 

Hope the above information is useful for other ConTeXters.

Shujun

_________________________________________________________________
与联机的朋友进行交流,请使用 MSN Messenger:  http://messenger.msn.com/cn  

       reply	other threads:[~2005-04-01 17:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050331203717.54552128B8@ronja.ntg.nl>
2005-04-01 17:04 ` 李 树钧 [this message]
2005-03-31 18:01 Idris Samawi Hamid
     [not found] <20050331155756.3CE24128B8@ronja.ntg.nl>
2005-03-31 17:23 ` 李 树钧

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BAY17-F15019196782892A5426A2AA2380@phx.gbl \
    --to=hooklee75@hotmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).