diff options
author | lumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-20 09:56:48 +0000 |
---|---|---|
committer | lumag <lumag@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-10-20 09:56:48 +0000 |
commit | 44d459e63ec4b6488b53819511367891d943cf9b (patch) | |
tree | 7ea0c97dece86dd9fe716d6237df979e1b8a359f /DOCS/xml/ru | |
parent | 1843717d9ce84c9c20056ab57b984212c7c53386 (diff) | |
download | mpv-44d459e63ec4b6488b53819511367891d943cf9b.tar.bz2 mpv-44d459e63ec4b6488b53819511367891d943cf9b.tar.xz |
Add support for building all-in-one HTML docs. (Files go to DOCS/HTML-single)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11189 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/xml/ru')
-rw-r--r-- | DOCS/xml/ru/Makefile | 3 | ||||
-rw-r--r-- | DOCS/xml/ru/html-chunk.xsl | 8 | ||||
-rw-r--r-- | DOCS/xml/ru/html-common.xsl | 15 | ||||
-rw-r--r-- | DOCS/xml/ru/html-single.xsl | 9 | ||||
-rw-r--r-- | DOCS/xml/ru/html.xsl | 9 |
5 files changed, 27 insertions, 17 deletions
diff --git a/DOCS/xml/ru/Makefile b/DOCS/xml/ru/Makefile index 573ef6e76a..92b9023cb5 100644 --- a/DOCS/xml/ru/Makefile +++ b/DOCS/xml/ru/Makefile @@ -7,4 +7,5 @@ include ../Makefile.inc USE_SYMLINKS = yes # Dependency information. -$(HTMLDIR)/index.html: $(wildcard *.xml) +$(HTMLDIR)/index.html: $(wildcard *.xml) html-common.xsl +$(HTMLFILE): $(wildcard *.xml) html-common.xsl diff --git a/DOCS/xml/ru/html-chunk.xsl b/DOCS/xml/ru/html-chunk.xsl new file mode 100644 index 0000000000..8e82e1b8dd --- /dev/null +++ b/DOCS/xml/ru/html-chunk.xsl @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:import href="../html-chunk.xsl"/> + <xsl:include href="html-common.xsl"/> + +</xsl:stylesheet> diff --git a/DOCS/xml/ru/html-common.xsl b/DOCS/xml/ru/html-common.xsl new file mode 100644 index 0000000000..1cf1887e5d --- /dev/null +++ b/DOCS/xml/ru/html-common.xsl @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> + + <xsl:param name="chunker.output.encoding" select="'KOI8-R'"/> + <xsl:output encoding="KOI8-R"/> + + <!-- This forces Saxon to output chars from KOI8-R as is and not as something like Ƽ + WARNING: This will probably work with HTML output, and won't with output XML. + Anyway, this file will generate only HTML :) + --> + <xsl:param name="saxon.character.representation" select="'native;decimal'"/> + +</xsl:stylesheet> diff --git a/DOCS/xml/ru/html-single.xsl b/DOCS/xml/ru/html-single.xsl index ed8d3b75a9..7b876e06eb 100644 --- a/DOCS/xml/ru/html-single.xsl +++ b/DOCS/xml/ru/html-single.xsl @@ -1,15 +1,8 @@ <?xml version="1.0" encoding="ISO-8859-1"?> - <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="../html.xsl"/> - <xsl:param name="chunker.output.encoding" select="'KOI8-R'"/> - - <!-- This forces Saxon to output chars from KOI8-R as is and not as something like Ƽ - WARNING: This will probably work with HTML output, and won't with output XML. - Anyway, this file will generate only HTML :) - --> - <xsl:param name="saxon.character.representation" select="'native;decimal'"/> + <xsl:include href="html-common.xsl"/> </xsl:stylesheet> diff --git a/DOCS/xml/ru/html.xsl b/DOCS/xml/ru/html.xsl index ed8d3b75a9..7b876e06eb 100644 --- a/DOCS/xml/ru/html.xsl +++ b/DOCS/xml/ru/html.xsl @@ -1,15 +1,8 @@ <?xml version="1.0" encoding="ISO-8859-1"?> - <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="../html.xsl"/> - <xsl:param name="chunker.output.encoding" select="'KOI8-R'"/> - - <!-- This forces Saxon to output chars from KOI8-R as is and not as something like Ƽ - WARNING: This will probably work with HTML output, and won't with output XML. - Anyway, this file will generate only HTML :) - --> - <xsl:param name="saxon.character.representation" select="'native;decimal'"/> + <xsl:include href="html-common.xsl"/> </xsl:stylesheet> |