From: Glenn Morris Date: Tue, 12 Mar 2013 07:15:15 +0000 (-0700) Subject: Tweaks for www.gnu.org html versions of manuals X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1943^2~40 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c07659054603ef1d7ce4eaeb5b79b50131abf265;p=emacs.git Tweaks for www.gnu.org html versions of manuals * admin/admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG. * doc/emacs/emacs.texi (Top): Add some stuff specific to www.gnu.org. * doc/lispintro/emacs-lisp-intro.texi: Add some stuff specific to www.gnu.org. * doc/lispref/elisp.texi: Add some stuff specific to www.gnu.org. --- diff --git a/admin/ChangeLog b/admin/ChangeLog index 6c9ed389528..bf37688c337 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -1,3 +1,7 @@ +2013-03-12 Glenn Morris + + * admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG. + 2013-03-11 Glenn Morris * admin.el (make-manuals): Add emacs-lisp-intro and some more diff --git a/admin/admin.el b/admin/admin.el index 08d9039d4bc..ea08c0d1c74 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -268,6 +268,7 @@ This function also edits the HTML files so that they validate as HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using the @import directive." (call-process "makeinfo" nil nil nil + "-D" "WWW_GNU_ORG" "-I" (expand-file-name "../emacs" (file-name-directory texi-file)) "-I" (expand-file-name "../misc" @@ -293,6 +294,7 @@ the @import directive." (unless (file-exists-p texi-file) (error "Manual file %s not found" texi-file)) (call-process "makeinfo" nil nil nil + "-D" "WWW_GNU_ORG" "-I" (expand-file-name "../emacs" (file-name-directory texi-file)) "-I" (expand-file-name "../misc" diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 330bcfaaaee..e4c36533caf 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2013-03-12 Glenn Morris + + * emacs.texi (Top): Add some stuff specific to www.gnu.org. + 2013-03-11 Glenn Morris * Version 24.3 released. diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi index bda7c0821c0..972304ac575 100644 --- a/doc/emacs/emacs.texi +++ b/doc/emacs/emacs.texi @@ -111,10 +111,21 @@ Cover art by Etienne Suvasa; cover design by Matt Lee. @top The Emacs Editor Emacs is the extensible, customizable, self-documenting real-time -display editor. This Info file describes how to edit with Emacs and +display editor. This manual describes how to edit with Emacs and some of the ways to customize it; it corresponds to GNU Emacs version @value{EMACSVER}. +@ifset WWW_GNU_ORG +@html +The homepage for GNU Emacs is at +http://www.gnu.org/software/emacs/.
+To view this manual in other formats, click +here.
+You can also purchase a printed copy from the +FSF store. +@end html +@end ifset + @ifinfo If you are reading this in Emacs, type @kbd{h} to read a basic introduction to the Info documentation system. diff --git a/doc/lispintro/ChangeLog b/doc/lispintro/ChangeLog index 6a3cffac520..4dd7c0e00a5 100644 --- a/doc/lispintro/ChangeLog +++ b/doc/lispintro/ChangeLog @@ -1,3 +1,7 @@ +2013-03-12 Glenn Morris + + * emacs-lisp-intro.texi: Add some stuff specific to www.gnu.org. + 2013-03-11 Glenn Morris * Version 24.3 released. diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 055ed557825..13e12b52785 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -227,6 +227,14 @@ This is an @cite{Introduction to Programming in Emacs Lisp}, for people who are not programmers. @sp 1 Edition @value{edition-number}, @value{update-date} +@ifset WWW_GNU_ORG +@html +

The homepage for GNU Emacs is at +http://www.gnu.org/software/emacs/. +
To view this manual in other formats, click +here. +@end html +@end ifset @sp 1 Copyright @copyright{} 1990--1995, 1997, 2001--2013 Free Software Foundation, Inc. diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 7b1e9f6a9ad..36dd05b125a 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,7 @@ +2013-03-12 Glenn Morris + + * elisp.texi: Add some stuff specific to www.gnu.org. + 2013-03-11 Glenn Morris * Version 24.3 released. diff --git a/doc/lispref/elisp.texi b/doc/lispref/elisp.texi index 5ad9e8212a5..9acbf85534e 100644 --- a/doc/lispref/elisp.texi +++ b/doc/lispref/elisp.texi @@ -97,6 +97,16 @@ This is edition @value{VERSION} of the @cite{GNU Emacs Lisp Reference Manual},@* This is the @cite{GNU Emacs Lisp Reference Manual} @end ifnottex corresponding to Emacs version @value{EMACSVER}. +@ifset WWW_GNU_ORG +@html +

The homepage for GNU Emacs is at +http://www.gnu.org/software/emacs/.
+For information on using Emacs, refer to +the Emacs +Manual.
To view this manual in other formats, +click here. +@end html +@end ifset Copyright @copyright{} 1990--1996, 1998--2013 Free Software Foundation, Inc.