Changeset c863747 for stylesheets


Ignore:
Timestamp:
08/29/2004 08:00:56 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
6.0
Children:
cdfb460
Parents:
3001a42
Message:

Wrapped the commands until Chapter 5 to 60 chars.
Testing new look for 'cat > .... << EOF' blocks.

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

Location:
stylesheets
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs.css

    r3001a42 rc863747  
    234234}
    235235
     236.literal {
     237  font-weight: normal;
     238}
     239
    236240pre.screen {
    237241  color: #000;
  • stylesheets/pdf/lfs-mixed.xsl

    r3001a42 rc863747  
    183183  </xsl:template>
    184184
     185    <!-- Presentation of literal tag -->
     186  <xsl:template match="literal">
     187    <fo:inline  font-weight="normal">
     188      <xsl:call-template name="inline.monoseq"/>
     189    </fo:inline>
     190  </xsl:template>
     191
    185192</xsl:stylesheet>
  • stylesheets/xhtml/lfs-mixed.xsl

    r3001a42 rc863747  
    1010      <xsl:when test="child::* = userinput">
    1111        <pre class="userinput">
    12           <kbd class="command">
    13             <xsl:value-of select="."/>
    14           </kbd>
     12            <xsl:apply-templates/>
    1513        </pre>
    1614      </xsl:when>
     
    2220    </xsl:choose>
    2321  </xsl:template>
     22 
     23  <xsl:template match="userinput">
     24    <xsl:choose>
     25      <xsl:when test="ancestor::screen">
     26        <kbd class="command">
     27          <xsl:apply-templates/>
     28        </kbd>
     29      </xsl:when>
     30      <xsl:otherwise>
     31        <xsl:apply-imports/>
     32      </xsl:otherwise>
     33    </xsl:choose>
     34  </xsl:template>
     35
    2436 
    2537  <!-- variablelist -->
Note: See TracChangeset for help on using the changeset viewer.