File: mif.htm

package info (click to toggle)
openjade 1.4devel1-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,776 kB
  • ctags: 11,092
  • sloc: cpp: 72,706; sh: 7,501; ansic: 2,365; lisp: 894; perl: 518; makefile: 461; sed: 93
file content (1068 lines) | stat: -rw-r--r-- 42,993 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
<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">&nbsp; </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 &amp; 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>
		&nbsp;
	</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">&nbsp;</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>
		&nbsp;
	</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 &gt; 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>
		&nbsp;
	</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>
		&nbsp;
	</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">&nbsp;</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>
		&nbsp;
	</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">&nbsp;</td>
                <td valign="top">&nbsp;</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>
		&nbsp;
	</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">&nbsp;</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>
		&nbsp;
	</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">&nbsp;</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>
                &nbsp;&nbsp;&nbsp; &quot;UNREGISTERED::ISOGEN//Flow
                Object Class::index-entry&quot;)<br>
                &nbsp; </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>
		&nbsp;
	</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 &gt; 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>
		&nbsp;
	</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 &gt; 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>
		&nbsp;
	</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>
		&nbsp;
	</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>&quot;UNREGISTERED::James Clark//Procedure::if-first-page&quot;</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>&quot;UNREGISTERED::James Clark//Procedure::if-front-page&quot;</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>&quot;UNREGISTERED::James Clark//Characteristic::page-n-columns&quot;</b>
                    </dt>
                    <dd>Value is a strictly positive integer,
                        specifying the number of columns. The
                        initial value is 1. </dd>
                    <dt><b>&quot;UNREGISTERED::James Clark//Characteristic::page-column-sep&quot;</b>
                    </dt>
                    <dd>Value is a length, specifying the
                        separation between columns. The initial
                        value is .5in. </dd>
                    <dt><b>&quot;UNREGISTERED::James Clark//Characteristic::page-balance-columns?&quot;</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>
                &nbsp;&nbsp;&nbsp; &quot;UNREGISTERED::James
                Clark//Procedure::if-first-page&quot;))<br>
                (define if-front-page (external-procedure&nbsp;&nbsp;
                <br>
                &nbsp;&nbsp;&nbsp; &quot;UNREGISTERED::James
                Clark//Procedure::if-front-page&quot;))<br>
                (declare-characteristic page-n-columns<br>
                &nbsp;&nbsp;&nbsp; &quot;UNREGISTERED::James
                Clark//Characteristic::page-n-columns&quot; 1)<br>
                (declare-characteristic page-n-columns<br>
                &nbsp;&nbsp;&nbsp; &quot;UNREGISTERED::James
                Clark//Characteristic::page-column-gap&quot; (*
                36 1pt))<br>
                (declare-characteristic page-balance-columns?<br>
                &nbsp;&nbsp;&nbsp; &quot;UNREGISTERED::James
                Clark//Characteristic::page-balance-columns?&quot;
                #f)<br>
                &nbsp; </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>
		&nbsp;
	</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 &gt; 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>
		&nbsp;
	</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">&nbsp;</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>
		&nbsp;
	</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>
		&nbsp;
	</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>
		&nbsp;
	</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">&nbsp;</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>
		&nbsp;
	</p>

        </div><h2>Problems &amp; 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 &lt;ImportObject...&gt;
        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-&gt;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-&gt;Open
                All Files in Book</b> from the menu. </li>
            <li>Select <b>File-&gt;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>
                &nbsp;&nbsp;&nbsp; color: (color (color-space
                &quot;ISO/IEC 10179:1996//Color-Space Family::Device
                RGB&quot;)<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                1 0 0)<br>
                &nbsp;&nbsp;&nbsp; ...<br>
                )</td>
            </tr>
        </table>
        </center></div></td>
    </tr>
</table>
</div>
</body>
</html>