From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 11:54:39 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A77F1065672 for ; Tue, 19 Jul 2011 11:54:39 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id A61468FC12 for ; Tue, 19 Jul 2011 11:54:38 +0000 (UTC) Received: from park.js.berklix.net (p5DCBECCD.dip.t-dialin.net [93.203.236.205]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p6JBsam3016139; Tue, 19 Jul 2011 11:54:36 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p6JBsiQX021636; Tue, 19 Jul 2011 13:54:44 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p6JBsTm9091796; Tue, 19 Jul 2011 11:54:34 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201107191154.p6JBsTm9091796@fire.js.berklix.net> To: freebsd-questions@freebsd.org From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 18 Jul 2011 16:59:01 +0200." <20110718145901.GB71153@slackbox.erewhon.net> Date: Tue, 19 Jul 2011 13:54:29 +0200 Sender: jhs@berklix.com Cc: , Roland Smith Subject: Re: groff && UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 11:54:39 -0000 > If you want to produce postscript output from groff, you will have to deal > with postscript fonts. The usual Type 1 fonts are single-byte fonts. Groff > only deals with Latin-1 characters (see groff_char(7)). What is Latin-1 ? ( BTW is Latin a common misnomer ? - I recall Latin by Romans on stones omits curved characters, as difficult for stone masons' chisels. Latin with ink had a bit of a bigger alphabet I recall, but had less than English, & English has less than German. I generate German umlauts with groff, to postscript & html output. ( For those lucky people who've not needed to know what Umlauts are: The 2 dots above A O U in German (can also be represented as AE, OE, UE - theres also a double SS (lower case only) that looks like a beta sign, ths ss got officialy dumped last decade, practically it's still seen). Groff escapes: \(:A \(:O \(:U \(:a \(:o \(:u \(ss I define groff macros http://www.berklix.com/~jhs/standards/umlauts.rof & I use in .rof eg: \*(:u & my Makefile macros can swith to output either .ps or .html with HTML escapes: Ä Ö Ü ä ö ü &sslig; Americans are lucky, unburdered by extended randomised European alphabets etc: I (English, but in Germany decades) find European extra characters a pain: There used to be multiple variants of single byte allocations for Umlauts (see URL above), & 4 german keyboard layouts (normal & ISO) x (German & Swiss). The Swedish O with a line through is a pipe in Ascii - (A pain importing Swedish translations for shell scripts). Even the British dont have same keyboard layout as native American PC scan codes (blame that on typewriter manufacturers way back) - (try searching for ~ | > < ' 1 on British & German keyboards in single user mode after a failed boot). Russian keyboards move all numbers 1 to the [right?]. ( So forget eg country codes 1, 7, 49 (per tel.) as a selector on trilingual American / German / Russian keyboard. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.