Skip to content
Snippets Groups Projects
Commit e3c4759d authored by Philip Fominykh's avatar Philip Fominykh
Browse files

Restore hevea support for buliding cmu-user

parent 894e18e0
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ all: cmu-user.pdf ...@@ -70,7 +70,7 @@ all: cmu-user.pdf
# the "-fix" option to hevea makes it run as many times as necessary # the "-fix" option to hevea makes it run as many times as necessary
# to resolve all cross-references and generate an index. # to resolve all cross-references and generate an index.
%.html : %.tex $(FILES) %.html : %.tex $(FILES) cmu-user.hva
$(HEVEA) -fix cmu-user.hva $< $(HEVEA) -fix cmu-user.hva $<
$(HACHA) -tocbis $@ $(HACHA) -tocbis $@
-$(TIDY) -m *.html -$(TIDY) -m *.html
...@@ -105,6 +105,7 @@ clean: ...@@ -105,6 +105,7 @@ clean:
rm -f *.log *.bbl *.blg *.ps *.pdf *.aux *.lof *.toc *.out *.ilg rm -f *.log *.bbl *.blg *.ps *.pdf *.aux *.lof *.toc *.out *.ilg
rm -f *.vdx *.cdx *.tdx *.fdx *.idx *.cnd *.fnd *.tnd *.vnd *.haux rm -f *.vdx *.cdx *.tdx *.fdx *.idx *.cnd *.fnd *.tnd *.vnd *.haux
rm -f *.html *.hcnd *.htnd *.hvnd *.hfnd *.htoc rm -f *.html *.hcnd *.htnd *.hvnd *.hfnd *.htoc
rm -f cmu-user.css
index: index:
makeindex cmu-user.tdx -o cmu-user.tnd makeindex cmu-user.tdx -o cmu-user.tnd
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
% to HTML using Hevea. By Luc Maranget and Eric Marsden. % to HTML using Hevea. By Luc Maranget and Eric Marsden.
\newif\ifhmode\hmodefalse \newif\ifhmode\hmodefalse
\newcommand{\xspace}{} \newcommand{\pdfinfo}[1]{\@print{<!--} #1 \@print{-->}}
\let\hbox\mbox \let\hbox\mbox
\def\hfil{} \def\hfil{}
\def\hfill{} \def\hfill{}
...@@ -14,8 +14,11 @@ ...@@ -14,8 +14,11 @@
\newcommand{\layout}[4][] \newcommand{\layout}[4][]
{\@open{DIV}{align=left} {\@open{DIV}{align=left}
[#4] \\ [#4] \\
\begin{tabbing}
\fcnname{#1}\fcnname{#2} #3 \@print{&nbsp;&nbsp;&nbsp;} \fcnname{#1}\fcnname{#2} #3 \@print{&nbsp;&nbsp;&nbsp;}
\end{tabbing}
\@close{DIV}} \@close{DIV}}
\newcommand{\keys}[1]{\code{\&key}\@print{&nbsp;}\= #1}
% \newcommand{\layout}[4][] % \newcommand{\layout}[4][]
% {\begin{tabular} % {\begin{tabular}
...@@ -26,13 +29,12 @@ ...@@ -26,13 +29,12 @@
% \end{tabular}} % \end{tabular}}
\newcommand{\fcntype}[1]{\@open{TT}{class=function-type}#1\@close{TT}} \newcommand{\fcntype}[1]{\@styleattr{TT}{class=function-type}#1\@clearstyle}
\newcommand{\argtype}[1]{\@open{TT}{class=argument-type}#1\@close{TT}} \newcommand{\argtype}[1]{\@styleattr{TT}{class=argument-type}#1\@clearstyle}
\newcommand{\fcnname}[1]{\@open{TT}{class=function-name}#1\@close{TT}} \newcommand{\fcnname}[1]{\@styleattr{TT}{class=function-name}#1\@clearstyle}
\newcommand{\var}[1]{\@open{TT}{class=variable}#1\@close{TT}} \newcommand{\var}[1]{\@styleattr{TT}{class=variable}#1\@clearstyle}
\newcommand{\code}[1]{\@open{TT}{class=code}#1\@close{TT}} \newcommand{\code}[1]{\@styleattr{TT}{class=code}#1\@clearstyle}
\newcommand{\file}[1]{\@open{TT}{class=filename}#1\@close{TT}} \newcommand{\file}[1]{\@styleattr{TT}{class=filename}#1\@clearstyle}
%% Define a new type %% Define a new type
%% %%
...@@ -47,13 +49,13 @@ ...@@ -47,13 +49,13 @@
%% Define a function %% Define a function
%% %%
%% \begin{defun}{pkg}{name}{params} %% \begin{defun}[suffix]{pkg}{name}{params}
%% \defunx[pkg]{name}{params} %% \defunx[pkg]{name}{params}
%% description of function %% description of function
%% \end{defun} %% \end{defun}
\newenvironment{defun}[3] \newenvironment{defun}[4][]
{\par\defunvspace\fnindexbold{#2}\label{FN:#2}% {\par\defunvspace\fnindexbold{#3}\label{FN:#3#1}%
\layout[#1]{#2}{#3}{Function} \layout[#2]{#3}{#4}{Function}
\begin{quote}} \begin{quote}}
{\end{quote}} {\end{quote}}
\newcommand{\defunx}[3][\mbox{}]{% \newcommand{\defunx}[3][\mbox{}]{%
...@@ -62,13 +64,13 @@ ...@@ -62,13 +64,13 @@
%% Define a macro %% Define a macro
%% %%
%% \begin{defmac}{pkg}{name}{params} %% \begin{defmac}[suffix]{pkg}{name}{params}
%% \defmacx[pkg]{name}{params} %% \defmacx[pkg]{name}{params}
%% description of macro %% description of macro
%% \end{defmac} %% \end{defmac}
\newenvironment{defmac}[3]{% \newenvironment{defmac}[4][]{%
\par\defunvspace\fnindexbold{#2}\label{FN:#2}% \par\defunvspace\fnindexbold{#3}\label{FN:#3#1}%
\layout[#1]{#2}{#3}{Macro} \layout[#2]{#3}{#4}{Macro}
\begin{quote}} \begin{quote}}
{\end{quote}} {\end{quote}}
\newcommand{\defmacx}[3][\mbox{}]{% \newcommand{\defmacx}[3][\mbox{}]{%
...@@ -112,8 +114,8 @@ ...@@ -112,8 +114,8 @@
\newenvironment{lisp} \newenvironment{lisp}
{\@open{BLOCKQUOTE}{CLASS=lisp} \begin{alltt}} {\@open{BLOCKQUOTE}{CLASS=lisp} \begin{alltt}}
{\end{alltt}\@close{BLOCKQUOTE}} {\end{alltt}\@close{BLOCKQUOTE}}
\newcommand{\cmucl}{CMUCL} \newcommand{\cmucl}{{\scshape cmucl}}
% there are no page numbers in HTML, so we need to override certain % there are no page numbers in HTML, so we need to override certain
% cross-referencing macros % cross-referencing macros
...@@ -134,7 +136,7 @@ ...@@ -134,7 +136,7 @@
% disable ``this document generated by'' footer % disable ``this document generated by'' footer
\setcounter{footer}{0} \def\@footer{}
% \htmlhead{\@print{ % \htmlhead{\@print{
% <a href="../../">CMUCL</a> -&gt % <a href="../../">CMUCL</a> -&gt
...@@ -165,12 +167,19 @@ ...@@ -165,12 +167,19 @@
\setcounter{cuttingdepth}{10} \setcounter{cuttingdepth}{10}
\input{report.hva} \input{report.hva}
\input{fancysection.hva} %%\input{fancysection.hva}
\usepackage{color}
\definecolor{chapter}{rgb}{1, 1, 0.74} \definecolor{chapter}{rgb}{1, 1, 0.74}
\definecolor{part}{rgb}{1, 1, 0.81} \definecolor{part}{rgb}{1, 1, 0.81}
\definecolor{section}{rgb}{1, 1, 0.83} \definecolor{section}{rgb}{1, 1, 0.83}
\definecolor{subsection}{rgb}{1, 1, 0.89} \definecolor{subsection}{rgb}{1, 1, 0.89}
\definecolor{subsubsection}{rgb}{1, 1, 0.93} \definecolor{subsubsection}{rgb}{1, 1, 0.93}
\newstyle{.chapter}{padding:0.5ex;background-color:\@getstylecolor{chapter}}
\newstyle{.section} {padding:.5ex;background-color:\@getstylecolor{section}}%
\newstyle{.subsection} {padding:0.3ex;background-color:\@getstylecolor{subsection}}%
\newstyle{.subsubsection} {padding:0.5ex;background-color:\@getstylecolor{subsubsection}}%
\newstyle{.paragraph} {padding:0.5ex;background-color:\@getstylecolor{paragraph}}%
\renewcommand{\@bodyargs}{} \renewcommand{\@bodyargs}{}
% EOF % EOF
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment