Add user manual source
[ric-plt/lib/rmr.git] / doc / src / rst.im
index 4e32080..b35a68f 100644 (file)
@@ -34,8 +34,6 @@
 .fi
 
 
-.if tfm
-       .** assume that we're generating rts output when tfm is used. These macros
        .** convert {X}fm input into rts.
        .** post processing is needed to strip the leading space that tfm insists on adding.
        
@@ -83,6 +81,9 @@
        .dv ex_start .sp 1 ^:^: .br .ll -2 .in +2 .nf
        .dv ex_end .fo on .in -2 .ll +2 .sp 1
 
+       .dv proto_start .sp 1 .cc .5i .st 9 .sf Courier-bold .nf
+       .dv proto_end .fo on .sf ^&text_font .st ^&text_size .sp .3
+
        .dv center .br $1 .br
        .dv center_start .br
        .dv center_end .br
        .dv tab_cell
        .dv tab_row
        .dv end_table .fi
+
+       .dv super .sm ^[ .sm ^&{ss_num}]
+       .dv ss_num 1
+       .dv note .dv ss_num ^[ ?%.0f ^&ss_num 1 + ] ^: .sm ^^[^&{ss_num}]
+       .** rst has no concept of a page, so all notes go to the close of the doc
+       .dv atbot atclose
        
        .ju off
-.ei
-       .** for postscript output we just need to set macros up to mimic those above; same for 
-       .** what ever alternate crap we're generating, so defined once:
-       .im generic_ps.im 
-.fi