view etc/mule/mule-refcard.tex @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents
children
line wrap: on
line source

% Reference Card for Mule 0.9 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.  Nothing else needs to be changed.

\columnsperpage=3

%% inserted by toshi@isl.melco.co.jp from texinfo-jp.tex Dec 8 '92
%% 92.7.8 by K.Handa
\newif\ifNTT
\ifx\gtfam\undefined
\NTTtrue
\else
\NTTfalse
\fi
%% end by toshi@isl.melco.co.jp

% Copyright (c) 1987 Free Software Foundation, Inc.

% This file is part of GNU Emacs.

% 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 1, 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
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
% 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, 675 Mass Ave, Cambridge, MA 02139, USA.

% This file is intended to be processed by plain TeX (TeX82).
%
% The final reference card has six columns, three on each side.
% This file can be used to produce it in any of three ways:
% 1 column per page
%    produces six separate pages, each of which needs to be reduced to 80%.
%    This gives the best resolution.
% 2 columns per page
%    produces three already-reduced pages.
%    You will still need to cut and paste.
% 3 columns per page
%    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:
%  Stephen Gildea
%  UUCP: mit-erl!gildea
%  Internet: gildea@erl.mit.edu
%
% Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
% for their many good ideas.

% If there were room, it would be nice to see sections on
% Abbrevs, Rectangles, and Dired.

%
% mule refcard
% $BEv%j%U%!%l%s%9%+!<%I$O(B mule-jp, egg-jp $B$r85$K:n@.$7$?$b$N$G$9(B. 
%

\def\versionnumber{0.9}
\def\year{1992}
\def\version{Dec \year\ v\versionnumber}

\def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
  Permissions on back.  v\versionnumber}}

\def\copyrightnotice{
\vskip 1ex plus 2 fill\begingroup\small
\centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
\centerline{designed by toshi@isl.melco.co.jp, \version}
\centerline{for Mule version 0.9}

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., 675 Massachusetts Ave, Cambridge MA 02139.

\endgroup}

% make \bye not \outer so that the \def\bye in the \else clause below
% can be scanned without complaint.
\def\bye{\par\vfill\supereject\end}

\newdimen\intercolumnskip
\newbox\columna
\newbox\columnb

\def\ncolumns{\the\columnsperpage}

\message{[\ncolumns\space 
  column\if 1\ncolumns\else s\fi\space per page]}

\def\scaledmag#1{ scaled \magstep #1}

% This multi-way format was designed by Stephen Gildea
% October 1986.
\if 1\ncolumns
  \hsize 4in
  \vsize 10in
  \voffset -.7in
  \font\titlefont=\fontname\tenbf \scaledmag3
  \font\headingfont=\fontname\tenbf \scaledmag2
  \font\smallfont=\fontname\sevenrm
  \font\smallsy=\fontname\sevensy
%% patched by toshi@isl.melco.co.jp  Dec 8 '92
  \ifNTT
  \jfont\jtitlefont=dg10 scaled \magstep3
  \jfont\jheadingfont=dg10 scaled \magstep2
  \def\jsmallfont{\sevendm}
  \else
  \jfont\jtitlefont=goth10 scaled \magstep3
  \jfont\jheadingfont=goth10 scaled \magstep2
  \def\jsmallfont{\sevenmin}
  \fi
%% end of patch toshi@isl.melco.co.jp

  \footline{\hss\folio}
  \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
\else
  \hsize 3.2in
  \vsize 7.95in
  \hoffset -.75in
  \voffset -.745in
  \font\titlefont=cmbx10 \scaledmag2
  \font\headingfont=cmbx10 \scaledmag1
  \font\smallfont=cmr6
  \font\smallsy=cmsy6
  \font\eightrm=cmr8
  \font\eightbf=cmbx8
  \font\eightit=cmti8
  \font\eighttt=cmtt8
  \font\eightsy=cmsy8
%% patched by toshi@isl.melco.co.jp  Dec 8 '92
  \ifNTT
  \jfont\jtitlefont=dg10 scaled \magstep2
  \jfont\jheadingfont=dg10 scaled \magstep1
  \jfont\jsmallfont=dm6
  \jfont\eightdm=dm8
  \jfont\eightdg=dg8
  \else
  \jfont\jtitlefont=goth10 scaled \magstep2
  \jfont\jheadingfont=goth10 scaled \magstep1
  \jfont\jsmallfont=min6
  \jfont\eightdm=min8
  \jfont\eightdg=goth8
  \fi
