]> pere.pagekite.me Git - text-epistlene.git/commitdiff
Switch XML to book style.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 18 Dec 2021 12:10:53 +0000 (13:10 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Sat, 18 Dec 2021 12:10:53 +0000 (13:10 +0100)
Makefile
book.xml

index b72943a69a6cb9a615adda9537901e84e7948256..d870f5e124f4876ec6ce42e37a06770bfefa5b3c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,7 @@ $(SOURCE).pdf: $(SOURCE).xml Makefile pdf.xsl
 $(SOURCE)-body.xml: $(SOURCE).rst Makefile
        pandoc -s -o $@ $(PANDOC_OPTS) $(SOURCE).rst
        sed -i \
+               -e 's%article%book%g' \
                -e 's%<title>[0-9]*</title>%<title></title>%g' \
                -e 's%^  <blockquote>%  <partintro><blockquote>%g' \
                -e 's%^  </blockquote>%  </blockquote></partintro>%g' \
index 652e2533eaee605854fda5be58298cb2c00959f5..a1140e1c2f87614a96c04a8f3adb3fa89457cf88 100644 (file)
--- a/book.xml
+++ b/book.xml
@@ -5,6 +5,6 @@
 
 <book id="index" lang="nb">
   <xi:include href="bookinfo.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
-  <xi:include href="gaysir_epistlene-body.xml#xpointer(/article/part)"
+  <xi:include href="gaysir_epistlene-body.xml#xpointer(/book/part)"
              xmlns:xi="http://www.w3.org/2001/XInclude" />
 </book>