This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Website text-only questions/problems (encoding, index reference)
- From: Marc Baaden <baaden at smplinux dot de>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sun, 28 Sep 2003 15:01:51 +0200
- Subject: [docbook-apps] Website text-only questions/problems (encoding, index reference)
Hi,
I have recently started to use website, and am very happy with it.
There are some minor issues for me, trying to create a tabular and
text-only version in one go:
1) How to modify encoding on text-only version ?
When I generate a textonly version of my website (the tabular one is
fine) via
SGML_CATALOG_FILES=/etc/sgml/catalog xsltproc --catalogs --nonet \
--maxdepth 999 --stringparam output-root . mywebsite.xsl autolayout.xml
I get
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
at the top of each generated html file. How can I change the UTF-8 encoding
to ISO-8859-1 ? (I have tried modifying mywebsite.xsl, but with no success)
I have tried the following (in vain)
<xsl:output method="xml" encoding="ISO-8859-1" indent="no"/>
<xsl:output method="text" encoding="ISO-8859-1" indent="no"/>
<xsl:output method="html" encoding="ISO-8859-1" indent="no"/>
<xsl:param name="encoding" select="'ISO-8859-1'"/>
2) Alternative link toggle between tabular/text-only
Another thing is that I have added a link from the tabular to the text-only
version via
<tocentry id="togglemode" href="txtindex.html">
<title>(text only)</title>
</tocentry>
That works fine in the sense tabular->text-only. But I'd like to get the
inverse link to tabular on the text-only version. How could one achieve
this ? Eg a "conditional" version of the above that changes to
<tocentry id="togglemode" href="index.html">
<title>(tabular)</title>
</tocentry>
Thanks in advance,
Marc Baaden
--
Dr. Marc Baaden - Institut de Biologie Physico-Chimique, Paris
mailto:baaden@smplinux.de - http://www.marc-baaden.de
FAX: +49 697912 39550 - Tel: +33 15841 5176 ou +33 609 843217
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.