Files
@ 441df63ee7cc
Branch filter:
Location: Copyleft/guide/GPL-LGPL/Makefile - annotation
441df63ee7cc
1.2 KiB
text/x-makefile
Hack tex4ht's overlib stuff to use jQuery tooltip
tex4ht supports "overlib" for footnote popups. The hack is pretty
straightforward; it dumps a Javascript area into a .js file that can
then be used by overlib to popup stuff.
This hack is to use that output to make the same thing work with jQuery
UI's tooltip widget.
Note that we run with overlib support first, then *without* it in the
Makefile setup. This is to force the needed .js file to be generated,
but make sure the HTML doesn't try to load overlib (which is default).
(This should be adapted as a patch to upstream tex4ht ultimately.)
Also included herein are improvements to the Makefile to build the HTML
output.
tex4ht supports "overlib" for footnote popups. The hack is pretty
straightforward; it dumps a Javascript area into a .js file that can
then be used by overlib to popup stuff.
This hack is to use that output to make the same thing work with jQuery
UI's tooltip widget.
Note that we run with overlib support first, then *without* it in the
Makefile setup. This is to force the needed .js file to be generated,
but make sure the HTML doesn't try to load overlib (which is default).
(This should be adapted as a patch to upstream tex4ht ultimately.)
Also included herein are improvements to the Makefile to build the HTML
output.
9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 9b04b01b9661 |
FILTER = ./filter-doc.plx
PDFLATEX = pdflatex
LATEX = latex
#BIBTEX = bibtex
BIBTEX = /bin/true
FIG2DEV = fig2dev
DVIPS=dvips
all: gpl-lgpl.pdf gpl-lgpl.ps
.SUFFIXES: .fig .postscript .eps .pdf .pstex_t .pstex
.postscript.pdf:
ps2pdf $< $@
.postscript.eps:
ps2epsi $< $@
.fig.pdf:
$(FIG2DEV) -L pdf -p "portrait" -c $< > $@
.fig.pstex_t:
$(FIG2DEV) -L pstex_t $< > $@
.fig.pstex:
$(FIG2DEV) -L pstex $< > $@
PDF_FIGS =
gpl-lgpl.pdf: gpl-lgpl-pdf.tex gpl-lgpl-pdf.bbl $(PDF_FIGS)
$(PDFLATEX) gpl-lgpl-pdf
$(PDFLATEX) gpl-lgpl-pdf
/bin/mv gpl-lgpl-pdf.pdf gpl-lgpl.pdf
gpl-lgpl-pdf.tex: gpl-lgpl.tex
cat gpl-lgpl.tex | $(FILTER) PDF > gpl-lgpl-pdf.tex
gpl-lgpl-pdf.bbl: gpl-lgpl-pdf.tex $(PDF_FIGS)
$(PDFLATEX) gpl-lgpl-pdf
$(BIBTEX) gpl-lgpl-pdf
PS_FIGS =
gpl-lgpl-ps.tex: gpl-lgpl.tex
cat gpl-lgpl.tex | $(FILTER) PS > gpl-lgpl-ps.tex
gpl-lgpl-ps.bbl: gpl-lgpl-ps.tex $(PS_FIGS)
$(LATEX) gpl-lgpl-ps
$(BIBTEX) gpl-lgpl-ps
gpl-lgpl-ps.dvi: gpl-lgpl-ps.tex gpl-lgpl-ps.bbl $(PS_FIGS)
$(LATEX) gpl-lgpl-ps
$(LATEX) gpl-lgpl-ps
gpl-lgpl.ps: gpl-lgpl-ps.dvi
$(DVIPS) $< -o $@
clean:
/bin/rm -f gpl-lgpl-ps.* gpl-lgpl-pdf.* gpl-lgpl.pdf gpl-lgpl.ps $(PDF_FIGS) $(PS_FIGS) gpl-lgpl.log texput.log
|