From: "José Miguel García Urrutia" <josemgu91@gmail.com>
To: 64578@debbugs.gnu.org
Subject: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.
Date: Tue, 11 Jul 2023 23:25:42 -0500 [thread overview]
Message-ID: <CAGQFwfgr-=jqC_SKLnsHxXgABhoZRTGL_ZYwuu0EgJ7YAG0wPw@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 179 bytes --]
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.
Thank you.
José Miguel García Urrutia.
[-- Attachment #1.2: Type: text/html, Size: 245 bytes --]
[-- Attachment #2: 0001-orgcard.tex-modified-to-allow-a-correct-rendering-in.patch --]
[-- Type: application/octet-stream, Size: 2449 bytes --]
From 80872d6be88b7c6da4eb27a512067e6fb02ef671 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Miguel=20Garc=C3=ADa=20Urrutia?=
<josemgu91@gmail.com>
Date: Tue, 11 Jul 2023 23:15:57 -0500
Subject: [PATCH] orgcard.tex modified to allow a correct rendering in PDF
format and US letter page size (it now can be printed as a triptych)
---
etc/refcards/orgcard.tex | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
mode change 100644 => 100755 etc/refcards/orgcard.tex
diff --git a/etc/refcards/orgcard.tex b/etc/refcards/orgcard.tex
old mode 100644
new mode 100755
index 07463ee6a33..7b0a7370cae
--- a/etc/refcards/orgcard.tex
+++ b/etc/refcards/orgcard.tex
@@ -11,10 +11,14 @@
% Specify how many you want here.
\columnsperpage=3
+% Set letterpaper to 0 for A4 paper, 1 for letter (US) paper. Useful
+% only when columnsperpage is 2 or 3.
+\letterpaper=1
+
% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
% a landscape layout.
\input pdflayout.sty
-\pdflayout=(0l)
+\pdflayout=(1l)
% Nothing else needs to be changed below this line.
% Copyright (C) 1987, 1993, 1996--1997, 2001--2023 Free Software
@@ -113,17 +117,14 @@
\footline{\hss\folio}
\def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else %2 or 3 columns uses prereduced size
+ \hsize 3.2in
\if 1\the\letterpaper
- \hsize 3.2in
\vsize 7.95in
- \hoffset -.75in
- \voffset -.745in
\else
- \hsize 3.2in
\vsize 7.65in
- \hoffset -.25in
- \voffset -.745in
\fi
+ \hoffset -.75in
+ \voffset -.745in
\font\titlefont=cmbx10 \scaledmag2
\font\headingfont=cmbx10 \scaledmag1
\font\smallfont=cmr6
@@ -280,7 +281,7 @@
%**end of header
\f
-\title{Org-Mode Reference Card (1/2)}
+\title{Org-Mode Reference Card}
\centerline{(for version \orgversionnumber)}
@@ -329,7 +330,7 @@ \section{Capture - Refile - Archiving}
\key{archive subtree using the default command}{C-c C-x C-a}
\key{move subtree to archive file}{C-c C-x C-s}
\key{toggle ARCHIVE tag / to ARCHIVE sibling}{C-c C-x a/A}
-\key{force cycling of an ARCHIVEd tree}{C-c C-TAB}
+\key{force cycling of an ARCHIVEd tree}{C-TAB}
\section{Filtering and Sparse Trees}
@@ -482,7 +483,7 @@ \section{Completion and Template Insertion}
\newcolumn
-\title{Org-Mode Reference Card (2/2)}
+\title{Org-Mode Reference Card}
\centerline{(for version \orgversionnumber)}
--
2.41.0
next reply other threads:[~2023-07-12 4:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-12 4:25 José Miguel García Urrutia [this message]
2023-07-13 10:51 ` bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych Ihor Radchenko
2023-07-13 14:17 ` José Miguel García Urrutia
2023-09-15 8:50 ` Ihor Radchenko
2023-11-15 9:26 ` Ihor Radchenko
2023-11-19 20:10 ` Bastien Guerry
2023-11-19 20:20 ` José Miguel García Urrutia
2023-12-04 12:51 ` Ihor Radchenko
2023-12-04 17:58 ` José Miguel García Urrutia
2023-12-04 18:17 ` José Miguel García Urrutia
2023-12-05 4:00 ` Kyle Meyer
2023-12-05 12:37 ` Syncing orgcard.tex with upstream Emacs (was: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.) Ihor Radchenko
2023-12-06 1:44 ` Kyle Meyer
2023-12-06 14:13 ` Ihor Radchenko
2023-12-07 4:53 ` Kyle Meyer
2023-12-07 10:42 ` Ihor Radchenko
2023-12-08 3:14 ` Kyle Meyer
2023-12-05 12:34 ` bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych Ihor Radchenko
2024-01-17 11:47 ` Ihor Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGQFwfgr-=jqC_SKLnsHxXgABhoZRTGL_ZYwuu0EgJ7YAG0wPw@mail.gmail.com' \
--to=josemgu91@gmail.com \
--cc=64578@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.