X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Flibrary%2Ffront_junk.im;h=c083e900367b1253997f1a27c75f3d2ccfb2b733;hb=HEAD;hp=d518104ca3770165ff9ff9b03aa6437ceb2f9c1a;hpb=06e85b7015b6804e641424a022d0a9ceb282e280;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/library/front_junk.im b/doc/src/library/front_junk.im index d518104..c083e90 100644 --- a/doc/src/library/front_junk.im +++ b/doc/src/library/front_junk.im @@ -18,37 +18,102 @@ .fi .if false - Title page, toc and license for page oriented output + Mnemonic: front_junk.im + Abstract: This will generate a title page, table of contents and + license/copyright page (between title page and toc). + It should only be embedded for postscript output + + For non-postscript output, a simple title is embedded + without enabling table of contents, index, etc. + + Expected to be defined before imbedding this: + doc_title + col_width + col_indent + pass + textfont + textsize + indent_size + toc_file + + Optional vars that are used if set + doc_subtitle + orig_date + + Date: August 2019 + Author: E. Scott Daniels .fi -.sp 20 -.st 24 -.bc start -&doc_title -.br -&doc_subtitle -.bc end -.st &textsize -.sp 25 -Original: 30 July 2019 .br -.gv Date -Revised: &_date -.pa +.if ! _front_junk -.im license.im -.pa +.if pfm + .sp 20 + .st 24 + .bc start + &doc_title + .br + .if doc_subtitle + &doc_subtitle + .fi + .bc end + .st &textsize -.if &pass 1 = - .tc on -.ei - .tc off - .pn on noline center roman 0 + .sp 25 + .if orig_date + Original: &orig_date .br + .fi + .gv Date + Revised: &_date + .pa - .im user.toc .** initial page eject inside + + .** license/copyright onto the page after the title + .im license.im .pa + + .if &pass 1 = + .tc on + .ei + .tc off + .pn on noline center roman 0 + + .im &toc_file + .pa + .pn on 0 + .fi + +.ei + .if "&ot" "rst" = + .** copyright into .rst because it supports internal comments + .im license.im + + &many_equals .br + &doc_title + &many_equals .br + .if doc_subtitle + &many_dashes .br + &doc_subtitle .br + &many_dashes .br + .fi + .ei + ¢er_start + &doc_title .br + .if doc_subtitle + &doc_subtitle .br + .fi + .fi .fi -.** ensure this is restored after toc spits -.cd 1 6.0i +.** ensure these are restored after toc spits +.if pfm + .cd 1 &col_width i=&col_indent + .in &indent_size + .sf &textfont + .st &textsize +.fi + + +.dv _front_junk 1 +.fi