-
Notifications
You must be signed in to change notification settings - Fork 49
/
PRINCE-NOTES
35 lines (18 loc) · 1.28 KB
/
PRINCE-NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using something better than XSLT, teach interlinear-gloss to not
tableify the <jbo> if there's nothing to table it *against*
xref formatting: http://www.sagehill.net/docbookxsl/CustomXrefs.html
http://alistapart.com/article/building-books-with-css3
http://alistapart.com/article/boom
http://www.w3.org/TR/css-gcpm-3/ -- has actual examples
classes from docbook: http://www.sagehill.net/docbookxsl/HtmlCustomEx.html#CustomClassValues
more wrt custom classes: http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer
What if we made a ruby layer to replace the XSLT that was just
nokogiri xpath chunks?
See:
http://nokogiri.org/tutorials/searching_a_xml_html_document.html
http://nokogiri.org/tutorials/modifying_an_html_xml_document.html
and /home/rlpowell/scratch/sinatra.rb
run on the html after:
rlpowell@vrici> sed -e 's/colspan="100%"/colspan="1000"/g' -e 's;<a id="\([^"]*\)"></a><p class="title">;<p class="title"><a id="\1"></a>;' -e 's;<div class="index"><div class="titlepage">;<div class="whole-index"><div class="titlepage">;' ./coverage/build/xhtml-nochunks/cll_processed_xhtml.html | prince/bin/prince - ~/www/media/public/prince_full_cov.pdf
http://www.princexml.com/forum/topic/2798/bad-page-breaks
http://www.princexml.com/doc/9.0/properties/