1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 08:44:11 +01:00

added first asciidoc files

This commit is contained in:
Martin Stubenschrott
2008-01-06 13:51:52 +00:00
parent 21b8064322
commit b82a57b89c
4 changed files with 426 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
[replacements]
HEADER=image:chrome://vimperator/content/logo_white.png[Vimperator]
[macros]
# Tags
[\\]?&lt;(?P<index>\d+)&gt;=tags
[tags-inlinemacro]
bla bla

142
locale/en-US/motion.txt Normal file
View File

@@ -0,0 +1,142 @@
// The Article Title
// =================
// Author's Name <authors@email.address>
// v1.0, Dec 2003
HEADER
*First there was a Navigator, then there was an Explorer.
Later it was time for a Konqueror. Now it's time for an Imperator, the
VIMperator :)*
This is the optional preamble (an untitled section body). Useful for
writing simple sectionless documents consisting only of a preamble.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<link rel="stylesheet" href="../content/help.css" type="text/css"/>
<span style="float: right;">
<code class="tag">asciidoc</code>
<code class="tag">foo</code>
<code class="tag">bar</code>
</span>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
tags:foo[]
anchor:abstract[abstract]
Abstract
--------
The optional abstract (one or more paragraphs) goes here.
This document is an AsciiDoc article skeleton containing briefly
annotated element placeholders plus a couple of example index entries
and footnotes. The preface, appendix, bibliography, glossary and index
section titles are significant ('specialsections').
The First Section
-----------------
Article sections start at level 1 and can be nested up to four levels
deep.
footnote:[An example footnote.]
indexterm:[Example index entry]
And now for something completely different: ((monkeys)), lions and
tigers (Bengal and Siberian) using the alternative syntax index
entries.
(((Big cats,Lions)))
(((Big cats,Tigers,Bengal Tiger)))
(((Big cats,Tigers,Siberian Tiger)))
Note that multi-entry terms generate separate index entries.
Here are a couple of image examples: an image:images/smallnew.png[]
example inline image followed by an example block image:
.Tiger block image
image::images/tiger.png[Tiger image]
Followed by an example table:
.An example table
`-----------------`--------------------------
Option Description
---------------------------------------------
-a 'USER GROUP' Add 'USER' to 'GROUP'.
-R 'GROUP' Disables access to 'GROUP'.
---------------------------------------------
[[X1]]
Sub-section with Anchor
~~~~~~~~~~~~~~~~~~~~~~~
Sub-section at level 2.
A Nested Sub-section
^^^^^^^^^^^^^^^^^^^^
Sub-section at level 3.
Yet another nested Sub-section
++++++++++++++++++++++++++++++
Sub-section at level 4.
This is the maximum sub-section depth supported by the distributed
AsciiDoc configuration.
footnote:[A second example footnote.]
The Second Section
------------------
Article sections are at level 1 and can contain sub-sections nested up
to four deep.
An example link to anchor at start of the <<X1,first sub-section>>.
indexterm:[Second example index entry]
An example link to a bibliography entry <<taoup>>.
Appendix A: Example Appendix
----------------------------
AsciiDoc article appendices are just just article sections with
'specialsection' titles.
Appendix Sub-section
~~~~~~~~~~~~~~~~~~~~
Appendix sub-section at level 2.
Bibliography
------------
The bibliography list is an example of an AsciiDoc SimpleList, the
AsciiDoc source list items are bulleted with a `+` character.
+ [[[taoup]]] Eric Steven Raymond. 'The Art of Unix
Programming'. Addison-Wesley. ISBN 0-13-142901-9.
+ [[[walsh-muellner]]] Norman Walsh & Leonard Muellner.
'DocBook - The Definitive Guide'. O'Reilly & Associates. 1999.
ISBN 1-56592-580-7.
Glossary
--------
Glossaries are optional. Glossaries entries are an example of AsciiDoc
VariableList entries, the AsciiDoc source entry terms are terminated
by the ":-" characters.
A glossary term:-
The corresponding (indented) definition.
A second glossary term:-
The corresponding (indented) definition.
ifdef::backend-docbook[]
Index
-----
////////////////////////////////////////////////////////////////
The index is normally left completely empty, it's contents being
generated automatically by the DocBook toolchain.
////////////////////////////////////////////////////////////////
endif::backend-docbook[]
// vim: set syntax=asciidoc:

View File

@@ -12,6 +12,13 @@ Options are beaaaaautiful, but read the
<a href="introduction.xhtml">introduction</a>
first.
<script language="JavaScript" type="text/javascript">
<![CDATA[
document.write("<b>Hello World!</b>");
]]>
</script>
<h2 id="options">Options</h2><table class="vimperator options">
<tr class="description"><td class="usage" valign="top"><code>'activate'</code><br/><code>'act'</code><br/></td><td valign="top"><span class="shorthelp">Define when tabs are automatically activated</span><br/>stringlist (default: homepage,quickmark,tabopen,paste)<br/><br/>Available items:<br/><ul><li><b>homepage</b>: <code class="mapping">gH</code> mapping</li><li><b>quickmark</b>: <code class="mapping">go</code> and <code class="mapping">gn</code> mappings</li><li><b>tabopen</b>: <code class="command">:tabopen[!]</code> command</li><li><b>paste</b>: <code class="mapping">P</code> and <code class="mapping">gP</code> mappings</li></ul><br/></td><td class="taglist" valign="top"><code class="tag">'activate'</code><br/><code class="tag">'act'</code><br/></td></tr><tr class="separator"><td colspan="3"><hr/></td></tr>

