From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25015 Path: news.gmane.org!not-for-mail From: Louis Springer Newsgroups: gmane.comp.tex.context Subject: Monospace Fonts for Verbatim Date: Sat, 7 Jan 2006 10:57:46 -0600 Message-ID: <1C7A1FE7-90DC-4A1F-A2E6-31F6815A5EA8@louspringer.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1136653224 4752 80.91.229.2 (7 Jan 2006 17:00:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Jan 2006 17:00:24 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 07 18:00:20 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EvHQM-000274-4M for gctc-ntg-context-518@m.gmane.org; Sat, 07 Jan 2006 18:00:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B98E61276B; Sat, 7 Jan 2006 18:00:13 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18537-01; Sat, 7 Jan 2006 18:00:13 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B1D28127A8; Sat, 7 Jan 2006 17:58:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4496C127A8 for ; Sat, 7 Jan 2006 17:58:26 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18372-03 for ; Sat, 7 Jan 2006 17:58:24 +0100 (CET) Original-Received: from mail.networksolutionsemail.com (omr1.networksolutionsemail.com [205.178.146.51]) by ronja.ntg.nl (Postfix) with SMTP id 725BA1276B for ; Sat, 7 Jan 2006 17:58:24 +0100 (CET) Original-Received: (qmail 19422 invoked from network); 7 Jan 2006 16:58:22 -0000 Original-Received: from unknown (HELO ?192.168.0.13?) (24.9.181.16) by 10.49.34.111 with SMTP; 7 Jan 2006 16:58:22 -0000 Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25015 Archived-At: I have a typescript I am using for a custom font, but the custom font has no monospace variant appropriate for verbatim text. I'm attempting to use Courier or some other monospace font for verbatim and maintain my custom font for normally typeset serf text. My broken typescript is as follows: \starttypescript [map][sunsans,sunserif][texnansi] \loadmapfile[texnansi-sun-sunsans.map] \loadmapfile[texnansi-sun-sunserif.map] \stoptypescript % sans serif \starttypescript [sans] [sunsans] [name] \definefontsynonym[Sans] [SunSans-Regular] \definefontsynonym[SansItalic] [SunSans-Italic] \definefontsynonym[SansBold] [SunSans-RegularDemi] \definefontsynonym[SansBoldItalic] [SunSans-Regular-BoldOblique] \stoptypescript \starttypescript [sans] [sunsans] [texnansi] \usetypescript[sans][fallback] \definefontsynonym[SunSans-Heavy][texnansi-SunSans-Heavy] [encoding=texnansi] \definefontsynonym[SunSans-Italic][texnansi-SunSans-Italic] [encoding=texnansi] \definefontsynonym[SunSans-Regular-Bold][texnansi-SunSans-Regular- Bold][encoding=texnansi] \definefontsynonym[SunSans-Regular-BoldOblique][texnansi-SunSans- Regular-BoldOblique][encoding=texnansi] \definefontsynonym[SunSans-Regular][texnansi-SunSans-Regular] [encoding=texnansi] \definefontsynonym[SunSans-RegularDemi][texnansi-SunSans-RegularDemi] [encoding=texnansi] \stoptypescript %serif \starttypescript [serif] [sunserif] [name] \definefontsynonym[Serif] [SunSerif-Regular] \definefontsynonym[SerifItalic] [SunSerif-Italic] \definefontsynonym[SerifBold] [SunSerif-Regular-Bold] \definefontsynonym[SerifBoldItalic] [SunSerif-Regular-Bold-Italic] \stoptypescript \starttypescript [serif] [sunserif] [texnansi] \usetypescript[serif][fallback] \definefontsynonym[SunSerif-Italic][texnansi-SunSerif-Italic] [encoding=texnansi] \definefontsynonym[SunSerif-Regular-Bold-Italic][texnansi-SunSerif- Regular-Bold-Italic][encoding=texnansi] \definefontsynonym[SunSerif-Regular-Bold][texnansi-SunSerif-Regular- Bold][encoding=texnansi] \definefontsynonym[SunSerif-Regular][texnansi-SunSerif-Regular] [encoding=texnansi] \stoptypescript %monospace \starttypescript [mono] [sunserif] [name] \usetypescript[mono][fallback] \definefontsynonym[Serif] [Mono] \stoptypescript The last bit (around the comment "monospace") is my apparently futile attempt to get the verbatim to use the default monospace font. I get the desired results with a kludge if I replace \definefontsynonym[Serif] [SunSerif-Regular] with \definefontsynonym[Serif] [Mono] but this affects "normally" typeset serif. Ideally, I would like to have in the SunSerif-Regular typeface for non-verbatim serif text. Lou