File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ MAN_PAGES := chisel.man
34
34
35
35
srcDir := .
36
36
installTop: = ../www
37
+ toolDir ?= ../../chisel-doc/bin
37
38
38
39
vpath % .tex $(addprefix $(srcDir ) /,$(PDF_DIRS ) )
39
40
@@ -70,7 +71,7 @@ chisel-%.pdf: %.tex %_date.sty
70
71
% .html : % .tex % _date.sty
71
72
cd $(dir $< ) && for c in 0 1; do htlatex $( notdir $< ) $( PWD) /$( srcDir) /html.cfg " " -d/$( PWD) / ; done
72
73
mv $(subst .tex,.html,$(notdir $< ) ) $@ ~
73
- $(srcDir ) /../bin /tex2html.py $@ ~ $@
74
+ $(toolDir ) /tex2html.py $@ ~ $@
74
75
75
76
% .man : % .mtt
76
77
# cd into the directory containing the .tex file and massage it
@@ -79,7 +80,7 @@ chisel-%.pdf: %.tex %_date.sty
79
80
latex2man $(basename $@ ) .ttex $@
80
81
81
82
% .html : $(srcDir ) /templates/% .html $(srcDir ) /templates/base.html
82
- $(srcDir ) /../bin /jinja2html.py $(notdir $< ) $@
83
+ $(toolDir ) /jinja2html.py $(notdir $< ) $@
83
84
84
85
clean :
85
86
-rm -f $(TEX_TEMP_FILES )
Original file line number Diff line number Diff line change
1
+ \Preamble{xhtml}
2
+ \Configure{graphics*}
3
+ {pdf}
4
+ {\Needs{" convert \csname Gin@base\endcsname.pdf
5
+ \csname Gin@base\endcsname.png" }%
6
+ \Picture[pict]{\csname Gin@base\endcsname.png}%
7
+ }
8
+ \begin{document}
9
+ \EndPreamble
You can’t perform that action at this time.
0 commit comments