mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 04:57:38 +00:00
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
This commit is contained in:
parent
5735d994ec
commit
192ac089b9
5
Makefile
5
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
Normal file
BIN
images/caution.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
images/important.png
Normal file
BIN
images/important.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 722 B |
BIN
images/note.png
Normal file
BIN
images/note.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 490 B |
BIN
images/tip.png
Normal file
BIN
images/tip.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 449 B |
BIN
images/warning.png
Normal file
BIN
images/warning.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user