Changeset 3ee57d0


Ignore:
Timestamp:
07/03/2005 08:41:22 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e2c3fb9
Parents:
58f10f85
Message:

Full removed admon graphics on nochunked output.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6352 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r58f10f85 r3ee57d0  
    6262          $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    6363
    64         if [ ! -e $(BASEDIR)/images ]; then \
    65                 mkdir -p $(BASEDIR)/images; \
    66         fi;
    67         cp $(XSLROOTDIR)/images/*.png \
    68           $(BASEDIR)/images
    69         cd $(BASEDIR)/; sed -i -e "s@../images@images@g" \
    70           *.html
    71 
    7264validate:
    7365        xmllint --noout --nonet --xinclude --postvalid index.xml
  • stylesheets/lfs-nochunks.xsl

    r58f10f85 r3ee57d0  
    88  <xsl:import href="http://docbook.sourceforge.net/release/xsl/1.68.1/xhtml/profile-docbook.xsl"/>
    99
    10   <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
     10    <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
    1111  <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
    12  
     12
    1313   <!-- Including our others customized templates -->
    14   <xsl:include href="xhtml/lfs-admon.xsl"/>
    1514  <xsl:include href="xhtml/lfs-index.xsl"/>
    1615  <xsl:include href="xhtml/lfs-mixed.xsl"/>
     
    2524  <xsl:param name="ulink.target" select="''"></xsl:param>
    2625  <xsl:param name="css.decoration" select="0"></xsl:param>
     26
     27    <!-- Don't use graphics in admonitions -->
     28  <xsl:param name="admon.graphics" select="0"/>
     29
     30    <!-- Changing the admonitions output tagging -->
     31  <xsl:template name="nongraphical.admonition">
     32    <div class="{name(.)}">
     33      <div class ="admonhead">
     34        <h3 class="admontitle">
     35          <xsl:apply-templates select="." mode="object.title.markup"/>
     36        </h3>
     37      </div>
     38      <div class="admonbody">
     39        <xsl:apply-templates/>
     40      </div>
     41    </div>
     42  </xsl:template>
    2743
    2844    <!-- To drop the remainig dot when title is empty (from lfs-titles.xsl)-->
     
    151167}
    152168
    153 div.admonhead img {
    154   display: none;
    155 }
    156 
    157169h3.admontitle {
    158170  padding-left: 2.5em;
Note: See TracChangeset for help on using the changeset viewer.