html doc fixes
stopcriterion
Salvatore Filippone 17 years ago
parent 1960e440d1
commit a4fdbbe01f

@ -727,7 +727,7 @@ $w = y_1$;
\begin{tabbing} \begin{tabbing}
\quad \=\quad... \quad \=\quad...
...= y_l+r_l$\\ ...= y_l+r_l$\\
\textbf{endfor} \ [1mm] \textbf{endfor} [1mm]
$w = y_1$; $w = y_1$;
\end{tabbing}} \end{tabbing}}
\end{minipage}}"> \end{minipage}}">

@ -65,7 +65,7 @@ Copyright © 1997, 1998, 1999,
Mathematics Department, Macquarie University, Sydney. Mathematics Department, Macquarie University, Sydney.
<P> <P>
The command line arguments were: <BR> The command line arguments were: <BR>
<STRONG>latex2html</STRONG> <TT>-noaddress -dir ../../html userhtml</TT> <STRONG>latex2html</STRONG> <TT>-noaddress -dir ../../html userhtml.tex</TT>
<P> <P>
The translation was initiated by Salvatore Filippone on 2008-07-24 The translation was initiated by Salvatore Filippone on 2008-07-24
<BR><HR> <BR><HR>

@ -84,9 +84,10 @@
# #
TOPFILE = userguide.tex TOPFILE = userguide.tex
HTMLFILE = userhtml.tex
SECFILE = title.tex abstract.tex overview.tex distribution.tex \ SECFILE = title.tex abstract.tex overview.tex distribution.tex \
building.tex background.tex gettingstarted.tex userinterface.tex \ building.tex background.tex gettingstarted.tex userinterface.tex \
errors.tex bibliography.tex license.tex userhtml.tex errors.tex bibliography.tex license.tex
FIGDIR = figures FIGDIR = figures
XPDFFLAGS = XPDFFLAGS =
@ -111,6 +112,8 @@ DATE = $(shell date +%Y-%m-%d)
## ##
## Programs ## Programs
# #
LATEX = latex
LTX2HTML = latex2html
PDFLATEX = pdflatex PDFLATEX = pdflatex
ACRO = evince ACRO = evince
XPDF = xpdf XPDF = xpdf
@ -127,7 +130,7 @@ CLEANIDX = ../bin/cleanidx
## ##
## Files ## Files
# #
TEXFILES = $(TOPFILE) $(SECFILE) TEXFILES = $(TOPFILE) $(SECFILE) $(HTMLFILE)
RCSFILES = $(TEXFILES) Makefile RCSFILES = $(TEXFILES) Makefile
BASEFILE = $(patsubst %.tex,%,$(TOPFILE)) BASEFILE = $(patsubst %.tex,%,$(TOPFILE))
@ -136,6 +139,10 @@ PDF = $(join $(BASEFILE),.pdf)
PS = $(join $(BASEFILE),.ps) PS = $(join $(BASEFILE),.ps)
GXS = $(join $(BASEFILE),.gxs) GXS = $(join $(BASEFILE),.gxs)
GLX = $(join $(BASEFILE),.glx) GLX = $(join $(BASEFILE),.glx)
BASEHTML = $(patsubst %.tex,%,$(HTMLFILE))
HTML = $(join $(BASEFILE),.html)
HTMLDIR = ../html
HTMLFLAGS = -noaddress
FIGURES = $(sort $(wildcard $(FIGDIR)/*)) FIGURES = $(sort $(wildcard $(FIGDIR)/*))
GLOFILES:= $(sort $(wildcard lib/*.gdf)) GLOFILES:= $(sort $(wildcard lib/*.gdf))
@ -151,8 +158,10 @@ TEXLNFIL = $(addprefix $(PWD)/,$(TEXFILES))
#============================================================================ #============================================================================
all: $(PDF) all: pdf html
@echo $(PDF)
pdf: $(PDF)
html: $(HTML)
$(PDF): $(TEXFILES) $(LIBFILES) $(FIGURES) Makefile $(PDF): $(TEXFILES) $(LIBFILES) $(FIGURES) Makefile
$(header) $(header)
@ -170,6 +179,22 @@ $(PDF): $(TEXFILES) $(LIBFILES) $(FIGURES) Makefile
$(pdflatex-filter) $(pdflatex-filter)
$(finish) $(finish)
$(HTML): $(TEXFILES) $(LIBFILES) $(FIGURES) Makefile
$(header)
$(initialize)
$(latex-filter)
ifneq ($(BIBFILES),)
$(bibtex)
$(latex-filter)
endif
ifneq ($(GLOFILES),)
$(glosstex)
$(latex-filter)
endif
# $(makeindex)
$(latex-filter)
$(ltx2html-filter)
$(PS): $(PDF) $(PS): $(PDF)
$(PDF2PS) $< $(PS) $(PDF2PS) $< $(PS)
@ -270,14 +295,30 @@ define pdflatex
cd tmp; $(PDFLATEX) $(TOPFILE) cd tmp; $(PDFLATEX) $(TOPFILE)
endef endef
define latex
@echo
@echo "----- latex -------------------------------------------------------"
@echo -n "Starting: "; date
@echo
cd tmp; $(LATEX) $(HTMLFILE)
endef
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
define pdflatex-filter define latex-filter
@echo @echo
@echo "----- pdflatex -------------------------------------------------------" @echo "----- latex -------------------------------------------------------"
@echo -n "Starting: "; date
@echo
cd tmp; ($(LATEX) $(HTMLFILE) 2>&1) | $(FILTER)
endef
define ltx2html-filter
@echo
@echo "----- latex -------------------------------------------------------"
@echo -n "Starting: "; date @echo -n "Starting: "; date
@echo @echo
cd tmp; ($(PDFLATEX) $(TOPFILE) 2>&1) | $(FILTER) cd tmp; ($(LTX2HTML) $(HTMLFLAGS) -dir ../$(HTMLDIR) $(HTMLFILE) 2>&1) | $(FILTER)
endef endef
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
@ -324,4 +365,14 @@ define finish
@echo -n "Target: " @echo -n "Target: "
endef endef
define ltx2html-finish
@ln -sf tmp/$@ .
@echo
@echo "----- finish ---------------------------------------------------------"
@echo -n "Start: "$(START); echo
@echo -n "Finish: "; date
@echo -n "Output: "; ls -l -o tmp/$@
@echo -n "Target: "
endef

Loading…
Cancel
Save