<!-- This is a customization layer for DocBook 4.1 which implements
     RFE 810932 - improved citation support -->

<!ENTITY % citation.module "IGNORE">
<!ENTITY % blockquote.module "IGNORE">
<!ENTITY % quote.module "IGNORE">
<!ENTITY % epigraph.module "IGNORE">

<!-- load original DocBook stuff -->
<!ENTITY % DocBookDTD PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
%DocBookDTD;

<!-- extend the citation element.
     we add two attributes: renderas (select the processing expectations)
                            caption (provide additional text)
     we add one element:    Biblioref (extended bibliographic data)
-->

<!ENTITY % local.citation.attrib "">
<!ENTITY % citation.role.attrib "%role.attrib;">

<!ELEMENT Biblioref - - EMPTY>
<!ATTLIST Biblioref linkend IDREF #REQUIRED
                        endterm IDREF #IMPLIED
                        unit NMTOKEN #IMPLIED
                        start NMTOKEN #IMPLIED
                        stop NMTOKEN #IMPLIED
                        renderas (full|author|year|title) #IMPLIED
                        caption CDATA #IMPLIED
>

<!ELEMENT Citation - - ((%para.char.mix;|Biblioref)+)>

<!ATTLIST Citation
		%common.attrib;
		%citation.role.attrib;
		%local.citation.attrib;
                renderas (full|author|year|title) #IMPLIED
                caption CDATA #IMPLIED
>

<!-- done with the citation element -->

<!-- extend the blockquote element
     we add one element: Biblioref
-->
<!ENTITY % local.blockquote.attrib "">
<!ENTITY % blockquote.role.attrib "%role.attrib;">

<!ELEMENT BlockQuote - - (Title?, Attribution?, (%component.mix;)+, Biblioref?)
                         %blockquote.exclusion;>

<!ATTLIST BlockQuote
		%common.attrib;
		%blockquote.role.attrib;
		%local.blockquote.attrib;
>

<!-- done with blockquote -->

<!-- extend the quote element
     we add one element: Biblioref
-->
<!ENTITY % local.quote.attrib "">
<!ENTITY % quote.role.attrib "%role.attrib;">

<!ELEMENT Quote - - ((%para.char.mix;)+, Biblioref?)>

<!ATTLIST Quote
		%common.attrib;
		%quote.role.attrib;
		%local.quote.attrib;
>

<!-- done with quote -->

<!-- extend the epigraph element
     we add one element: Biblioref
-->
<!ENTITY % local.epigraph.attrib "">
<!ENTITY % epigraph.role.attrib "%role.attrib;">

<!ELEMENT Epigraph - - (Attribution?, (%para.class;)+, Biblioref?)>

<!ATTLIST Epigraph
		%common.attrib;
		%epigraph.role.attrib;
		%local.epigraph.attrib;
>
<!-- done with epigraph -->

