Skip to content

Latest commit

 

History

History
1810 lines (1803 loc) · 53.6 KB

docbk.markdown

File metadata and controls

1810 lines (1803 loc) · 53.6 KB

DocBook 4.5 Snippets for snipMate

The docbk.snippets file provides a complete set of snippets for the DocBook 4.5 XML language according to DocBook: The Definitive Guide, version 2.0.17.

Snippets for DocBook 4.5 Elements

Trigger Description
abbrev <abbrev>...</abbrev>
abstract <abstract>...</abstract>
accel <accel>...</accel>
ackno <ackno>...</ackno>
acronym <acronym>...</acronym>
action <action>...</action>
address <address>...</address>
affiliation <affiliation>...</affiliation>
alt <alt>...</alt>
anchor <anchor id="..." />
answer <answer>...</answer>
appendix <appendix id="...">...</appendix>
appendixinfo <appendixinfo>...</appendixinfo>
application <application>...</application>
area <area id="..." coords="..." />
areaset <areaset id="...">...</areaset>
areaspec <areaspec units="...">...</areaspec>
arg <arg>...</arg>
article <article id="...">...</article>
articleinfo <articleinfo>...</articleinfo>
artpagenums <artpagenums>...</artpagenums>
attribution <attribution>...</attribution>
audiodata <audiodata fileref="..." />
audioobject <audioobject>...</audioobject>
author <author>...</author>
authorblurb <authorblurb>...</authorblurb>
authorgroup <authorgroup>...</authorgroup>
authorinitials <authorinitials>...</authorinitials>
beginpage <beginpage pagenum="..." />
bibliocoverage <bibliocoverage>...</bibliocoverage>
bibliodiv <bibliodiv>...</bibliodiv>
biblioentry <biblioentry>...</biblioentry>
bibliography <bibliography id="...">...</bibliography>
bibliographyinfo <bibliographyinfo>...</bibliographyinfo>
biblioid <biblioid class="...">...</biblioid>
bibliolist <bibliolist>...</bibliolist>
bibliomisc <bibliomisc>...</bibliomisc>
bibliomixed <bibliomixed>...</bibliomixed>
bibliomset <bibliomset relation="...">...</bibliomset>
biblioref <biblioref linkend="..." />
bibliorelation <bibliorelation type="..." class="...">...</bibliorelation>
biblioset <biblioset relation="...">...</biblioset>
bibliosource <bibliosource class="...">...</bibliosource>
blockinfo <blockinfo>...</blockinfo>
blockquote <blockquote>...</blockquote>
book <book id="...">...</book>
bookinfo <bookinfo>...</bookinfo>
bridgehead <bridgehead renderas="...">...</bridgehead>
callout <callout arearefs="...">...</callout>
calloutlist <calloutlist>...</calloutlist>
caption <caption>...</caption>
caution <caution>...</caution>
chapter <chapter id="...">...</chapter>
chapterinfo <chapterinfo>...</chapterinfo>
citation <citation>...</citation>
citebiblioid <citebiblioid class="...">...</citebiblioid>
citerefentry <citerefentry>...</citerefentry>
citetitle <citetitle pubwork="...">...</citetitle>
city <city>...</city>
classname <classname>...</classname>
classsynopsis <classsynopsis class="..." language="...">...</classsynopsis>
classsynopsisinfo <classsynopsisinfo>...</classsynopsisinfo>
cmdsynopsis <cmdsynopsis>...</cmdsynopsis>
co <co label="..." linkends="..." />
code <code language="...">...</code>
col <col>...</col>
colgroup <colgroup>...</colgroup>
collab <collab>...</collab>
collabname <collabname>...</collabname>
colophon <colophon id="...">...</colophon>
colspec <colspec colname="..." colnum="..." colwidth="..." />
command <command>...</command>
computeroutput <computeroutput>...</computeroutput>
confdates <confdates>...</confdates>
confgroup <confgroup>...</confgroup>
confnum <confnum>...</confnum>
confsponsor <confsponsor>...</confsponsor>
conftitle <conftitle>...</conftitle>
constant <constant>...</constant>
constructorsynopsis <constructorsynopsis language="...">...</constructorsynopsis>
contractnum <contractnum>...</contractnum>
contractsponsor <contractsponsor>...</contractsponsor>
contrib <contrib>...</contrib>
copyright <copyright>...</copyright>
coref <coref label="..." linkend="..." />
corpauthor <corpauthor>...</corpauthor>
corpcredit <corpcredit>...</corpcredit>
corpname <corpname>...</corpname>
country <country>...</country>
database <database class="...">...</database>
date <date>...</date>
dedication <dedication>...</dedication>
destructorsynopsis <destructorsynopsis language="...">...</destructorsynopsis>
edition <edition>...</edition>
editor <editor>...</editor>
email <email>...</email>
emphasis <emphasis>...</emphasis>
entry <entry>...</entry>
entrytbl <entrytbl cols="...">...</entrytbl>
envar <envar>...</envar>
epigraph <epigraph>...</epigraph>
equation <equation>...</equation>
errorcode <errorcode>...</errorcode>
errorname <errorname>...</errorname>
errortext <errortext>...</errortext>
errortype <errortype>...</errortype>
example <example id="...">...</example>
exceptionname <exceptionname>...</exceptionname>
fax <fax>...</fax>
fieldsynopsis <fieldsynopsis language="...">...</fieldsynopsis>
figure <figure id="...">...</figure>
filename <filename>...</filename>
firstname <firstname>...</firstname>
firstterm <firstterm>...</firstterm>
footnote <footnote>...</footnote>
footnoteref <footnoteref linkend="..." />
foreignphrase <foreignphrase>...</foreignphrase>
formalpara <formalpara>...</formalpara>
funcdef <funcdef>...</funcdef>
funcparams <funcparams>...</funcparams>
funcprototype <funcprototype>...</funcprototype>
funcsynopsis <funcsynopsis>...</funcsynopsis>
funcsynopsisinfo <funcsynopsisinfo>...</funcsynopsisinfo>
function <function>...</function>
glossary <glossary id="...">...</glossary>
glossaryinfo <glossaryinfo>...</glossaryinfo>
glossdef <glossdef>...</glossdef>
glossdiv <glossdiv>...</glossdiv>
glossentry <glossentry>...</glossentry>
glosslist <glosslist>...</glosslist>
glosssee <glosssee otherterm="...">...</glosssee>
glossseealso <glossseealso otherterm="...">...</glossseealso>
glossterm <glossterm>...</glossterm>
graphic <graphic fileref="..." />
graphicco <graphicco>...</graphicco>
group <group>...</group>
guibutton <guibutton>...</guibutton>
guiicon <guiicon>...</guiicon>
guilabel <guilabel>...</guilabel>
guimenu <guimenu>...</guimenu>
guimenuitem <guimenuitem>...</guimenuitem>
guisubmenu <guisubmenu>...</guisubmenu>
hardware <hardware>...</hardware>
highlights <highlights>...</highlights>
holder <holder>...</holder>
honorific <honorific>...</honorific>
imagedata <imagedata fileref="..." format="..." scalefit="..." />
imageobject <imageobject>...</imageobject>
imageobjectco <imageobjectco>...</imageobjectco>
important <important>...</important>
index <index id="...">...</index>
indexdiv <indexdiv>...</indexdiv>
indexentry <indexentry>...</indexentry>
indexinfo <indexinfo>...</indexinfo>
indexterm <indexterm>...</indexterm>
informalequation <informalequation>...</informalequation>
informalexample <informalexample>...</informalexample>
informalfigure <informalfigure>...</informalfigure>
informaltable <informaltable>...</informaltable>
initializer <initializer>...</initializer>
inlineequation <inlineequation>...</inlineequation>
inlinegraphic <inlinegraphic fileref="..." format="..." scalefit="..." />
inlinemediaobject <inlinemediaobject>...</inlinemediaobject>
interface <interface>...</interface>
interfacename <interfacename>...</interfacename>
invpartnumber <invpartnumber>...</invpartnumber>
isbn <isbn>...</isbn>
issn <issn>...</issn>
issuenum <issuenum>...</issuenum>
itemizedlist <itemizedlist>...</itemizedlist>
itermset <itermset>...</itermset>
jobtitle <jobtitle>...</jobtitle>
keycap <keycap>...</keycap>
keycode <keycode>...</keycode>
keycombo <keycombo>...</keycombo>
keysym <keysym>...</keysym>
keyword <keyword>...</keyword>
keywordset <keywordset>...</keywordset>
label <label>...</label>
legalnotice <legalnotice>...</legalnotice>
lineage <lineage>...</lineage>
lineannotation <lineannotation>...</lineannotation>
link <link linkend="...">...</link>
listitem <listitem>...</listitem>
literal <literal>...</literal>
literallayout <literallayout>...</literallayout>
lot <lot>...</lot>
lotentry <lotentry linkend="...">...</lotentry>
manvolnum <manvolnum>...</manvolnum>
markup <markup>...</markup>
mathphrase <mathphrase>...</mathphrase>
medialabel <medialabel>...</medialabel>
mediaobject <mediaobject>...</mediaobject>
mediaobjectco <mediaobjectco>...</mediaobjectco>
member <member>...</member>
menuchoice <menuchoice>...</menuchoice>
methodname <methodname>...</methodname>
methodparam <methodparam>...</methodparam>
methodsynopsis <methodsynopsis language="...">...</methodsynopsis>
modespec <modespec application="...">...</modespec>
modifier <modifier>...</modifier>
mousebutton <mousebutton>...</mousebutton>
msg <msg>...</msg>
msgaud <msgaud>...</msgaud>
msgentry <msgentry>...</msgentry>
msgexplan <msgexplan>...</msgexplan>
msginfo <msginfo>...</msginfo>
msglevel <msglevel>...</msglevel>
msgmain <msgmain>...</msgmain>
msgorig <msgorig>...</msgorig>
msgrel <msgrel>...</msgrel>
msgset <msgset>...</msgset>
msgsub <msgsub>...</msgsub>
msgtext <msgtext>...</msgtext>
note <note>...</note>
objectinfo <objectinfo>...</objectinfo>
olink <olink targetdocent="...">...</olink>
ooclass <ooclass>...</ooclass>
ooexception <ooexception>...</ooexception>
oointerface <oointerface>...</oointerface>
option <option>...</option>
optional <optional>...</optional>
orderedlist <orderedlist>...</orderedlist>
orgdiv <orgdiv>...</orgdiv>
orgname <orgname>...</orgname>
otheraddr <otheraddr>...</otheraddr>
othercredit <othercredit>...</othercredit>
othername <othername>...</othername>
package <package>...</package>
pagenums <pagenums>...</pagenums>
para <para>...</para>
paramdef <paramdef>...</paramdef>
parameter <parameter class="...">...</parameter>
part <part id="...">...</part>
partinfo <partinfo>...</partinfo>
partintro <partintro>...</partintro>
personblurb <personblurb>...</personblurb>
personname <personname>...</personname>
phone <phone>...</phone>
phrase <phrase>...</phrase>
pob <pob>...</pob>
postcode <postcode>...</postcode>
preface <preface id="...">...</preface>
prefaceinfo <prefaceinfo>...</prefaceinfo>
primary <primary>...</primary>
primaryie <primaryie>...</primaryie>
printhistory <printhistory>...</printhistory>
procedure <procedure id="...">...</procedure>
productname <productname class="...">...</productname>
productnumber <productnumber>...</productnumber>
programlisting <programlisting language="...">...</programlisting>
programlistingco <programlistingco>...</programlistingco>
prompt <prompt>...</prompt>
property <property>...</property>
pubdate <pubdate>...</pubdate>
publisher <publisher>...</publisher>
publishername <publishername>...</publishername>
pubsnumber <pubsnumber>...</pubsnumber>
qandadiv <qandadiv>...</qandadiv>
qandaentry <qandaentry>...</qandaentry>
qandaset <qandaset>...</qandaset>
question <question>...</question>
quote <quote>...</quote>
refclass <refclass>...</refclass>
refdescriptor <refdescriptor>...</refdescriptor>
refentry <refentry>...</refentry>
refentryinfo <refentryinfo>...</refentryinfo>
refentrytitle <refentrytitle>...</refentrytitle>
reference <reference>...</reference>
referenceinfo <referenceinfo>...</referenceinfo>
refmeta <refmeta>...</refmeta>
refmiscinfo <refmiscinfo>...</refmiscinfo>
refname <refname>...</refname>
refnamediv <refnamediv>...</refnamediv>
refpurpose <refpurpose>...</refpurpose>
refsect1 <refsect1 id="...">...</refsect>
refsect1info <refsect1info>...</refsect>
refsect2 <refsect2 id="...">...</refsect>
refsect2info <refsect2info>...</refsect>
refsect3 <refsect3 id="...">...</refsect>
refsect3info <refsect3info>...</refsect>
refsection <refsection id="...">...</refsection>
refsectioninfo <refsectioninfo>...</refsectioninfo>
refsynopsisdiv <refsynopsisdiv>...</refsynopsisdiv>
refsynopsisdivinfo <refsynopsisdivinfo>...</refsynopsisdivinfo>
releaseinfo <releaseinfo>...</releaseinfo>
remark <remark>...</remark>
replaceable <replaceable>...</replaceable>
returnvalue <returnvalue>...</returnvalue>
revdescription <revdescription>...</revdescription>
revhistory <revhistory>...</revhistory>
revision <revision>...</revision>
revnumber <revnumber>...</revnumber>
revremark <revremark>...</revremark>
row <row>...</row>
sbr <sbr />
screen <screen>...</screen>
screenco <screenco>...</screenco>
screeninfo <screeninfo>...</screeninfo>
screenshot <screenshot>...</screenshot>
secondary <secondary>...</secondary>
secondaryie <secondaryie>...</secondaryie>
sect1 <sect1 id="...">...</sect>
sect1info <sect1info>...</sect>
sect2 <sect2 id="...">...</sect>
sect2info <sect2info>...</sect>
sect3 <sect3 id="...">...</sect>
sect3info <sect3info>...</sect>
sect4 <sect4 id="...">...</sect>
sect4info <sect4info>...</sect>
sect5 <sect5 id="...">...</sect>
sect5info <sect5info>...</sect>
section <section id="...">...</section>
sectioninfo <sectioninfo>...</sectioninfo>
see <see>...</see>
seealso <seealso>...</seealso>
seealsoie <seealsoie>...</seealsoie>
seeie <seeie>...</seeie>
seg <seg>...</seg>
seglistitem <seglistitem>...</seglistitem>
segmentedlist <segmentedlist>...</segmentedlist>
segtitle <segtitle>...</segtitle>
seriesvolnums <seriesvolnums>...</seriesvolnums>
set <set>...</set>
setindex <setindex>...</setindex>
setindexinfo <setindexinfo>...</setindexinfo>
setinfo <setinfo>...</setinfo>
sgmltag <sgmltag>...</sgmltag>
shortaffil <shortaffil>...</shortaffil>
shortcut <shortcut>...</shortcut>
sidebar <sidebar>...</sidebar>
sidebarinfo <sidebarinfo>...</sidebarinfo>
simpara <simpara>...</simpara>
simplelist <simplelist>...</simplelist>
simplemsgentry <simplemsgentry>...</simplemsgentry>
simplesect <simplesect id="...">...</simplesect>
spanspec <spanspec spanname="..." namest="..." nameend="..." />
state <state>...</state>
step <step>...</step>
stepalternatives <stepalternatives>...</stepalternatives>
street <street>...</street>
structfield <structfield>...</structfield>
structname <structname>...</structname>
subject <subject>...</subject>
subjectset <subjectset>...</subjectset>
subjectterm <subjectterm>...</subjectterm>
subscript <subscript>...</subscript>
substeps <substeps>...</substeps>
subtitle <subtitle>...</subtitle>
superscript <superscript>...</superscript>
surname <surname>...</surname>
symbol <symbol>...</symbol>
synopfragment <synopfragment id="...">...</synopfragment>
synopfragmentref <synopfragmentref linkend="...">...</synopfragmentref>
synopsis <synopsis>...</synopsis>
systemitem <systemitem>...</systemitem>
table <table id="...">...</table>
task <task id="...">...</task>
taskprerequisites <taskprerequisites>...</taskprerequisites>
taskrelated <taskrelated>...</taskrelated>
tasksummary <tasksummary>...</tasksummary>
tbody <tbody>...</tbody>
td <td>...</td>
term <term>...</term>
termdef <termdef>...</termdef>
tertiary <tertiary>...</tertiary>
tertiaryie <tertiaryie>...</tertiaryie>
textdata <textdata fileref="..." />
textobject <textobject>...</textobject>
tfoot <tfoot>...</tfoot>
tgroup <tgroup cols="...">...</tgroup>
th <th>...</th>
thead <thead>...</thead>
tip <tip>...</tip>
title <title>...</title>
titleabbrev <titleabbrev>...</titleabbrev>
toc <toc>...</toc>
tocback <tocback linkend="...">...</tocback>
tocchap <tocchap>...</tocchap>
tocentry <tocentry linkend="...">...</tocentry>
tocfront <tocfront linkend="...">...</tocfront>
toclevel1 <toclevel1>...</toclevel>
toclevel2 <toclevel2>...</toclevel>
toclevel3 <toclevel3>...</toclevel>
toclevel4 <toclevel4>...</toclevel>
toclevel5 <toclevel5>...</toclevel>
tocpart <tocpart>...</tocpart>
token <token>...</token>
tr <tr>...</tr>
trademark <trademark class="...">...</trademark>
type <type>...</type>
ulink <ulink url="...">...</ulink>
uri <uri>...</uri>
userinput <userinput>...</userinput>
varargs <varargs />
variablelist <variablelist>...</variablelist>
varlistentry <varlistentry>...</varlistentry>
varname <varname>...</varname>
videodata <videodata fileref="..." scalefit="..." />
videoobject <videoobject>...</videoobject>
void <void />
volumenum <volumenum>...</volumenum>
warning <warning>...</warning>
wordasword <wordasword>...</wordasword>
xref <xref linkend="..." />
year <year>...</year>

