* text symbols
@ 2003-04-08 21:43 Jens-Uwe Morawski
2003-04-09 7:24 ` Patrick Gundlach
0 siblings, 1 reply; 2+ messages in thread
From: Jens-Uwe Morawski @ 2003-04-08 21:43 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]
Hi,
often PS and TTF fonts include some common symbols like "registered",
"trademark"... Currently i try to build an interface to access them
independent from the current font encoding.
The following test file (using the attached typescripts):
%%%
% output=pdftex interface=en
\enableregime[il1]
\mainlanguage[de]
\usetypescriptfile[cts-at-test]
\usetypescriptfile[cts-textsymbols]
\usetypescript[textsymbols][all,ec,8r]
\definetypeface[BodyFontT][rm][serif][AdobeTimes][default][encoding=ec]
\definetypeface[BodyFontR][rm][serif][AdobeTimes][default][encoding=8r]
\setupbodyfont[BodyFontT,rm,10pt]
\starttext
Das ist das Copyright-Symbol: \symbol[textcopyright].
\stoptext
%%%
gives the error:
kpathsea: Running mktextfm TextSymbols
/opt/TeXLive/texmf/web2c/mktexnam: Could not map source abbreviation T for TextSymbols.
/opt/TeXLive/texmf/web2c/mktexnam: Need to update /opt/TeXLive/texmf/fontname/special.map?
mktextfm: Running mf \mode:=ljfour; mag:=1; nonstopmode; input TextSymbols
This is METAFONT, Version 2.7182 (Web2C 7.3.7x)
kpathsea: Running mktexmf TextSymbols
! I can't find file `TextSymbols'.
Why is there a problem? Why tries \getglyph{TextSymbols}{...} the font
'TextSymbols' directly instead of going to 'TextSymbolsSerif'. The
symbols are defined according to the setup of the Adobe Euro fonts
(symb-eur.tex). Thus it should work.
Jens
[-- Attachment #2: cts-at-test.tex --]
[-- Type: application/x-tex, Size: 878 bytes --]
[-- Attachment #3: cts-textsymbols.tex --]
[-- Type: application/x-tex, Size: 11279 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: text symbols
2003-04-08 21:43 text symbols Jens-Uwe Morawski
@ 2003-04-09 7:24 ` Patrick Gundlach
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Gundlach @ 2003-04-09 7:24 UTC (permalink / raw)
Jens-Uwe Morawski <morawski@gmx.net> writes:
Hello Jens,
> The following test file (using the attached typescripts):
> %%%
> % output=pdftex interface=en
> \enableregime[il1]
> \mainlanguage[de]
>
> \usetypescriptfile[cts-at-test]
> \usetypescriptfile[cts-textsymbols]
\usetypescript[serif][AdobeTimes][all]
[...]
but this will not suffice, since
\definesymbol[textdegree] [{\symbol[\currentencoding-textdegree]}]
will expand the \currentencoding before it can be used. The symbol
will print "default-textdegree". I don't know how to save the cs
\currentencoding.
Patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-09 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-08 21:43 text symbols Jens-Uwe Morawski
2003-04-09 7:24 ` Patrick Gundlach
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).