mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 12:19:18 +02:00
Implemented syntax diagrams and made listings pretty-printed
This commit is contained in:
parent
5ed5681d83
commit
92b80224c7
@ -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
|
||||||
%
|
%
|
||||||
|
@ -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}}
|
||||||
%
|
%
|
||||||
|
1765
docs/go32.tex
1765
docs/go32.tex
File diff suppressed because it is too large
Load Diff
@ -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}
|
||||||
|
@ -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}
|
||||||
|
2745
docs/ref.tex
2745
docs/ref.tex
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user