Generate utf-8 encoded html (needs to be tested)

This commit is contained in:
Poltern 2023-11-26 21:46:04 +05:00
parent 18060affab
commit 97f14efe8f
3 changed files with 2 additions and 8 deletions

View File

@ -57,7 +57,7 @@ book: validate profile-html
true; \ true; \
/bin/bash obfuscate.sh $$filename; \ /bin/bash obfuscate.sh $$filename; \
sed -e "s@text/html@application/xhtml+xml@g" \ sed -e "s@text/html@application/xhtml+xml@g" \
-e "s/\#xa9/\©/ " \ # -e "s/\#xa9/\©/ " \
-i $$filename; \ -i $$filename; \
done; done;
@ -117,7 +117,7 @@ nochunks: validate profile-html
$(Q)sed -i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/$(NOCHUNKS_OUTPUT) $(Q)sed -i -e "s@text/html@application/xhtml+xml@g" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(Q)sed -i -e "s@../wget-list@wget-list@" $(BASEDIR)/$(NOCHUNKS_OUTPUT) $(Q)sed -i -e "s@../wget-list@wget-list@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(Q)sed -i -e "s@../md5sums@md5sums@" $(BASEDIR)/$(NOCHUNKS_OUTPUT) $(Q)sed -i -e "s@../md5sums@md5sums@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
$(Q)sed -i -e "s@\#xa9@\©@" $(BASEDIR)/$(NOCHUNKS_OUTPUT) # $(Q)sed -i -e "s@\#xa9@\©@" $(BASEDIR)/$(NOCHUNKS_OUTPUT)
@echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)" @echo "Output at $(BASEDIR)/$(NOCHUNKS_OUTPUT)"

View File

@ -10,9 +10,6 @@
<!-- Upstream XHTML presentation templates --> <!-- Upstream XHTML presentation templates -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
<!-- Use ISO-8859-1 for output instead of default UTF-8 -->
<xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
<!-- Including our customized elements templates --> <!-- Including our customized elements templates -->
<xsl:include href="common.xsl"/> <xsl:include href="common.xsl"/>
<xsl:include href="xhtml/lfs-admon.xsl"/> <xsl:include href="xhtml/lfs-admon.xsl"/>

View File

@ -1,9 +1,6 @@
indent-spaces: 2 indent-spaces: 2
wrap: 78 wrap: 78
tab-size: 8 tab-size: 8
#input-encoding: UTF-8
#output-encoding: UTF-8
char-encoding: utf8
write-back: yes write-back: yes
markup: yes markup: yes
indent: yes indent: yes