From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 14707 invoked from network); 9 Jan 2022 13:59:34 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 9 Jan 2022 13:59:34 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 4cea570e for ; Sun, 9 Jan 2022 08:59:30 -0500 (EST) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 0c9a1b1b for ; Sun, 9 Jan 2022 08:59:29 -0500 (EST) Received: by mail-wr1-f50.google.com with SMTP id r9so19936400wrg.0 for ; Sun, 09 Jan 2022 05:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:content-transfer-encoding; bh=eSfpVBL1S6LZWo9Co6Z9V++usk6BsoiTCU5RLgIfAv8=; b=ql24U7OUyhFd8QO3jB010aToVOc9VBevijNzpAdxA8ujAkGOmYG4L5aJxKEphiyXMn VYrerf4O7iPKNNy7ta9slIP7og+DAhg/ARQg7jphGFGEAFRp7IVtmPn90uPG3/9p0y8Q +mEStaZqrfcDE46oYOgLxvXFYVNUNIYj4k3amP/O/JjZTrNsxUIjCDtHN3o3chtA8cq3 B9+gLsi8I7EB+AcIts2ZxtgQ6i77HunzZSd9EihKbVYGlgdqVoxEjcJ8HsguA28Fmq9h 1U1gnRmMM7hdU2+viMQiebun/8bsdoje4iR7/k827eAY5qLcynqiaowi9YEwla98XZQI Kpiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :mime-version:content-disposition:content-transfer-encoding; bh=eSfpVBL1S6LZWo9Co6Z9V++usk6BsoiTCU5RLgIfAv8=; b=gCqQ2anUoBIItFVeqUyKULbrTTFT4/CKBbn+F/vv6wrLQT2VgMk/YXwpfPCx07Rw50 hlcvYXoE/sOmXNzA+BXrqJHuSP2QJwuxUtdVLY1lP5RJcN/YMnM8lJZnHU8MqINcfq9s rcJLoRc+dui8CRd3khpjekTS3Dvc/JVdLvrshC8k1pkhTa0tvNdJPP8twHAIRuyec2K5 cN9KiYnnxD3uaCsIUPzSrpAHVQZfcn9Rx6gJcZJoFJJxDXqAyqmsZvaqaRUr9IMPY+QO nwtWCp9Yxmgrp82KdrIRvBQrapTnInF8mO5pisV2mrjWKskf6YtJ15ua2mHq5suCjUTX l4oA== X-Gm-Message-State: AOAM532UOQvMRQz9HB2JL8Ix97xtSuH1asEw7kQAxXxiR9PcZzD1MVmT 335rhWXS19MM0DyHoM3BZ+5iz8RWFLY= X-Google-Smtp-Source: ABdhPJyts+cQAF7EPmuAVq8hhJKhpzqCGu1TMZTi7U32kLVHZktE9XQSqnsc/WDvSEZXbFgh11YEMw== X-Received: by 2002:a05:6000:18a5:: with SMTP id b5mr62727395wri.267.1641736768300; Sun, 09 Jan 2022 05:59:28 -0800 (PST) Received: from beryllium.local (dyndsl-095-033-039-102.ewe-ip-backbone.de. [95.33.39.102]) by smtp.gmail.com with ESMTPSA id p23sm4122466wms.3.2022.01.09.05.59.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jan 2022 05:59:27 -0800 (PST) Received: from localhost (beryllium.local [local]) by beryllium.local (OpenSMTPD) with ESMTPA id 1c7ae4ea for ; Sun, 9 Jan 2022 14:59:25 +0100 (CET) Date: Sun, 9 Jan 2022 13:59:25 +0000 From: Humm To: discuss@mandoc.bsd.lv Subject: \h in PostScript and PDF output Message-ID: Mail-Followup-To: discuss@mandoc.bsd.lv X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit Consider the input .TH A 1 .SH S a\h'1u'b For ASCII and UTF-8 output, in the output there is ab In PDF and PostScript output, the “b” is way too far to the right. The PostScript for it is 87.274 687.599(a)s 166.408(b)c That scales up: With \h'1n', the “b” is already off the page and thus not visible. For `a\h'1n'b c`, there is a line break before “c”. roff(7) does mention: (COMPATIBILITY) >Support for explicit movement requests and escapes is limited. I’m using Alpine Linux’s build of mandoc 1.14.6. --- The context is the way the (-)man page generator scdoc ( https://git.sr.ht/~sircmpwn/scdoc ) handles lists: A list item - a becomes .RS 4 .ie n \{\ \h'-04'\(bu\h'+03'\c .\} .el \{\ .IP \(bu 4 .\} a .RE apparently for the looks. -- Humm -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv