HTML production is... marginally okay.

This commit is contained in:
Elf M. Sternberg 2016-04-15 17:00:55 -07:00
parent 08a5111d00
commit 334fb0efff
3 changed files with 7 additions and 3 deletions

1
.gitignore vendored
View File

@ -9,5 +9,6 @@ bower_components/*
npm-debug.log npm-debug.log
work/* work/*
htdocs/*.* htdocs/*.*
docs/*
htdocs/lib htdocs/lib
package.yml package.yml

View File

@ -67,16 +67,19 @@ docs/backbonestore.tex: docs src/backbonestore.nw
docs/backbonestore.pdf: docs/backbonestore.tex docs/backbonestore.pdf: docs/backbonestore.tex
xelatex docs/backbonestore.tex; \ xelatex docs/backbonestore.tex; \
while grep -s 'Rerun to get cross-references right' docs/backbonestore.log; \ while grep -s 'Rerun to get cross-references right' ./backbonestore.log; \
do \ do \
xelatex docs/backbonestore.tex; \ xelatex docs/backbonestore.tex; \
done done
mv backbonestore.pdf docs
rm -f ./backbonestore.log ./backbonestore.aux ./backbonestore.out
pdf: docs/backbonestore.pdf pdf: docs/backbonestore.pdf
docs/backbonestore.html: docs src/backbonestore.nw docs/backbonestore.html: docs src/backbonestore.nw
${NOWEAVE} -html -x -delay src/backbonestore.nw > docs/backbonestore.html $(NOWEAVE) -filter l2h -delay -x -autodefs c -html src/backbonestore.nw > docs/backbonestore.html
html: docs/backbonestore.html
clean: clean:
- rm -f htdocs/*.* docs/*.tex docs/*.dvi docs/*.aux docs/*.toc docs/*.log docs/*.out - rm -f htdocs/*.* docs/*.tex docs/*.dvi docs/*.aux docs/*.toc docs/*.log docs/*.out

View File

@ -406,7 +406,7 @@ you should understand this fairly easily.
There are many different ways of providing templates to Backbone. The There are many different ways of providing templates to Backbone. The
most common, especially for small templates, is to just include it as an most common, especially for small templates, is to just include it as an
inline string inside the View. The \textit{least} common, I'm afraid, inline string inside the View. The \textit{least} common, I'm afraid,
is the one I'm doing here: using the \<script\> tag with an unusual mime is the one I'm doing here: using the \\<script\\> tag with an unusual mime
type to include it with the rest of the HTML. I like this method type to include it with the rest of the HTML. I like this method
because it means all of my HTML is in one place. because it means all of my HTML is in one place.