diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-03-25 22:11:06 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-03-25 22:11:06 +0000 |
commit | 5f54e582ff0d3135dabf3ee1c7f04beb4a947a38 (patch) | |
tree | 819ee1d3d541432728ff03459fff0f37d3483e57 /app-text/gentoo-guide-xml-dtd | |
parent | *** empty log message *** (diff) | |
download | historical-5f54e582ff0d3135dabf3ee1c7f04beb4a947a38.tar.gz historical-5f54e582ff0d3135dabf3ee1c7f04beb4a947a38.tar.bz2 historical-5f54e582ff0d3135dabf3ee1c7f04beb4a947a38.zip |
*** empty log message ***
Diffstat (limited to 'app-text/gentoo-guide-xml-dtd')
-rw-r--r-- | app-text/gentoo-guide-xml-dtd/files/catalog | 30 | ||||
-rw-r--r-- | app-text/gentoo-guide-xml-dtd/files/ent/iso-lat1.ent | 67 | ||||
-rw-r--r-- | app-text/gentoo-guide-xml-dtd/files/ent/iso-num.ent | 81 | ||||
-rw-r--r-- | app-text/gentoo-guide-xml-dtd/files/ent/iso-pub.ent | 90 | ||||
-rw-r--r-- | app-text/gentoo-guide-xml-dtd/files/guide/guide.dtd | 274 | ||||
-rw-r--r-- | app-text/gentoo-guide-xml-dtd/gentoo-guide-xml-dtd-1.0.ebuild | 31 |
6 files changed, 573 insertions, 0 deletions
diff --git a/app-text/gentoo-guide-xml-dtd/files/catalog b/app-text/gentoo-guide-xml-dtd/files/catalog new file mode 100644 index 000000000000..59a37c8d58b1 --- /dev/null +++ b/app-text/gentoo-guide-xml-dtd/files/catalog @@ -0,0 +1,30 @@ + -- ...................................................................... -- + -- Catalog data for Gentoo Guide XML V1.0 .................................... -- + -- File catalog ..................................................... -- + + + -- + + -- ...................................................................... -- + -- Simplified DocBook driver file .................................................. -- + +PUBLIC "-//Gentoo//DTD Guide XML V1.0//EN" "guide/guide.dtd" + + -- ...................................................................... -- + -- Simplified DocBook modules ...................................................... -- + +-- PUBLIC "-//Norman Walsh//DTD Simplified DocBook XML RefEntry V4.1.2.4//EN" "sdocbookref.dtd" +-- PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Document Hierarchy V4.1.2.4//EN" "sdbhier.mod" +-- PUBLIC "-//Norman Walsh//ELEMENTS Simplified DocBook XML Information Pool V4.1.2.4//EN" "sdbpool.mod" +-- PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Inclusions V4.1.2.4//EN" "sinclist.mod" +-- PUBLIC "-//Norman Walsh//ENTITIES Simplified DocBook XML Character Entity Sets V4.1.2.4//EN" "sdbcent.mod" + + -- ...................................................................... -- + -- ISO entity sets ...................................................... -- + +PUBLIC "ISO 8879:1986//ENTITIES Numeric and Special Graphic//EN" "ent/iso-num.ent" +PUBLIC "ISO 8879:1986//ENTITIES Publishing//EN" "ent/iso-pub.ent" +PUBLIC "ISO 8879:1986//ENTITIES Added Latin 1//EN" "ent/iso-lat1.ent" + + -- End of catalog data for Simplified DocBook XML V4.1.2.4 ............................. -- + -- ...................................................................... -- diff --git a/app-text/gentoo-guide-xml-dtd/files/ent/iso-lat1.ent b/app-text/gentoo-guide-xml-dtd/files/ent/iso-lat1.ent new file mode 100644 index 000000000000..2ec16fffff36 --- /dev/null +++ b/app-text/gentoo-guide-xml-dtd/files/ent/iso-lat1.ent @@ -0,0 +1,67 @@ +<!-- iso-lat1.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> + +<!-- Derived from the corresponding ISO 8879 standard entity set + and the Unicode character mappings provided by Sebastian Rahtz --> + +<!ENTITY aacute "á"> <!-- LATIN SMALL LETTER A WITH ACUTE --> +<!ENTITY Aacute "Á"> <!-- LATIN CAPITAL LETTER A WITH ACUTE --> +<!ENTITY acirc "â"> <!-- LATIN SMALL LETTER A WITH CIRCUMFLEX --> +<!ENTITY Acirc "Â"> <!-- LATIN CAPITAL LETTER A WITH CIRCUMFLEX --> +<!ENTITY agrave "à"> <!-- LATIN SMALL LETTER A WITH GRAVE --> +<!ENTITY Agrave "À"> <!-- LATIN CAPITAL LETTER A WITH GRAVE --> +<!ENTITY aring "å"> <!-- LATIN SMALL LETTER A WITH RING ABOVE --> +<!ENTITY Aring "Å"> <!-- LATIN CAPITAL LETTER A WITH RING ABOVE --> +<!ENTITY atilde "ã"> <!-- LATIN SMALL LETTER A WITH TILDE --> +<!ENTITY Atilde "Ã"> <!-- LATIN CAPITAL LETTER A WITH TILDE --> +<!ENTITY auml "ä"> <!-- LATIN SMALL LETTER A WITH DIAERESIS --> +<!ENTITY Auml "Ä"> <!-- LATIN CAPITAL LETTER A WITH DIAERESIS --> +<!ENTITY aelig "æ"> <!-- LATIN SMALL LETTER AE --> +<!ENTITY AElig "Æ"> <!-- LATIN CAPITAL LETTER AE --> +<!ENTITY ccedil "ç"> <!-- LATIN SMALL LETTER C WITH CEDILLA --> +<!ENTITY Ccedil "Ç"> <!-- LATIN CAPITAL LETTER C WITH CEDILLA --> +<!ENTITY eth "ð"> <!-- LATIN SMALL LETTER ETH --> +<!ENTITY ETH "Ð"> <!-- LATIN CAPITAL LETTER ETH --> +<!ENTITY eacute "é"> <!-- LATIN SMALL LETTER E WITH ACUTE --> +<!ENTITY Eacute "É"> <!-- LATIN CAPITAL LETTER E WITH ACUTE --> +<!ENTITY ecirc "ê"> <!-- LATIN SMALL LETTER E WITH CIRCUMFLEX --> +<!ENTITY Ecirc "Ê"> <!-- LATIN CAPITAL LETTER E WITH CIRCUMFLEX --> +<!ENTITY egrave "è"> <!-- LATIN SMALL LETTER E WITH GRAVE --> +<!ENTITY Egrave "È"> <!-- LATIN CAPITAL LETTER E WITH GRAVE --> +<!ENTITY euml "ë"> <!-- LATIN SMALL LETTER E WITH DIAERESIS --> +<!ENTITY Euml "Ë"> <!-- LATIN CAPITAL LETTER E WITH DIAERESIS --> +<!ENTITY iacute "í"> <!-- LATIN SMALL LETTER I WITH ACUTE --> +<!ENTITY Iacute "Í"> <!-- LATIN CAPITAL LETTER I WITH ACUTE --> +<!ENTITY icirc "î"> <!-- LATIN SMALL LETTER I WITH CIRCUMFLEX --> +<!ENTITY Icirc "Î"> <!-- LATIN CAPITAL LETTER I WITH CIRCUMFLEX --> +<!ENTITY igrave "ì"> <!-- LATIN SMALL LETTER I WITH GRAVE --> +<!ENTITY Igrave "Ì"> <!-- LATIN CAPITAL LETTER I WITH GRAVE --> +<!ENTITY iuml "ï"> <!-- LATIN SMALL LETTER I WITH DIAERESIS --> +<!ENTITY Iuml "Ï"> <!-- LATIN CAPITAL LETTER I WITH DIAERESIS --> +<!ENTITY ntilde "ñ"> <!-- LATIN SMALL LETTER N WITH TILDE --> +<!ENTITY Ntilde "Ñ"> <!-- LATIN CAPITAL LETTER N WITH TILDE --> +<!ENTITY oacute "ó"> <!-- LATIN SMALL LETTER O WITH ACUTE --> +<!ENTITY Oacute "Ó"> <!-- LATIN CAPITAL LETTER O WITH ACUTE --> +<!ENTITY ocirc "ô"> <!-- LATIN SMALL LETTER O WITH CIRCUMFLEX --> +<!ENTITY Ocirc "Ô"> <!-- LATIN CAPITAL LETTER O WITH CIRCUMFLEX --> +<!ENTITY ograve "ò"> <!-- LATIN SMALL LETTER O WITH GRAVE --> +<!ENTITY Ograve "Ò"> <!-- LATIN CAPITAL LETTER O WITH GRAVE --> +<!ENTITY oslash "ø"> <!-- CIRCLED DIVISION SLASH --> +<!ENTITY Oslash "Ø"> <!-- LATIN CAPITAL LETTER O WITH STROKE --> +<!ENTITY otilde "õ"> <!-- LATIN SMALL LETTER O WITH TILDE --> +<!ENTITY Otilde "Õ"> <!-- LATIN CAPITAL LETTER O WITH TILDE --> +<!ENTITY ouml "ö"> <!-- LATIN SMALL LETTER O WITH DIAERESIS --> +<!ENTITY Ouml "Ö"> <!-- LATIN CAPITAL LETTER O WITH DIAERESIS --> +<!ENTITY szlig "ß"> <!-- LATIN SMALL LETTER SHARP S --> +<!ENTITY thorn "þ"> <!-- LATIN SMALL LETTER THORN --> +<!ENTITY THORN "Þ"> <!-- LATIN CAPITAL LETTER THORN --> +<!ENTITY uacute "ú"> <!-- LATIN SMALL LETTER U WITH ACUTE --> +<!ENTITY Uacute "Ú"> <!-- LATIN CAPITAL LETTER U WITH ACUTE --> +<!ENTITY ucirc "û"> <!-- LATIN SMALL LETTER U WITH CIRCUMFLEX --> +<!ENTITY Ucirc "Û"> <!-- LATIN CAPITAL LETTER U WITH CIRCUMFLEX --> +<!ENTITY ugrave "ù"> <!-- LATIN SMALL LETTER U WITH GRAVE --> +<!ENTITY Ugrave "Ù"> <!-- LATIN CAPITAL LETTER U WITH GRAVE --> +<!ENTITY uuml "ü"> <!-- LATIN SMALL LETTER U WITH DIAERESIS --> +<!ENTITY Uuml "Ü"> <!-- LATIN CAPITAL LETTER U WITH DIAERESIS --> +<!ENTITY yacute "ý"> <!-- LATIN SMALL LETTER Y WITH ACUTE --> +<!ENTITY Yacute "Ý"> <!-- LATIN CAPITAL LETTER Y WITH ACUTE --> +<!ENTITY yuml "ÿ"> <!-- LATIN SMALL LETTER Y WITH DIAERESIS --> diff --git a/app-text/gentoo-guide-xml-dtd/files/ent/iso-num.ent b/app-text/gentoo-guide-xml-dtd/files/ent/iso-num.ent new file mode 100644 index 000000000000..7f4844c5e0ee --- /dev/null +++ b/app-text/gentoo-guide-xml-dtd/files/ent/iso-num.ent @@ -0,0 +1,81 @@ +<!-- iso-num.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> + +<!-- Derived from the corresponding ISO 8879 standard entity set + and the Unicode character mappings provided by Sebastian Rahtz --> + +<!ENTITY half "½"> <!-- VULGAR FRACTION ONE HALF --> +<!ENTITY frac12 "½"> <!-- VULGAR FRACTION ONE HALF --> +<!ENTITY frac14 "¼"> <!-- VULGAR FRACTION ONE QUARTER --> +<!ENTITY frac34 "¾"> <!-- VULGAR FRACTION THREE QUARTERS --> +<!ENTITY frac18 "⅛"> <!-- --> +<!ENTITY frac38 "⅜"> <!-- --> +<!ENTITY frac58 "⅝"> <!-- --> +<!ENTITY frac78 "⅞"> <!-- --> +<!ENTITY sup1 "¹"> <!-- SUPERSCRIPT ONE --> +<!ENTITY sup2 "²"> <!-- SUPERSCRIPT TWO --> +<!ENTITY sup3 "³"> <!-- SUPERSCRIPT THREE --> +<!ENTITY plus "+"> <!-- PLUS SIGN --> +<!ENTITY plusmn "±"> <!-- PLUS-MINUS SIGN --> +<!ENTITY lt "&#60;"> <!-- LESS-THAN SIGN --> +<!ENTITY equals "="> <!-- EQUALS SIGN --> +<!ENTITY gt ">"> <!-- GREATER-THAN SIGN --> +<!ENTITY divide "÷"> <!-- DIVISION SIGN --> +<!ENTITY times "×"> <!-- MULTIPLICATION SIGN --> +<!ENTITY curren "¤"> <!-- CURRENCY SIGN --> +<!ENTITY pound "£"> <!-- POUND SIGN --> +<!ENTITY dollar "$"> <!-- DOLLAR SIGN --> +<!ENTITY cent "¢"> <!-- CENT SIGN --> +<!ENTITY yen "¥"> <!-- YEN SIGN --> +<!ENTITY num "#"> <!-- NUMBER SIGN --> +<!ENTITY percnt "%"> <!-- PERCENT SIGN --> +<!ENTITY amp "&#38;"> <!-- AMPERSAND --> +<!ENTITY ast "*"> <!-- ASTERISK OPERATOR --> +<!ENTITY commat "@"> <!-- COMMERCIAL AT --> +<!ENTITY lsqb "["> <!-- LEFT SQUARE BRACKET --> +<!ENTITY bsol "\"> <!-- REVERSE SOLIDUS --> +<!ENTITY rsqb "]"> <!-- RIGHT SQUARE BRACKET --> +<!ENTITY lcub "{"> <!-- LEFT CURLY BRACKET --> +<!ENTITY horbar "―"> <!-- HORIZONTAL BAR --> +<!ENTITY verbar "|"> <!-- VERTICAL LINE --> +<!ENTITY rcub "}"> <!-- RIGHT CURLY BRACKET --> +<!ENTITY micro "µ"> <!-- MICRO SIGN --> +<!ENTITY ohm "Ω"> <!-- OHM SIGN --> +<!ENTITY deg "°"> <!-- DEGREE SIGN --> +<!ENTITY ordm "º"> <!-- MASCULINE ORDINAL INDICATOR --> +<!ENTITY ordf "ª"> <!-- FEMININE ORDINAL INDICATOR --> +<!ENTITY sect "§"> <!-- SECTION SIGN --> +<!ENTITY para "¶"> <!-- PILCROW SIGN --> +<!ENTITY middot "·"> <!-- MIDDLE DOT --> +<!ENTITY larr "←"> <!-- LEFTWARDS DOUBLE ARROW --> +<!ENTITY rarr "→"> <!-- RIGHTWARDS DOUBLE ARROW --> +<!ENTITY uarr "↑"> <!-- UPWARDS ARROW --> +<!ENTITY darr "↓"> <!-- DOWNWARDS ARROW --> +<!ENTITY copy "©"> <!-- COPYRIGHT SIGN --> +<!ENTITY reg "®"> <!-- REG TRADE MARK SIGN --> +<!ENTITY trade "™"> <!-- TRADE MARK SIGN --> +<!ENTITY brvbar "¦"> <!-- BROKEN BAR --> +<!ENTITY not "¬"> <!-- NOT SIGN --> +<!ENTITY sung "♩"> <!-- --> +<!ENTITY excl "!"> <!-- EXCLAMATION MARK --> +<!ENTITY iexcl "¡"> <!-- INVERTED EXCLAMATION MARK --> +<!ENTITY quot """> <!-- QUOTATION MARK --> +<!ENTITY apos "'"> <!-- APOSTROPHE --> +<!ENTITY lpar "("> <!-- LEFT PARENTHESIS --> +<!ENTITY rpar ")"> <!-- RIGHT PARENTHESIS --> +<!ENTITY comma ","> <!-- COMMA --> +<!ENTITY lowbar "_"> <!-- LOW LINE --> +<!ENTITY hyphen "-"> <!-- HYPHEN-MINUS --> +<!ENTITY period "."> <!-- FULL STOP --> +<!ENTITY sol "/"> <!-- SOLIDUS --> +<!ENTITY colon ":"> <!-- COLON --> +<!ENTITY semi ";"> <!-- SEMICOLON --> +<!ENTITY quest "?"> <!-- QUESTION MARK --> +<!ENTITY iquest "¿"> <!-- INVERTED QUESTION MARK --> +<!ENTITY laquo "«"> <!-- LEFT-POINTING DOUBLE ANGLE QUOTATION MARK --> +<!ENTITY raquo "»"> <!-- RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK --> +<!ENTITY lsquo "‘"> <!-- --> +<!ENTITY rsquo "’"> <!-- RIGHT SINGLE QUOTATION MARK --> +<!ENTITY ldquo "“"> <!-- --> +<!ENTITY rdquo "”"> <!-- RIGHT DOUBLE QUOTATION MARK --> +<!ENTITY nbsp " "> <!-- NO-BREAK SPACE --> +<!ENTITY shy "­"> <!-- SOFT HYPHEN --> diff --git a/app-text/gentoo-guide-xml-dtd/files/ent/iso-pub.ent b/app-text/gentoo-guide-xml-dtd/files/ent/iso-pub.ent new file mode 100644 index 000000000000..56ede364e547 --- /dev/null +++ b/app-text/gentoo-guide-xml-dtd/files/ent/iso-pub.ent @@ -0,0 +1,90 @@ +<!-- iso-pub.ent (initially distributed with DocBook XML DTD V4.1.1beta1) --> + +<!-- Derived from the corresponding ISO 8879 standard entity set + and the Unicode character mappings provided by Sebastian Rahtz --> + +<!ENTITY emsp " "> <!-- EM SPACE --> +<!ENTITY ensp " "> <!-- EN SPACE --> +<!ENTITY emsp13 " "> <!-- THREE-PER-EM SPACE --> +<!ENTITY emsp14 " "> <!-- FOUR-PER-EM SPACE --> +<!ENTITY numsp " "> <!-- FIGURE SPACE --> +<!ENTITY puncsp " "> <!-- PUNCTUATION SPACE --> +<!ENTITY thinsp " "> <!-- THIN SPACE --> +<!ENTITY hairsp " "> <!-- HAIR SPACE --> +<!ENTITY mdash "—"> <!-- EM DASH --> +<!ENTITY ndash "–"> <!-- EN DASH --> +<!ENTITY dash "‐"> <!-- HYPHEN --> +<!ENTITY blank "␣"> <!-- OPEN BOX --> +<!ENTITY hellip "…"> <!-- HORIZONTAL ELLIPSIS --> +<!ENTITY nldr "‥"> <!-- TWO DOT LEADER --> +<!ENTITY frac13 "⅓"> <!-- VULGAR FRACTION ONE THIRD --> +<!ENTITY frac23 "⅔"> <!-- VULGAR FRACTION TWO THIRDS --> +<!ENTITY frac15 "⅕"> <!-- VULGAR FRACTION ONE FIFTH --> +<!ENTITY frac25 "⅖"> <!-- VULGAR FRACTION TWO FIFTHS --> +<!ENTITY frac35 "⅗"> <!-- VULGAR FRACTION THREE FIFTHS --> +<!ENTITY frac45 "⅘"> <!-- VULGAR FRACTION FOUR FIFTHS --> +<!ENTITY frac16 "⅙"> <!-- VULGAR FRACTION ONE SIXTH --> +<!ENTITY frac56 "⅚"> <!-- VULGAR FRACTION FIVE SIXTHS --> +<!ENTITY incare "℅"> <!-- CARE OF --> +<!ENTITY block "█"> <!-- FULL BLOCK --> +<!ENTITY uhblk "▀"> <!-- UPPER HALF BLOCK --> +<!ENTITY lhblk "▄"> <!-- LOWER HALF BLOCK --> +<!ENTITY blk14 "░"> <!-- LIGHT SHADE --> +<!ENTITY blk12 "▒"> <!-- MEDIUM SHADE --> +<!ENTITY blk34 "▓"> <!-- DARK SHADE --> +<!ENTITY marker "▮"> <!-- BLACK VERTICAL RECTANGLE --> +<!ENTITY cir "○"> <!-- WHITE CIRCLE --> +<!ENTITY squ "□"> <!-- WHITE SQUARE --> +<!ENTITY rect "▭"> <!-- WHITE RECTANGLE --> +<!ENTITY utri "▵"> <!-- WHITE UP-POINTING TRIANGLE --> +<!ENTITY dtri "▿"> <!-- WHITE DOWN-POINTING TRIANGLE --> +<!ENTITY star "⋆"> <!-- STAR OPERATOR --> +<!ENTITY bull "•"> <!-- BULLET --> +<!ENTITY squf "▪"> <!-- --> +<!ENTITY utrif "▴"> <!-- BLACK UP-POINTING TRIANGLE --> +<!ENTITY dtrif "▾"> <!-- BLACK DOWN-POINTING TRIANGLE --> +<!ENTITY ltrif "◂"> <!-- BLACK LEFT-POINTING TRIANGLE --> +<!ENTITY rtrif "▸"> <!-- BLACK RIGHT-POINTING TRIANGLE --> +<!ENTITY clubs "♣"> <!-- BLACK CLUB SUIT --> +<!ENTITY diams "♦"> <!-- BLACK DIAMOND SUIT --> +<!ENTITY hearts "♥"> <!-- BLACK HEART SUIT --> +<!ENTITY spades "♠"> <!-- BLACK SPADE SUIT --> +<!ENTITY malt "✠"> <!-- MALTESE CROSS --> +<!ENTITY dagger "†"> <!-- DAGGER --> +<!ENTITY Dagger "‡"> <!-- DOUBLE DAGGER --> +<!ENTITY check "✓"> <!-- CHECK MARK --> +<!ENTITY cross "✗"> <!-- BALLOT X --> +<!ENTITY sharp "♯"> <!-- MUSIC SHARP SIGN --> +<!ENTITY flat "♭"> <!-- MUSIC FLAT SIGN --> +<!ENTITY male "♂"> <!-- MALE SIGN --> +<!ENTITY female "♀"> <!-- --> +<!ENTITY phone "☎"> <!-- TELEPHONE SIGN --> +<!ENTITY telrec "⌕"> <!-- TELEPHONE RECORDER --> +<!ENTITY copysr "℗"> <!-- SOUND RECORDING COPYRIGHT --> +<!ENTITY caret "⁁"> <!-- CARET --> +<!ENTITY lsquor "‚"> <!-- SINGLE LOW-9 QUOTATION MARK --> +<!ENTITY ldquor "„"> <!-- DOUBLE LOW-9 QUOTATION MARK --> +<!ENTITY fflig "ff"> <!-- --> +<!ENTITY filig "fi"> <!-- --> +<!-- fjlig Unknown unicode character --> +<!ENTITY ffilig "ffi"> <!-- --> +<!ENTITY ffllig "ffl"> <!-- --> +<!ENTITY fllig "fl"> <!-- --> +<!ENTITY mldr "…"> <!-- HORIZONTAL ELLIPSIS --> +<!ENTITY rdquor "“"> <!-- --> +<!ENTITY rsquor "‘"> <!-- --> +<!ENTITY vellip "⋮"> <!-- --> +<!ENTITY hybull "⁃"> <!-- HYPHEN BULLET --> +<!ENTITY loz "◊"> <!-- LOZENGE --> +<!ENTITY lozf "✦"> <!-- --> +<!ENTITY ltri "◃"> <!-- WHITE LEFT-POINTING TRIANGLE --> +<!ENTITY rtri "▹"> <!-- WHITE RIGHT-POINTING TRIANGLE --> +<!ENTITY starf "★"> <!-- BLACK STAR --> +<!ENTITY natur "♮"> <!-- MUSIC NATURAL SIGN --> +<!ENTITY rx "℞"> <!-- PRESCRIPTION TAKE --> +<!ENTITY sext "✶"> <!-- SIX POINTED BLACK STAR --> +<!ENTITY target "⌖"> <!-- POSITION INDICATOR --> +<!ENTITY dlcrop "⌍"> <!-- BOTTOM LEFT CROP --> +<!ENTITY drcrop "⌌"> <!-- BOTTOM RIGHT CROP --> +<!ENTITY ulcrop "⌏"> <!-- TOP LEFT CROP --> +<!ENTITY urcrop "⌎"> <!-- TOP RIGHT CROP --> diff --git a/app-text/gentoo-guide-xml-dtd/files/guide/guide.dtd b/app-text/gentoo-guide-xml-dtd/files/guide/guide.dtd new file mode 100644 index 000000000000..55861f892a0f --- /dev/null +++ b/app-text/gentoo-guide-xml-dtd/files/guide/guide.dtd @@ -0,0 +1,274 @@ +<!-- ********************************************************************* + *** THIS IS THE FLATTENED DTD. DO NOT EDIT THIS DTD BY HAND, EDIT *** + *** THE CUSTOMIZATION LAYER AND REGNERATE THE FLATTENED DTD! ******** + ********************************************************************* --> + +<!-- ====================================================================== --> + +<!-- Gentoo Guide XML V1.0 DTD + Copyright (C) 2001 Gentoo Technologies Inc. + http://www.gentoo.org/gentoo/guide + + See COPYRIGHT for more information + + Please direct all questions and comments about this DTD to + Achim Gottinger <achim@gentoo.org>. + + Common declaration: + + <?xml version="1.0"?> + <!DOCTYPE guide + PUBLIC "-//Gentoo//DTD Guide XML V1.0//EN" + "http://www.gentoo.org/gentoo/guide/guide.dtd"> + --> +<!-- ====================================================================== --> +<!ENTITY lt "<"> +<!ENTITY gt ">"> + +<!--================== Imported Names ====================================--> + +<!ENTITY % URI "CDATA"> +<!ENTITY % Character "CDATA"> +<!ENTITY % Text "CDATA"> + +<!--================== Imported Names ====================================--> + +<!-- Parameter Entities --> + +<!ENTITY % list "UL | OL"> + +<!ENTITY % preformatted "PRE"> + +<!-- a color using sRGB: #RRGGBB as Hex values --> +<!ENTITY % Color "CDATA"> + +<!-- There are also 16 widely known color names with their sRGB values: + + Black = #000000 Green = #008000 + Silver = #C0C0C0 Lime = #00FF00 + Gray = #808080 Olive = #808000 + White = #FFFFFF Yellow = #FFFF00 + Maroon = #800000 Navy = #000080 + Red = #FF0000 Blue = #0000FF + Purple = #800080 Teal = #008080 + Fuchsia= #FF00FF Aqua = #00FFFF + --> + + <!--=================== Generic Attributes ===============================--> + + <!ENTITY % coreattrs "id ID #IMPLIED"> + <!ENTITY % attrs "%coreattrs;"> + + <!ENTITY % align "align (left|center|right|justify) #IMPLIED"> + + <!--=================== Text Markup ======================================--> + + <!ENTITY % fontstyle "I | B"> + <!ENTITY % phrase "CODE"> + <!ENTITY % special "A | IMG | BR | FONT"> + <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special;"> +<!ELEMENT I (%inline;)*> +<!ATTLIST I %attrs;> +<!ELEMENT B (%inline;)*> +<!ATTLIST B %attrs;> +<!ELEMENT CODE (%inline;)*> +<!ATTLIST CODE %attrs;> + +<!ELEMENT FONT (%inline;)*> +<!ATTLIST FONT + %coreattrs; + size CDATA #IMPLIED + color %Color; #IMPLIED + face CDATA #IMPLIED + > + +<!ELEMENT BR EMPTY> + +<!--================== HTML content models ===============================--> + +<!ENTITY % block "P | %preformatted; | %list; | TABLE"> +<!ENTITY % flow "%inline; | %block;"> + +<!--=================== Document Body ====================================--> + +<!ELEMENT BODY (%flow;)* > +<!ATTLIST BODY + %attrs; +> + +<!--================== The Anchor Element ================================--> + +<!ELEMENT A (%inline;)*> +<!ATTLIST A + %attrs; + name CDATA #IMPLIED + href %URI; #IMPLIED + > + +<!--=================== Images ===========================================--> + +<!ENTITY % Length "CDATA"> + +<!ENTITY % Pixels "CDATA"> + +<!ENTITY % IAlign "(top|middle|bottom|left|right)"> + +<!ELEMENT IMG EMPTY> +<!ATTLIST IMG + %attrs; + src %URI; #REQUIRED + alt %Text; #IMPLIED + name CDATA #IMPLIED + height %Length; #IMPLIED + width %Length; #IMPLIED + align %IAlign; #IMPLIED + border %Pixels; #IMPLIED + hspace %Pixels; #IMPLIED + vspace %Pixels; #IMPLIED + > + +<!--=================== Paragraphs =======================================--> + +<!ELEMENT P (%inline;)*> +<!ATTLIST P + %attrs; + %align; + > + +<!--=================== Preformatted Text ================================--> + +<!-- excludes markup for images and changes in font size --> +<!ENTITY % pre.exclusion "IMG"> + +<!ELEMENT PRE (#PCDATA | A | BR | FONT | %fontstyle; | %phrase;)*> +<!ATTLIST PRE + %attrs; + > + +<!--=================== Lists ============================================--> + +<!-- definition lists - DT for term, DD for its definition --> + +<!ELEMENT DL (DT|DD)+> +<!ATTLIST DL + %attrs; + compact (compact) #IMPLIED + > + +<!ELEMENT DT (%inline;)*> +<!ATTLIST DT + %attrs; + > + +<!ELEMENT DD (%flow;)*> +<!ATTLIST DD + %attrs; + > + +<!-- Ordered lists (OL) Numbering style + + 1 arablic numbers 1, 2, 3, ... + a lower alpha a, b, c, ... + A upper alpha A, B, C, ... + i lower roman i, ii, iii, ... + I upper roman I, II, III, ... + + The style is applied to the sequence number which by default + is reset to 1 for the first list item in an ordered list. + + This can't be expressed directly in SGML due to case folding. +--> + +<!ENTITY % OLStyle "CDATA"> + +<!ELEMENT OL (LI)+> +<!ATTLIST OL + %attrs; + type %OLStyle; #IMPLIED + compact (compact) #IMPLIED + start NMTOKEN #IMPLIED + > + +<!-- Unordered Lists (UL) bullet styles --> +<!ENTITY % ULStyle "(disc|square|circle)"> + +<!ELEMENT UL (LI)+> +<!ATTLIST UL + %attrs; + type %ULStyle; #IMPLIED + compact (compact) #IMPLIED + > + +<!ENTITY % LIStyle "CDATA"> + +<!ELEMENT LI (%flow;)*> +<!ATTLIST LI + %attrs; + type %LIStyle; #IMPLIED + value NMTOKEN #IMPLIED + > + +<!--======================= Tables =======================================--> + + <!-- horizontal alignment attributes for cell contents --> +<!ENTITY % cellhalign "align (left|center|right|justify|char) #IMPLIED"> + +<!-- vertical alignment attributes for cell contents --> +<!ENTITY % cellvalign "valign (top|middle|bottom|baseline) #IMPLIED"> + +<!ELEMENT TABLE (TR+)> +<!ATTLIST TABLE + %attrs; + width %Length; #IMPLIED + border %Pixels; #IMPLIED + > + +<!ENTITY % CAlign "(top|bottom|left|right)"> + +<!ELEMENT TR (TH|TD)+> +<!ATTLIST TR + %attrs; + %cellhalign; + %cellvalign; + > + +<!-- TH is for headers, TD for data, but for cells acting as both use TD --> + +<!ELEMENT TH (%flow;)*> +<!ATTLIST TH + %attrs; + %cellhalign; + %cellvalign; + width %Length; #IMPLIED + height %Length; #IMPLIED + > + +<!ELEMENT TD (%flow;)*> +<!ATTLIST TD + %attrs; + rowspan NMTOKEN #IMPLIED + colspan NMTOKEN #IMPLIED + %cellhalign; + %cellvalign; + width %Length; #IMPLIED + height %Length; #IMPLIED + > + +<!--===================== Gentoo Specific =================================--> + +<!ELEMENT TITLE (#PCDATA)> +<!ELEMENT AUTHOR (#PCDATA)> +<!ATTLIST AUTHOR + title %Text; #IMPLIED + email %Text; #IMPLIED +> +<!ELEMENT DATE (#PCDATA)> +<!ELEMENT VERSION (#PCDATA)> +<!ELEMENT ABSTRACT (#PCDATA)> +<!ELEMENT CHAPTER (TITLE,SECTION+)> +<!ATTLIST CHAPTER + link %Text; #IMPLIED + > + +<!ELEMENT SECTION (TITLE, BODY)> +<!ELEMENT GUIDE (TITLE, (AUTHOR+ & DATE & VERSION? & ABSTRACT?),CHAPTER+)> diff --git a/app-text/gentoo-guide-xml-dtd/gentoo-guide-xml-dtd-1.0.ebuild b/app-text/gentoo-guide-xml-dtd/gentoo-guide-xml-dtd-1.0.ebuild new file mode 100644 index 000000000000..919dfcd74780 --- /dev/null +++ b/app-text/gentoo-guide-xml-dtd/gentoo-guide-xml-dtd-1.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Your Name <your email> +# $Header: /var/cvsroot/gentoo-x86/app-text/gentoo-guide-xml-dtd/gentoo-guide-xml-dtd-1.0.ebuild,v 1.1 2001/03/25 22:11:06 achim Exp $ + +S=${WORKDIR} +DESCRIPTION="DTD for Gentoo-Guide Style XML Files" + +DEPEND=">=app-text/sgml-common-0.6.1" + +src_install () { + + cd ${FILESDIR} + + insinto /usr/share/sgml/gentoo + doins catalog + insinto /usr/share/sgml/gentoo/ent + doins ent/*.ent + insinto /usr/share/sgml/gentoo/guide + doins guide/*.dtd + + +} + +pkg_postinst() { + install-catalog --add /etc/sgml/gentoo-guide.cat /usr/share/sgml/gentoo//catalog +} + +pkg_prerm() { + install-catalog --remove /etc/sgml/gentoo-guide.cat /usr/share/sgml/gentoo//catalog +} |