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=0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FORGED_MUA_MOZILLA,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,URIBL_SBL_A autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 3574 invoked from network); 2 Feb 2021 12:50:38 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 2 Feb 2021 12:50:38 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob1.topicbox.com (Postfix) with ESMTP id CFB4A36E16 for ; Tue, 2 Feb 2021 07:50:36 -0500 (EST) (envelope-from bounce.mMc36efd1fabd3853324e659b6.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id BFDD015ADC24; Tue, 2 Feb 2021 07:50:36 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=ankarstrom.se; spf=pass smtp.mailfrom=gcopg-9fans@m.gmane-mx.org smtp.helo=ciao.gmane.io; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=to:from:date:message-id:mime-version :content-type:content-transfer-encoding:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= sysmsg-1; t=1612270236; bh=kNCvUBWfairSM7n8X4Ss6A7NL6wJQwbFHer52 AQIdzQ=; b=SfEy12l/yq55YNOLXgzc856snuzChfcOMTzVnHNXgFjqy7LpIVGJ5 S3SYAhDJdYA8PJkwJ/2B1CV6gJ4NxhID568l32bn+zlDtDt9I0l/y3L1/Kyg9dwX DEa4ykuAKBKXNfElZPDULoAF5bMssMrv300YierV6qsv4w1vCusC2M= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1612270236; b=PxTSE+I1b9bVqHZXGvYJe8MBC1L1/2DW7xDqLjASiWGYDPAi8m QkOtruNT4hZdjhOeLzrcl7RZHdGrIvU3nQyZBtEKTUshSoLndcdV3yQxByPeY9H/ jb9tEB3C27j5vbFXA74pLN4AgGzansBcQIBbMH0Gh7NjORoUjK/wIBEAg= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=ankarstrom.se; spf=pass smtp.mailfrom=gcopg-9fans@m.gmane-mx.org smtp.helo=ciao.gmane.io; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=ankarstrom.se; iprev=pass smtp.remote-ip=116.202.254.214 (ciao.gmane.io); spf=pass smtp.mailfrom=gcopg-9fans@m.gmane-mx.org smtp.helo=ciao.gmane.io; x-aligned-from=fail; x-ptr=pass smtp.helo=ciao.gmane.io policy.ptr=ciao.gmane.io; x-return-mx=pass header.domain=ankarstrom.se policy.is_org=yes (MX Records found: mxext3.mailbox.org,mxext2.mailbox.org,mxext1.mailbox.org); x-return-mx=pass smtp.domain=m.gmane-mx.org policy.org_domain=gmane-mx.org policy.is_org=no (MX Records found: ciao.gmane.io); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=to:from :date:message-id:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; bh= 8D+6ac2LH7smJpZwcUrHGb1LkocQH+E4QlXFtagzAyc=; b=JjBmpyIwP3+l/HCJ zMQVnPwfUaUM08ivtnCQdCK44QHpqxvvKmoPZviLBWlQT3pnkto77QPCWEk4HW8T S3kuP2T9xBUFK8t1WgJ34khKtkBTIXDQEghG7TM4Kre46CkKoEMJW2SjykT7kGFU 6m5tiAHI+tN2qVxD82aSxsavlq8= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 01728144DC3D for <9fans@9fans.net>; Wed, 27 Jan 2021 15:57:23 -0500 (EST) (envelope-from gcopg-9fans@m.gmane-mx.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id D2315EF9D00; Wed, 27 Jan 2021 15:57:23 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1611781043; b=TZB2HD1MU4GmXvtxYaH0+N/AxJmFT/pKNUcL4Pp1A+UUYPrL7k ldwxC/YnsBS1q52Bc5HUjsmZSKGfN16WQgxwIHnjmSDuJs5l51Xp/pl1ZeO+qthg 46ge6xzoWdEesEJryxPLrUfk2b4L7yyhP3GwRsfRHEPawuDaIgGyhNwHjrQWJWsz 2wc60eEfu3PMxFqGedt8J/yC8ISQuRrSTnF6ypQo5E9acHg3OJVhO2f7/HybfcTO ecf14EfF2yZ+k2TRXAgEYL4n2F4mEFW3TS3rJHxq8tOHNuNkSTpno48i2qcQ9iek JpOxSJDDYnfjoJKMi5x+Aem2PzMjukl6wJlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=to:from:subject:date:message-id:mime-version :content-type:content-transfer-encoding; s=arcseal; t= 1611781043; bh=R2G8NPmnHM4P9uOkYq/6Qursrx4/wkyFP4PZo4uEzuw=; b=i 37M9xOLdkgxEHaySwAAGlA/6HfuFKqFPGofMGx8T2G5u7UoiCVWMNGKDbWqF76RE iAcBRu8dxnF7TfLci3PeUxgUHG2Jls3BkZgbEOEkixkvQDWeTpzHRZrBD8mzIqgo 1Uf3HKe1rWB3VHXIsWu+lMC+vkcDs/IS806gjOuItUaH2tbe1DD7xEj0M+Mit0Nf 8ULuJguZ+jkf/wMj9uRRFGbejF1GX6FlkxA9p79o2eWLAgnMe3sga6fk2d5QcA76 KTm89hxNgRtsizfHVxqs7EoLC1al5uIU6viktMaCHEJA7tZCKLRZzTKbBnCn0aV2 N5gKopuRnx/TapKa2MuYg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=none (no signatures found); dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=ankarstrom.se; iprev=pass smtp.remote-ip=116.202.254.214 (ciao.gmane.io); spf=pass smtp.mailfrom=gcopg-9fans@m.gmane-mx.org smtp.helo=ciao.gmane.io; x-aligned-from=fail; x-ptr=pass smtp.helo=ciao.gmane.io policy.ptr=ciao.gmane.io; x-return-mx=pass header.domain=ankarstrom.se policy.is_org=yes (MX Records found: mxext3.mailbox.org,mxext2.mailbox.org,mxext1.mailbox.org); x-return-mx=pass smtp.domain=m.gmane-mx.org policy.org_domain=gmane-mx.org policy.is_org=no (MX Records found: ciao.gmane.io); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrvdekgddugeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefvhffuff fkgggtgfgfsehtjeeptddtfeehnecuhfhrohhmpedflfhohhhnucetrddfuceojhhohhhn segrnhhkrghrshhtrhhomhdrshgvqeenucggtffrrghtthgvrhhnpeevudduveejtdfhvd eijeelvdejffekheeulefggfelffegffdtgeejvdfhveefvdenucfkphepudduiedrvddt vddrvdehgedrvddugeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvg htpeduudeirddvtddvrddvheegrddvudegpdhhvghloheptghirghordhgmhgrnhgvrdhi ohdpmhgrihhlfhhrohhmpeeoghgtohhpghdqlehfrghnshesmhdrghhmrghnvgdqmhigrd horhhgqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (m.gmane-mx.org: 116.202.254.214 is authorized to use 'gcopg-9fans@m.gmane-mx.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="gcopg-9fans@m.gmane-mx.org"; helo=ciao.gmane.io; client-ip=116.202.254.214 Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 27 Jan 2021 15:57:23 -0500 (EST) (envelope-from gcopg-9fans@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1l4rsP-0001Oi-Nr for 9fans@9fans.net; Wed, 27 Jan 2021 21:57:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: 9fans@9fans.net From: "John A." Date: Wed, 27 Jan 2021 21:57:23 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 X-Mozilla-News-Host: news://news.gmane.io:119 Topicbox-Policy-Reasoning: moderate: sender is a non-member Topicbox-Message-UUID: 43f7b17e-60e2-11eb-9181-93a64705be8a Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UNTI5ZDI0ZmVhMGJhOGUyMS1NYzM2ZWZkMWZhYmQzODUzMzI0ZTY1?= =?UTF-8?B?OWI2Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Plan 9 troff paper size solution List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:Mc36efd1fabd3853324e659b6:0:YuKmTpuv1qILw421D_OhkMh9LIkTA_ChJduIN2UfksQ Hi everyone, I've been trying to figure out how to create A4 documents with Plan 9 troff. Looking at the source of dpost and the PostScript output of GNU troff, I found a very easy solution. 1. Call dpost with -P to set the correct page size: dpost -P '<< /PageSize [ 595 842 ] /ImagingBBox null >> setpagedevice'=20 2. Use .pl to set the page length: .pl 29.7c 3. Use .ll (.nr LL with ms) to set the line length: .nr LL 15.92c \" assuming PO =3D 1i This seems to work properly with ms footers, too. The last two steps have been mentioned on the mailing list before, but I think the first step is new. Best regards John ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T529d24fea0ba8e21-Mc36ef= d1fabd3853324e659b6 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription