| 1 |
<html> |
| 2 |
|
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" |
| 5 |
content="text/html; charset=iso-8859-1"> |
| 6 |
<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0"> |
| 7 |
<title>The OpenJade MIF backend</title> |
| 8 |
</head> |
| 9 |
|
| 10 |
<body background="images/background.gif"> |
| 11 |
|
| 12 |
<p align="left"><font face="Geneva, Arial"><img |
| 13 |
src="images/dsssltitle.gif" alt="OpenJade" vspace="10" |
| 14 |
width="750" height="60"> </font></p> |
| 15 |
|
| 16 |
<p align="left"> </p> |
| 17 |
<div align="left"> |
| 18 |
|
| 19 |
<table border="0"> |
| 20 |
<tr> |
| 21 |
<td><img src="images/space.gif" alt="" width="145" height="10"></td> |
| 22 |
<td><h1><font face="Geneva, Arial">The OpenJade MIF backend</font></h1> |
| 23 |
<h3><font face="Geneva, Arial">Created by Kathleen |
| 24 |
Marszalek and Paul Prescod<br> |
| 25 |
Sponsored by ISOGEN International Corp.</font></h3> |
| 26 |
|
| 27 |
<h2><font face="Geneva, Arial">Contents</font></h2> |
| 28 |
<ul> |
| 29 |
<li><font face="Geneva, Arial">Supported Flow Objects</font> |
| 30 |
<ul> |
| 31 |
<li><a href="#character"><font |
| 32 |
face="Geneva, Arial">character</font></a></li> |
| 33 |
<li><a href="#display-group"><font |
| 34 |
face="Geneva, Arial">display-group</font></a></li> |
| 35 |
<li><a href="#rule"><font |
| 36 |
face="Geneva, Arial">rule</font></a></li> |
| 37 |
<li><a href="#score"><font |
| 38 |
face="Geneva, Arial">score</font></a></li> |
| 39 |
<li><a href="#line-field"><font |
| 40 |
face="Geneva, Arial">line-field</font></a></li> |
| 41 |
<li><a href="#leader"><font |
| 42 |
face="Geneva, Arial">leader</font></a></li> |
| 43 |
<li><a href="#link"><font |
| 44 |
face="Geneva, Arial">link</font></a></li> |
| 45 |
<li><a href="#index-entry"><font |
| 46 |
face="Geneva, Arial">index-entry</font></a></li> |
| 47 |
<li><font face="Geneva, Arial">sequence</font></li> |
| 48 |
<li><a href="#external-graphic"><font |
| 49 |
face="Geneva, Arial">external-graphic</font></a></li> |
| 50 |
<li><a href="#paragraph"><font |
| 51 |
face="Geneva, Arial">paragraph</font></a></li> |
| 52 |
<li><a href="#paragraph-break"><font |
| 53 |
face="Geneva, Arial">paragraph-break</font></a></li> |
| 54 |
<li><a href="#simple-page-sequence"><font |
| 55 |
face="Geneva, Arial">simple-page-sequence</font></a></li> |
| 56 |
<li><a href="#table"><font |
| 57 |
face="Geneva, Arial">table</font></a></li> |
| 58 |
<li><a href="#table-part"><font |
| 59 |
face="Geneva, Arial">table-part</font></a></li> |
| 60 |
<li><a href="#table-column"><font |
| 61 |
face="Geneva, Arial">table-column</font></a></li> |
| 62 |
<li><font face="Geneva, Arial">table-row</font></li> |
| 63 |
<li><a href="#table-cell"><font |
| 64 |
face="Geneva, Arial">table-cell</font></a></li> |
| 65 |
<li><a href="#table-border"><font |
| 66 |
face="Geneva, Arial">table-border</font></a></li> |
| 67 |
</ul> |
| 68 |
</li> |
| 69 |
<li><a href="#problems_and_limitations"><font |
| 70 |
face="Geneva, Arial">Problems & Limitations</font></a> |
| 71 |
<ul> |
| 72 |
<li><a href="#table_border_resolution"><font |
| 73 |
face="Geneva, Arial">Table border |
| 74 |
resolution</font></a></li> |
| 75 |
<li><a href="#external_graphic_width"><font |
| 76 |
face="Geneva, Arial">External graphic |
| 77 |
width and height</font></a></li> |
| 78 |
<li><a href="#space_before_non-paragraph"><font |
| 79 |
face="Geneva, Arial">Space before non-paragraph |
| 80 |
displayed objects</font></a></li> |
| 81 |
<li><a href="#the_vertical_positioning"><font |
| 82 |
face="Geneva, Arial">The vertical |
| 83 |
positioning of the displayed rule flow |
| 84 |
object</font></a></li> |
| 85 |
<li><a href="#the_box_flow_object"><font |
| 86 |
face="Geneva, Arial">The box flow object</font></a></li> |
| 87 |
</ul> |
| 88 |
</li> |
| 89 |
<li><a href="#tips"><font face="Geneva, Arial">Tips</font></a> |
| 90 |
<ul> |
| 91 |
<li><a href="#using_hypertext"><font |
| 92 |
face="Geneva, Arial">Creating hypertext |
| 93 |
documents</font></a> </li> |
| 94 |
<li><a href="#updating_page_numbering"><font |
| 95 |
face="Geneva, Arial">Updating page |
| 96 |
numbering</font></a> </li> |
| 97 |
<li><a href="#using_colors"><font |
| 98 |
face="Geneva, Arial">Specifying colors</font></a> |
| 99 |
</li> |
| 100 |
</ul> |
| 101 |
</li> |
| 102 |
</ul> |
| 103 |
<h2><font face="Geneva, Arial">Supported Flow Objects</font></h2> |
| 104 |
|
| 105 |
<!.......................................................... |
| 106 |
the character flow object |
| 107 |
...........................................................> |
| 108 |
<table border="1" cellpadding="5" cellspacing="0" width="90%"> |
| 109 |
<tr> |
| 110 |
<th colspan="2" bgcolor="#808080" size="+1"> |
| 111 |
<p align="center"><a name="character"> |
| 112 |
<font color="#FFFFFF">character</font></a> |
| 113 |
</p> |
| 114 |
</th> |
| 115 |
</tr> |
| 116 |
<tr> |
| 117 |
<td align="center"><font size="2"><b>Inherited |
| 118 |
characteristics</b></font> </td> |
| 119 |
<td align="center"><font size="2"><b>Non-inherited |
| 120 |
characteristics</b></font> </td> |
| 121 |
</tr> |
| 122 |
<tr> |
| 123 |
<td valign="top"><ul> |
| 124 |
<li>font-weight </li> |
| 125 |
<li>font-posture </li> |
| 126 |
<li>font-name </li> |
| 127 |
<li>font-size </li> |
| 128 |
<li>input-whitespace-treatment </li> |
| 129 |
<li>position-point-shift </li> |
| 130 |
<li>language </li> |
| 131 |
<li>country </li> |
| 132 |
<li>color </li> |
| 133 |
</ul> |
| 134 |
</td> |
| 135 |
</tr> |
| 136 |
</table> |
| 137 |
|
| 138 |
<!.. top of page ..> |
| 139 |
<p> |
| 140 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 141 |
border="0" width="11" height="15"> |
| 142 |
</a> |
| 143 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 144 |
</a> |
| 145 |
|
| 146 |
</p> |
| 147 |
|
| 148 |
<!.......................................................... |
| 149 |
the display-group flow object |
| 150 |
...........................................................> |
| 151 |
<div align="left"><table border="1" cellpadding="5" |
| 152 |
cellspacing="0" width="90%"> |
| 153 |
<tr> |
| 154 |
<th colspan="2" bgcolor="#808080"><a |
| 155 |
name="display-group"><font color="#FFFFFF">display-group</font> |
| 156 |
</a></th> |
| 157 |
</tr> |
| 158 |
<tr> |
| 159 |
<td align="center"><font size="2"><b>Inherited |
| 160 |
characteristics</b></font> </td> |
| 161 |
<td align="center"><font size="2"><b>Non-inherited |
| 162 |
characteristics</b></font> </td> |
| 163 |
</tr> |
| 164 |
<tr> |
| 165 |
<td valign="top"> </td> |
| 166 |
<td valign="top"><ul> |
| 167 |
<li>space-before </li> |
| 168 |
<li>space-after </li> |
| 169 |
<li>keep-with-previous? </li> |
| 170 |
<li>keep-with-next? </li> |
| 171 |
<li>break-before (#f, page) </li> |
| 172 |
<li>break-after (#f, page) </li> |
| 173 |
<li>keep (#f, page) </li> |
| 174 |
<li>may-violate-keep-before? </li> |
| 175 |
<li>may-violate-keep-after? </li> |
| 176 |
</ul> |
| 177 |
</td> |
| 178 |
</tr> |
| 179 |
</table> |
| 180 |
|
| 181 |
<!.. top of page ..> |
| 182 |
<p> |
| 183 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 184 |
border="0" width="11" height="15"> |
| 185 |
</a> |
| 186 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 187 |
</a> |
| 188 |
|
| 189 |
</p> |
| 190 |
|
| 191 |
<!.......................................................... |
| 192 |
the rule flow object |
| 193 |
...........................................................> |
| 194 |
</div><div align="left"><table border="1" cellpadding="5" |
| 195 |
cellspacing="0" width="90%"> |
| 196 |
<tr> |
| 197 |
<th colspan="2" bgcolor="#808080"><a name="rule"><font |
| 198 |
color="#FFFFFF">rule</font></a> </th> |
| 199 |
</tr> |
| 200 |
<tr> |
| 201 |
<td align="center"><font size="2"><b>Inherited |
| 202 |
characteristics</b></font> </td> |
| 203 |
<td align="center"><font size="2"><b>Non-inherited |
| 204 |
characteristics</b></font> </td> |
| 205 |
</tr> |
| 206 |
<tr> |
| 207 |
<td valign="top"><ul> |
| 208 |
<li>line-cap </li> |
| 209 |
<li>line-thickness </li> |
| 210 |
<li>line-repeat </li> |
| 211 |
<li>line-sep </li> |
| 212 |
<li>position-point-shift </li> |
| 213 |
<li>display-alignment (start, end, center) </li> |
| 214 |
<li>start-indent </li> |
| 215 |
<li>end-indent </li> |
| 216 |
<li>span (spans all columns if > 1) </li> |
| 217 |
<li>color </li> |
| 218 |
</ul> |
| 219 |
</td> |
| 220 |
<td valign="top"><ul> |
| 221 |
<li>orientation (horizontal, escapement) </li> |
| 222 |
<li>length </li> |
| 223 |
<li>space-before </li> |
| 224 |
<li>space-after </li> |
| 225 |
<li>keep-with-previous? </li> |
| 226 |
<li>keep-with-next? </li> |
| 227 |
<li>break-before (#f, page) </li> |
| 228 |
<li>break-after (#f, page) </li> |
| 229 |
<li>keep (#f, page) </li> |
| 230 |
<li>may-violate-keep-before? </li> |
| 231 |
<li>may-violate-keep-after? </li> |
| 232 |
</ul> |
| 233 |
</td> |
| 234 |
</tr> |
| 235 |
</table> |
| 236 |
|
| 237 |
<!.. top of page ..> |
| 238 |
<p> |
| 239 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 240 |
border="0" width="11" height="15"> |
| 241 |
</a> |
| 242 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 243 |
</a> |
| 244 |
|
| 245 |
</p> |
| 246 |
|
| 247 |
<!.......................................................... |
| 248 |
the score flow object |
| 249 |
...........................................................> |
| 250 |
</div><div align="left"><table border="1" cellpadding="5" |
| 251 |
cellspacing="0" width="90%"> |
| 252 |
<tr> |
| 253 |
<th colspan="2" bgcolor="#808080"><a name="score"><font |
| 254 |
color="#FFFFFF">score</font></a> </th> |
| 255 |
</tr> |
| 256 |
<tr> |
| 257 |
<td align="center"><font size="2"><b>Inherited |
| 258 |
characteristics</b></font> </td> |
| 259 |
<td align="center"><font size="2"><b>Non-inherited |
| 260 |
characteristics</b></font> </td> |
| 261 |
</tr> |
| 262 |
<tr> |
| 263 |
<td valign="top"><ul> |
| 264 |
<li>line-repeat (1 for type of before and |
| 265 |
through, 1 or 2 for after)</li> |
| 266 |
</ul> |
| 267 |
</td> |
| 268 |
<td valign="top"><ul> |
| 269 |
<li>type (before, through, after)</li> |
| 270 |
</ul> |
| 271 |
</td> |
| 272 |
</tr> |
| 273 |
</table> |
| 274 |
|
| 275 |
<!.. top of page ..> |
| 276 |
<p> |
| 277 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 278 |
border="0" width="11" height="15"> |
| 279 |
</a> |
| 280 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 281 |
</a> |
| 282 |
|
| 283 |
</p> |
| 284 |
|
| 285 |
<!.......................................................... |
| 286 |
the line-field flow object |
| 287 |
...........................................................> |
| 288 |
</div><div align="left"><table border="1" cellpadding="5" |
| 289 |
cellspacing="0" width="90%"> |
| 290 |
<tr> |
| 291 |
<th colspan="2" bgcolor="#808080"><a |
| 292 |
name="line-field"><font color="#FFFFFF">line-field</font></a><font |
| 293 |
color="#FFFFFF"><sup>*</sup></font> </th> |
| 294 |
</tr> |
| 295 |
<tr> |
| 296 |
<td align="center"><font size="2"><b>Inherited |
| 297 |
characteristics</b></font> </td> |
| 298 |
<td align="center"><font size="2"><b>Non-inherited |
| 299 |
characteristics</b></font> </td> |
| 300 |
</tr> |
| 301 |
<tr> |
| 302 |
<td valign="top"><ul> |
| 303 |
<li>field-width </li> |
| 304 |
<li>field-align </li> |
| 305 |
</ul> |
| 306 |
</td> |
| 307 |
<td valign="top"> </td> |
| 308 |
</tr> |
| 309 |
<tr> |
| 310 |
<td colspan="2"><font size="2"><sup>*</sup></font> |
| 311 |
At the beginning of paragraph only. </td> |
| 312 |
</tr> |
| 313 |
</table> |
| 314 |
|
| 315 |
<!.. top of page ..> |
| 316 |
<p> |
| 317 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 318 |
border="0" width="11" height="15"> |
| 319 |
</a> |
| 320 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 321 |
</a> |
| 322 |
|
| 323 |
</p> |
| 324 |
|
| 325 |
<!.......................................................... |
| 326 |
the leader flow object |
| 327 |
...........................................................> |
| 328 |
</div><div align="left"><table border="1" cellpadding="5" |
| 329 |
cellspacing="0" width="90%"> |
| 330 |
<tr> |
| 331 |
<th colspan="2" bgcolor="#808080"><a name="leader"><font |
| 332 |
color="#FFFFFF">leader</font><font |
| 333 |
color="#FFFFFF" size="2"><sup>*</sup></font> </th> |
| 334 |
</tr> |
| 335 |
<tr> |
| 336 |
<td align="center"><font size="2"><b>Inherited |
| 337 |
characteristics</b></font> </td> |
| 338 |
<td align="center"><font size="2"><b>Non-inherited |
| 339 |
characteristics</b></font> </td> |
| 340 |
</tr> |
| 341 |
<tr> |
| 342 |
<td valign="top"> </td> |
| 343 |
<td valign="top"> </td> |
| 344 |
</tr> |
| 345 |
<tr> |
| 346 |
<td colspan="2"><font size="2"><sup>*</sup></font> |
| 347 |
<p>On the last line of paragraph only. The principal |
| 348 |
port (the leader string itself) can contain |
| 349 |
characters only. </p> |
| 350 |
<p>The content of the flow object is ignored: |
| 351 |
a dotted leader will always be used. The specified length is ignored: |
| 352 |
it always fills out the line. </p> </td |
| 353 |
</tr> |
| 354 |
</table> |
| 355 |
|
| 356 |
<!.. top of page ..> |
| 357 |
<p> |
| 358 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 359 |
border="0" width="11" height="15"> |
| 360 |
</a> |
| 361 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 362 |
</a> |
| 363 |
|
| 364 |
</p> |
| 365 |
|
| 366 |
<!.......................................................... |
| 367 |
the link flow object |
| 368 |
...........................................................> |
| 369 |
</div><div align="left"><table border="1" cellpadding="5" |
| 370 |
cellspacing="0" width="90%"> |
| 371 |
<tr> |
| 372 |
<th colspan="2" bgcolor="#808080"><a name="link"><font |
| 373 |
color="#FFFFFF">link</font> </th> |
| 374 |
</tr> |
| 375 |
<tr> |
| 376 |
<td align="center"><font size="2"><b>Inherited |
| 377 |
characteristics</b></font> </td> |
| 378 |
<td align="center"><font size="2"><b>Non-inherited |
| 379 |
characteristics</b></font> </td> |
| 380 |
</tr> |
| 381 |
<tr> |
| 382 |
<td valign="top"> </td> |
| 383 |
<td valign="top"><ul> |
| 384 |
<li>destination [#f, objects returned by (idref-address |
| 385 |
...) and (current-node-address ...)] </li> |
| 386 |
</ul> |
| 387 |
</td> |
| 388 |
</tr> |
| 389 |
</table> |
| 390 |
|
| 391 |
<!.. top of page ..> |
| 392 |
<p> |
| 393 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 394 |
border="0" width="11" height="15"> |
| 395 |
</a> |
| 396 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 397 |
</a> |
| 398 |
|
| 399 |
</p> |
| 400 |
|
| 401 |
<!.......................................................... |
| 402 |
the link flow object |
| 403 |
...........................................................> |
| 404 |
</div><div align="left"><table border="1" cellpadding="5" |
| 405 |
cellspacing="0" width="90%"> |
| 406 |
<tr> |
| 407 |
<th colspan="2" bgcolor="#808080"><a name="index-entry"><font |
| 408 |
color="#FFFFFF">index-entry</font> </th> |
| 409 |
</tr> |
| 410 |
<tr> |
| 411 |
<td align="center"><font size="2"><b>Inherited |
| 412 |
characteristics</b></font> </td> |
| 413 |
<td align="center"><font size="2"><b>Non-inherited |
| 414 |
characteristics</b></font> </td> |
| 415 |
</tr> |
| 416 |
<tr> |
| 417 |
<td valign="top"> </td> |
| 418 |
<td valign="top"><ul> |
| 419 |
<li>components </li> |
| 420 |
<li>page-number? </li> |
| 421 |
<li>sort-string </li> |
| 422 |
<li>starts-page-range? </li> |
| 423 |
<li>ends-page-range? </li> |
| 424 |
</ul> |
| 425 |
</td> |
| 426 |
</tr> |
| 427 |
<tr> |
| 428 |
<td valign="top" colspan="2"><dl> |
| 429 |
<dt><b>components</b> </dt> |
| 430 |
<dd>is a list of strings that represent index |
| 431 |
entry levels. This characteristic is not |
| 432 |
inherited and shall be specified. </dd> |
| 433 |
<dt><b>page-number?</b> </dt> |
| 434 |
<dd>is a boolean specifying whether this |
| 435 |
index entry should contain page number |
| 436 |
information. This characteristic is not |
| 437 |
inherited. The default is #t. </dd> |
| 438 |
<dt><b>sort-string</b> </dt> |
| 439 |
<dd>is either #f, specifying that this index |
| 440 |
entry's components should be used for |
| 441 |
sorting the index, or a string that |
| 442 |
should be used for sorting. This |
| 443 |
characteristic is not inherited. The |
| 444 |
default is #f. </dd> |
| 445 |
<dt><b>starts-page-range?</b> </dt> |
| 446 |
<dd>is a boolean specifying whether the index |
| 447 |
entry starts a page range. This |
| 448 |
characteristic is not inherited. The |
| 449 |
default is #f. </dd> |
| 450 |
<dt><b>ends-page-range?</b> </dt> |
| 451 |
<dd>is a boolean specifying whether the index |
| 452 |
entry starts a page range. This |
| 453 |
characteristic is not inherited. The |
| 454 |
default is #f. </dd> |
| 455 |
</dl> |
| 456 |
</td> |
| 457 |
</tr> |
| 458 |
<tr> |
| 459 |
<td valign="top" colspan="2"><b>Here's how to |
| 460 |
enable the above extension:</b><br> |
| 461 |
(declare-flow-object-class index-entry<br> |
| 462 |
"UNREGISTERED::ISOGEN//Flow |
| 463 |
Object Class::index-entry")<br> |
| 464 |
</td> |
| 465 |
</tr> |
| 466 |
</table> |
| 467 |
|
| 468 |
<!.. top of page ..> |
| 469 |
<p> |
| 470 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 471 |
border="0" width="11" height="15"> |
| 472 |
</a> |
| 473 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 474 |
</a> |
| 475 |
|
| 476 |
</p> |
| 477 |
|
| 478 |
<!.......................................................... |
| 479 |
the external-graphic flow object |
| 480 |
...........................................................> |
| 481 |
</div><div align="left"><table border="1" cellpadding="5" |
| 482 |
cellspacing="0" width="90%"> |
| 483 |
<tr> |
| 484 |
<th colspan="2" bgcolor="#808080"><a name="external-graphic"><font |
| 485 |
color="#FFFFFF">external-graphic</font> </th> |
| 486 |
</tr> |
| 487 |
<tr> |
| 488 |
<td align="center"><font size="2"><b>Inherited |
| 489 |
characteristics</b></font> </td> |
| 490 |
<td align="center"><font size="2"><b>Non-inherited |
| 491 |
characteristics</b></font> </td> |
| 492 |
</tr> |
| 493 |
<tr> |
| 494 |
<td valign="top"><ul> |
| 495 |
<li>space-before </li> |
| 496 |
<li>space-after </li> |
| 497 |
</ul> |
| 498 |
</td> |
| 499 |
<td valign="top"><ul> |
| 500 |
<li>display? </li> |
| 501 |
<li>scale (max) </li> |
| 502 |
<li>max-width </li> |
| 503 |
<li>max-height </li> |
| 504 |
<li>entity-system-id </li> |
| 505 |
<li>display-alignment </li> |
| 506 |
<li>start-indent </li> |
| 507 |
<li>end-indent </li> |
| 508 |
<li>span (spans all columns if > 1) </li> |
| 509 |
<li>space-before </li> |
| 510 |
<li>space-after </li> |
| 511 |
<li>keep-with-previous? </li> |
| 512 |
<li>keep-with-next? </li> |
| 513 |
<li>break-before (#f, page) </li> |
| 514 |
<li>break-after (#f, page) </li> |
| 515 |
<li>keep (#f, page) </li> |
| 516 |
<li>may-violate-keep-before? </li> |
| 517 |
<li>may-violate-keep-after? </li> |
| 518 |
</ul> |
| 519 |
</td> |
| 520 |
</tr> |
| 521 |
</table> |
| 522 |
|
| 523 |
<!.. top of page ..> |
| 524 |
<p> |
| 525 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 526 |
border="0" width="11" height="15"> |
| 527 |
</a> |
| 528 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 529 |
</a> |
| 530 |
|
| 531 |
</p> |
| 532 |
|
| 533 |
<!.......................................................... |
| 534 |
the paragraph flow object |
| 535 |
...........................................................> |
| 536 |
</div><div align="left"><table border="1" cellpadding="5" |
| 537 |
cellspacing="0" width="90%"> |
| 538 |
<tr> |
| 539 |
<th colspan="2" bgcolor="#808080"><a name="paragraph"><font |
| 540 |
color="#FFFFFF">paragraph</font> </th> |
| 541 |
</tr> |
| 542 |
<tr> |
| 543 |
<td align="center"><font size="2"><b>Inherited |
| 544 |
characteristics</b></font> </td> |
| 545 |
<td align="center"><font size="2"><b>Non-inherited |
| 546 |
characteristics</b></font> </td> |
| 547 |
</tr> |
| 548 |
<tr> |
| 549 |
<td valign="top"><ul> |
| 550 |
<li>lines (wrap, asis-wrap) </li> |
| 551 |
<li>hyphenation-ladder-count </li> |
| 552 |
<li>hyphenation-remain-char-count </li> |
| 553 |
<li>hyphenation-push-char-count </li> |
| 554 |
<li>font-weight </li> |
| 555 |
<li>font-posture </li> |
| 556 |
<li>font-name </li> |
| 557 |
<li>font-size </li> |
| 558 |
<li>quadding </li> |
| 559 |
<li>widow-count </li> |
| 560 |
<li>orphan-count </li> |
| 561 |
<li>language </li> |
| 562 |
<li>country </li> |
| 563 |
</ul> |
| 564 |
</td> |
| 565 |
<td valign="top"><ul> |
| 566 |
<li>span (spans all columns if > 1) </li> |
| 567 |
<li>space-before </li> |
| 568 |
<li>space-after </li> |
| 569 |
<li>keep-with-previous? </li> |
| 570 |
<li>keep-with-next? </li> |
| 571 |
<li>break-before (#f, page) </li> |
| 572 |
<li>break-after (#f, page) </li> |
| 573 |
<li>keep (#f, page) </li> |
| 574 |
<li>may-violate-keep-before? </li> |
| 575 |
<li>may-violate-keep-after? </li> |
| 576 |
<li>line-spacing </li> |
| 577 |
<li>min-leading (#f or 0 for proportional |
| 578 |
line spacing) </li> |
| 579 |
<li>first-line-start-indent </li> |
| 580 |
</ul> |
| 581 |
</td> |
| 582 |
</tr> |
| 583 |
</table> |
| 584 |
|
| 585 |
<!.. top of page ..> |
| 586 |
<p> |
| 587 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 588 |
border="0" width="11" height="15"> |
| 589 |
</a> |
| 590 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 591 |
</a> |
| 592 |
|
| 593 |
</p> |
| 594 |
|
| 595 |
<!.......................................................... |
| 596 |
the paragraph-break flow object |
| 597 |
...........................................................> |
| 598 |
</div><div align="left"><table border="1" cellpadding="5" |
| 599 |
cellspacing="0" width="90%"> |
| 600 |
<tr> |
| 601 |
<th colspan="2" bgcolor="#808080"><a name="paragraph-break"><font |
| 602 |
color="#FFFFFF">paragraph-break</font> </th> |
| 603 |
</tr> |
| 604 |
<tr> |
| 605 |
<td align="center"><font size="2"><b>Inherited |
| 606 |
characteristics</b></font> </td> |
| 607 |
<td align="center"><font size="2"><b>Non-inherited |
| 608 |
characteristics</b></font> </td> |
| 609 |
</tr> |
| 610 |
<tr> |
| 611 |
<td valign="top">Same as for paragraph </td> |
| 612 |
<td valign="top">Same as for paragraph </td> |
| 613 |
</tr> |
| 614 |
</table> |
| 615 |
|
| 616 |
<!.. top of page ..> |
| 617 |
<p> |
| 618 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 619 |
border="0" width="11" height="15"> |
| 620 |
</a> |
| 621 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 622 |
</a> |
| 623 |
|
| 624 |
</p> |
| 625 |
|
| 626 |
<!.......................................................... |
| 627 |
the simple-page-sequence flow object |
| 628 |
...........................................................> |
| 629 |
</div><div align="left"><table border="1" cellpadding="5" |
| 630 |
cellspacing="0" width="90%"> |
| 631 |
<tr> |
| 632 |
<th colspan="2" bgcolor="#808080"><a name="simple-page-sequence"><font |
| 633 |
color="#FFFFFF">simple-page-sequence</font> </th> |
| 634 |
</tr> |
| 635 |
<tr> |
| 636 |
<td align="center"><font size="2"><b>Inherited |
| 637 |
characteristics</b></font> </td> |
| 638 |
<td align="center"><font size="2"><b>Non-inherited |
| 639 |
characteristics</b></font> </td> |
| 640 |
</tr> |
| 641 |
<tr> |
| 642 |
<td valign="top"><ul> |
| 643 |
<li>page-width </li> |
| 644 |
<li>page-height </li> |
| 645 |
<li>left-margin </li> |
| 646 |
<li>right-margin </li> |
| 647 |
<li>top-margin </li> |
| 648 |
<li>bottom-margin </li> |
| 649 |
<li>header-margin </li> |
| 650 |
<li>footer-margin </li> |
| 651 |
</ul> |
| 652 |
</td> |
| 653 |
<td valign="top"><ul> |
| 654 |
<li>left-header </li> |
| 655 |
<li>center-header </li> |
| 656 |
<li>right-header </li> |
| 657 |
<li>left-footer </li> |
| 658 |
<li>center-footer </li> |
| 659 |
<li>right-footer </li> |
| 660 |
</ul> |
| 661 |
</td> |
| 662 |
</tr> |
| 663 |
<tr> |
| 664 |
<td valign="top" colspan="2"><dl> |
| 665 |
<dt><b>(page-number-sosofo)</b> </dt> |
| 666 |
<dt><b>(current-node-page-number-sosofo)</b> </dt> |
| 667 |
<dt><b>"UNREGISTERED::James Clark//Procedure::if-first-page"</b> |
| 668 |
</dt> |
| 669 |
<dd>This can be used only in the |
| 670 |
specification of the value of one of the |
| 671 |
header/footer characteristics of simple-page-sequence. |
| 672 |
It returns a sosofo that will display as |
| 673 |
sosofo1 if the page is the first page of |
| 674 |
the simple-page-sequence and as sosofo2 |
| 675 |
otherwise. </dd> |
| 676 |
<dt><b>"UNREGISTERED::James Clark//Procedure::if-front-page"</b> |
| 677 |
</dt> |
| 678 |
<dd>This can be used only in the |
| 679 |
specification of the value of one of the |
| 680 |
header/footer characteristics of simple-page-sequence. |
| 681 |
It returns a sosofo that will display as |
| 682 |
sosofo1 if the page is a front (ie recto, |
| 683 |
odd-numbered) page and as sosofo2 if it |
| 684 |
is a back (i.e. verso, even-numbered) |
| 685 |
page. </dd> |
| 686 |
<dt><b>"UNREGISTERED::James Clark//Characteristic::page-n-columns"</b> |
| 687 |
</dt> |
| 688 |
<dd>Value is a strictly positive integer, |
| 689 |
specifying the number of columns. The |
| 690 |
initial value is 1. </dd> |
| 691 |
<dt><b>"UNREGISTERED::James Clark//Characteristic::page-column-sep"</b> |
| 692 |
</dt> |
| 693 |
<dd>Value is a length, specifying the |
| 694 |
separation between columns. The initial |
| 695 |
value is .5in. </dd> |
| 696 |
<dt><b>"UNREGISTERED::James Clark//Characteristic::page-balance-columns?"</b> |
| 697 |
</dt> |
| 698 |
<dd>Value is a boolean. If true, the columns |
| 699 |
on the final page of the page-sequence |
| 700 |
should be balanced. The initial value is |
| 701 |
#f. </dd> |
| 702 |
</dl> |
| 703 |
</td> |
| 704 |
</tr> |
| 705 |
<tr> |
| 706 |
<td valign="top" colspan="2"><b>Here's how to |
| 707 |
enable the above extensions:</b><br> |
| 708 |
(define if-first-page (external-procedure<br> |
| 709 |
"UNREGISTERED::James |
| 710 |
Clark//Procedure::if-first-page"))<br> |
| 711 |
(define if-front-page (external-procedure |
| 712 |
<br> |
| 713 |
"UNREGISTERED::James |
| 714 |
Clark//Procedure::if-front-page"))<br> |
| 715 |
(declare-characteristic page-n-columns<br> |
| 716 |
"UNREGISTERED::James |
| 717 |
Clark//Characteristic::page-n-columns" 1)<br> |
| 718 |
(declare-characteristic page-n-columns<br> |
| 719 |
"UNREGISTERED::James |
| 720 |
Clark//Characteristic::page-column-gap" (* |
| 721 |
36 1pt))<br> |
| 722 |
(declare-characteristic page-balance-columns?<br> |
| 723 |
"UNREGISTERED::James |
| 724 |
Clark//Characteristic::page-balance-columns?" |
| 725 |
#f)<br> |
| 726 |
</td> |
| 727 |
</tr> |
| 728 |
</table> |
| 729 |
|
| 730 |
<!.. top of page ..> |
| 731 |
<p> |
| 732 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 733 |
border="0" width="11" height="15"> |
| 734 |
</a> |
| 735 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 736 |
</a> |
| 737 |
|
| 738 |
</p> |
| 739 |
|
| 740 |
<!.......................................................... |
| 741 |
the table flow object |
| 742 |
...........................................................> |
| 743 |
</div><div align="left"><table border="1" cellpadding="5" |
| 744 |
cellspacing="0" width="90%"> |
| 745 |
<tr> |
| 746 |
<th colspan="2" bgcolor="#808080"><a name="table"><font |
| 747 |
color="#FFFFFF">table</font> </th> |
| 748 |
</tr> |
| 749 |
<tr> |
| 750 |
<td align="center"><font size="2"><b>Inherited |
| 751 |
characteristics</b></font> </td> |
| 752 |
<td align="center"><font size="2"><b>Non-inherited |
| 753 |
characteristics</b></font> </td> |
| 754 |
</tr> |
| 755 |
<tr> |
| 756 |
<td valign="top"><ul> |
| 757 |
<li>table-border </li> |
| 758 |
<li>display-alignment </li> |
| 759 |
<li>start-indent </li> |
| 760 |
<li>end-indent </li> |
| 761 |
</ul> |
| 762 |
</td> |
| 763 |
<td valign="top"><ul> |
| 764 |
<li>table-width </li> |
| 765 |
<li>before-row-border </li> |
| 766 |
<li>after-row-border </li> |
| 767 |
<li>before-column-border </li> |
| 768 |
<li>after-column-border </li> |
| 769 |
<li>span (spans all columns if > 1) </li> |
| 770 |
<li>space-before </li> |
| 771 |
<li>space-after </li> |
| 772 |
<li>keep-with-previous? </li> |
| 773 |
<li>keep-with-next? </li> |
| 774 |
<li>break-before (#f, page) </li> |
| 775 |
<li>break-after (#f, page) </li> |
| 776 |
<li>keep (#f, page) </li> |
| 777 |
<li>may-violate-keep-before? </li> |
| 778 |
<li>may-violate-keep-after? </li> |
| 779 |
</ul> |
| 780 |
</td> |
| 781 |
</tr> |
| 782 |
</table> |
| 783 |
|
| 784 |
<!.. top of page ..> |
| 785 |
<p> |
| 786 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 787 |
border="0" width="11" height="15"> |
| 788 |
</a> |
| 789 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 790 |
</a> |
| 791 |
|
| 792 |
</p> |
| 793 |
|
| 794 |
<!.......................................................... |
| 795 |
the table-part flow object |
| 796 |
...........................................................> |
| 797 |
</div><div align="left"><table border="1" cellpadding="5" |
| 798 |
cellspacing="0" width="90%"> |
| 799 |
<tr> |
| 800 |
<th colspan="2" bgcolor="#808080"><a name="table-part"><font |
| 801 |
color="#FFFFFF">table-part</font> </th> |
| 802 |
</tr> |
| 803 |
<tr> |
| 804 |
<td align="center"><font size="2"><b>Inherited |
| 805 |
characteristics</b></font> </td> |
| 806 |
<td align="center"><font size="2"><b>Non-inherited |
| 807 |
characteristics</b></font> </td> |
| 808 |
</tr> |
| 809 |
<tr> |
| 810 |
<td valign="top"> </td> |
| 811 |
<td valign="top"><ul> |
| 812 |
<li>space-before </li> |
| 813 |
<li>space-after </li> |
| 814 |
<li>keep-with-previous? </li> |
| 815 |
<li>keep-with-next? </li> |
| 816 |
<li>break-before (#f, page) </li> |
| 817 |
<li>break-after (#f, page) </li> |
| 818 |
<li>keep (#f, page) </li> |
| 819 |
<li>may-violate-keep-before? </li> |
| 820 |
<li>may-violate-keep-after? </li> |
| 821 |
</ul> |
| 822 |
</td> |
| 823 |
</tr> |
| 824 |
<tr> |
| 825 |
<td valign="top" colspan="2"><ul> |
| 826 |
<li>header </li> |
| 827 |
<li>footer </li> |
| 828 |
</ul> |
| 829 |
</td> |
| 830 |
</tr> |
| 831 |
</table> |
| 832 |
|
| 833 |
<!.. top of page ..> |
| 834 |
<p> |
| 835 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 836 |
border="0" width="11" height="15"> |
| 837 |
</a> |
| 838 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 839 |
</a> |
| 840 |
|
| 841 |
</p> |
| 842 |
|
| 843 |
<!.......................................................... |
| 844 |
the table-column flow object |
| 845 |
...........................................................> |
| 846 |
</div><div align="left"><table border="1" cellpadding="5" |
| 847 |
cellspacing="0" width="90%"> |
| 848 |
<tr> |
| 849 |
<th colspan="2" bgcolor="#808080"><a name="table-column"><font |
| 850 |
color="#FFFFFF">table-column</font> </th> |
| 851 |
</tr> |
| 852 |
<tr> |
| 853 |
<td align="center"><font size="2"><b>Inherited |
| 854 |
characteristics</b></font> </td> |
| 855 |
<td align="center"><font size="2"><b>Non-inherited |
| 856 |
characteristics</b></font> </td> |
| 857 |
</tr> |
| 858 |
<tr> |
| 859 |
<td valign="top"><ul> |
| 860 |
<li>start-indent </li> |
| 861 |
<li>end-indent </li> |
| 862 |
</ul> |
| 863 |
</td> |
| 864 |
<td valign="top"><ul> |
| 865 |
<li>column-number </li> |
| 866 |
<li>n-columns-spanned </li> |
| 867 |
<li>width </li> |
| 868 |
</ul> |
| 869 |
</td> |
| 870 |
</tr> |
| 871 |
<tr> |
| 872 |
<td valign="top" colspan="2"><ul> |
| 873 |
<li>(table-unit <i>k</i>) </li> |
| 874 |
</ul> |
| 875 |
</td> |
| 876 |
</tr> |
| 877 |
</table> |
| 878 |
|
| 879 |
<!.. top of page ..> |
| 880 |
<p> |
| 881 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 882 |
border="0" width="11" height="15"> |
| 883 |
</a> |
| 884 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 885 |
</a> |
| 886 |
|
| 887 |
</p> |
| 888 |
|
| 889 |
<!.......................................................... |
| 890 |
the table-cell flow object |
| 891 |
...........................................................> |
| 892 |
</div><div align="left"><table border="1" cellpadding="5" |
| 893 |
cellspacing="0" width="90%"> |
| 894 |
<tr> |
| 895 |
<th colspan="2" bgcolor="#808080"><a name="table-cell"><font |
| 896 |
color="#FFFFFF">table-cell</font> </th> |
| 897 |
</tr> |
| 898 |
<tr> |
| 899 |
<td align="center"><font size="2"><b>Inherited |
| 900 |
characteristics</b></font> </td> |
| 901 |
<td align="center"><font size="2"><b>Non-inherited |
| 902 |
characteristics</b></font> </td> |
| 903 |
</tr> |
| 904 |
<tr> |
| 905 |
<td valign="top"><ul> |
| 906 |
<li>cell-before-row-margin </li> |
| 907 |
<li>cell-after-row-margin </li> |
| 908 |
<li>cell-before-column-margin </li> |
| 909 |
<li>cell-after-column-margin </li> |
| 910 |
<li>cell-row-alignment </li> |
| 911 |
<li>cell-before-row-border </li> |
| 912 |
<li>cell-after-row-border </li> |
| 913 |
<li>cell-before-column-border </li> |
| 914 |
<li>cell-after-column-border </li> |
| 915 |
<li>cell-background? </li> |
| 916 |
<li>background-color </li> |
| 917 |
</ul> |
| 918 |
</td> |
| 919 |
<td valign="top"><ul> |
| 920 |
<li>column-number </li> |
| 921 |
<li>n-columns-spanned </li> |
| 922 |
<li>n-rows-spanned </li> |
| 923 |
<li>starts-row? </li> |
| 924 |
<li>ends-row? </li> |
| 925 |
</ul> |
| 926 |
</td> |
| 927 |
</tr> |
| 928 |
</table> |
| 929 |
|
| 930 |
<!.. top of page ..> |
| 931 |
<p> |
| 932 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 933 |
border="0" width="11" height="15"> |
| 934 |
</a> |
| 935 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 936 |
</a> |
| 937 |
|
| 938 |
</p> |
| 939 |
|
| 940 |
<!.......................................................... |
| 941 |
the table-border flow object |
| 942 |
...........................................................> |
| 943 |
</div><div align="left"><table border="1" cellpadding="5" |
| 944 |
cellspacing="0" width="90%"> |
| 945 |
<tr> |
| 946 |
<th colspan="2" bgcolor="#808080"><a name="table-border"><font |
| 947 |
color="#FFFFFF">table-border</font> </th> |
| 948 |
</tr> |
| 949 |
<tr> |
| 950 |
<td align="center"><font size="2"><b>Inherited |
| 951 |
characteristics</b></font> </td> |
| 952 |
<td align="center"><font size="2"><b>Non-inherited |
| 953 |
characteristics</b></font> </td> |
| 954 |
</tr> |
| 955 |
<tr> |
| 956 |
<td valign="top"><ul> |
| 957 |
<li>border-present? </li> |
| 958 |
<li>line-thickness </li> |
| 959 |
<li>line-repeat (0, 1, or 2) </li> |
| 960 |
<li>line-sep </li> |
| 961 |
<li>color </li> |
| 962 |
</ul> |
| 963 |
</td> |
| 964 |
<td valign="top"> </td> |
| 965 |
</tr> |
| 966 |
</table> |
| 967 |
|
| 968 |
<!.. top of page ..> |
| 969 |
<p> |
| 970 |
<a href="#top"><img src="images/top-of-page.gif" alt="Up" |
| 971 |
border="0" width="11" height="15"> |
| 972 |
</a> |
| 973 |
<a href="#top"><font size="2" face="Arial">Back to top</font> |
| 974 |
</a> |
| 975 |
|
| 976 |
</p> |
| 977 |
|
| 978 |
</div><h2>Problems & Limitations</h2> |
| 979 |
<p><a name="table_border_resolution"></a> </p> |
| 980 |
<h3><b>Table border resolution</b></h3> |
| 981 |
<p>It's not clear how to predictably enforce cell borders |
| 982 |
that have mixed line styles. I've posted a question about |
| 983 |
this to comp.text.frame, but there were no responses so |
| 984 |
far.</p> |
| 985 |
<p><a name="external_graphic_width"></a> </p> |
| 986 |
<h3><b>External graphic width and height</b></h3> |
| 987 |
<p>In order to place external graphics inside a text flow |
| 988 |
one must use an anchored frame containing the <ImportObject...> |
| 989 |
statement. The ImportObject within the frame can shrink-wrap |
| 990 |
the referenced graphics, however the anchored frame |
| 991 |
itself cannot - in general the size of an anchored frame |
| 992 |
has to be specified explicitly. I've asked about this in |
| 993 |
comp.text.frame, but the only solutions involved using |
| 994 |
external programs to read the graphic size from graphic |
| 995 |
files.</p> |
| 996 |
<p><a name="space_before_non-paragraph"></a> </p> |
| 997 |
<h3><b>Space before non-paragraph displayed objects</b></h3> |
| 998 |
<p>Flow objects like external-graphic need to be anchored |
| 999 |
to empty paragraphs so that that frame can determine |
| 1000 |
their position on the page automatically. Since the |
| 1001 |
smallest paragraph height is 2pt (smallest font size that |
| 1002 |
can be used), the total space before such objects should |
| 1003 |
be larger than that. This does not apply to the paragraph |
| 1004 |
flow objects themselves, and to the rule flow object. The |
| 1005 |
rule flow object has the placement direction display size |
| 1006 |
of 0 and it's possible to use negative PgfLeading to let |
| 1007 |
the next paragraph move up if necessary.</p> |
| 1008 |
<p><a name="the_vertical_positioning"></a> </p> |
| 1009 |
<h3><b>The vertical positioning of the displayed rule |
| 1010 |
flow object</b></h3> |
| 1011 |
<p>Since the rule is position using inlined anchored |
| 1012 |
frame, the placement is relative to the font baseline. It's |
| 1013 |
assumed that the baseline is 1/3 the font size from the |
| 1014 |
bottom.</p> |
| 1015 |
<p><a name="the_box_flow_object"></a> </p> |
| 1016 |
<h3><b>The box flow object</b></h3> |
| 1017 |
<p>Not sure how to implement it since anchored frames |
| 1018 |
must have fixed height. Maybe using tables would work |
| 1019 |
here(?)</p> |
| 1020 |
<p><a name="tips"></a> </p> |
| 1021 |
<h2>Tips</h2> |
| 1022 |
<p><a name="using_hypertext"></a> </p> |
| 1023 |
<h3>Creating hypertext documents</h3> |
| 1024 |
<p>You must decide on the filename extension you'll use |
| 1025 |
at the stage when you run jade. If you don't want the .mif |
| 1026 |
extension for your final document, feel free to use other |
| 1027 |
extension when specifying the file name using the <b>-o</b> |
| 1028 |
option.</p> |
| 1029 |
<ol> |
| 1030 |
<li>Open the book file. </li> |
| 1031 |
<li>While holding <i>SHIFT</i>, select <b>File->Open |
| 1032 |
All Files in Book</b> from the menu. </li> |
| 1033 |
<li>Save each file using <b>View Only</b> format - |
| 1034 |
make sure you use original filenames. </li> |
| 1035 |
</ol> |
| 1036 |
<p><a name="updating_page_numbering"></a> </p> |
| 1037 |
<h3>Updating page numbering</h3> |
| 1038 |
<ol> |
| 1039 |
<li>Open the book file. </li> |
| 1040 |
<li>While holding <i>SHIFT</i>, select <b>File->Open |
| 1041 |
All Files in Book</b> from the menu. </li> |
| 1042 |
<li>Select <b>File->Generate/Update...</b> and |
| 1043 |
then press <b>Update</b>. </li> |
| 1044 |
</ol> |
| 1045 |
<p><a name="using_colors"></a> </p> |
| 1046 |
<h3>Specifying colors</h3> |
| 1047 |
<p>OpenJade supports all color spaces specified in DSSSL. |
| 1048 |
The following example uses the RGB color space to create |
| 1049 |
a red rule:</p> |
| 1050 |
<div align="center"><center><table border="0" |
| 1051 |
cellpadding="10" bgcolor="#CCCCCC"> |
| 1052 |
<tr> |
| 1053 |
<td>(make rule<br> |
| 1054 |
color: (color (color-space |
| 1055 |
"ISO/IEC 10179:1996//Color-Space Family::Device |
| 1056 |
RGB")<br> |
| 1057 |
|
| 1058 |
1 0 0)<br> |
| 1059 |
...<br> |
| 1060 |
)</td> |
| 1061 |
</tr> |
| 1062 |
</table> |
| 1063 |
</center></div></td> |
| 1064 |
</tr> |
| 1065 |
</table> |
| 1066 |
</div> |
| 1067 |
</body> |
| 1068 |
</html> |