ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stefan Wachter <stefan.wachter@gmx.de>
Subject: Re: How to switch between fonts?
Date: Fri, 18 Mar 2005 14:41:40 +0100	[thread overview]
Message-ID: <423ADA94.5030208@gmx.de> (raw)
In-Reply-To: <4239EF75.9050004@wxs.nl>

[-- Attachment #1: Type: text/plain, Size: 1885 bytes --]

Hi Hans,

thanks for the information. I changed my test document accordingly and 
deleted obsolete parts from the typescript.

When I use the "builtInPostscript" or the "reencodedPostscript" as the 
sole body font then the document is typeset correctly. Yet, if I try to 
switch the family for example to the reencodedPostscript then the text 
that follows after the switch does not appear in the created PDF document.

Do you have an idea?
--Stefan


\enableregime[il1]
\setupencoding[default=texnansi]
\setupoutput[pdftex]
\pdfoptionpdfminorversion 4

\usetypescriptfile[smallpdf.tex]

\definetypeface [builtInPostscript] [rm] [serif] [times]     [default] 
[encoding=ec]
\definetypeface [builtInPostscript] [ss] [sans]  [helvetica] [default] 
[encoding=ec]
\definetypeface [builtInPostscript] [tt] [mono]  [courier]   [default] 
[encoding=ec]
%\definetypeface [builtInPostscript] [mm] [math]  [times]     [default]

\usetypescript[reencode][texnansi][texnansi]

\definetypeface [reencodedPostscript] [rm] [serif] [times]     [default] 
[encoding=texnansi]
\definetypeface [reencodedPostscript] [ss] [sans]  [helvetica] [default] 
[encoding=texnansi]
\definetypeface [reencodedPostscript] [tt] [mono]  [courier]   [default] 
[encoding=texnansi]
%\definetypeface [reencodedPostscript] [mm] [math]  [times]     [default]

\setupbodyfont[builtInPostscript,sans,15pt]

\mainlanguage[de]
\setupheadertexts[]

\def\Show{This is a test. 45\char176 \quotedblbase äöüßÄÖÜ\quotedblleft}
\def\ShowVariants{\Show\par{\bf\Show}\par{\it\Show}\par{\bi\Show}\par}

\starttext\pdfmapfile{+smallpdf.map}

{\ss Helvetica\par\ShowVariants}
{\rm Times-Roman\par\ShowVariants}
{\tt Courier\par\ShowVariants}

\reencodedPostscript

{\ss Helvetica\par\ShowVariants}
{\rm Times-Roman\par\ShowVariants}
{\tt Courier\par\ShowVariants}

\stoptext



[-- Attachment #2: smallpdf.tex --]
[-- Type: application/x-tex, Size: 3228 bytes --]

[-- Attachment #3: smallpdf.map --]
[-- Type: text/plain, Size: 1349 bytes --]

raw-phvr8a Helvetica
raw-phvb8a Helvetica-Bold
raw-phvbo8a Helvetica-BoldOblique
raw-phvro8a Helvetica-Oblique
raw-ptmr8a Times-Roman
raw-ptmb8a Times-Bold
raw-ptmbi8a Times-BoldItalic
raw-ptmri8a Times-Italic
raw-pcrr8a Courier
raw-pcrb8a Courier-Bold
raw-pcrbo8a Courier-BoldOblique
raw-pcrro8a Courier-Oblique
raw-psyr Symbol
raw-pzdr ZapfDingbats

texnansi-raw-phvb8a Helvetica-Bold " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-phvro8a Helvetica-Oblique " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-phvr8a Helvetica " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-phvbo8a Helvetica-BoldOblique " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-pcrb8a Courier-Bold " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-pcrbo8a Courier-BoldOblique " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-pcrr8a Courier " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-pcrro8a Courier-Oblique " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-ptmr8a Times-Roman " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-ptmri8a Times-Italic " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-ptmbi8a Times-BoldItalic " TeXnANSIEncoding ReEncodeFont " <texnansi.enc
texnansi-raw-ptmb8a Times-Bold " TeXnANSIEncoding ReEncodeFont " <texnansi.enc

[-- Attachment #4: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-03-18 13:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16  8:33 Stefan Wachter
2005-03-17 20:58 ` Hans Hagen
2005-03-18 13:41   ` Stefan Wachter [this message]
2005-03-18 14:12     ` Hans Hagen
2005-03-18 15:16       ` Stefan Wachter

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=423ADA94.5030208@gmx.de \
    --to=stefan.wachter@gmx.de \
    --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).