---
 tests/data/lang-it-man-test.txt |   21 ++++++++
 tests/data/lang-it-test.txt     |  106 +++++++++++++++++++++++++++++++++++++++
 tests/testasciidoc.conf         |   45 ++++++++++++++++
 3 files changed, 172 insertions(+), 0 deletions(-)
 create mode 100644 tests/data/lang-it-man-test.txt
 create mode 100644 tests/data/lang-it-test.txt

diff --git a/tests/data/lang-it-man-test.txt b/tests/data/lang-it-man-test.txt
new file mode 100644
index 0000000..7309a0c
--- /dev/null
+++ b/tests/data/lang-it-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-it.conf language file.
+:lang: it
+
+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-it-test.txt b/tests/data/lang-it-test.txt
new file mode 100644
index 0000000..790a57e
--- /dev/null
+++ b/tests/data/lang-it-test.txt
@@ -0,0 +1,106 @@
+// Test for lang-it.conf language file.
+:lang: it
+
+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 601d9cc..bff530b 100644
--- a/tests/testasciidoc.conf
+++ b/tests/testasciidoc.conf
@@ -579,6 +579,51 @@ Dutch language file (manpage)
 data/lang-nl-man-test.txt

 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Italian language file (article)
+
+% backends
+['docbook','xhtml11','html4','html5']
+
+% name
+lang-it-article-test
+
+% source
+data/lang-it-test.txt
+
+% options
+[('--doctype','article')]
+
+% attributes
+{'toc':True}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Italian language file (book)
+
+% backends
+['docbook','xhtml11','html4','html5']
+
+% name
+lang-it-book-test
+
+% source
+data/lang-it-test.txt
+
+% options
+[('--doctype','book')]
+
+% attributes
+{'toc':True}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Italian language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-it-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 RCS $Id$ marker test

 % source
-- 
1.7.6.1

-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

Attachment: pgpts8jocMJH4.pgp
Description: PGP signature

Reply via email to