X-Git-Url: https://pere.pagekite.me/gitweb/text-free-culture-lessig.git/blobdiff_plain/b6448f3893d6c2fa4663824b8e29365f61166805..245c5274309c2e542ce4348846d626d4703e7d6a:/Makefile diff --git a/Makefile b/Makefile index 482d5da..a86141d 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,10 @@ DBLATEX = dblatex \ -b xetex \ -r data/dblatex-postprocess \ --indexstyle=myindexstyle.ist \ - --param lingua=nb \ + --xsl-user=data/dblatex-endnotes.xsl \ --xsl-user=data/user_param.xsl \ --xsl-user=data/xetex_param.xsl \ + -V \ -p data/pdf.xsl @@ -28,6 +29,7 @@ XSLT = \ data/user_param.xsl DB_XSLT = \ + data/dblatex-endnotes.xsl \ data/xetex_param.xsl HTML_XSLT = \ @@ -36,6 +38,7 @@ HTML_XSLT = \ data/stylesheet-html.xsl PDF_XSLT = \ + $(DB_XSLT) \ $(XSLT) \ data/lulu.xsl \ data/licentia.xsl \ @@ -66,7 +69,7 @@ html: freeculture.nb.html freeculture.html # # dblatex: # This converts the docbook content to latex and leave it to latex -# to format it. Index ranges are broken. +# to format it. Index ranges are broken in oldstable, fixed in jessie. # # xmlto: # Alternative processing path to dblatex is to use xmlto using fop @@ -83,7 +86,7 @@ html: freeculture.nb.html freeculture.html echo "Using $$pipeline pipeline" ; \ case "$$pipeline" in \ dblatex) \ - $(DBLATEX) $< ; \ + PATH=$(PWD)/bin:$$PATH $(DBLATEX) $< ; \ ;; \ xmlto) \ xmlto --noautosize \