mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +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]
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ExecuteOptions{titlepage}
|
||||
% Some style elements
|
||||
\parindent 0pt%
|
||||
\parskip 0.35\baselineskip%
|
||||
% First, all definitions for latex only.
|
||||
\newcommand{\docdescription}[1]{\def\@FPCDescription{#1}}
|
||||
\gdef\@FPCDescription{}%
|
||||
@ -162,6 +165,8 @@
|
||||
\newcommand{\seegraph}{\htmladdnormallink{graph}{../graph/graph.html}}
|
||||
\newcommand{\seeprinter}{\htmladdnormallink{printer}{../printer/printer.html}}
|
||||
\newcommand{\seego}{\htmladdnormallink{GO32}{../go32/go32.html}}
|
||||
\newcommand{\seec}[1]{chapter \ref{ch:#1}}
|
||||
\newcommand{\sees}[1]{section \ref{se:#1}}
|
||||
%
|
||||
% Nice environments
|
||||
%
|
||||
|
@ -21,6 +21,9 @@
|
||||
\ProvidesPackage{fpcman}[1997/06/25]
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ExecuteOptions{titlepage}
|
||||
% Some style elements
|
||||
\parindent 0pt%
|
||||
\parskip 0.35\baselineskip%
|
||||
% First, all definitions for latex only.
|
||||
\newcommand{\docdescription}[1]{\def\@FPCDescription{#1}}
|
||||
\gdef\@FPCDescription{}%
|
||||
@ -135,10 +138,8 @@
|
||||
%
|
||||
% Nice environments
|
||||
%
|
||||
% For Code examples (complete programs only)
|
||||
\newenvironment{CodEx}{}{}
|
||||
% 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)
|
||||
\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{html}
|
||||
\latex{\usepackage{fpc}}
|
||||
\latex{\usepackage{listings}\blankstringtrue%
|
||||
\selectlisting{tp}\stringstyle{\ttfamily}}
|
||||
\html{\input{fpc-html.tex}}
|
||||
\begin{document}
|
||||
%\input{crt.tex}
|
||||
|
@ -24,6 +24,8 @@
|
||||
\usepackage{makeidx}
|
||||
\usepackage{html}
|
||||
\latex{\usepackage{fpc}}
|
||||
\latex{\usepackage{listings}\blankstringtrue%
|
||||
\selectlisting{tp}\stringstyle{\ttfamily}}
|
||||
\html{\input{fpc-html.tex}}
|
||||
\begin{document}
|
||||
%\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