You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
210 lines
6.5 KiB
210 lines
6.5 KiB
<!-- -*- dtd -*-
|
|
Modified element pool for DocBook as used in the TDE documentation
|
|
(instantiates %rdbpool;)
|
|
|
|
Copyright (C) 2001,2002 Frederik Fouvry
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
as published by the Free Software Foundation; either version 2
|
|
of the License, or (at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
Send suggestions, comments, etc. to the TDE development team
|
|
<devels@trinitydesktop.org>.
|
|
|
|
USAGE
|
|
|
|
Refer to this DTD as
|
|
|
|
"-//KDE//ELEMENTS DocBook XML Pool Redeclarations V1.0//EN"
|
|
|
|
For instance
|
|
|
|
<!ENTITY % rdbpool PUBLIC
|
|
"-//KDE//ELEMENTS DocBook XML Pool Redeclarations V1.0//EN">
|
|
|
|
Set to IGNORE: to revert from TDE customisation for:
|
|
kde.remove.unused.elements some elements unlikely to be used
|
|
-->
|
|
|
|
<!-- Elements which are unlikely to be useful in the TDE documentation,
|
|
because their purpose is either to markup already existing documents
|
|
or because there are automatic means of obtaining the same effect
|
|
-->
|
|
<!ENTITY % kde.remove.unused.elements "INCLUDE">
|
|
<![ %kde.remove.unused.elements; [
|
|
<!ENTITY % beginpage.module "IGNORE">
|
|
<!ENTITY % bridgehead.module "IGNORE">
|
|
<!ENTITY % confgroup.content.module "IGNORE">
|
|
<!ENTITY % graphic.module "IGNORE">
|
|
<!ENTITY % graphicco.module "IGNORE">
|
|
<!ENTITY % imageobjectco.module "IGNORE">
|
|
<!ENTITY % inlinegraphic.module "IGNORE">
|
|
<!ENTITY % revhistory.content.module "IGNORE">
|
|
<!-- end of kde.remove.unused.elements -->]]>
|
|
|
|
<!-- TDE Languages
|
|
To keep the language tags conform to RFC 3066 (successor to 1766)
|
|
(http://www.rfc-editor.org/rfc/rfc3066.txt)
|
|
Syntax (RE): [a-zA-Z]{1,8}(-[a-zA-Z]{1,8})*
|
|
|
|
The compulsory part is either a language tag from ISO 639 (ISO
|
|
639-1 (2 character tag) if there is a tag, ISO 639-2/T (three
|
|
character tag) otherwise, "i" (for IANA) or "x" (for private use,
|
|
e.g. languages that are not in ISO 639, like x-wa for Walloon).
|
|
The optional part may consist of any value. However, if the
|
|
first repetition consists of two letters, it must be an ISO
|
|
3166a2 country tag (so Nynorsk cannot be indicated by no-NY or
|
|
no-ny).
|
|
Official site for ISO 639-2: http://lcweb.loc.gov/standards/iso639-2/
|
|
For ISO 639-1, only the latest version (Feb 2000) counts!
|
|
|
|
Countries are currently only needed when the language is different.
|
|
Only rarely adding the country code is a necessity (Chinese is
|
|
only done for encoding reasons afaik).
|
|
-->
|
|
<!ENTITY % lang.attrib
|
|
"lang (af|ar|az|be|bg|bn|bo|br|bs|ca|cs|cy|da|de|el|en|en-GB
|
|
|en-US|eo|es|et|eu|fa|fi|fo|fr|fy|ga|gl|gu|he|hi|hr|hu|id
|
|
|is|it|ja|kn|km|ko|ku|lo|lt|lv|mi|mk|mr|mt|nb|nl|nn|no|nso
|
|
|oc|pl|pt|pt-BR|pt-PT|ro|ru|se|si|sk|sl|sq|sr|st|sv|ta|te
|
|
|tg|th|tr|uk|ven|vi|wa|xh|zh|zh-CN|zh-TW|zu)
|
|
#IMPLIED">
|
|
<!-- List of languages
|
|
(Languages that only have a three-character code from 639-2, must use
|
|
that one)
|
|
af Afrikaans
|
|
ar Arabic
|
|
az Azerbaijani
|
|
be Belarusian
|
|
bg Bulgarian
|
|
bn Bengali
|
|
bo Tibetan
|
|
br Breton
|
|
bs Bosnian
|
|
ca Catalan
|
|
cs Czech
|
|
cy Welsh
|
|
da Danish
|
|
de German
|
|
el Greek, Modern (1453-)
|
|
en English
|
|
eo Esperanto
|
|
es Spanish
|
|
et Estonian
|
|
eu Basque
|
|
fa Farsi (? ok if = Persian)
|
|
fi Finnish
|
|
fo Faroese
|
|
fr French
|
|
fy Frisian
|
|
ga Irish
|
|
gl Gallegan
|
|
gu Gujarati
|
|
he Hebrew
|
|
hi Hindi
|
|
hr Croatian
|
|
hu Hungarian
|
|
id Indonesian
|
|
is Icelandic
|
|
it Italian
|
|
ja Japanese
|
|
km Khmer
|
|
kn Kannada
|
|
ko Korean
|
|
ku Kurdish
|
|
lo Lao
|
|
lt Lituanian
|
|
lv Latvian
|
|
mi Maori
|
|
mk Macedonian
|
|
mr Marathi
|
|
mt Maltese
|
|
nb Norwegian Bokmal
|
|
nl Dutch
|
|
nn Norwegian Nynorsk
|
|
no Norwegian (in TDE = nb)
|
|
nso Northern Sotho
|
|
oc Occitan (post 1500); Provençal
|
|
pl Polish
|
|
pt Portuguese
|
|
ro Romanian
|
|
ru Russian
|
|
se Northern Sami
|
|
si Sinhalese
|
|
sk Slovak
|
|
sl Slovenian
|
|
sq Albanian
|
|
sr Serbian
|
|
st Sesotho (souther Sotho)
|
|
sv Swedish
|
|
ta Tamil
|
|
te Telugu
|
|
tg Tajik
|
|
th Thai
|
|
tr Turkish
|
|
uk Ukrainian
|
|
ven Venda
|
|
vi Vietnamese
|
|
wa Walloon
|
|
xh Xhosa
|
|
zh Chinese
|
|
zu Zulu
|
|
-->
|
|
<!-- end of TDE languages -->
|
|
<!-- Languages could be made compulsory for books -->
|
|
|
|
<!-- DocBook Reference Documentation recommends switching these off
|
|
if not used: it massively reduces the ESIS size (~ what you get
|
|
from nsgmls). Should anyone need any of these attributes, let
|
|
me know. It's easy to add them on again. -->
|
|
<!ENTITY % effectivity.attrib "">
|
|
|
|
<!ENTITY % remap.attrib "">
|
|
|
|
<!-- Not used -->
|
|
<!ENTITY % revisionflag.attrib "">
|
|
|
|
<!ENTITY % othercredit.role.attrib
|
|
"role (translator|developer|reviewer|graphist|musician|tester)
|
|
#REQUIRED">
|
|
|
|
<!ENTITY % kde.compulsory.datereleaseinfo "INCLUDE">
|
|
<![ %kde.compulsory.datereleaseinfo; [
|
|
<!-- Unchanged -->
|
|
<!ENTITY % local.person.ident.mix "">
|
|
<!ENTITY % person.ident.mix
|
|
"honorific|firstname|surname|lineage|othername|affiliation
|
|
|authorblurb|contrib %local.person.ident.mix;">
|
|
|
|
<!ENTITY % local.bibliocomponent.mix "">
|
|
<!-- Copy of bibliocomponent.mix without ReleaseInfo, Date or Abstract -->
|
|
<!ENTITY % kde.bibliocomponent.mix
|
|
"abbrev|address|artpagenums|author
|
|
|authorgroup|authorinitials|bibliomisc|biblioset
|
|
|collab|confgroup|contractnum|contractsponsor
|
|
|copyright|corpauthor|corpname|edition
|
|
|editor|invpartnumber|isbn|issn|issuenum|orgname
|
|
|othercredit|pagenums|printhistory|productname
|
|
|productnumber|pubdate|publisher|publishername
|
|
|pubsnumber|revhistory|seriesvolnums
|
|
|subtitle|title|titleabbrev|volumenum|citetitle
|
|
|%person.ident.mix;
|
|
|%ndxterm.class;
|
|
%local.bibliocomponent.mix;">
|
|
<!-- End of compulsory ReleaseInfo -->]]>
|
|
|
|
<!ENTITY % olink.attlist "IGNORE">
|
|
|
|
<!-- Temporary lifting of restriction (action to be added too?)-->
|
|
<!ENTITY % local.smallcptr.char.mix "|envar">
|