📄 mystyle-html.xsl
字号:
<?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"><!-- Load chunk.xsl stylesheet --><xsl:import href="/usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl"/><!-- Change appearance of nonterminals --><xsl:template match="nonterminal"> <xsl:text><</xsl:text> <xsl:apply-templates/> <xsl:text>></xsl:text></xsl:template><!-- Make chapter titles use h1 --><xsl:template name="component.title"> <xsl:param name="node" select="."/> <h1 class="title"> <xsl:call-template name="anchor"> <xsl:with-param name="node" select="$node"/> <xsl:with-param name="conditional" select="0"/> </xsl:call-template> <xsl:apply-templates select="$node" mode="object.title.markup"> <xsl:with-param name="allow-anchors" select="1"/> </xsl:apply-templates> </h1></xsl:template><!-- Use UTF-8 encoding --><xsl:param name="default.encoding" select="'UTF-8'"/><!-- Don't make chunks of sections --><xsl:param name="chunk.section.depth" select="0"/><!-- Don't enumerate chapters --><xsl:param name="chapter.autolabel" select="0"/><!-- Don't annotate toc --><xsl:param name="annotate.toc" select="0"/><!-- Don't enumerate parts --><xsl:param name="part.autolabel" select="0"/><!-- Don't include unnecessary separators in reference collections --><xsl:param name="refentry.separator" select="0"/><!-- --><xsl:param name="toc.section.depth" select="1"/><!-- Don't make table of contents in each chapter --><xsl:param name="generate.toc">book toc,figure,table,example,equationpart tocqandadiv tocqandaset tocreference tocsection tocset toc</xsl:param><!-- Place titles after figures and examples --><xsl:param name="formal.title.placement">figure afterexample afterequation beforetable beforeprocedure before</xsl:param><!-- Use element id (if present) as file name --><xsl:variable name="use.id.as.filename">1</xsl:variable><!-- Shade verbatim items --><xsl:variable name="shade.verbatim">1</xsl:variable><!-- Make shading cover all screen width --><xsl:attribute-set name="shade.verbatim.style"> <xsl:attribute name="width">100%</xsl:attribute></xsl:attribute-set><!-- Set font styles for various tags --><xsl:template match="application"> <xsl:call-template name="inline.boldmonoseq"/></xsl:template></xsl:stylesheet>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -