summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/lang-cs-man-test.txt21
-rw-r--r--tests/data/lang-cs-test.txt106
-rw-r--r--tests/testasciidoc.conf45
3 files changed, 172 insertions, 0 deletions
diff --git a/tests/data/lang-cs-man-test.txt b/tests/data/lang-cs-man-test.txt
new file mode 100644
index 0000000..9c3726a
--- /dev/null
+++ b/tests/data/lang-cs-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-it.conf language file.
+:lang: cs
+
+ASCIIDOC(1)
+===========
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+SINOSSI
+-------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-cs-test.txt b/tests/data/lang-cs-test.txt
new file mode 100644
index 0000000..f960fb7
--- /dev/null
+++ b/tests/data/lang-cs-test.txt
@@ -0,0 +1,106 @@
+// Test for lang-cs.conf language file.
+:lang: cs
+
+Languages Test
+==============
+:revnumber: v1.0
+:revdate: 2003-12-21
+
+ifdef::doctype-article[]
+Abstract
+--------
+Abstract special section.
+
+endif::doctype-article[]
+
+
+ifdef::doctype-book[]
+Dedica
+------
+Dedication special section.
+
+
+Prefazione
+----------
+Preface special section.
+
+
+Colofone
+--------
+Colophon special section.
+
+endif::doctype-book[]
+
+
+The First Section
+-----------------
+Admonishments
+~~~~~~~~~~~~~
+Do not translate in the source file -- they are translated to the
+output file
+
+NOTE: Lorum ipsum.
+
+TIP: Lorum ipsum.
+
+WARNING: Lorum ipsum.
+
+CAUTION: Lorum ipsum.
+
+IMPORTANT: Lorum ipsum.
+
+.Tiger
+image::../../images/tiger.png[Tiger image]
+
+Followed by an example table:
+
+.Table
+[width="60%",options="header"]
+|==============================================
+| Option | Description
+| -a 'USER GROUP' | Add 'USER' to 'GROUP'.
+| -R 'GROUP' | Disables access to 'GROUP'.
+|==============================================
+
+And now for something completely different: ((monkeys)), lions and
+tigers.
+
+
+Appendice A: Example Appendix
+-----------------------------
+Appendix special section.
+
+
+Bibliografia
+------------
+Bibliography special section.
+
+[bibliography]
+- [[[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.
+
+
+Glossario
+---------
+Glossary special section.
+
+[glossary]
+A glossary term::
+ The corresponding (indented) definition.
+
+A second glossary term::
+ The corresponding (indented) definition.
+
+
+ifdef::basebackend-docbook[]
+Index
+-----
+////////////////////////////////////////////////////////////////
+Index special section.
+The index is normally left completely empty, it's contents being
+generated automatically by the DocBook toolchain.
+////////////////////////////////////////////////////////////////
+endif::basebackend-docbook[]
diff --git a/tests/testasciidoc.conf b/tests/testasciidoc.conf
index 3c6c1ff..9f1d367 100644
--- a/tests/testasciidoc.conf
+++ b/tests/testasciidoc.conf
@@ -630,6 +630,51 @@ Italian language file (manpage)
data/lang-it-man-test.txt
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Czech language file (article)
+
+% backends
+['docbook','xhtml11','html4','html5']
+
+% name
+lang-cs-article-test
+
+% source
+data/lang-cs-test.txt
+
+% options
+[('--doctype','article')]
+
+% attributes
+{'toc':True}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Czech language file (book)
+
+% backends
+['docbook','xhtml11','html4','html5']
+
+% name
+lang-cs-book-test
+
+% source
+data/lang-cs-test.txt
+
+% options
+[('--doctype','book')]
+
+% attributes
+{'toc':True}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Czech language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-cs-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
RCS $Id$ marker test
% source