Fix json blob selection bug
[ric-plt/xapp-frame-cpp.git] / doc / src / rtd / setup.im
1 .** vim: ts=4 sw=4 noet:
2 .if false
3 ==================================================================================
4         Copyright (c) 2019-2020 Nokia
5         Copyright (c) 2018-2020 AT&T Intellectual Property.
6
7    Licensed under the Apache License, Version 2.0 (the "License");
8    you may not use this file except in compliance with the License.
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18 ==================================================================================
19 .fi
20
21 .if false
22         Mnemonic:       setup.im
23         Abstract:       Look at environment variables and pull in the correct setup prep
24                                 imbed file based on the desired output type (when running tfm).
25                                 Obviously, when running pfm we are always generating postscirpt
26                                 so this isn't really doing much.
27         Date:           6 November 2019
28 .fi
29
30 .if  ! _setup_im
31 .dv _setup_im 1
32
33 .** allow environment LIB to override
34 .gv e LIB lib
35 .if ! lib
36         .dv lib ../lib
37 .fi
38
39 .hn off
40
41 .** CAUTION:  xfm comparisons are reverse polish so  "a b ="  is true if a == b.
42 .if pfm
43         .dv ot postscript
44         .im &{lib}/generic_ps.im
45 .ei
46         .gv e OUTPUT_TYPE ot
47         .if "&ot" "txt" =
48                 .im &{lib}/txt.im
49         .fi
50         .if "&ot" "rst" =
51                 .im &{lib}/rst.im
52         .fi
53         .if "&ot" "markdown" =
54                 .im &{lib}/markdown.im
55         .fi
56         .if "&ot" "troff" =
57                 .im &{lib}/roff.im
58         .fi
59         .if "&ot" "html" =
60                 .im &{lib}/html.im
61         .fi
62 .fi
63
64 .** if we can set a license into the output, do it early
65 .cd 1 11i
66 &line_len(10i)
67 .im &{lib}/license.im
68 .cd 1 6.5i m=0 i=0
69 &line_len( 6i)
70
71 .if ! textsize
72         .dv textsize 10
73 .fi
74 .if ! textfont
75         .dv textfont Helvetica
76 .fi
77
78 .if doc_title
79         .im &{lib}/front_junk.im
80 .fi
81
82 .fi
83