55 |
$(BIBTEX) $* |
$(BIBTEX) $* |
56 |
sed -e '1s+<dl>+<dl xmlns="http://www.w3.org/1999/xhtml">+' -f detex.sed $@ >$@.tmp && mv $@.tmp $@ |
sed -e '1s+<dl>+<dl xmlns="http://www.w3.org/1999/xhtml">+' -f detex.sed $@ >$@.tmp && mv $@.tmp $@ |
57 |
|
|
58 |
|
# Convert .xml source to .xhtml output (which includes UTF-8 characters) |
59 |
%.xhtml: %.xml |
%.xhtml: %.xml |
60 |
rm -f $@ $@.tmp |
rm -f $@ $@.tmp |
61 |
# This version converts certain characters to numeric entities |
@USE_XSLTPROC@ $(XSLTPROC) --stringparam document-id $< structure.xslt $< | $(edit) >$@.tmp && mv $@.tmp $@ |
|
@USE_XSLTPROC@ $(XSLTPROC) --stringparam document-id $< structure.xslt $< | \ |
|
|
@USE_XSLTPROC@ $(edit) | sed -f to-entities.sed >$@.tmp && mv $@.tmp $@ |
|
|
# Convert to ISO-8859-1 and dumb down certain characters not represented there |
|
|
#@USE_XSLTPROC@ $(edit) >$@ | sed -e 's/“/"/g' -e 's/”/"/g' -e 's/–/-/g' -e 's/—/--/g' | iconv -f UTF-8 -t ISO-8859-1 >tmp && mv tmp $@ |
|
|
# The original and best -- just use UTF-8 and stop messing around |
|
|
#@USE_XSLTPROC@ $(edit) >tmp && mv tmp $@ |
|
62 |
@USE_SAXON@ java -jar $(SAXONJAR) $< structure.xslt document-id=$< | $(edit) >$@.tmp && mv $@.tmp $@ |
@USE_SAXON@ java -jar $(SAXONJAR) $< structure.xslt document-id=$< | $(edit) >$@.tmp && mv $@.tmp $@ |
63 |
|
|
64 |
# Check the RDFa content of vocabularies.xhtml |
# Check the RDFa content of vocabularies.xhtml |
83 |
vocabularies.xhtml: vocabularies.bbl |
vocabularies.xhtml: vocabularies.bbl |
84 |
vocabularies-issues.xhtml: vocabularies-issues.bbl |
vocabularies-issues.xhtml: vocabularies-issues.bbl |
85 |
|
|
86 |
|
# Convert .xhtml to .html by doing an identity transformation using a |
87 |
|
# stylesheet which uses the "html" output method. |
88 |
vocabularies.html: vocabularies.xhtml |
vocabularies.html: vocabularies.xhtml |
89 |
rm -f $@ $@.tmp |
rm -f $@ $@.tmp |
90 |
@USE_XSLTPROC@ $(XSLTPROC) identity-html.xslt $< >$@.tmp && mv $@.tmp $@ |
@USE_XSLTPROC@ $(XSLTPROC) identity-html.xslt $< | sed -f to-entities.sed >$@.tmp && mv $@.tmp $@ |
91 |
@USE_SAXON@ java -jar $(SAXONJAR) $< identity-html.xslt >$@.tmp && mv $@.tmp $@ |
@USE_SAXON@ java -jar $(SAXONJAR) $< identity-html.xslt | sed -f to-entities.sed >$@.tmp && mv $@.tmp $@ |
92 |
|
|
93 |
######################################## |
######################################## |
94 |
# |
# |