HTML production is... marginally okay.
This commit is contained in:
parent
08a5111d00
commit
334fb0efff
|
@ -9,5 +9,6 @@ bower_components/*
|
|||
npm-debug.log
|
||||
work/*
|
||||
htdocs/*.*
|
||||
docs/*
|
||||
htdocs/lib
|
||||
package.yml
|
||||
|
|
7
Makefile
7
Makefile
|
@ -67,16 +67,19 @@ docs/backbonestore.tex: docs src/backbonestore.nw
|
|||
|
||||
docs/backbonestore.pdf: 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 \
|
||||
xelatex docs/backbonestore.tex; \
|
||||
done
|
||||
mv backbonestore.pdf docs
|
||||
rm -f ./backbonestore.log ./backbonestore.aux ./backbonestore.out
|
||||
|
||||
pdf: docs/backbonestore.pdf
|
||||
|
||||
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:
|
||||
- rm -f htdocs/*.* docs/*.tex docs/*.dvi docs/*.aux docs/*.toc docs/*.log docs/*.out
|
||||
|
|
|
@ -406,7 +406,7 @@ you should understand this fairly easily.
|
|||
There are many different ways of providing templates to Backbone. The
|
||||
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,
|
||||
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
|
||||
because it means all of my HTML is in one place.
|
||||
|
||||
|
|
Loading…
Reference in New Issue