X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=doc%2Fsrc%2Fman%2Fsetup.im;h=64930c565a9454e80096d734b61f7bb72551f62d;hb=HEAD;hp=fbd95feec0dbe11e14f90a739f93f6afa9e5520d;hpb=392168d467d7949f391602f53f9fd62d2a64d12b;p=ric-plt%2Flib%2Frmr.git diff --git a/doc/src/man/setup.im b/doc/src/man/setup.im index fbd95fe..64930c5 100644 --- a/doc/src/man/setup.im +++ b/doc/src/man/setup.im @@ -1,7 +1,7 @@ .if false ================================================================================== - Copyright (c) 2019 Nokia - Copyright (c) 2018-2019 AT&T Intellectual Property. + Copyright (c) 2019 Nokia + Copyright (c) 2018-2019 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,40 +18,52 @@ .fi .if false - Mnemonic: setup.im - Abstract: Look at environment variables and pull in the correct setup prep - imbed file based on the desired output type (when running tfm). - Obviously, when running pfm we are always generating postscirpt - so this isn't really doing much. - Date: 29 July 2019 + Mnemonic: setup.im + Abstract: Look at environment variables and pull in the correct setup prep + imbed file based on the desired output type (when running tfm). + Obviously, when running pfm we are always generating postscirpt + so this isn't really doing much. + Date: 29 July 2019 .fi -.if ! _setup_im +.if ! _setup_im +.** get lib, default to .. .gv e LIB lib -.if ! lib - .dv lib .. -.fi +.dv lib &{lib!..} + +.hn off +.ju on .** CAUTION: xfm comparisons are reverse polish so "a b =" is true if a == b. .if pfm - .im &{lib}/generic_ps.im + .im &{lib}/generic_ps.im + .cd 1 6.5i i=.75i + .pn on center noline f=%d .ei - .gv e OUTPUT_TYPE ot - .if "&ot" "txt" = - .im &{lib}/txt.im - .fi - .if "&ot" "rst" = - .im &{lib}/rst.im - .fi - .if "&ot" "markdown" = - .im &{lib}/markdown.im - .fi - .if "&ot" "troff" = - .im &{lib}/roff.im + .gv e OUTPUT_TYPE ot + .if "&ot" "txt" = + .im &{lib}/txt.im + .fi + .if "&ot" "rst" = + .im &{lib}/rst.im + .fi + .if "&ot" "markdown" = + .im &{lib}/markdown.im + .fi + .if "&ot" "troff" = + .im &{lib}/roff.im + .fi + .if "&ot" "html" = + .im &{lib}/html.im .fi .fi +.gv e GEN_TITLE gen_title +.if "&gen_title" "1" = + .im gen_title.im +.fi + .dv _setup_im 1 .fi