summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2007-02-17 13:16:27 +0000
committerTim Mayberry <mojofunk@gmail.com>2007-02-17 13:16:27 +0000
commit78bafce752582126f232be45e03d7ba5540ec79d (patch)
treeb1a33dd78f907a7c4c19c7f5278737c3c94e578d /manual
parent207eaa4298c2424cd70a9c97e83c16fbf60ffaee (diff)
Add an entities file and include it in the templates.
git-svn-id: svn://localhost/ardour2/trunk@1472 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'manual')
-rw-r--r--manual/templates/chapter_template.xml3
-rw-r--r--manual/templates/section_template.xml3
-rw-r--r--manual/xml/book_info.xml19
-rw-r--r--manual/xml/entities.ent11
4 files changed, 25 insertions, 11 deletions
diff --git a/manual/templates/chapter_template.xml b/manual/templates/chapter_template.xml
index 7a82e33853..ea286543c3 100644
--- a/manual/templates/chapter_template.xml
+++ b/manual/templates/chapter_template.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "./entities.ent">
+%BOOK_ENTITIES;
+
]>
<chapter id="ch-template">
diff --git a/manual/templates/section_template.xml b/manual/templates/section_template.xml
index a32339e520..e5cb7ae34d 100644
--- a/manual/templates/section_template.xml
+++ b/manual/templates/section_template.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "./entities.ent">
+%BOOK_ENTITIES;
+
]>
<section id="sn-template">
diff --git a/manual/xml/book_info.xml b/manual/xml/book_info.xml
index 7684bae0a3..06e4cbfb05 100644
--- a/manual/xml/book_info.xml
+++ b/manual/xml/book_info.xml
@@ -2,11 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
-<!ENTITY BOOKNAME "Ardour Reference Guide">
-<!ENTITY BOOKVERSION "0.01"> <!-- change version here -->
-<!ENTITY BOOKDATE "2007-01-13"> <!-- change revision date here -->
-<!ENTITY BOOKID "&BOOKNAME;-&BOOKVERSION; (&BOOKDATE;)">
-<!ENTITY BUG-NUM "000001"> <!-- use this only while in draft stage -->
+<!ENTITY % BOOK_ENTITIES SYSTEM "./entities.ent">
+%BOOK_ENTITIES;
]>
@@ -16,10 +13,10 @@
<productnumber>2.0</productnumber>
<abstract>
<para>
- This is the manual for Ardour, a digital audio workstation for Linux
- and MacOSX. This manual is jointly created and edited by the Ardour
- community. It may be published in paper format at some time in the
- future.
+ This is the manual for &ARDOUR_NAME;, a digital audio workstation for
+ Linux and MacOSX. This manual is jointly created and edited by the
+ &ARDOUR_NAME; community. It may be published in paper format at some
+ time in the future.
</para>
</abstract>
<isbn>
@@ -40,7 +37,7 @@
</publishername>
</publisher>
<copyright>
- <year>2007</year>
- <holder>Ardour Foundation</holder>
+ <year>&YEAR;</year>
+ <holder>&COPYRIGHT_HOLDER;</holder>
</copyright>
</bookinfo>
diff --git a/manual/xml/entities.ent b/manual/xml/entities.ent
new file mode 100644
index 0000000000..f21530b9f4
--- /dev/null
+++ b/manual/xml/entities.ent
@@ -0,0 +1,11 @@
+<!ENTITY YEAR "2007">
+<!ENTITY BOOKNAME "Ardour Reference Guide">
+<!ENTITY BOOKVERSION "0.01"> <!-- change version here -->
+<!ENTITY BOOKDATE "2007-01-13"> <!-- change revision date here -->
+<!ENTITY BOOKID "&BOOKNAME;-&BOOKVERSION; (&BOOKDATE;)">
+
+<!ENTITY ARDOUR_NAME "ardour">
+<!ENTITY ARDOUR_VERSION "2.0">
+<!ENTITY ARDOUR_COMMAND "<command>ardour-&ARDOUR_VERSION;</command>">
+<!ENTITY ARDOUR_APPLICATION "<application>&ARDOUR_NAME;</application>">
+<!ENTITY COPYRIGHT_HOLDER "&ARDOUR_NAME; Foundation">