%% end of patch toshi@isl.melco.co.jp
  \textfont0=\eightrm
  \textfont2=\eightsy
  \def\rm{\eightrm}
  \def\bf{\eightbf}
  \def\it{\eightit}
  \def\tt{\eighttt}
  \normalbaselineskip=.8\normalbaselineskip
  \normallineskip=.8\normallineskip
  \normallineskiplimit=.8\normallineskiplimit
  \normalbaselines\rm       %make definitions take effect

  \if 2\ncolumns
    \let\maxcolumn=b
    \footline{\hss\rm\folio\hss}
    \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  \else \if 3\ncolumns
    \let\maxcolumn=c
    \nopagenumbers
  \else
    \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
    \errmessage{Illegal number of columns per page}
  \fi\fi

  \intercolumnskip=.46in
  \def\abc{a}
  \output={%
      % This next line is useful when designing the layout.
      %\immediate\write16{Column \folio\abc\space starts with \firstmark}
      \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
      \else\if a\abc
    \global\setbox\columna\columnbox \global\def\abc{b}
        %% in case we never use \columnb (two-column mode)
        \global\setbox\columnb\hbox to -\intercolumnskip{}
      \else
    \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  \def\multicolumnformat{\shipout\vbox{\makeheadline
      \hbox{\box\columna\hskip\intercolumnskip
        \box\columnb\hskip\intercolumnskip\columnbox}
      \makefootline}\advancepageno}
  \def\columnbox{\leftline{\pagebody}}

  \def\bye{\par\vfill\supereject
    \if a\abc \else\null\vfill\eject\fi
    \if a\abc \else\null\vfill\eject\fi
    \end}  
\fi

% we won't be using math mode much, so redefine some of the characters
% we might want to talk about
\catcode`\^=12
\catcode`\_=12

\chardef\\=`\\
\chardef\{=`\{
\chardef\}=`\}

\hyphenation{mini-buf-fer}

\parindent 0pt
\parskip 1ex plus .5ex minus .5ex

% patched by toshi@isl.melco.co.jp  Jul 16 '90
%\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
\def\small{\jsmallfont\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
% end of patch toshi@isl.melco.co.jp

\outer\def\newcolumn{\vfill\eject}

% patched by toshi@isl.melco.co.jp  Jul 16 '90
%\outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
\outer\def\title#1{{\jtitlefont\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
% end of patch toshi@isl.melco.co.jp

\outer\def\section#1{\par\filbreak
% patched by toshi@isl.melco.co.jp  Jul 16 '90
%  \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  \vskip 3ex plus 2ex minus 2ex {\jheadingfont\headingfont #1}\mark{#1}%
% end of patch toshi@isl.melco.co.jp
  \vskip 2ex plus 1ex minus 1.5ex}

\newdimen\keyindent

\def\beginindentedkeys{\keyindent=1em}
\def\endindentedkeys{\keyindent=0em}
\endindentedkeys

\def\paralign{\vskip\parskip\halign}

\def\<#1>{$\langle${\rm #1}$\rangle$}

\def\kbd#1{{\tt#1}\null}    %\null so not an abbrev even if period follows

\def\beginexample{\par\leavevmode\begingroup
  \obeylines\obeyspaces\parskip0pt\tt}
{\obeyspaces\global\let =\ }
\def\endexample{\endgroup}

\def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  {\hsize=.75\hsize\rightskip=1em
  \hskip\keyindent\relax#1}\kbd{#2}\hfil}}

\newbox\metaxbox
\setbox\metaxbox\hbox{\kbd{M-x }}
\newdimen\metaxwidth
\metaxwidth=\wd\metaxbox

\def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  {\hskip\keyindent\relax#1\hfil}%
  \hskip -\metaxwidth minus 1fil
  \kbd{#2}\hfil}}

\def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\quad
  &\kbd{#3}\quad\cr}

%**end of header

\title{Mule $B%j%U%!%l%s%9(B $B%+!<%I(B}

\section{$B%A%e!<%H%j%"%k(B}

\key{$BF|K\8l%A%e!<%H%j%"%k(B}{C-h T Japanese<CR>}

\section{$BB?9q8lJ8;z%b!<%I$N@_Dj(B}

\key{$BB?9q8lJ8;z%b!<%I$H1Q?t%b!<%I$N@ZBX$((B}{C-x C-k t}
\key{$BB?9q8lJ8;z%b!<%I$H1Q?t%b!<%I$N%G%U%)%k%HCM$N@ZBX$((B}{C-x C-k T}

\section{$B;HMQ$9$k%3!<%I7O$N@_Dj(B}

\key{$B%-!<%\!<%I$+$i$NF~NO$N%3!<%I7O$N@_Dj(B}{C-x C-k i}
\key{$BC<Kv$X$N=PNO$N%3!<%I7O$N@_Dj(B}{C-x C-k d}
\key{$B8=%P%C%U%!$N=q$-=P$7;~$N%3!<%I7O$N@_Dj(B}{C-x C-k f}
\key{$B%3!<%I7O$r;XDj$7$F$N%U%!%$%k$NFI$_9~$_(B}{C-u C-x C-f}
\key{$B%3!<%I7O$r;XDj$7$F$N%U%!%$%k$N=q$-=P$7(B}{C-u C-x C-w}
\key{$B%W%m%;%9DL?.$G$N%3!<%I7O$N@_Dj(B}{C-x C-k p}
\key{$B8=:_@_Dj$5$l$F$$$k%3!<%I7O$NI=<((B}{C-x C-k C}
\key{$B8=:_@_Dj$5$l$F$$$k%3!<%I7O$N4JC1$JI=<((B}{C-x C-k c}
\key{$B%P%C%U%!$N=q$-=P$7;~$N%3!<%I7O$N%G%U%)%k%HCM$N@_Dj(B}{C-x C-k F}
\key{$B%W%m%;%9DL?.$G$N%3!<%I7O$N%G%U%)%k%HCM$N@_Dj(B}{C-x C-k P}

\section{$B%$%s%/%j%a%s%?%k%5!<%A(B}

\key{$B%9%H%j%s%0F~NO(B(\kbd{C-s,C-r}$BEy$N8e(B)}{C-k {\it string} RET}

\section{$B%T%/%A%e%"%b!<%I(B}

\key{$B:8$X(B2$B%+%i%`>e$X(B1$B9T%+!<%=%k0\F0(B}{C-c \~{ }}
\key{$B1&$X(B2$B%+%i%`>e$X(B1$B9T%+!<%=%k0\F0(B}{C-c $\backslash$}
\key{$B:8$X(B2$B%+%i%`2<$X(B1$B9T%+!<%=%k0\F0(B}{C-c ?}
\key{$B1&$X(B2$B%+%i%`2<$X(B1$B9T%+!<%=%k0\F0(B}{C-c |}

\section{$BJQ99(B}

\key{$B%]%$%s%H$N$"$kC18l$NDV$j%A%'%C%/(B}{M-\#}
\key{$B3g8L$NA^F~(B}{M-\{}

\section{$BF)2a%b!<%I(B}

\key{$BJ8;zF~NOJQ49%b!<%I$N%*%s!&%*%U(B}{C-$\backslash$}

\section{$BJ8;zF~NOJQ49%b!<%I(B}

\key{$BJ8;zF~NOJQ49%b!<%I$N%*%s!&%*%U(B}{C-$\backslash$}
\key{$BJQ49I=$NA*Br(B}{C-x C-k m}
\key{$B<!$NJQ49I=$NA*Br(B}{C-x C-k >}
\key{$BA0$NJQ49I=$NA*Br(B}{C-x C-k <}
\key{$BJ?2>L>JQ49I=$NA*Br(B}{C-x C-k h}
\key{$BJR2>L>JQ49I=$NA*Br(B}{C-x C-k k}
\key{$B>.J8;zJQ49I=$NA*Br(B}{C-x C-k q}
\key{$BBgJ8;zJQ49I=$NA*Br(B}{C-x C-k Q}
\key{2byte $B>.J8;zJQ49I=$NA*Br(B}{C-x C-k z}
\key{2byte $BBgJ8;zJQ49I=$NA*Br(B}{C-x C-k Z}

\section{fence $B%b!<%I(B}

\metax{$B2>L>4A;zJQ493+;O(B}{SPC {\rm or} C-SPC {\rm or} C-w}
\key{$B@hF,$NJ8;z$X0\F0(B}{C-a}
\key{$B0lJ8;zA0$X(B}{C-b}
\key{$BF~NO$rCf;_$7(B fence $B%b!<%I$+$iH4$1$k(B}{C-c {\rm or} C-g}
\key{$B0lJ8;z:o=|(B}{C-d}
\key{$B:G8e$NJ8;z$X0\F0(B}{C-e}
\key{$B0lJ8;z8e$X(B}{C-f}
\key{$B%+!<%=%k$+$i8e$r:o=|(B}{C-k}
\key{$BF~NO$r3NDj$7!$(Bfence $B%b!<%I$+$iH4$1$k(B}{C-l {\rm or} RET}
\key{$BJ8;z$NF~$l49$((B}{C-t}
\key{$B<0$rI>2A(B}{C-z}
\key{JIS $B%3!<%IF~NO(B}{C-_}
\key{1byte $BJ8;z%b!<%I$HF~NOJ8;zJQ49%b!<%I$N@ZBX$((B}{C-$\backslash$}
\key{$BD>A0$NJ8;z$r:o=|(B}{DEL}
\key{fence $BFb$NJ8;z$r$R$i$,$J$K$9$k(B}{M-h}
\key{fence $BFb$NJ8;z$r%+%?%+%J$K$9$k(B}{M-k}
\key{fence $BFb$NJ8;z$rA43QJ8;z$K$9$k(B}{M->}
\key{fence $BFb$NJ8;z$rH>3QJ8;z$K$9$k(B}{M-<}
\key{$BJ?2>L>F~NO$rA*Br(B}{C-M-h}
\key{$BJR2>L>F~NO$rA*Br(B}{C-M-k}
\key{$B>.J8;zF~NO$rA*Br(B}{M-q}
\key{$BBgJ8;zF~NO$rA*Br(B}{M-Q}
\key{2byte $B>.J8;zF~NO$rA*Br(B}{M-z}
\key{2byte $BBgJ8;zF~NO$rA*Br(B}{M-Z}

\section{$B4A;zJQ49%b!<%I(B}

\metax{$B>.J8@a$N<!8uJd$rI=<($9$k(B}{C-z}
\metax{$BBgJ8@a$N<!8uJd$rI=<($9$k(B}{C-w}
\key{$B@hF,$N#1J8;z$N$_A^F~$9$k(B}{C-SPC}
\key{$B@hF,J8@a$X%+!<%=%k$r0\F0$9$k(B}{C-a}
\key{$BD>A0$NJ8@a$X%+!<%=%k$r0\F0$9$k(B}{C-b}
\key{$BJQ49$rCf;_$7%m!<%^;z2>L>%b!<%I$K$b$I$k(B}{C-c {\rm or} C-g}
\key{$B:G=*J8@a$X%+!<%=%k$r0\F0$9$k(B}{C-e}
\key{$BD>8e$NJ8@a$X%+!<%=%k$r0\F0$9$k(B}{C-f}
\key{$B4A;zJQ49%b!<%I$N%3%^%s%I0lMwI=<((B}{C-h}
\key{$BBgJ8@a$ND9$5$rC;$/$9$k(B}{C-i}
\key{$B%+!<%=%k$N$"$kJ8@a$h$jA0$r3NDj$7%+!<%=%k$r4^$`J8@a0J9_$rF~NOJ8;z(B
$BJQ49%b!<%I$KLa$9(B}{C-k}
\key{$BA4$F$NJQ49$r3NDj$9$k(B}{C-l {\rm or} RET}
\key{$B<!8uJdI=<($9$k(B}{SPC {\rm or} C-n}
\key{$BBgJ8@a$ND9$5$rD9$/$9$k(B}{C-o}
\key{$BA08uJdI=<($9$k(B}{C-p}
\key{$BJQ49>pJs$NI=<((B}{C-v}
\key{$BBgJ8@a$NJQ498uJd0lMw$r%_%K%P%C%U%!$KI=<($7A*Br2DG=$K$9$k(B}{M-s}
\key{$BJ8@a$r$R$i$,$J$K$9$k(B}{M-h}
\key{$B>.J8@a$ND9$5$rC;$/$9$k(B}{M-i}
\key{$BJ8@a$r%+%?%+%J$K$9$k(B}{M-k}
\key{$B>.J8@a$ND9$5$rD9$/$9$k(B}{M-o}
\key{$B>.J8@a$NJQ498uJd0lMw$r%_%K%P%C%U%!$KI=<($7A*Br2DG=$K$9$k(B}{M-z}
\key{$BJ8@a$ND9$5$r:GBg$K$9$k(B}{M->}
\key{$BJ8@a$ND9$5$r:G>.$K$9$k(B}{M-<}

\section{$BA4%b!<%I(B}

\key{$B5-9fF~NO$r9T$J$&(B}{C-^}

\bye

% Local variables:
% compile-command: "jtex mule-refcard"
% End: