diff -uNr handbook30.orig/Makefile handbook30/Makefile --- handbook30.orig/Makefile 1970-01-01 09:00:00.000000000 +0900 +++ handbook30/Makefile 2005-05-25 11:58:25.000000000 +0900 @@ -0,0 +1,9 @@ +TARGET = handbook +TEXS = handbk.tex +# PNGS ... *.png +# JPGS ... *.jpg +# TGIFS ... *.obj +# PSES ... *.ps *.eps +FILES = *.tex readme.txt + +include Makefile.latex diff -uNr handbook30.orig/Makefile.latex handbook30/Makefile.latex --- handbook30.orig/Makefile.latex 1970-01-01 09:00:00.000000000 +0900 +++ handbook30/Makefile.latex 2005-05-25 12:28:19.000000000 +0900 @@ -0,0 +1,66 @@ +# Makefile for LaTeX +# 2005/05/24 by tutimura(a)nn.iij4u.or.jp + +# below should be defined in advance +# TARGET ... * ( without .tex ) +# TEXS ... *.tex ( all files ) +# FILES ... extra files in tar package (*.sty, included *.tex) + +LATEX = platex #-src-specials +DVIPS = dvips +DVIPDF= dvipdfmx +RM = rm -f + +TARS = Makefile Makefile.latex \ + $(TEXS) $(FILES) +VER = `date +%Y%m%d` + +.SUFFIXES: .tex .dvi .ps .pdf .eps .2.ps + +all: ps +again: dviclean +dvi: $(IMAGES) $(TEXS:.tex=.dvi) +ps: $(IMAGES) dvi $(TEXS:.tex=.ps) +pdf: $(IMAGES) dvi $(TEXS:.tex=.pdf) +2: handbk.2.ps + +handbk.2.ps: dvi + $(LATEX) handbk.tex + dvips -x 1500 handbk.dvi + mpage -o -c -2 -m30t0b handbk.ps > handbk.2.ps + +clean: + $(RM) $(TEXS:.tex={,.2}.{dvi,aux,log,out,ps,pdf}) + $(RM) *.toc *.blg *.lof *.bbl *~ #*# core + $(RM) $(TGIFS:.obj={.ps,.tps,.tps.aux,.dps}) + +dviclean: + $(RM) $(TEXS:.tex=.dvi) + +distclean: clean + $(RM) $(IMAGES) + + +.tex.dvi: + for f in 1st 2nd 3rd final; do \ + echo "----------- $$f try -------------"; \ + $(LATEX) $< < /dev/null || exit 1; \ + grep 'Rerun to get cross-references right.' $(<:.tex=.log) || exit 0; \ + done + +.dvi.ps: + $(LATEX) $(<:.dvi=) + $(DVIPS) -t a5 $< -o $< + +.dvi.pdf: + $(LATEX) "\def\mkpdf{} \input $(<:.dvi=)" + $(LATEX) "\def\mkpdf{} \input $(<:.dvi=)" + $(DVIPDF) -p a5 $< + +tar: + @echo $(TARGET)-$(VER) > .package + @$(RM) -r `cat .package` + @mkdir `cat .package` + @ln -f $(TARS) `cat .package` + tar cvf - `cat .package` | gzip -9 > `cat .package`.tar.gz + @$(RM) -r `cat .package` .package diff -uNr handbook30.orig/handbk.tex handbook30/handbk.tex --- handbook30.orig/handbk.tex 1997-10-15 18:34:48.000000000 +0900 +++ handbook30/handbk.tex 2005-05-25 12:43:18.000000000 +0900 @@ -1,4 +1,4 @@ -\documentclass[a5paper,twoside]{jarticle} +\documentclass[a5paper]{jarticle} % \input{handbk-y} \input{handbk-m} @@ -6,21 +6,30 @@ \usepackage{plext} \usepackage{latexsym} \usepackage{amssymb} +% しおりを生成する +\ifx\mkpdf\undefined +\usepackage[dvips,bookmarks=true,bookmarksnumbered=true,% +bookmarkstype=toc]{hyperref} +\else +\usepackage[dvipdfm,bookmarks=true,bookmarksnumbered=true,% +bookmarkstype=toc]{hyperref} +\AtBeginDvi{\special{pdf:tounicode EUC-UCS2}} +\hypersetup{pdfstartview={FitH -32768}} % 横幅に合わせて表示 +\fi % % If you want to print backslash instead of yen-mark, % please delete % character on top of the next line. %\renewcommand{\yen}{{\tt\char"5C}} % -\title{{\huge\bfseries p\LaTeXe Handbook}\\Version 0.3} +\title{{\huge\bfseries p\LaTeXe Handbook}\\Version 0.3PDF} \author{} -\date{1997年10月15日} +\date{2005年5月25日} % \topmargin-.7in% -\setlength{\oddsidemargin}{.1in} -\setlength{\evensidemargin}{-.3in} +\setlength{\oddsidemargin}{-5mm} \setlength{\parindent}{0pt} \textheight17cm% -\textwidth10cm% +\textwidth10.5cm% \footskip15pt% % \begin{document} diff -uNr handbook30.orig/handbkk.tex handbook30/handbkk.tex --- handbook30.orig/handbkk.tex 1997-10-13 17:56:09.000000000 +0900 +++ handbook30/handbkk.tex 2005-05-25 11:58:25.000000000 +0900 @@ -1,7 +1,7 @@ %-------------------------------% % Section : tabbing Environment % %-------------------------------% -\section{{\tt tabbing} Environment} +\section{\texorpdfstring{{\tt tabbing}}{tabbing} Environment} % \TERMhead{\BCom{tabbing} \ldots\ \ECom{tabbing}} \begin{TERMbody}{} diff -uNr handbook30.orig/handbkl.tex handbook30/handbkl.tex --- handbook30.orig/handbkl.tex 1997-10-13 17:56:10.000000000 +0900 +++ handbook30/handbkl.tex 2005-05-25 11:58:25.000000000 +0900 @@ -1,7 +1,7 @@ %------------------------------------------% % Section : tabular Environments % %------------------------------------------% -\section{{\tt tabular} Environments} +\section{\texorpdfstring{{\tt tabular}}{tabular} Environments} \label{sec.tabular} % \TERMhead{% diff -uNr handbook30.orig/handbko3.tex handbook30/handbko3.tex --- handbook30.orig/handbko3.tex 1997-10-13 17:56:10.000000000 +0900 +++ handbook30/handbko3.tex 2005-05-25 11:58:25.000000000 +0900 @@ -392,7 +392,7 @@ \Com{max} & $\max$ & \Com{tanh} & $\tanh$ \\ \end{STABLE} -\begin{STABLE}{}{\COL\COL}{\IO&\IO} +\begin{STABLE}{}{\COL\COL}{\IO&\IO} % ↓ この \Large は行間を広げている \Com{varinjlim}$^\dag$ & $\varinjlim{\Large\mathstrut}$ & \Com{varprojlim}$^\dag$ & $\varprojlim$ \\ \Com{varlimsup}$^\dag$ & $\varlimsup{\Large\mathstrut}$ & diff -uNr handbook30.orig/handbko4.tex handbook30/handbko4.tex --- handbook30.orig/handbko4.tex 1997-10-13 17:56:10.000000000 +0900 +++ handbook30/handbko4.tex 2005-05-25 11:58:25.000000000 +0900 @@ -1,7 +1,7 @@ %----------------------------% % Subsubsection: AMS symbols % %----------------------------% -\subsubsection{\AmS font symbols} +\subsubsection{\texorpdfstring{\AmS}{AMS} font symbols} これらの記号を使うためには、\verb!amssymb! パッケージが必要です。 % \begin{STABLE}{Greek and Hebraic letterl}{\COL\COL\COL}{\IO&\IO&\IO}