From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76906C433E0 for ; Fri, 22 Jan 2021 16:28:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 446D623A7D for ; Fri, 22 Jan 2021 16:28:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728622AbhAVQ2m convert rfc822-to-8bit (ORCPT ); Fri, 22 Jan 2021 11:28:42 -0500 Received: from smarthost01b.mail.zen.net.uk ([212.23.1.3]:40576 "EHLO smarthost01b.mail.zen.net.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729738AbhAVQ2h (ORCPT ); Fri, 22 Jan 2021 11:28:37 -0500 X-Greylist: delayed 81894 seconds by postgrey-1.27 at vger.kernel.org; Fri, 22 Jan 2021 11:28:36 EST Received: from [82.71.22.80] (helo=pip.localnet) by smarthost01b.mail.zen.net.uk with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1l2zHe-0007gv-J2; Fri, 22 Jan 2021 16:27:38 +0000 From: Deri To: groff@gnu.org Cc: "G. Branden Robinson" , "Michael Kerrisk (man-pages)" , linux-man Subject: Re: Escaping hyphens ("real" minus signs in groff) Date: Fri, 22 Jan 2021 16:27:38 +0000 Message-ID: <1730363.VJsQCkzT93@pip> In-Reply-To: <20210122035558.ny2u3ddel2mltrve@localhost.localdomain> References: <20210122035558.ny2u3ddel2mltrve@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" X-Originating-smarthost01b-IP: [82.71.22.80] Feedback-ID: 82.71.22.80 Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org On Friday, 22 January 2021 03:56:00 GMT G. Branden Robinson wrote: > The gap between aspiration and implementation. I don't think the > "copy-and-paste from PDF to terminal window" matter is completely sorted > out yet. Hi Branden, I can't seem to make this not work. In my last email I explained how a default ucmap is installed in the pdfs produced by gropdf, so assuming the pdf viewer supports the pdf standard it should not require a change to the man macros you favour. I have tested using 'xpdf' as the viewer which pastes:- - − fi <== without ucmap - - fi <== with ucmap Of course, if the pdf is produced by using grops and ghostscript the result will be the same as using gropdf with no ucmap, i.e. '-' and '\-' will be pasted as different characters. Cheers Deri