Ticket #84: xmlroff-doc-ids.patch

File xmlroff-doc-ids.patch, 16.3 kB (added by asmodai, 4 years ago)

IDs for the rest of the documentation XML files

  • generating-source.xml

    old new  
    55<abstract><para>Generating source code</para></abstract> 
    66</sectioninfo> 
    77 
    8 <section
     8<section id="generating-source-text"
    99<title>Generating Source</title> 
    1010 
    1111<para>The stylesheets in the 'spec-dump' package are used to generate C source and header files from the XML for the XSL 1.0 Recommendation.</para> 
     
    1818 
    1919</section> 
    2020 
    21 <section
     21<section id="files"
    2222<title>Files</title> 
    2323 
    2424<para>The significant files are:</para> 
     
    7474 
    7575</section> 
    7676 
    77 <section
     77<section id="make-targets"
    7878<title>Make targets</title> 
    7979 
    8080<variablelist> 
  • conformance-body.xml

    old new  
    1515<para>xmlroff supports both "lr-tb" and "rl-tb" values of the 
    1616writing-mode property (and the "lr" and "rl" shorthands).</para> 
    1717 
    18 <section
     18<section id="conformance-levels"
    1919<title>Conformance Levels</title> 
    2020 
    2121<para>From Section 8, Conformance, of the XSL Recommendation:</para> 
     
    9090 
    9191  </section> 
    9292 
    93 <section
     93<section id="stated-conformance"
    9494<title>Stated Conformance</title> 
    9595 
    9696<para>The stated conformance also has three levels:</para> 
     
    128128 
    129129  </section> 
    130130 
    131 <section
     131<section id="formatting-objects"
    132132<title>Formatting Objects</title> 
    133133 
    134134<para>All the formatting object specified by the XSL 1.0 
     
    141141treatment.  Conformance level and fallbacks for aural processors are 
    142142not shown.</para> 
    143143 
    144     <section><title>Declaration and Pagination and Layout Formatting Objects</title> 
     144    <section id="declaration-and-pagination"> 
     145      <title>Declaration and Pagination and Layout Formatting Objects</title> 
    145146      <informaltable border="1" width="90%"> 
    146147        <tgroup span="1" cols="5"> 
    147148          <thead> 
     
    285286        </tgroup> 
    286287      </informaltable> 
    287288    </section> 
    288     <section><title>Block Formatting Objects</title> 
     289    <section id="block-fo"> 
     290      <title>Block Formatting Objects</title> 
    289291      <informaltable border="1" width="90%"> 
    290292        <tgroup span="1" cols="5"> 
    291293          <thead> 
     
    312314        </tgroup> 
    313315      </informaltable> 
    314316    </section> 
    315     <section><title>Inline Formatting Objects</title> 
     317    <section id="inline-fo"> 
     318      <title>Inline Formatting Objects</title> 
    316319      <informaltable border="1" width="90%"> 
    317320        <tgroup span="1" cols="5"> 
    318321          <thead> 
     
    395398      </informaltable> 
    396399    </section> 
    397400 
    398     <section><title>Table Formatting Objects</title> 
     401    <section id="table-fo"> 
     402      <title>Table Formatting Objects</title> 
    399403      <informaltable border="1" width="90%"> 
    400404        <tgroup span="1" cols="5"> 
    401405          <thead> 
     
    478482      </informaltable> 
    479483    </section> 
    480484 
    481     <section><title>List Formatting Objects</title> 
     485    <section id="list-fo"> 
     486      <title>List Formatting Objects</title> 
    482487      <informaltable border="1" width="90%"> 
    483488        <tgroup cols="5" span="1"> 
    484489          <thead> 
     
    522527      </informaltable> 
    523528    </section> 
    524529 
    525     <section id="ConfMulti"><title>Link and Multi Formatting Objects</title> 
     530    <section id="ConfMulti"> 
     531      <title>Link and Multi Formatting Objects</title> 
    526532 
    527533<para>xmlroff is a non-interactive media formatter.  Only the fallback 
    528534treatment for the interactive media formatting objects will be 
     
    598604      </informaltable> 
    599605    </section> 
    600606 
    601     <section><title>Out-of-line Formatting Objects</title> 
     607    <section id="out-of-line-fo"> 
     608      <title>Out-of-line Formatting Objects</title> 
    602609      <informaltable border="1" width="90%"> 
    603610        <tgroup cols="5" span="1"> 
    604611          <thead> 
     
    631638      </informaltable> 
    632639    </section> 
    633640 
    634     <section><title>Other Formatting Objects</title> 
     641    <section id="other-fo"> 
     642      <title>Other Formatting Objects</title> 
    635643      <informaltable border="1" width="90%"> 
    636644        <tgroup cols="5" span="1"> 
    637645          <thead> 
     
    666674    </section> 
    667675  </section> 
    668676 
    669 <section
     677<section id="properties"
    670678<title>Properties</title> 
    671679<informaltable> 
    672680      <tgroup cols="4"> 
  • debugging.xml

    old new  
    44<abstract><para>Debugging xmlroff</para></abstract> 
    55</sectioninfo> 
    66 
    7 <section
     7<section id="command-line"
    88<title>Command Line</title> 
    99 
    10 <section
     10<section id="dump-fo-tree"
    1111<title>-d2 command line switch dumps FO tree</title> 
    1212 
    1313<para>Each node shows its type [FoTree], its address [0x82a0698], and its reference count [1].</para> 
     
    4141 
    4242</section> 
    4343 
    44 <section
     44<section id="dump-area-tree"
    4545<title>-d4 command line switch dumps area tree</title> 
    4646 
    4747<programlisting>[xmlroff]$ ./xmlroff -d4 xmlroff.fo 
     
    7979 
    8080</section> 
    8181 
    82 <section
     82<section id="dump-pango-info"
    8383<title>-d8 command line switch dumps PangoAttribute information</title> 
    8484 
    8585<programlisting>[xmlroff]$ ./xmlroff -d8 xmlroff.fo 
     
    102102 
    103103</section> 
    104104 
    105 <section
     105<section id="using-gdb"
    106106<title>Using GDB or other debugger</title> 
    107107 
    108 <section
     108<section id="statically-linked"
    109109<title>Statically link xmlroff</title> 
    110110 
    111111<para>GDB, at least, has more to work with when you build a statically linked xmlroff executable.</para> 
     
    114114 
    115115</section> 
    116116 
    117 <section
     117<section id="break-on"
    118118<title>Break on g_log</title> 
    119119 
    120120<para>If you are getting an error message and you can't work out what's causing it, break on g_log so you break just before the message is emitted.</para> 
     
    127127 
    128128</section> 
    129129 
    130 <section
     130<section id="interactive-debug"
    131131<title>Functions useful when debugging interatively</title> 
    132132 
    133133<variablelist> 
  • fo-c-file.xml

    old new  
    55<abstract><para>Anatomy of a Formatting Object C source code file</para></abstract> 
    66</sectioninfo> 
    77 
    8 <section
     8<section id="fo-c-abbreviations"
    99<title>Abbreviations</title> 
    1010 
    1111<para>Every formatting object has a source code file that contains the functions for initializing and finalizing the object class and object instances and for its methods.</para> 
     
    1919<para>The document describes the conventions current at the time of this writing. Not only may the convention change in the future, some of the older source code files may not yet have been updated to match the current conventions.</para> 
    2020 
    2121</section> 
    22 <section
     22<section id="fo-c-initial-comment"
    2323<title>Initial comment</title> 
    2424 
    2525<para>See the description in FoHFile.</para> 
     
    3636 
    3737</section> 
    3838 
    39 <section
     39<section id="fo-c-includes"
    4040<title>#includes</title> 
    4141 
    4242<programlisting>#include "fo-root-private.h"</programlisting> 
     
    5555 
    5656</section> 
    5757 
    58 <section
     58<section id="fo-c-property-enumeration"
    5959<title>Property enumeration</title> 
    6060 
    6161<programlisting>enum { 
     
    6767 
    6868</section> 
    6969 
    70 <section
     70<section id="fo-c-static-function-prototypes"
    7171<title>Static function prototypes</title> 
    7272 
    7373<programlisting>static void fo_root_class_init  (FoRootClass *klass);</programlisting> 
     
    117117GObject class.</para> 
    118118 
    119119</section> 
    120 <section
     120<section id="fo-c-get-type"
    121121<title>GObject _get_type() function</title> 
    122122 
    123123<para>GObject conventions require a _get_type() function that registers the object type and returns its assigned GType value.</para> 
     
    162162}</programlisting> 
    163163 
    164164</section> 
    165 <section
     165<section id="fo-c-gobject-init"
    166166<title>GObject class initializer</title> 
    167167 
    168168<para>GObject convention requires this function.</para> 
     
    305305}</programlisting> 
    306306 
    307307</section> 
    308 <section
     308<section id="fo-c-gobject-new"
    309309<title>GObject _new()</title> 
    310310 
    311311<para>GObject convention requires this.</para> 
     
    326326}</programlisting> 
    327327 
    328328</section> 
    329 <section
     329<section id="fo-c-validate-content"
    330330<title>FoFo _validate_content()</title> 
    331331 
    332332<para>This is xmlroff-specific. It is not autogenerated.</para> 
     
    424424}</programlisting> 
    425425 
    426426</section> 
    427 <section
     427<section id="fo-c-validate"
    428428<title>FoFo _validate()</title> 
    429429 
    430430<para>This is xmlroff-specific. It is autogenerated, but is commonly then modified by hand.</para> 
     
    463463}</programlisting> 
    464464 
    465465</section> 
    466 <section
     466<section id="fo-c-update-from-context"
    467467<title>FoFo _update_from_context()</title> 
    468468 
    469469<para>This is xmlroff-specific.</para> 
     
    491491}</programlisting> 
    492492 
    493493</section> 
    494 <section
     494<section id="fo-c-debug-dump-properties"
    495495<title>FoFo _debug_dump_properties()</title> 
    496496 
    497497<para>This is xmlroff-specific.</para> 
     
    524524}</programlisting> 
    525525 
    526526</section> 
    527 <section
     527<section id="fo-c-gobject-get-set"
    528528<title>GObject _get() and _set() for properties</title> 
    529529 
    530530<para>These are not strictly required by GObject convention, since all 
  • directory-structure.xml

    old new  
    44<abstract><para>Structure of the xmlroff files</para></abstract> 
    55</sectioninfo> 
    66 
    7 <section
     7<section id="directory-structure"
    88<title>Directory structure</title> 
    99 
    1010<programlisting>xmlroff 
     
    2323 
    2424</section> 
    2525 
    26 <section
     26<section id="xmlroff"
    2727<title>xmlroff</title> 
    2828 
    2929<para>This is the root directory of the xmlroff source code tree. It contains the .c and .h files for top-level, non-object source code as well as the .c and .h files for the top-level FoContext, FoObject and FoNode object types.</para> 
    3030 
    3131<para>fo-context.[ch] are autogenerated (then modified).</para> 
    3232 
    33 <section
     33<section id="xmlroff-area"
    3434<title>xmlroff/area</title> 
    3535 
    3636<para>Source code for area objects. None of these files are autogenerated.</para> 
    3737 
    3838</section> 
    3939 
    40 <section
     40<section id="xmlroff-datatype"
    4141<title>xmlroff/datatype</title> 
    4242 
    4343<para>Source code for datatype objects. None of these files are autogenerated.</para> 
    4444 
    4545</section> 
    4646 
    47 <section
     47<section id="xmlroff-docs"
    4848<title>xmlroff/docs</title> 
    4949 
    5050<para>Documentation that is built using gtk-doc (which has a strong resemblance to Javadoc). A lot of the files are autogenerated by the gtk-doc tools.</para> 
     
    5353 
    5454</section> 
    5555 
    56 <section
     56<section id="xmlroff-examples"
    5757<title>xmlroff/examples</title> 
    5858 
    5959<para>Example configuration files for xmlroff and examples of xmlroff in action.</para> 
    6060 
    61 <section
     61<section id="xmlroff-examples-io"
    6262<title>xmlroff/examples/io</title> 
    6363 
    6464<para>Example command-line xmlroff applications that demonstrate the different ways of using the top-level interfaces to the 'libfo' library.</para> 
    6565 
    6666</section> 
    6767 
    68 <section
     68<section id="xmlroff-examples-javadoc"
    6969<title>xmlroff/examples/javadoc</title> 
    7070 
    7171<para>An example of using xmlroff to create PDF from Javadoc XML.</para> 
    7272 
    7373</section> 
    7474 
    75 <section
     75<section id="xmlroff-examples-ubl"
    7676<title>xmlroff/examples/ubl</title> 
    7777 
    7878<para>An example of using xmlroff to format a UBL purchase order (PO).</para> 
     
    8383 
    8484</section> 
    8585 
    86 <section
     86<section id="xmlroff-expr"
    8787<title>xmlroff/expr</title> 
    8888 
    8989<para>Property value expression parser. None of these files are autogenerated.</para> 
    9090 
    9191</section> 
    9292 
    93 <section
     93<section id="xmlroff-fo"
    9494<title>xmlroff/fo</title> 
    9595 
    9696<para>Source code for GObject objects corresponding to XSL formatting objects.</para> 
     
    105105 
    106106</section> 
    107107 
    108 <section
     108<section id="xmlroff-libfo"
    109109<title>xmlroff/libfo</title> 
    110110 
    111111<para>Top-level interfaces for accessing the 'libfo' library.</para> 
     
    114114 
    115115</section> 
    116116 
    117 <section
     117<section id="xmlroff-property"
    118118<title>xmlroff/property</title> 
    119119 
    120120<para>Source code for GObject objects corresponding to XSL formatting object properties.</para> 
     
    124124 
    125125</section> 
    126126 
    127 <section
     127<section id="xmlroff-util"
    128128<title>xmlroff/util</title> 
    129129 
    130130<para>Source code for GObject objects that are useful but which don't 
  • fo-h-file.xml

    old new  
    1818of the older source code files may not yet have been updated to match 
    1919the current conventions.</para> 
    2020 
    21 <section
     21<section id="fo-h-initial-comment"
    2222<title>Initial comment</title> 
    2323 
    2424<programlisting>/* Fo 
     
    3535owner.</para> 
    3636 
    3737</section> 
    38 <section
     38<section id="fo-h-initial-housekeeping"
    3939<title>Initial housekeeping</title> 
    4040 
    4141<programlisting>#ifndef FO_ROOT_H 
     
    5454useful for C++.</para> 
    5555 
    5656</section> 
    57 <section
     57<section id="fo-h-typedefs"
    5858<title>GObject typedefs</title> 
    5959 
    6060<para>Every GObject has these.</para> 
     
    7070are not publicly visible.</para> 
    7171 
    7272</section> 
    73 <section
     73<section id="fo-h-defines"
    7474<title>GObject #defines</title> 
    7575 
    7676<para>Every GObject has these.</para> 
     
    107107specified class or of a subclass of the specified class.</para> 
    108108 
    109109</section> 
    110 <section
     110<section id="fo-h-gobject-functions"
    111111<title>GObject functions</title> 
    112112 
    113113<programlisting>GType         fo_root_get_type      (void) G_GNUC_CONST;</programlisting> 
     
    124124object type to FoFo on every one of those function calls.</para> 
    125125 
    126126</section> 
    127 <section
     127<section id="fo-h-non-property-functions"
    128128<title>Non-property functions</title> 
    129129 
    130130<para>A formatting object may have hand-generated functions that do 
     
    132132any.</para> 
    133133 
    134134</section> 
    135 <section
     135<section id="fo-h-property-functions"
    136136<title>Property functions</title> 
    137137 
    138138<para>By a happy coincidence, the XSL properties of a formatting 
     
    154154using g_object_set_property().</para> 
    155155 
    156156</section> 
    157 <section
     157<section id="fo-h-final-housekeeping"
    158158<title>Final housekeeping</title> 
    159159 
    160160<programlisting>G_END_DECLS</programlisting> 
  • fo-area-c-file.xml

    old new  
    3030that's where FoText and inline formatting objects are made into Pango 
    3131layouts. The rest are mostly straightforward.</para> 
    3232 
    33 <section
     33<section id="fo-area-initial-comment"
    3434<title>Initial comment</title> 
    3535 
    3636<programlisting>/* Fo 
     
    4545 
    4646</section> 
    4747 
    48 <section
     48<section id="fo-area-includes"
    4949<title>#includes</title> 
    5050 
    5151<programlisting>#include &lt;fo-area-table-body.h></programlisting> 
     
    5858 
    5959</section> 
    6060 
    61 <section
     61<section id="fo-area-area-new2"
    6262<title>FoFo _area_new2()</title> 
    6363 
    6464<para>Add the area generated by the formatting object to the area tree.</para> 
  • backends.xml

    old new  
    55<abstract><para>Backends for writing xmlroff output</para></abstract> 
    66</sectioninfo> 
    77 
    8 <section
     8<section id="backends-text"
    99<title>Backends</title> 
    1010 
    1111<para>xmlroff is built with one or more backends that do the work of 
     
    2323 
    2424</section> 
    2525 
    26 <section
     26<section id="yapc"
    2727<title>Yet Another PostScript Clone (YAPC)</title> 
    2828 
    2929<para>Graphics libraries seemingly all implement some variation on the 
  • basic-interface.xml

    old new  
    44<abstract><para>Using the basic interface</para></abstract> 
    55</sectioninfo> 
    66 
    7 <section
     7<section id="overview"
    88<title>Overview</title> 
    99 
    1010<para>The libfo basic interface defined in 
     
    1313 
    1414  </section> 
    1515 
    16 <section
     16<section id="lifecycle"
    1717<title>Lifecycle</title> 
    1818 
    1919<para>The lifecycle is init&ndash;format&ndash;shutdown.</para> 
    2020 
    21 <section
     21<section id="initialize"
    2222<title>Initialise</title> 
    2323 
    2424<para>There are two ways to initialise the basic formatter.  The first 
     
    4444 
    4545</section> 
    4646 
    47 <section
     47<section id="format"
    4848<title>Format</title> 
    4949 
    5050<para>There is one function for performing the formatting.  The inputs 
     
    8989 
    9090</section> 
    9191 
    92 <section
     92<section id="shutdown"
    9393<title>Shutdown</title> 
    9494 
    9595<para>There is one function for shutting down the formatter.</para> 
     
    106106 
    107107  </section> 
    108108 
    109 <section
     109<section id="folibfocontext"
    110110<title><classname>FoLibfoContext</classname></title> 
    111111 
    112112<para>You can use a <classname>FoLibfoContext</classname> to control