Snippets for DocBook 4.5 Element Aliases

Trigger Description
bold <emphasis role="bold">...</emphasis>
strong <emphasis role="strong">...</emphasis>
devicefile <filename class="devicefile">...</filename>
directory <filename class="directory">...</filename>
extension <filename class="extension">...</filename>
headerfile <filename class="headerfile">...</filename>
libraryfile <filename class="libraryfile">...</filename>
partition <filename class="partition">...</filename>
symlink <filename class="symlink">...</filename>
cartridge <medialabel class="cartridge">...</medialabel>
cdrom <medialabel class="cdrom">...</medialabel>
disk <medialabel class="disk">...</medialabel>
tape <medialabel class="tape">...</medialabel>
daemon <systemitem class="daemon">...</systemitem>
domainname <systemitem class="domainname">...</systemitem>
etheraddress <systemitem class="etheraddress">...</systemitem>
eventhandler <systemitem class="eventhandler">...</systemitem>
event <systemitem class="event">...</systemitem>
filesystem <systemitem class="filesystem">...</systemitem>
fqdomainname <systemitem class="fqdomainname">...</systemitem>
groupname <systemitem class="groupname">...</systemitem>
ipaddress <systemitem class="ipaddress">...</systemitem>
library <systemitem class="library">...</systemitem>
macro <systemitem class="macro">...</systemitem>
netmask <systemitem class="netmask">...</systemitem>
newsgroup <systemitem class="newsgroup">...</systemitem>
osname <systemitem class="osname">...</systemitem>
process <systemitem class="process">...</systemitem>
protocol <systemitem class="protocol">...</systemitem>
resource <systemitem class="resource">...</systemitem>
server <systemitem class="server">...</systemitem>
service <systemitem class="service">...</systemitem>
systemname <systemitem class="systemname">...</systemitem>
username <systemitem class="username">...</systemitem>

Snippets for Commonly Used XML Elements

Trigger Description
xml <?xml version='...' encoding='...' ?>
doctype <!DOCTYPE ...>
cdata <![CDATA[...]]>
xi:include <xi:include href="..." xmlns:xi="..." />
xi:fallback <xi:fallback xmlns:xi="...">...</xi:fallback>