abra zsh config 2.0

This commit is contained in:
Andrey Anurin
2018-08-12 15:26:21 +03:00
parent 201abd09c4
commit 6b114440e2
1195 changed files with 68948 additions and 10539 deletions

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../../docbook-xsl/current/fo/docbook.xsl"/>
<!-- Number all sections in the style of 'CH.S1.S2 Section Title' where
CH is the chapter number, S1 is the section number and S2 is the
sub-section number. The lables are not limited to any particular
depth and can go as far as there are sections. -->
<xsl:param name="section.autolabel" select="1"></xsl:param>
<xsl:param name="section.label.includes.component.label" select="0"></xsl:param>
<!-- Turn off the default 'full justify' and go with 'left justify'
instead. This avoids the large gaps that can sometimes appear
between words in fully-justified documents. -->
<xsl:param name="alignment">start</xsl:param>
<!-- Shade Verbatim Sections such as programlisting and screen -->
<xsl:param name="shade.verbatim" select="1"/>
<!-- Create bookmarks in .PDF files -->
<xsl:param name="fop.extensions" select="1"/>
</xsl:stylesheet>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This file contains parameters that are applicable to all of the
tldp-*.xsl files in the html directory. -->
<!-- Create a link to a CSS stylesheet named 'style.css' in all html
output so that pages can be beautified. Browsers not supporting
CSS should safely ignore the link. -->
<xsl:param name="html.stylesheet.type">text/css</xsl:param>
<xsl:param name="html.stylesheet" select="'style.css'"></xsl:param>
<!-- Number all sections in the style of 'CH.S1.S2 Section Title' where
CH is the chapter number, S1 is the section number and S2 is the
sub-section number. The lables are not limited to any particular
depth and can go as far as there are sections. -->
<xsl:param name="section.autolabel" select="1"></xsl:param>
<xsl:param name="section.label.includes.component.label" select="0"></xsl:param>
</xsl:stylesheet>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../../docbook-xsl/current/html/docbook.xsl"/>
<xsl:import href="tldp-common.xsl"/>
<xsl:output method="html" encoding="UTF-8" indent="no"/>
<!-- This set of customizations is used to generate the entire XML
document on a single HTML page. -->
</xsl:stylesheet>

View File

@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id$ -->
<!--
example ways to process this xslt:
$ java -cp xalan-2.6.0.jar \
org.apache.xalan.xslt.Process -xml -in log4sh.xml -xsl shelldoc.xslt
$ xsltproc shelldoc.xslt log4sh.xml |xmllint -noblanks -
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:s="http://www.forestent.com/projects/shelldoc/xsl/2005.0">
<xsl:output
method="xml"
version="1.0"
encoding="UTF-8"
indent="yes"/>
<xsl:strip-space elements="*" />
<xsl:variable name="newline">
<xsl:text>
</xsl:text>
</xsl:variable>
<xsl:key name="groups" match="s:function" use="@group" />
<xsl:template match="/">
<chapter id="shelldoc" lang="en-US"><title>Function Reference</title>
<xsl:for-each select="//s:function[generate-id(.)=generate-id(key('groups', @group)[1])]">
<xsl:sort select="@group" />
<section>
<xsl:attribute name="id">shelldoc-section-<xsl:value-of select="@group" /></xsl:attribute>
<title><xsl:value-of select="@group"/></title>
<table>
<xsl:attribute name="id">shelldoc-function-<xsl:value-of select="@group" /></xsl:attribute>
<title><xsl:value-of select="@group"/></title>
<tgroup cols="2"><tbody>
<xsl:for-each select="key('groups', @group)">
<!--<xsl:sort select="entry/funcsynopsis/funcprototype/funcdef/function" />-->
<xsl:choose>
<xsl:when test="@modifier">
<xsl:if test="@modifier != 'private'">
<row valign="top">
<xsl:copy-of select="entry" />
<!--<xsl:apply-templates select="entry" />-->
</row>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<row valign="top">
<xsl:copy-of select="entry" />
<!--<xsl:apply-templates select="entry" />-->
</row>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</tbody></tgroup>
</table>
</section>
</xsl:for-each>
</chapter>
</xsl:template>
<xsl:template match="entry">
<entry>
<xsl:copy-of select="*" />
</entry>
</xsl:template>
</xsl:stylesheet>