From: Patrick <kpa_info@yahoo.fr>
To: ntg-context@ntg.nl
Subject: [***SPAM***] Fonts problems with ConTeXt MKIV (LuaTeX)
Date: Thu, 08 Nov 2012 17:19:45 +0100 [thread overview]
Message-ID: <509BDBA1.7060005@yahoo.fr> (raw)
Dear all,
I have to use a special font (DIN) for my document. This font have a
really limited number of caracters.
Previously I was using ConTeXt MKII with no problems. After migrating to
ConTeXt MKiV the math formula and list doesn’t work due to the font.
It's like the charset used for the formula and the list bullet are not
available. I have not this issue with the same font with ConTeXt MKII.
The code used to load the font is not the same for the two version. With
MKIV I use the simplefonts module, with MKII I use typescript. Both code
are available below.
Do you have any idea how could I use DIN font with MKIV without breaking
math formula ?
Thanks in advance for any hint
Patrick
This is the code I use with MKIV:
\usemodule[simplefonts]
\definefontfeature[fakeitalic][default][slant=.25]
\setsansfont[din]
This is the code I use with MKII:
% Load the DIN font and set the typescript
\loadmapfile [texnansi-s-din.map]
\starttypescript [map] [gentium] [ec,texnansi,8r,t5,t2a,t2b,qx]
\loadmapfile [\typescriptthree-s-din.map]
\stoptypescript
\starttypescript [serif] [DIN] [texnansi]
\definefontsynonym[DIN-Black][texnansi-DIN-Black0][encoding=texnansi]
\definefontsynonym[DIN-Bold][texnansi-DIN-Bold0][encoding=texnansi]
\definefontsynonym[DIN-Light][texnansi-DIN-Light0][encoding=texnansi]
\definefontsynonym[DIN-Medium][texnansi-DIN-Medium0][encoding=texnansi]
\definefontsynonym[DIN-Regular][texnansi-DIN-Regular0][encoding=texnansi]
\stoptypescript
\starttypescript [serif] [DIN] [name]
\usetypescript[serif][fallback]
\definefontsynonym [Serif] [DIN-Regular]
\definefontsynonym [SerifItalic] [DIN-Light]
\definefontsynonym [SerifSlanted] [DIN-Light]
\definefontsynonym [SerifBold] [DIN-Bold]
\stoptypescript
\starttypescript [DIN]
\definetypeface [MyDIN] [rm] [serif] [DIN] [default] [encoding=texnansi]
\definetypeface [MyDIN] [ss] [sans] [default] [default]
[encoding=texnansi]
\definetypeface [MyDIN] [tt] [mono] [default] [default]
[encoding=texnansi]
\definetypeface [MyDIN] [mm] [math] [default] [default]
[encoding=texnansi]
\stoptypescript
\usetypescript[DIN]
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2012-11-08 16:19 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-08 16:19 Patrick [this message]
2012-11-09 8:17 ` Wolfgang Schuster
2012-11-09 8:37 ` Patrick
2012-11-09 8:42 ` Wolfgang Schuster
2012-11-09 9:47 ` Patrick
2012-11-09 10:06 ` Wolfgang Schuster
2012-11-09 10:42 ` Patrick
2012-11-09 10:56 ` luigi scarso
2012-11-09 11:16 ` Patrick
2012-11-09 11:27 ` luigi scarso
2012-11-09 13:23 ` Patrick
2012-11-09 16:12 ` luigi scarso
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=509BDBA1.7060005@yahoo.fr \
--to=kpa_info@yahoo.fr \
--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).