Implemented syntax diagrams and made listings pretty-printed

This commit is contained in:
michael 1998-09-21 07:14:19 +00:00
parent 5ed5681d83
commit 92b80224c7
6 changed files with 2910 additions and 1616 deletions

View File

@ -21,6 +21,9 @@
\ProvidesPackage{fpc}[1996/12/09] \ProvidesPackage{fpc}[1996/12/09]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ExecuteOptions{titlepage} \ExecuteOptions{titlepage}
% Some style elements
\parindent 0pt%
\parskip 0.35\baselineskip%
% First, all definitions for latex only. % First, all definitions for latex only.
\newcommand{\docdescription}[1]{\def\@FPCDescription{#1}} \newcommand{\docdescription}[1]{\def\@FPCDescription{#1}}
\gdef\@FPCDescription{}% \gdef\@FPCDescription{}%
@ -162,6 +165,8 @@
\newcommand{\seegraph}{\htmladdnormallink{graph}{../graph/graph.html}} \newcommand{\seegraph}{\htmladdnormallink{graph}{../graph/graph.html}}
\newcommand{\seeprinter}{\htmladdnormallink{printer}{../printer/printer.html}} \newcommand{\seeprinter}{\htmladdnormallink{printer}{../printer/printer.html}}
\newcommand{\seego}{\htmladdnormallink{GO32}{../go32/go32.html}} \newcommand{\seego}{\htmladdnormallink{GO32}{../go32/go32.html}}
\newcommand{\seec}[1]{chapter \ref{ch:#1}}
\newcommand{\sees}[1]{section \ref{se:#1}}
% %
% Nice environments % Nice environments
% %

View File

@ -21,6 +21,9 @@
\ProvidesPackage{fpcman}[1997/06/25] \ProvidesPackage{fpcman}[1997/06/25]
\NeedsTeXFormat{LaTeX2e} \NeedsTeXFormat{LaTeX2e}
\ExecuteOptions{titlepage} \ExecuteOptions{titlepage}
% Some style elements
\parindent 0pt%
\parskip 0.35\baselineskip%
% First, all definitions for latex only. % First, all definitions for latex only.
\newcommand{\docdescription}[1]{\def\@FPCDescription{#1}} \newcommand{\docdescription}[1]{\def\@FPCDescription{#1}}
\gdef\@FPCDescription{}% \gdef\@FPCDescription{}%
@ -135,10 +138,8 @@
% %
% Nice environments % Nice environments
% %
% For Code examples (complete programs only)
\newenvironment{CodEx}{}{}
% For Tables. % For Tables.
\newenvironment{FPCtable}[2]{\begin{table}\caption{#2}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}} \newenvironment{FPCtable}[2]{\begin{table}[h]\caption{#2}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}}
% The same, but with label in third argument (tab:#3) % The same, but with label in third argument (tab:#3)
\newenvironment{FPCltable}[3]{\begin{table}\caption{#2}\label{tab:#3}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}} \newenvironment{FPCltable}[3]{\begin{table}\caption{#2}\label{tab:#3}\begin{center}\begin{tabular}{#1}}{\end{tabular}\end{center}\end{table}}
% %

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,8 @@
\usepackage{makeidx} \usepackage{makeidx}
\usepackage{html} \usepackage{html}
\latex{\usepackage{fpc}} \latex{\usepackage{fpc}}
\latex{\usepackage{listings}\blankstringtrue%
\selectlisting{tp}\stringstyle{\ttfamily}}
\html{\input{fpc-html.tex}} \html{\input{fpc-html.tex}}
\begin{document} \begin{document}
%\input{crt.tex} %\input{crt.tex}

View File

@ -24,6 +24,8 @@
\usepackage{makeidx} \usepackage{makeidx}
\usepackage{html} \usepackage{html}
\latex{\usepackage{fpc}} \latex{\usepackage{fpc}}
\latex{\usepackage{listings}\blankstringtrue%
\selectlisting{tp}\stringstyle{\ttfamily}}
\html{\input{fpc-html.tex}} \html{\input{fpc-html.tex}}
\begin{document} \begin{document}
%\input{crt.tex} %\input{crt.tex}

File diff suppressed because it is too large Load Diff