Loading ...
Sorry, an error occurred while loading the content.

recognize refentry as docbook

Expand Messages
  • Sam Steingold
    The appended patch allows recognizing refentries as docbook. this is convenient for those who write man pages in docbook. thanks. ... +++
    Message 1 of 3 , Nov 4, 2010
    • 0 Attachment
      The appended patch allows recognizing refentries as docbook.
      this is convenient for those who write man pages in docbook.
      thanks.



      === modified file 'etc/schema/schemas.xml'
      --- etc/schema/schemas.xml 2010-01-13 08:35:10 +0000
      +++ etc/schema/schemas.xml 2010-11-04 18:17:38 +0000
      @@ -39,6 +39,7 @@ along with GNU Emacs. If not, see <http

      <documentElement prefix="" localName="article" typeId="DocBook"/>
      <documentElement prefix="" localName="book" typeId="DocBook"/>
      + <documentElement prefix="" localName="refentry" typeId="DocBook"/>

      <documentElement localName="RDF" typeId="RDF"/>
      <documentElement prefix="rdf" typeId="RDF"/>
      === modified file 'etc/schema/schemas.xml'


      --
      Sam Steingold (http://sds.podval.org/) on Ubuntu 10.04 (lucid)
      http://honestreporting.com http://dhimmi.com http://ffii.org
      http://pmw.org.il http://camera.org http://www.memritv.org
      Experience comes with debts.
    • Sam Steingold
      looks like I need all these, not just refentry
      Message 2 of 3 , Nov 5, 2010
      • 0 Attachment
        looks like I need all these, not just refentry

        <documentElement prefix="" localName="chapter" typeId="DocBook"/>
        <documentElement prefix="" localName="part" typeId="DocBook"/>
        <documentElement prefix="" localName="refentry" typeId="DocBook"/>
        <documentElement prefix="" localName="section" typeId="DocBook"/>


        > * Sam Steingold <fqf@...> [2010-11-04 20:31:46 -0400]:
        >
        > The appended patch allows recognizing refentries as docbook.
        > this is convenient for those who write man pages in docbook.
        > thanks.
        >
        >
        >
        > === modified file 'etc/schema/schemas.xml'
        > --- etc/schema/schemas.xml 2010-01-13 08:35:10 +0000
        > +++ etc/schema/schemas.xml 2010-11-04 18:17:38 +0000
        > @@ -39,6 +39,7 @@ along with GNU Emacs. If not, see <http
        >
        > <documentElement prefix="" localName="article" typeId="DocBook"/>
        > <documentElement prefix="" localName="book" typeId="DocBook"/>
        > + <documentElement prefix="" localName="refentry" typeId="DocBook"/>
        >
        > <documentElement localName="RDF" typeId="RDF"/>
        > <documentElement prefix="rdf" typeId="RDF"/>
        > === modified file 'etc/schema/schemas.xml'

        --
        Sam Steingold (http://sds.podval.org/) on Ubuntu 10.04 (lucid)
        http://dhimmi.com http://ffii.org http://jihadwatch.org http://www.memritv.org
        http://camera.org http://www.PetitionOnline.com/tap12009/
        If you know that you know nothing, you know too much.
      • Steinar Bang
        FWIW you don t have to modify the delivered version of schemas.xml. You can add your own schema locating rules to rng-schema-locating-files. And I think that
        Message 3 of 3 , Nov 5, 2010
        • 0 Attachment
          FWIW you don't have to modify the delivered version of schemas.xml. You
          can add your own schema locating rules to rng-schema-locating-files.
          And I think that by default rng-schema-locating-files have an entry
          "schemas.xml", which means that it would pick up rules from a schemas.xml
          found in the same directory as the XML document you're editing.

          I've used the practice of having a schemas.xml located in the same
          directory as the XML documents, referring to a schemas.xml file shared
          across documents.
        Your message has been successfully submitted and would be delivered to recipients shortly.