268
locale/en-US/xhtml11.css Normal file
View File

@@ -0,0 +1,268 @@
/*
CSS stylesheet for XHTML produced by DocBook XSL stylesheets.
Tested with XSL stylesheets 1.61.2, 1.67.2
*/
span.strong {
font-weight: bold;
}
body blockquote {
margin-top: .75em;
line-height: 1.5;
margin-bottom: .75em;
}
html body {
margin: 1em 5% 1em 5%;
line-height: 1.2;
font-family: -moz-fixed;
}
body div {
margin: 0;
}
h1, h2, h3, h4, h5, h6,
div.toc p b,
div.list-of-figures p b,
div.list-of-tables p b,
div.abstract p.title
{
color: #527bbd;
}
div.toc p:first-child,
div.list-of-figures p:first-child,
div.list-of-tables p:first-child,
div.example p.title
{
margin-bottom: 0.2em;
}
body h1 {
margin: .0em 0 0 -4%;
line-height: 1.3;
border-bottom: 2px solid silver;
}
body h2 {
margin: 0.5em 0 0 -4%;
line-height: 1.3;
border-bottom: 2px solid silver;
}
body h3 {
margin: .8em 0 0 -3%;
line-height: 1.3;
}
body h4 {
margin: .8em 0 0 -3%;
line-height: 1.3;
}
body h5 {
margin: .8em 0 0 -2%;
line-height: 1.3;
}
body h6 {
margin: .8em 0 0 -1%;
line-height: 1.3;
}
body hr {
border: none; /* Broken on IE6 */
}
div.footnotes hr {
border: 1px solid silver;
}
div.navheader th, div.navheader td, div.navfooter td {
font-size: 0.9em;
font-weight: bold;
color: #527bbd;
}
div.navheader img, div.navfooter img {
border-style: none;
}
div.navheader a, div.navfooter a {
font-weight: normal;
}
div.navfooter hr {
border: 1px solid silver;
}
body td {
line-height: 1.2
}
body th {
line-height: 1.2;
}
ol {
line-height: 1.2;
}
ul, body dir, body menu {
line-height: 1.2;
}
html {
margin: 0;
padding: 0;
}
body h1, body h2, body h3, body h4, body h5, body h6 {
margin-left: 0
}
body pre {
margin: 0.5em 10% 0.5em 1em;
line-height: 1.0;
color: navy;
}
tt.literal, code.literal {
color: navy;
}
.programlisting, .screen {
border: 1px solid silver;
background: #f4f4f4;
margin: 0.5em 10% 0.5em 0;
padding: 0.5em 1em;
}
div.sidebar {
background: #ffffee;
margin: 1.0em 10% 0.5em 0;
padding: 0.5em 1em;
border: 1px solid silver;
}
div.sidebar * { padding: 0; }
div.sidebar div { margin: 0; }
div.sidebar p.title {
margin-top: 0.5em;
margin-bottom: 0.2em;
}
div.bibliomixed {
margin: 0.5em 5% 0.5em 1em;
}
div.glossary dt {
font-weight: bold;
}
div.glossary dd p {
margin-top: 0.2em;
}
dl {
margin: .8em 0;
line-height: 1.2;
}
dt {
margin-top: 0.5em;
}
dt span.term {
font-style: italic;
}
div.variablelist dd p {
margin-top: 0;
}
div.itemizedlist li, div.orderedlist li {
margin-left: -0.8em;
margin-top: 0.5em;
}
ul, ol {
list-style-position: outside;
}
div.sidebar ul, div.sidebar ol {
margin-left: 2.8em;
}
div.itemizedlist p.title,
div.orderedlist p.title,
div.variablelist p.title
{
margin-bottom: -0.8em;
}
div.revhistory table {
border-collapse: collapse;
border: none;
}
div.revhistory th {
border: none;
color: #527bbd;
}
div.revhistory td {
border: 1px solid silver;
}
/* Keep TOC and index lines close together. */
div.toc dl, div.toc dt,
div.list-of-figures dl, div.list-of-figures dt,
div.list-of-tables dl, div.list-of-tables dt,
div.indexdiv dl, div.indexdiv dt
{
line-height: normal;
margin-top: 0;
margin-bottom: 0;
}
/*
Table styling does not work because of overriding attributes in
generated HTML.
*/
div.table table,
div.informaltable table
{
margin-left: 0;
margin-right: 5%;
margin-bottom: 0.8em;
}
div.informaltable table
{
margin-top: 0.4em
}
div.table thead,
div.table tfoot,
div.table tbody,
div.informaltable thead,
div.informaltable tfoot,
div.informaltable tbody
{
/* No effect in IE6. */
border-top: 2px solid #527bbd;
border-bottom: 2px solid #527bbd;
}
div.table thead, div.table tfoot,
div.informaltable thead, div.informaltable tfoot
{
font-weight: bold;
}
div.mediaobject img {
border: 1px solid silver;
margin-bottom: 0.8em;
}
div.figure p.title,
div.table p.title
{
margin-top: 1em;
margin-bottom: 0.4em;
}
@media print {
div.navheader, div.navfooter { display: none; }
}