unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#41009: Add release date to the title page of Emacs manual (PDF)
@ 2020-05-01 20:19 Sebastian Urban
  2020-05-02  6:05 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Sebastian Urban @ 2020-05-01 20:19 UTC (permalink / raw)
  To: 41009

[-- Attachment #1: Type: text/plain, Size: 1760 bytes --]

Hello list,

I would like to suggest adding a release date to the title page of PDF
version of the Emacs manual.  Five variants below, are all simple
change in EMACS.TEXI, and all would show date under the "EDITION
Edition, Updated for Emacs Version VERSION" line on the title page
(example in attached picture).

First one would show date in "12 April 2018" format:

==================================================
@center @value{EDITION} Edition, Updated for Emacs Version 
@value{EMACSVER}.
+@sp 1
+@center @today{}
@sp 5
@center Richard Stallman et al.
==================================================

Second one would show date in "April 2018" format:

==================================================
@center @value{EDITION} Edition, Updated for Emacs Version 
@value{EMACSVER}.
+@sp 1
+@tex
+\center %
+\ifcase\month %
+\or January \or February \or March \or April \or May \or June %
+\or July \or August \or September \or October \or November \or December %
+\fi\number\year
+@end tex
@sp 5
@center Richard Stallman et al.
==================================================

Third on would show date in "2018" format

==================================================
@center @value{EDITION} Edition, Updated for Emacs Version 
@value{EMACSVER}.
+@sp 1
+@center @inlineraw{tex, \the\year}
@sp 5
@center Richard Stallman et al.
==================================================

Fourth - "4, 2018" (4=month) - setting is similar to 3rd method above.

Fifth - using @set and @value, just like in case of EDITION or
       	EMACSVER.

Variants 1-4 are automated, printed date is the date of system (OS)
when the compilation happened, 5th - I guess - can be automated.

Personally, I prefer 2nd variant, i.e. "April 2018", as in example.


S. U.

[-- Attachment #2: example.PNG --]
[-- Type: image/png, Size: 5678 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-05-28 16:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-01 20:19 bug#41009: Add release date to the title page of Emacs manual (PDF) Sebastian Urban
2020-05-02  6:05 ` Eli Zaretskii
2020-05-02 19:52   ` Sebastian Urban
2020-05-02 20:05   ` Stefan Kangas
2020-05-03 17:34 ` Glenn Morris
2020-05-03 21:38   ` Sebastian Urban
2020-05-04  3:15     ` Richard Stallman
2020-05-03 22:13   ` Stefan Kangas
2020-05-05  2:49   ` Richard Stallman
2020-05-28 15:38 ` Sebastian Urban
2020-05-28 16:12   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).