Subject: bug#64578: orgcard.tex fixes to allow PDF rendering to be used as a triptych.

From: Kyle Meyer <[email-masked]>
Date: Mon, 04 Dec 2023 23:00:39 -0500

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.