hgbook
diff en/Makefile @ 7:339e75288632
More progress on MQ chapter and general support.
Added a note environment.
Fixed generated HTML so it wouldn't use huge escaped entities for everything.
Wrote a small amount of actual content.
Added a note environment.
Fixed generated HTML so it wouldn't use huge escaped entities for everything.
Wrote a small amount of actual content.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Mon Jun 26 12:25:11 2006 -0700 (2006-06-26) |
parents | 33a2e7b9978d |
children | e9d5b4c3d16b |
line diff
1.1 --- a/en/Makefile Sun Jun 25 22:04:50 2006 -0700 1.2 +++ b/en/Makefile Mon Jun 26 12:25:11 2006 -0700 1.3 @@ -6,7 +6,8 @@ 1.4 1.5 example-sources := \ 1.6 examples/run-example \ 1.7 - examples/mq.qinit-help 1.8 + examples/mq.qinit-help \ 1.9 + examples/mq.tutorial 1.10 1.11 latex-options = \ 1.12 -interaction batchmode \ 1.13 @@ -29,11 +30,16 @@ 1.14 1.15 define htlatex 1.16 mkdir -p $(dir $(1)) 1.17 - head -4 $(shell which htlatex) > $(dir $(1))/htlatex.book 1.18 + head -2 $(shell which htlatex) > $(dir $(1))/htlatex.book 1.19 + cp 99book.bib $(dir $@) 1.20 + echo '(cd $(dir $@) && bibtex $(basename $(notdir $@)))' >> $(dir $(1))/htlatex.book 1.21 + head -3 $(shell which htlatex) >> $(dir $(1))/htlatex.book 1.22 + echo 'echo status $$$$' >> $(dir $(1))/htlatex.book 1.23 chmod 755 $(dir $(1))/htlatex.book 1.24 $(dir $(1))/htlatex.book $(2) "xhtml,html4-uni,$(3)" " -cunihtf -utf8" "" "$(call latex-options,$(1))" || (rm -f $(1); exit 1) 1.25 cd $(dir $(1)) && tex4ht -f/$(basename $(notdir $(1))) -cvalidate -cunihtf 1.26 cd $(dir $(1)) && t4ht -f/$(basename $(notdir $(1))) 1.27 + perl -pi -e 's/�([0-7][0-9a-f]);/chr(hex($$1))/egi' $(dir $(1))/*.html 1.28 endef 1.29 1.30 html/onepage/hgbook.html: $(sources) examples 1.31 @@ -50,4 +56,4 @@ 1.32 cd examples && ./run-example 1.33 1.34 clean: 1.35 - rm -rf html pdf *.aux *.dvi *.log *.out 1.36 + rm -rf html pdf *.aux *.dvi *.log *.out examples/*.out examples/.run