mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Full removed admon graphics on nochunked output.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6352 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
58f10f85ed
commit
3ee57d0bf1
8
Makefile
8
Makefile
@ -61,14 +61,6 @@ nochunks:
|
|||||||
sed -i -e "s@text/html@application/xhtml+xml@g" \
|
sed -i -e "s@text/html@application/xhtml+xml@g" \
|
||||||
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
$(BASEDIR)/$(NOCHUNKS_OUTPUT)
|
||||||
|
|
||||||
if [ ! -e $(BASEDIR)/images ]; then \
|
|
||||||
mkdir -p $(BASEDIR)/images; \
|
|
||||||
fi;
|
|
||||||
cp $(XSLROOTDIR)/images/*.png \
|
|
||||||
$(BASEDIR)/images
|
|
||||||
cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
|
|
||||||
*.html
|
|
||||||
|
|
||||||
validate:
|
validate:
|
||||||
xmllint --noout --nonet --xinclude --postvalid index.xml
|
xmllint --noout --nonet --xinclude --postvalid index.xml
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
|
<xsl:output method="html" encoding="ISO-8859-1" indent="no" />
|
||||||
|
|
||||||
<!-- Including our others customized templates -->
|
<!-- Including our others customized templates -->
|
||||||
<xsl:include href="xhtml/lfs-admon.xsl"/>
|
|
||||||
<xsl:include href="xhtml/lfs-index.xsl"/>
|
<xsl:include href="xhtml/lfs-index.xsl"/>
|
||||||
<xsl:include href="xhtml/lfs-mixed.xsl"/>
|
<xsl:include href="xhtml/lfs-mixed.xsl"/>
|
||||||
<xsl:include href="xhtml/lfs-sections.xsl"/>
|
<xsl:include href="xhtml/lfs-sections.xsl"/>
|
||||||
@ -25,6 +24,23 @@
|
|||||||
<xsl:param name="ulink.target" select="''"></xsl:param>
|
<xsl:param name="ulink.target" select="''"></xsl:param>
|
||||||
<xsl:param name="css.decoration" select="0"></xsl:param>
|
<xsl:param name="css.decoration" select="0"></xsl:param>
|
||||||
|
|
||||||
|
<!-- Don't use graphics in admonitions -->
|
||||||
|
<xsl:param name="admon.graphics" select="0"/>
|
||||||
|
|
||||||
|
<!-- Changing the admonitions output tagging -->
|
||||||
|
<xsl:template name="nongraphical.admonition">
|
||||||
|
<div class="{name(.)}">
|
||||||
|
<div class ="admonhead">
|
||||||
|
<h3 class="admontitle">
|
||||||
|
<xsl:apply-templates select="." mode="object.title.markup"/>
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div class="admonbody">
|
||||||
|
<xsl:apply-templates/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
<!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)-->
|
<!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)-->
|
||||||
<xsl:template name="sect2.titlepage">
|
<xsl:template name="sect2.titlepage">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
@ -150,10 +166,6 @@ div.important h3, div.warning h3, div.caution h3 {
|
|||||||
color: #900;
|
color: #900;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.admonhead img {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3.admontitle {
|
h3.admontitle {
|
||||||
padding-left: 2.5em;
|
padding-left: 2.5em;
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
|
Loading…
Reference in New Issue
Block a user