-% Quick Reference Card for VIP 3.5 under GNU Emacs version 18 on Unix systems
-%**start of header
-\newcount\columnsperpage
-
-% This file can be printed with 1, 2, or 3 columns per page (see below).
-% Specify how many you want here.
-
-\columnsperpage=1
-
-% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
-% a landscape layout.
+% Quick Reference Card for VIP
-\input pdflayout.sty
-\pdflayout=(1)
+% Copyright (C) 1987, 2001-2014 Free Software Foundation, Inc.
-% Nothing else needs to be changed.
-% Copyright (C) 1987, 2001, 2002, 2003, 2004, 2005,
-% 2006, 2007, 2008 Free Software Foundation, Inc.
+% Author: Masahiko Sato <ms@sail.stanford.edu>, <masahiko@sato.riec.tohoku.junet>
% This file is part of GNU Emacs.
-% GNU Emacs is free software; you can redistribute it and/or modify
+% GNU Emacs is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
-% the Free Software Foundation; either version 3, or (at your option)
-% any later version.
+% the Free Software Foundation, either version 3 of the License, or
+% (at your option) any later version.
% GNU Emacs is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% GNU General Public License for more details.
% You should have received a copy of the GNU General Public License
-% along with GNU Emacs; see the file COPYING. If not, write to
-% the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-% Boston, MA 02110-1301, USA.
+% along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
+
% This file is intended to be processed by plain TeX (TeX82).
%
% produces two pages which must be printed sideways to make a
% ready-to-use 8.5 x 11 inch reference card.
% For this you need a dvi device driver that can print sideways.
-% Which mode to use is controlled by setting \columnsperpage above.
-%
-% Author:
-% Masahiko Sato
-% Internet: ms@sail.stanford.edu
-% Junet: masahiko@sato.riec.tohoku.junet
-%
-% The original TeX code for formatting the reference card was written by:
-% Stephen Gildea
-% UUCP: mit-erl!gildea
-% Internet: gildea@stop.mail-abuse.org
+% Which mode to use is controlled by setting \columnsperpage.
+
+
+%**start of header
+\newcount\columnsperpage
+
+% This file can be printed with 1, 2, or 3 columns per page.
+% Specify how many you want here.
+\columnsperpage=1
+% PDF output layout. 0 for A4, 1 for letter (US), a `l' is added for
+% a landscape layout.
+\input pdflayout.sty
+\pdflayout=(1)
+
+\input emacsver.tex
+\def\versionemacs{18} % version of Emacs this is for
+\def\versionvip{3.5}
-\def\versionnumber{1.2}
-\def\year{2008}
-\def\version{September 2006\ v\versionnumber}
+% Nothing else needs to be changed.
\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
\centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
- Permissions on back. v\versionnumber}}
+ Permissions on back.}}
\def\copyrightnotice{
%\vskip 1ex plus 2 fill\begingroup\small
\vskip 1ex \begingroup\small
\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
-\centerline{designed by Masahiko Sato, \version}
-\centerline{for VIP 3.5 under GNU Emacs version 18 on Unix systems}
+\centerline{For VIP \versionvip\ with GNU Emacs version \versionemacs}
+\centerline{Written by Masahiko Sato,}
+\centerline{using refcard layout designed by Stephen Gildea.}
Permission is granted to make and distribute copies of
this card provided the copyright notice and this permission notice
are preserved on all copies.
-For copies of the GNU Emacs manual, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+For copies of the GNU Emacs manual, see:
+{\tt http://www.gnu.org/software/emacs/\#Manuals}
\endgroup}
% make \bye not \outer so that the \def\bye in the \else clause below
\title{VIP Quick Reference Card}
-\centerline{(for version 3.5 under GNU Emacs version 18)}
+\centerline{(Based on VIP \versionvip\ in GNU Emacs \versionemacs)}
%\copyrightnotice
include the line:
\hskip 5ex
-\kbd{(setq term-setup-hook 'vip-mode)}
+\kbd{(add-hook 'emacs-startup-hook 'vip-mode)}
in your \kbd{.emacs} file.
Or, you can put the following alias in your \kbd{.cshrc} file.
% compile-command: "pdftex vipcard"
% End:
-% arch-tag: 342a9548-4de4-499d-b864-74fb426b6729