From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 0ef8fade; for ; Mon, 23 Mar 2015 01:21:50 -0500 (EST) Received: by igbqf9 with SMTP id qf9so30505142igb.1 for ; Sun, 22 Mar 2015 23:21:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:in-reply-to:references:comments :mime-version:content-type:content-id:date:message-id; bh=FytNnTArrsDyYYzcp8BxGmpE7VwsH5WF+nXIaMJRP1A=; b=SFlQUwGycJkB8qe9qAkGWklgmTO5kIdr5HfYApGQbAsNNnqiBPGBxmZS6qGGRxMZQj vcdUje5sIEufKjb7JSWrCEVzVTSfb7gbztC46trfDT5fc2BIYwcmn6zWtGDHUf17Avb4 xs6THqshljw40CyAs2HZytBwgjH3W1NStx3Lf1t0HlLM5w403BbtGZciwH3NSix6JUak qKqpGMwGiUPqxEAqf4OSMnwNBTujOEFmbdZ86+9rBblwtm/FlavHcbRmfkTyfebVAyw5 /FcGZHvPmDUwXRPEU0+wSAmIPu7YTH7FQT04ijOUlM+6eKcePPCDx8OuEiLnZfyHfWQK mGiQ== X-Gm-Message-State: ALoCoQkJG6OUBlTa3vjBzzV1jYtNqKil6xSVUJ6wqqw6/IEEv49zEd4A83kffEoJkWnM2ymVPqs2 X-Received: by 10.50.131.196 with SMTP id oo4mr12450675igb.2.1427091709340; Sun, 22 Mar 2015 23:21:49 -0700 (PDT) Received: from cathet.us. (75-161-5-152.albq.qwest.net. [75.161.5.152]) by mx.google.com with ESMTPSA id q78sm9703431ioi.28.2015.03.22.23.21.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Mar 2015 23:21:48 -0700 (PDT) Received: from CATHET.us (localhost [127.0.0.1]); by cathet.us. (OpenSMTPD) with ESMTP id 56f34d9a; for ; Mon, 23 Mar 2015 00:21:47 -0600 (MDT) From: "Anthony J. Bentley" To: tech@mdocml.bsd.lv Subject: Re: manpages patch: escape apostrophe, grave, tilde In-reply-to: <20150321200110.GA32119@athene.usta.de> References: <20198.1426930253@CATHET.us> <20150321200110.GA32119@athene.usta.de> Comments: In-reply-to Ingo Schwarze message dated "Sat, 21 Mar 2015 21:01:10 +0100." X-Mailinglist: mdocml-tech Reply-To: tech@mdocml.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29786.1427091706.1@CATHET.us> Date: Mon, 23 Mar 2015 00:21:46 -0600 Message-ID: <17693.1427091706@CATHET.us> Hi Ingo, Ingo Schwarze writes: > Hi Anthony, > > Anthony J. Bentley wrote on Sat, Mar 21, 2015 at 03:30:53AM -0600: > > > Both groff and Heirloom troff transform the following characters in > > typeset output such as -Tpdf: > > > > transforms ` into U+2018 (left single quote) > > transforms ' into U+2019 (right single quote) > > transforms ~ into U+02DC (small tilde) > > > > (Plan 9 and mandoc only do the first two.) > > > > These, particularly the second one, are desirable when used in prose. > > But when the original ASCII character is meant (such as when listing > > command-line input, or describing how to escape characters), it must > > be escaped to provide correct output in all formats. > > I hate this. It is backwards, i consider it a bug in troff. I wouldn't call it a bug. Converting ' to an apostrophe is a very natural thing for a typesetter to do, and troff has done so since the mid 1970s if not earlier. The vast majority of uses of ', even in manuals, are in prose, not code examples that need a literal ASCII '. Escaping the few instances where it is necessary is not a huge burden. I do care about PDF output. In fact for at least five years I've often referred to groff's PDF output when looking at manuals because it provides a greater visual distinction between different types of semantic input than the terminal, or even mandoc HTML output. -- Anthony J. Bentley -- To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv