<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage Express 2.0"> <title>The OpenJade MIF backend</title> </head> <body background="images/background.gif"> <p align="left"><font face="Geneva, Arial"><img src="images/dsssltitle.gif" alt="OpenJade" vspace="10" width="750" height="60"> </font></p> <p align="left"> </p> <div align="left"> <table border="0"> <tr> <td><img src="images/space.gif" alt="" width="145" height="10"></td> <td><h1><font face="Geneva, Arial">The OpenJade MIF backend</font></h1> <h3><font face="Geneva, Arial">Created by Kathleen Marszalek and Paul Prescod<br> Sponsored by ISOGEN International Corp</font></h3> <h2><font face="Geneva, Arial">Contents</font></h2> <ul> <li><font face="Geneva, Arial">Supported Flow Objects</font> <ul> <li><a href="#character"><font face="Geneva, Arial">character</font></a></li> <li><a href="#display-group"><font face="Geneva, Arial">display-group</font></a></li> <li><a href="#rule"><font face="Geneva, Arial">rule</font></a></li> <li><a href="#score"><font face="Geneva, Arial">score</font></a></li> <li><a href="#line-field"><font face="Geneva, Arial">line-field</font></a></li> <li><a href="#leader"><font face="Geneva, Arial">leader</font></a></li> <li><a href="#link"><font face="Geneva, Arial">link</font></a></li> <li><a href="#index-entry"><font face="Geneva, Arial">index-entry</font></a></li> <li><font face="Geneva, Arial">sequence</font></li> <li><a href="#external-graphic"><font face="Geneva, Arial">external-graphic</font></a></li> <li><a href="#paragraph"><font face="Geneva, Arial">paragraph</font></a></li> <li><a href="#paragraph-break"><font face="Geneva, Arial">paragraph-break</font></a></li> <li><a href="#simple-page-sequence"><font face="Geneva, Arial">simple-page-sequence</font></a></li> <li><a href="#table"><font face="Geneva, Arial">table</font></a></li> <li><a href="#table-part"><font face="Geneva, Arial">table-part</font></a></li> <li><a href="#table-column"><font face="Geneva, Arial">table-column</font></a></li> <li><font face="Geneva, Arial">table-row</font></li> <li><a href="#table-cell"><font face="Geneva, Arial">table-cell</font></a></li> <li><a href="#table-border"><font face="Geneva, Arial">table-border</font></a></li> </ul> </li> <li><a href="#problems_and_limitations"><font face="Geneva, Arial">Problems & Limitations</font></a> <ul> <li><a href="#table_border_resolution"><font face="Geneva, Arial">Table border resolution</font></a></li> <li><a href="#external_graphic_width"><font face="Geneva, Arial">External graphic width and height</font></a></li> <li><a href="#space_before_non-paragraph"><font face="Geneva, Arial">Space before non-paragraph displayed objects</font></a></li> <li><a href="#the_vertical_positioning"><font face="Geneva, Arial">The vertical positioning of the displayed rule flow object</font></a></li> <li><a href="#the_box_flow_object"><font face="Geneva, Arial">The box flow object</font></a></li> </ul> </li> <li><a href="#tips"><font face="Geneva, Arial">Tips</font></a> <ul> <li><a href="#using_hypertext"><font face="Geneva, Arial">Creating hypertext documents</font></a> </li> <li><a href="#updating_page_numbering"><font face="Geneva, Arial">Updating page numbering</font></a> </li> <li><a href="#using_colors"><font face="Geneva, Arial">Specifying colors</font></a> </li> </ul> </li> </ul> <h2><font face="Geneva, Arial">Supported Flow Objects</font></h2> <!.......................................................... the character flow object ...........................................................> <table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080" size="+1"> <p align="center"><a name="character"> <font color="#FFFFFF">character</font></a> </p> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>font-weight </li> <li>font-posture </li> <li>font-name </li> <li>font-size </li> <li>input-whitespace-treatment </li> <li>position-point-shift </li> <li>language </li> <li>country </li> <li>color </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the display-group flow object ...........................................................> <div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="display-group"><font color="#FFFFFF">display-group</font> </a></th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the rule flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="rule"><font color="#FFFFFF">rule</font></a> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>line-cap </li> <li>line-thickness </li> <li>line-repeat </li> <li>line-sep </li> <li>position-point-shift </li> <li>display-alignment (start, end, center) </li> <li>start-indent </li> <li>end-indent </li> <li>span (spans all columns if > 1) </li> <li>color </li> </ul> </td> <td valign="top"><ul> <li>orientation (horizontal, escapement) </li> <li>length </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the score flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="score"><font color="#FFFFFF">score</font></a> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>line-repeat (1 for type of before and through, 1 or 2 for after)</li> </ul> </td> <td valign="top"><ul> <li>type (before, through, after)</li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the line-field flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="line-field"><font color="#FFFFFF">line-field</font></a><font color="#FFFFFF"><sup>*</sup></font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>field-width </li> <li>field-align </li> </ul> </td> <td valign="top"> </td> </tr> <tr> <td colspan="2"><font size="2"><sup>*</sup></font> At the beginning of paragraph only. </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the leader flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="leader"><font color="#FFFFFF">leader</font><font color="#FFFFFF" size="2"><sup>*</sup></font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"> </td> </tr> <tr> <td colspan="2"><font size="2"><sup>*</sup></font> <p>On the last line of paragraph only. The principal port (the leader string itself) can contain characters only. </p> <p>The content of the flow object is ignored: a dotted leader will always be used. The specified length is ignored: it always fills out the line. </p> </td </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the link flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="link"><font color="#FFFFFF">link</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>destination [#f, objects returned by (idref-address ...) and (current-node-address ...)] </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the link flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="index-entry"><font color="#FFFFFF">index-entry</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>components </li> <li>page-number? </li> <li>sort-string </li> <li>starts-page-range? </li> <li>ends-page-range? </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><dl> <dt><b>components</b> </dt> <dd>is a list of strings that represent index entry levels. This characteristic is not inherited and shall be specified. </dd> <dt><b>page-number?</b> </dt> <dd>is a boolean specifying whether this index entry should contain page number information. This characteristic is not inherited. The default is #t. </dd> <dt><b>sort-string</b> </dt> <dd>is either #f, specifying that this index entry's components should be used for sorting the index, or a string that should be used for sorting. This characteristic is not inherited. The default is #f. </dd> <dt><b>starts-page-range?</b> </dt> <dd>is a boolean specifying whether the index entry starts a page range. This characteristic is not inherited. The default is #f. </dd> <dt><b>ends-page-range?</b> </dt> <dd>is a boolean specifying whether the index entry starts a page range. This characteristic is not inherited. The default is #f. </dd> </dl> </td> </tr> <tr> <td valign="top" colspan="2"><b>Here's how to enable the above extension:</b><br> (declare-flow-object-class index-entry<br> "UNREGISTERED::ISOGEN//Flow Object Class::index-entry")<br> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the external-graphic flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="external-graphic"><font color="#FFFFFF">external-graphic</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>space-before </li> <li>space-after </li> </ul> </td> <td valign="top"><ul> <li>display? </li> <li>scale (max) </li> <li>max-width </li> <li>max-height </li> <li>entity-system-id </li> <li>display-alignment </li> <li>start-indent </li> <li>end-indent </li> <li>span (spans all columns if > 1) </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the paragraph flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="paragraph"><font color="#FFFFFF">paragraph</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>lines (wrap, asis-wrap) </li> <li>hyphenation-ladder-count </li> <li>hyphenation-remain-char-count </li> <li>hyphenation-push-char-count </li> <li>font-weight </li> <li>font-posture </li> <li>font-name </li> <li>font-size </li> <li>quadding </li> <li>widow-count </li> <li>orphan-count </li> <li>language </li> <li>country </li> </ul> </td> <td valign="top"><ul> <li>span (spans all columns if > 1) </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> <li>line-spacing </li> <li>min-leading (#f or 0 for proportional line spacing) </li> <li>first-line-start-indent </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the paragraph-break flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="paragraph-break"><font color="#FFFFFF">paragraph-break</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top">Same as for paragraph </td> <td valign="top">Same as for paragraph </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the simple-page-sequence flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="simple-page-sequence"><font color="#FFFFFF">simple-page-sequence</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>page-width </li> <li>page-height </li> <li>left-margin </li> <li>right-margin </li> <li>top-margin </li> <li>bottom-margin </li> <li>header-margin </li> <li>footer-margin </li> </ul> </td> <td valign="top"><ul> <li>left-header </li> <li>center-header </li> <li>right-header </li> <li>left-footer </li> <li>center-footer </li> <li>right-footer </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><dl> <dt><b>(page-number-sosofo)</b> </dt> <dt><b>(current-node-page-number-sosofo)</b> </dt> <dt><b>"UNREGISTERED::James Clark//Procedure::if-first-page"</b> </dt> <dd>This can be used only in the specification of the value of one of the header/footer characteristics of simple-page-sequence. It returns a sosofo that will display as sosofo1 if the page is the first page of the simple-page-sequence and as sosofo2 otherwise. </dd> <dt><b>"UNREGISTERED::James Clark//Procedure::if-front-page"</b> </dt> <dd>This can be used only in the specification of the value of one of the header/footer characteristics of simple-page-sequence. It returns a sosofo that will display as sosofo1 if the page is a front (ie recto, odd-numbered) page and as sosofo2 if it is a back (i.e. verso, even-numbered) page. </dd> <dt><b>"UNREGISTERED::James Clark//Characteristic::page-n-columns"</b> </dt> <dd>Value is a strictly positive integer, specifying the number of columns. The initial value is 1. </dd> <dt><b>"UNREGISTERED::James Clark//Characteristic::page-column-sep"</b> </dt> <dd>Value is a length, specifying the separation between columns. The initial value is .5in. </dd> <dt><b>"UNREGISTERED::James Clark//Characteristic::page-balance-columns?"</b> </dt> <dd>Value is a boolean. If true, the columns on the final page of the page-sequence should be balanced. The initial value is #f. </dd> </dl> </td> </tr> <tr> <td valign="top" colspan="2"><b>Here's how to enable the above extensions:</b><br> (define if-first-page (external-procedure<br> "UNREGISTERED::James Clark//Procedure::if-first-page"))<br> (define if-front-page (external-procedure <br> "UNREGISTERED::James Clark//Procedure::if-front-page"))<br> (declare-characteristic page-n-columns<br> "UNREGISTERED::James Clark//Characteristic::page-n-columns" 1)<br> (declare-characteristic page-n-columns<br> "UNREGISTERED::James Clark//Characteristic::page-column-gap" (* 36 1pt))<br> (declare-characteristic page-balance-columns?<br> "UNREGISTERED::James Clark//Characteristic::page-balance-columns?" #f)<br> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table"><font color="#FFFFFF">table</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>table-border </li> <li>display-alignment </li> <li>start-indent </li> <li>end-indent </li> </ul> </td> <td valign="top"><ul> <li>table-width </li> <li>before-row-border </li> <li>after-row-border </li> <li>before-column-border </li> <li>after-column-border </li> <li>span (spans all columns if > 1) </li> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-part flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-part"><font color="#FFFFFF">table-part</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"><ul> <li>space-before </li> <li>space-after </li> <li>keep-with-previous? </li> <li>keep-with-next? </li> <li>break-before (#f, page) </li> <li>break-after (#f, page) </li> <li>keep (#f, page) </li> <li>may-violate-keep-before? </li> <li>may-violate-keep-after? </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><ul> <li>header </li> <li>footer </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-column flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-column"><font color="#FFFFFF">table-column</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>start-indent </li> <li>end-indent </li> </ul> </td> <td valign="top"><ul> <li>column-number </li> <li>n-columns-spanned </li> <li>width </li> </ul> </td> </tr> <tr> <td valign="top" colspan="2"><ul> <li>(table-unit <i>k</i>) </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-cell flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-cell"><font color="#FFFFFF">table-cell</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>cell-before-row-margin </li> <li>cell-after-row-margin </li> <li>cell-before-column-margin </li> <li>cell-after-column-margin </li> <li>cell-row-alignment </li> <li>cell-before-row-border </li> <li>cell-after-row-border </li> <li>cell-before-column-border </li> <li>cell-after-column-border </li> <li>cell-background? </li> <li>background-color </li> </ul> </td> <td valign="top"><ul> <li>column-number </li> <li>n-columns-spanned </li> <li>n-rows-spanned </li> <li>starts-row? </li> <li>ends-row? </li> </ul> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> <!.......................................................... the table-border flow object ...........................................................> </div><div align="left"><table border="1" cellpadding="5" cellspacing="0" width="90%"> <tr> <th colspan="2" bgcolor="#808080"><a name="table-border"><font color="#FFFFFF">table-border</font> </th> </tr> <tr> <td align="center"><font size="2"><b>Inherited characteristics</b></font> </td> <td align="center"><font size="2"><b>Non-inherited characteristics</b></font> </td> </tr> <tr> <td valign="top"><ul> <li>border-present? </li> <li>line-thickness </li> <li>line-repeat (0, 1, or 2) </li> <li>line-sep </li> <li>color </li> </ul> </td> <td valign="top"> </td> </tr> </table> <!.. top of page ..> <p> <a href="#top"><img src="images/top-of-page.gif" alt="Up" border="0" width="11" height="15"> </a> <a href="#top"><font size="2" face="Arial">Back to top</font> </a> </p> </div><h2>Problems & Limitations</h2> <p><a name="table_border_resolution"></a> </p> <h3><b>Table border resolution</b></h3> <p>It's not clear how to predictably enforce cell borders that have mixed line styles. I've posted a question about this to comp.text.frame, but there were no responses so far.</p> <p><a name="external_graphic_width"></a> </p> <h3><b>External graphic width and height</b></h3> <p>In order to place external graphics inside a text flow one must use an anchored frame containing the <ImportObject...> statement. The ImportObject within the frame can shrink-wrap the referenced graphics, however the anchored frame itself cannot - in general the size of an anchored frame has to be specified explicitly. I've asked about this in comp.text.frame, but the only solutions involved using external programs to read the graphic size from graphic files.</p> <p><a name="space_before_non-paragraph"></a> </p> <h3><b>Space before non-paragraph displayed objects</b></h3> <p>Flow objects like external-graphic need to be anchored to empty paragraphs so that that frame can determine their position on the page automatically. Since the smallest paragraph height is 2pt (smallest font size that can be used), the total space before such objects should be larger than that. This does not apply to the paragraph flow objects themselves, and to the rule flow object. The rule flow object has the placement direction display size of 0 and it's possible to use negative PgfLeading to let the next paragraph move up if necessary.</p> <p><a name="the_vertical_positioning"></a> </p> <h3><b>The vertical positioning of the displayed rule flow object</b></h3> <p>Since the rule is position using inlined anchored frame, the placement is relative to the font baseline. It's assumed that the baseline is 1/3 the font size from the bottom.</p> <p><a name="the_box_flow_object"></a> </p> <h3><b>The box flow object</b></h3> <p>Not sure how to implement it since anchored frames must have fixed height. Maybe using tables would work here(?)</p> <p><a name="tips"></a> </p> <h2>Tips</h2> <p><a name="using_hypertext"></a> </p> <h3>Creating hypertext documents</h3> <p>You must decide on the filename extension you'll use at the stage when you run jade. If you don't want the .mif extension for your final document, feel free to use other extension when specifying the file name using the <b>-o</b> option.</p> <ol> <li>Open the book file. </li> <li>While holding <i>SHIFT</i>, select <b>File->Open All Files in Book</b> from the menu. </li> <li>Save each file using <b>View Only</b> format - make sure you use original filenames. </li> </ol> <p><a name="updating_page_numbering"></a> </p> <h3>Updating page numbering</h3> <ol> <li>Open the book file. </li> <li>While holding <i>SHIFT</i>, select <b>File->Open All Files in Book</b> from the menu. </li> <li>Select <b>File->Generate/Update...</b> and then press <b>Update</b>. </li> </ol> <p><a name="using_colors"></a> </p> <h3>Specifying colors</h3> <p>OpenJade supports all color spaces specified in DSSSL. The following example uses the RGB color space to create a red rule:</p> <div align="center"><center><table border="0" cellpadding="10" bgcolor="#CCCCCC"> <tr> <td>(make rule<br> color: (color (color-space "ISO/IEC 10179:1996//Color-Space Family::Device RGB")<br> 1 0 0)<br> ...<br> )</td> </tr> </table> </center></div></td> </tr> </table> </div> </body> </html>