From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jos=C3=A9?= Miguel =?UTF-8?Q?Garc=C3=ADa?= Urrutia Newsgroups: gmane.emacs.bugs Subject: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych. Date: Thu, 13 Jul 2023 09:17:54 -0500 Message-ID: References: <874jm8ythh.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000043361806005f0074" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32657"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64578@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 13 18:55:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJzb4-0008Ht-4e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Jul 2023 18:55:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJzap-0003Sx-Af; Thu, 13 Jul 2023 12:55:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJzao-0003Sn-68 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 12:55:02 -0400 Original-Received: from [2001:470:142:5::43] (helo=debbugs.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qJzan-0007wl-TJ for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 12:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qJzan-0005qz-P9 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 12:55:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jos=C3=A9?= Miguel =?UTF-8?Q?Garc=C3=ADa?= Urrutia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2023 16:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64578 X-GNU-PR-Package: emacs Original-Received: via spool by 64578-submit@debbugs.gnu.org id=B64578.168926726522453 (code B ref 64578); Thu, 13 Jul 2023 16:55:01 +0000 Original-Received: (at 64578) by debbugs.gnu.org; 13 Jul 2023 16:54:25 +0000 Original-Received: from localhost ([127.0.0.1]:40708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJza9-0005q0-AS for submit@debbugs.gnu.org; Thu, 13 Jul 2023 12:54:25 -0400 Original-Received: from mail-lf1-f46.google.com ([209.85.167.46]:45180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qJx93-0005Cv-FU for 64578@debbugs.gnu.org; Thu, 13 Jul 2023 10:18:15 -0400 Original-Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-4f4b2bc1565so1359114e87.2 for <64578@debbugs.gnu.org>; Thu, 13 Jul 2023 07:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689257887; x=1691849887; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=EmfI9u9oDHtub5Zd1O48nGt56p1FCVpqLn0vF6lI0HA=; b=g6ATGZ78Wee/0Uo11x5RUnxMYpoUKP0prP0Hh0HVJelWXOTiRKxEHTtRh91SBNgKxH 44bh8q2SBjW+IClPKyvlMyj9S99afCMBGrxeS4S18Y6fRgbzIxk9xpAcfyA2Uo7fNPpD HZLwa0Yvs8Zkh2aRArUQW41TMJ1yL1ogD+I91+37csxEgqbUDtsV9e8HpPPdcTaDaPCc PlQBpMt5sGYYRissv24UTV4Ijzjaf3NNkdUWh3ghkwgNWJMqLxHmzSVWujQcOSIBjsWs MQeoSZoCGrpEMTatgyZJeRKpqCwn5H0t/NwcobA+LAtd1ivvHpaYHFMnwYcsKoekn2xY ApuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689257887; x=1691849887; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EmfI9u9oDHtub5Zd1O48nGt56p1FCVpqLn0vF6lI0HA=; b=iyU9tIJJVmkamjXSO/2Z/+v9u+Elt15l9/su3XWqa1t+TRJKMtZulPH5KQ8WNRn3QB Vy7NeB6I6FYscIL/me4oR/NCv7V0jj+Pu2DLZvdKy4BYZXTBzFzSrLkVtHkPFEiNEn6L aPYIpHwYVcFfgjz0LclwcOefyY9G7VMIyKw/0Bcko6OXQXYgT7qWcPgBl+/guExvuiUl YcpQzUpwOYpIqOJutZvJhyuWwk/4NNiHt4sHI2+XiD6qNWmKWNQF7XmE9jHZf6ey7rH2 IQ/tzfUdkBLpoiMwWEp4znnVkfeuwR1PaCcFAgsiNomk+3KyKF4wsnt44p6I12Pi17G2 eU+A== X-Gm-Message-State: ABy/qLZ0qKh/SgEx5k6wO3BXF/Jb3MgJvbJuD+D1MGR5y8qzsYGOODq3 kA3dwu5hk+JpMjsDpsg1OMzPRt2HiooBpIYU1qI= X-Google-Smtp-Source: APBJJlFSFI1dkUWfQsPdgNeF1szzWfFZd6W7Nmy7qJ0x/ixQktZnfr4yTAyfSapHOHy7n1aorAKoi6fX3TWJjZH1DbE= X-Received: by 2002:a05:6512:ba8:b0:4f9:a542:91c with SMTP id b40-20020a0565120ba800b004f9a542091cmr1572215lfv.3.1689257886558; Thu, 13 Jul 2023 07:18:06 -0700 (PDT) In-Reply-To: <874jm8ythh.fsf@localhost> X-Mailman-Approved-At: Thu, 13 Jul 2023 12:54:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265031 Archived-At: --00000000000043361806005f0074 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I=E2=80=99ve removed the =E2=80=9C(1/2)=E2=80=9D and =E2=80=9C(2/2)=E2=80= =9D numbers from the titles as they overflow the columns, making them to be wider than expected thus breaking the triptych format. The US letter paper size is the same as the Emacs reference card. The published PDF org-mode reference card is the rendered version of this tex file. It=E2=80=99s in A4 format and the columns doesn=E2=80=99t have th= e same size, making impossible to do a triptych with same sized columns. This is why I modified it. On Thu, 13 Jul 2023 at 05:51 Ihor Radchenko wrote: > Jos=C3=A9 Miguel Garc=C3=ADa Urrutia writes: > > > Hello, this is a patch that fixes the orgcard.tex file PDF rendering to > > allow it to be used as a triptych in US letter page format. > > > > % Specify how many you want here. > > \columnsperpage=3D3 > > > > +% Set letterpaper to 0 for A4 paper, 1 for letter (US) paper. Useful > > +% only when columnsperpage is 2 or 3. > > +\letterpaper=3D1 > > + > > % PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for > > % a landscape layout. > > \input pdflayout.sty > > -\pdflayout=3D(0l) > > +\pdflayout=3D(1l) > > I will leave this to Emacs devs to decide about the layout. > The reference cards in Emacs follow certain format. > I am not sure if this patch is breaking it or not. > > > -\key{force cycling of an ARCHIVEd tree}{C-c C-TAB} > > +\key{force cycling of an ARCHIVEd tree}{C-TAB} > > This is wrong. Org's default binding is C-c C-TAB. > > > -\title{Org-Mode Reference Card (2/2)} > > +\title{Org-Mode Reference Card} > > Why? > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --00000000000043361806005f0074 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I=E2=80=99ve removed the =E2=80=9C(1/2)=E2=80=9D and =E2= =80=9C(2/2)=E2=80=9D numbers from the titles as they overflow the columns, = making them to be wider than expected thus breaking the triptych format.
The US letter paper size is the same as the Emacs refe= rence card.
The published PDF org-mode reference car= d is the rendered version of this tex file. It=E2=80=99s in A4 format and t= he columns doesn=E2=80=99t have the same size, making impossible to do a tr= iptych with same sized columns. This is why I modified it.

On Thu, 13 J= ul 2023 at 05:51 Ihor Radchenko <= yantar92@posteo.net> wrote:
= Jos=C3=A9 Miguel Garc=C3=ADa Urrutia <josemgu91@gmail.com> writes:

> Hello, this is a patch that fixes the orgcard.tex file PDF rendering t= o
> allow it to be used as a triptych in US letter page format.
>
>=C2=A0 % Specify how many you want here.
>=C2=A0 \columnsperpage=3D3
>=C2=A0
> +% Set letterpaper to 0 for A4 paper, 1 for letter (US) paper.=C2=A0 U= seful
> +% only when columnsperpage is 2 or 3.
> +\letterpaper=3D1
> +
>=C2=A0 % PDF output layout.=C2=A0 0 for A4, 1 for letter (US), a `l'= ; is added for
>=C2=A0 % a landscape layout.
>=C2=A0 \input pdflayout.sty
> -\pdflayout=3D(0l)
> +\pdflayout=3D(1l)

I will leave this to Emacs devs to decide about the layout.
The reference cards in Emacs follow certain format.
I am not sure if this patch is breaking it or not.

> -\key{force cycling of an ARCHIVEd tree}{C-c C-TAB}
> +\key{force cycling of an ARCHIVEd tree}{C-TAB}

This is wrong. Org's default binding is C-c C-TAB.

> -\title{Org-Mode Reference Card (2/2)}
> +\title{Org-Mode Reference Card}

Why?

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--00000000000043361806005f0074--