Changeset 1df87ee


Ignore:
Timestamp:
01/15/2024 08:47:56 AM (3 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
12.1, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/llvm18
Children:
12dc86b
Parents:
ce402041
Message:

Output the book in utf-8 encoding

Also fix doctype being removed by tidy in longindex by removing a wrong
attribute (xmlns:xlink) in a div element in the index.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rce402041 r1df87ee  
    109109                stylesheets/blfs-chunked.xsl               \
    110110                $(RENDERTMP)/$(BLFSHTML)
     111        $(Q)sed -i 's/xmlns:xlink.*xlink"//' $(BASEDIR)/longindex.html
    111112
    112113        @echo "Copying CSS code and images..."
     
    142143                stylesheets/blfs-nochunks.xsl          \
    143144                $(RENDERTMP)/$(BLFSHTML)
     145        $(Q)sed -i 's/xmlns:xlink.*xlink"//' $(BASEDIR)/$(NOCHUNKS_OUTPUT)
    144146
    145147        @echo "Running Tidy and obfuscate.sh on non-chunked XHTML..."
  • stylesheets/lfs-xsl/chunk-slave.xsl

    rce402041 r1df87ee  
    1010    <!-- Upstream XHTML presentation templates -->
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
    12 
    13     <!-- Use ISO-8859-1 for output instead of default UTF-8 -->
    14   <xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
    1512
    1613    <!-- Including our customized elements templates -->
  • stylesheets/lfs-xsl/nochunks.xsl

    rce402041 r1df87ee  
    1010    <!-- Upstream XHTML templates -->
    1111  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
    12 
    13     <!-- Fix encoding issues with default UTF-8 output of the xhtml stylesheet -->
    14   <xsl:output method="html" encoding="ISO-8859-1" indent="no" />
    1512
    1613   <!-- Including our others customized templates -->
  • tidy.conf

    rce402041 r1df87ee  
    55wrap: 78
    66tab-size: 8
    7 input-encoding: latin1
    8 output-encoding: latin1
    97newline: LF
    108write-back: yes
Note: See TracChangeset for help on using the changeset viewer.