mirror of
https://github.com/kastdeur/dotfiles.git
synced 2025-06-18 05:06:38 +02:00
Added vim plugin + autoindent\n use vi if vim is typed and not available
This commit is contained in:
parent
ef8bf8ac54
commit
061f80b9b9
144 changed files with 30057 additions and 0 deletions
62
vim/vim-latex/doc/latex-suite-common.xsl
Executable file
62
vim/vim-latex/doc/latex-suite-common.xsl
Executable file
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0"
|
||||
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
||||
exclude-result-prefixes="#default">
|
||||
|
||||
<!-- Common customizations for all stylesheets -->
|
||||
|
||||
<!-- this omits the trailing '.' in numbered sections -->
|
||||
<xsl:param name="autotoc.label.separator" select="' '"/>
|
||||
<xsl:param name="local.l10n.xml" select="document('')"/>
|
||||
|
||||
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
|
||||
<l:l10n language="en">
|
||||
<l:context name="title-numbered">
|
||||
<l:template name="section" text="%n %t"/>
|
||||
</l:context>
|
||||
</l:l10n>
|
||||
</l:i18n>
|
||||
|
||||
<!-- override template for revhistory table -->
|
||||
<xsl:template match="revhistory" mode="titlepage.mode">
|
||||
<xsl:variable name="numcols">
|
||||
<xsl:choose>
|
||||
<xsl:when test="//authorinitials">3</xsl:when>
|
||||
<xsl:otherwise>2</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</xsl:variable>
|
||||
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" class="{name(.)}">
|
||||
<table border="2" cellspacing="4" width="100%" summary="Revision history">
|
||||
<tr>
|
||||
<th align="left" valign="top" colspan="{$numcols}">
|
||||
<b>
|
||||
<xsl:call-template name="gentext">
|
||||
<xsl:with-param name="key" select="'RevHistory'"/>
|
||||
</xsl:call-template>
|
||||
</b>
|
||||
</th>
|
||||
</tr>
|
||||
<xsl:apply-templates mode="titlepage.mode">
|
||||
<xsl:with-param name="numcols" select="$numcols"/>
|
||||
</xsl:apply-templates>
|
||||
</table>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<!--
|
||||
<xsl:template name="user.header.content">
|
||||
<div id="customheader">
|
||||
<span class="logo">TeX Refs</span>
|
||||
</div>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template name="user.footer.content">
|
||||
<div id="customfooter">
|
||||
Copyright © 2002 P. Karp, M. Wiedmann
|
||||
</div>
|
||||
</xsl:template>
|
||||
-->
|
||||
|
||||
</xsl:stylesheet>
|
Loading…
Add table
Add a link
Reference in a new issue