Sfoglia il codice sorgente

Import the admonition graphics from the DocBook-XSL package.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7920 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Matthew Burgess 17 anni fa
parent
commit
192ac089b9
7 ha cambiato i file con 3 aggiunte e 7 eliminazioni
  1. 1 4
      Makefile
  2. BIN
      images/caution.png
  3. BIN
      images/important.png
  4. BIN
      images/note.png
  5. BIN
      images/tip.png
  6. BIN
      images/warning.png
  7. 2 3
      stylesheets/pdf/lfs-admon.xsl

+ 1 - 4
Makefile

@@ -3,8 +3,6 @@ DUMPDIR=~/lfs-commands
 CHUNK_QUIET=0
 PDF_OUTPUT=LFS-BOOK.pdf
 NOCHUNKS_OUTPUT=LFS-BOOK.html
-XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-1.69.1
-
 
 lfs:
 	xsltproc --xinclude --nonet -stringparam profile.condition html \
@@ -19,8 +17,7 @@ lfs:
 	if [ ! -e $(BASEDIR)/images ]; then \
 	  mkdir -p $(BASEDIR)/images; \
 	fi;
-	cp $(XSLROOTDIR)/images/*.png \
-	  $(BASEDIR)/images
+	cp images/*.png $(BASEDIR)/images
 	cd $(BASEDIR)/; sed -i -e "s@../stylesheets@stylesheets@g" \
 	  *.html
 	cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \

BIN
images/caution.png


BIN
images/important.png


BIN
images/note.png


BIN
images/tip.png


BIN
images/warning.png


+ 2 - 3
stylesheets/pdf/lfs-admon.xsl

@@ -7,8 +7,7 @@
 
     <!-- Graphics in admonitions -->
   <xsl:param name="admon.graphics" select="1"/>
-  <xsl:param name="admon.graphics.path"
-    select="'/usr/share/xml/docbook/xsl-stylesheets-1.69.1/images/'"/>
+  <xsl:param name="admon.graphics.path" select="'images/'"/>
 
     <!-- Admonition block properties -->
   <xsl:template match="important|warning|caution">
@@ -92,4 +91,4 @@
     </fo:block>
   </xsl:template>
 
-</xsl:stylesheet>
+</xsl:stylesheet>