GNU bug report logs -
#64578
orgcard.tex fixes to allow PDF rendering to be used as a triptych.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64578 in the body.
You can then email your comments to 64578 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Wed, 12 Jul 2023 07:19:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
José Miguel García Urrutia <josemgu91 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 12 Jul 2023 07:19:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]
[0001-orgcard.tex-modified-to-allow-a-correct-rendering-in.patch (application/octet-stream, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Thu, 13 Jul 2023 10:52:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 64578 <at> debbugs.gnu.org (full text, mbox):
José Miguel García Urrutia <josemgu91 <at> gmail.com> 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=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)
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>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Thu, 13 Jul 2023 16:55:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 64578 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I’ve removed the “(1/2)” and “(2/2)” 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’s in A4 format and the columns doesn’t have the 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 <yantar92 <at> posteo.net> wrote:
> José Miguel García Urrutia <josemgu91 <at> gmail.com> 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=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)
>
> 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>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Fri, 15 Sep 2023 08:51:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 64578 <at> debbugs.gnu.org (full text, mbox):
Ihor Radchenko <yantar92 <at> posteo.net> writes:
> José Miguel García Urrutia <josemgu91 <at> gmail.com> 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=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)
>
> 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.
Ping!
--
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>
Added tag(s) patch.
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 22 Sep 2023 09:02:02 GMT)
Full text and
rfc822 format available.
Severity set to 'wishlist' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 22 Sep 2023 09:02:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Wed, 15 Nov 2023 16:32:01 GMT)
Full text and
rfc822 format available.
Message #21 received at 64578 <at> debbugs.gnu.org (full text, mbox):
Ihor Radchenko <yantar92 <at> posteo.net> writes:
>> 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.
>
> Ping!
I cannot see any obvious problem with the layout and no objection have
been raised by the Emacs devs, so I am inclined to merge the patch
except the incorrect key binding change.
I will wait another week and go ahead with the merge.
--
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>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Sun, 19 Nov 2023 20:11:01 GMT)
Full text and
rfc822 format available.
Message #24 received at 64578 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Ihor Radchenko <yantar92 <at> posteo.net> writes:
> I cannot see any obvious problem with the layout and no objection have
> been raised by the Emacs devs, so I am inclined to merge the patch
> except the incorrect key binding change.
The vast majority of Emacs refcards is using A4 layout, which I
think is fine for the Org refcard.
Attached are the current version and the one with the new layout.
I do like the current version better, even for the (1/2) and (2/2)
parts, that I find missing.
José Miguel, what are you exactly trying to fix? Is it about
adding flexibility to the layout so that, if needed, one can use
the US letter format?
--
Bastien
[orgcard_new.pdf (application/pdf, attachment)]
[orgcard.pdf (application/pdf, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Mon, 20 Nov 2023 05:19:01 GMT)
Full text and
rfc822 format available.
Message #27 received at 64578 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello Bastien, the current Org refcard cannot be used as a triptych (I’ve
tried with both Letter and A4 paper) in contrast to the Emacs refcard
(which can be used as a triptych when printed with Letter paper).
When checking its Tex source code, I’ve found that there are some
parameters missing and also one of the columns overflows because the title
is too long.
With the patched version I was able to print it in Letter paper and use it
as a triptych, like I did with the Emacs refcard.
Best regards,
José García.
On Sun, 19 Nov 2023 at 15:10 Bastien Guerry <bzg <at> gnu.org> wrote:
> Ihor Radchenko <yantar92 <at> posteo.net> writes:
>
> > I cannot see any obvious problem with the layout and no objection have
> > been raised by the Emacs devs, so I am inclined to merge the patch
> > except the incorrect key binding change.
>
> The vast majority of Emacs refcards is using A4 layout, which I
> think is fine for the Org refcard.
>
> Attached are the current version and the one with the new layout.
> I do like the current version better, even for the (1/2) and (2/2)
> parts, that I find missing.
>
> José Miguel, what are you exactly trying to fix? Is it about
> adding flexibility to the layout so that, if needed, one can use
> the US letter format?
>
> --
> Bastien
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Mon, 04 Dec 2023 12:49:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 64578 <at> debbugs.gnu.org (full text, mbox):
José Miguel García Urrutia <josemgu91 <at> gmail.com> writes:
> Hello Bastien, the current Org refcard cannot be used as a triptych (I’ve
> tried with both Letter and A4 paper) in contrast to the Emacs refcard
> (which can be used as a triptych when printed with Letter paper).
> ..
> With the patched version I was able to print it in Letter paper and use it
> as a triptych, like I did with the Emacs refcard.
Before I proceed, may I know if you have FSF copyright assignment?
Also, may you update the patch against the Org mode repository
(https://git.savannah.gnu.org/cgit/emacs/org-mode.git/), removing the
incorrect key binding change, and adding the commit message as described
in https://orgmode.org/worg/org-contribute.html#commit-messages ?
--
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>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Mon, 04 Dec 2023 18:00:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 64578 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Sure I can update the patch. I don't have the ''FSF copyright assignment'',
what's the process for that?
On Mon, Dec 4, 2023 at 7:48 AM Ihor Radchenko <yantar92 <at> posteo.net> wrote:
> José Miguel García Urrutia <josemgu91 <at> gmail.com> writes:
>
> > Hello Bastien, the current Org refcard cannot be used as a triptych (I’ve
> > tried with both Letter and A4 paper) in contrast to the Emacs refcard
> > (which can be used as a triptych when printed with Letter paper).
> > ..
> > With the patched version I was able to print it in Letter paper and use
> it
> > as a triptych, like I did with the Emacs refcard.
>
> Before I proceed, may I know if you have FSF copyright assignment?
>
> Also, may you update the patch against the Org mode repository
> (https://git.savannah.gnu.org/cgit/emacs/org-mode.git/), removing the
> incorrect key binding change, and adding the commit message as described
> in https://orgmode.org/worg/org-contribute.html#commit-messages ?
>
> --
> 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>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Mon, 04 Dec 2023 18:18:01 GMT)
Full text and
rfc822 format available.
Message #36 received at 64578 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Also, what's the difference between the org-cards in the Emacs (
https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/refcards/orgcard.tex)
and Org Mode (
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/doc/orgcard.tex)
repositories? Seems that the Emacs one is more up to date and that the Org
Mode one is missing some variables (e.g. orgversionnumber).
Do you want me to update both?
On Mon, Dec 4, 2023 at 12:58 PM José Miguel García Urrutia <
josemgu91 <at> gmail.com> wrote:
> Sure I can update the patch. I don't have the ''FSF copyright
> assignment'', what's the process for that?
>
> On Mon, Dec 4, 2023 at 7:48 AM Ihor Radchenko <yantar92 <at> posteo.net> wrote:
>
>> José Miguel García Urrutia <josemgu91 <at> gmail.com> writes:
>>
>> > Hello Bastien, the current Org refcard cannot be used as a triptych
>> (I’ve
>> > tried with both Letter and A4 paper) in contrast to the Emacs refcard
>> > (which can be used as a triptych when printed with Letter paper).
>> > ..
>> > With the patched version I was able to print it in Letter paper and use
>> it
>> > as a triptych, like I did with the Emacs refcard.
>>
>> Before I proceed, may I know if you have FSF copyright assignment?
>>
>> Also, may you update the patch against the Org mode repository
>> (https://git.savannah.gnu.org/cgit/emacs/org-mode.git/), removing the
>> incorrect key binding change, and adding the commit message as described
>> in https://orgmode.org/worg/org-contribute.html#commit-messages ?
>>
>> --
>> 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>
>>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Tue, 05 Dec 2023 04:01:02 GMT)
Full text and
rfc822 format available.
Message #39 received at 64578 <at> debbugs.gnu.org (full text, mbox):
José Miguel García Urrutia writes:
> Also, what's the difference between the org-cards in the Emacs (
> https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/refcards/orgcard.tex)
> and Org Mode (
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/doc/orgcard.tex)
> repositories? Seems that the Emacs one is more up to date and that the Org
> Mode one is missing some variables (e.g. orgversionnumber).
Here is the difference between the two cards, as of the last sync:
# in Org repo
$ git diff release_9.6.11..origin/emacs-sync -- doc/orgcard.tex
diff --git a/doc/orgcard.tex b/doc/orgcard.tex
index 13e8b8d7a..4b73a544e 100644
--- a/doc/orgcard.tex
+++ b/doc/orgcard.tex
@@ -1,5 +1,7 @@
% Reference Card for Org Mode
-\input org-version.tex
+\def\orgversionnumber{9.6.11}
+\def\versionyear{2023} % latest update
+\input emacsver.tex
%**start of header
\newcount\columnsperpage
@@ -77,6 +79,9 @@
\centerline{Released under the terms of the GNU General Public License}
\centerline{version 3 or later.}
+\centerline{For more Emacs documentation, and the \TeX{} source for this card, see}
+\centerline{the Emacs distribution, or {\tt https://www.gnu.org/software/emacs}}
+
\endgroup}
% make \bye not \outer so that the \def\bye in the \else clause below
So there are some adjustments for the Emacs tree (e.g., don't depend on
Org's generated org-version.tex and include Emacs's generated
etc/refcards/emacsver.tex).
> Do you want me to update both?
You can just update the card on Org's side; the changes will be
propagated.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#64578
; Package
emacs
.
(Tue, 05 Dec 2023 12:32:01 GMT)
Full text and
rfc822 format available.
Message #42 received at 64578 <at> debbugs.gnu.org (full text, mbox):
José Miguel García Urrutia <josemgu91 <at> gmail.com> writes:
> Sure I can update the patch. I don't have the ''FSF copyright assignment'',
> what's the process for that?
See https://orgmode.org/worg/org-contribute.html#copyright
Note that you do not strictly need it to get this particular patch
merged. However, if you plan to contribute further, we will require the
paperwork once your total contribution surpasses 15LOCs of code.
For now, since you don't have the copyright assignment, you can simply
add "TINYCHANGE" at the end of the commit message, as described in
https://orgmode.org/worg/org-contribute.html#first-patch (item 8).
--
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>
Reply sent
to
Ihor Radchenko <yantar92 <at> posteo.net>
:
You have taken responsibility.
(Wed, 17 Jan 2024 11:45:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
José Miguel García Urrutia <josemgu91 <at> gmail.com>
:
bug acknowledged by developer.
(Wed, 17 Jan 2024 11:45:02 GMT)
Full text and
rfc822 format available.
Message #47 received at 64578-done <at> debbugs.gnu.org (full text, mbox):
Ihor Radchenko <yantar92 <at> posteo.net> writes:
> For now, since you don't have the copyright assignment, you can simply
> add "TINYCHANGE" at the end of the commit message, as described in
> https://orgmode.org/worg/org-contribute.html#first-patch (item 8).
Applied, onto main; with amendments.
I removed the key binding change, reworded the commit message, and added
TINYCHANGE cookie.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=490260ceb
You are also now added to the contributor list.
https://git.sr.ht/~bzg/worg/commit/cdf90ad3
--
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>
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 14 Feb 2024 12:24:14 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.