2 ==================================================================================
3 Copyright (c) 2019 Nokia
4 Copyright (c) 2018-2019 AT&T Intellectual Property.
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17 ==================================================================================
22 Abstract: Look at environment variables and pull in the correct setup prep
23 imbed file based on the desired output type (when running tfm).
24 Obviously, when running pfm we are always generating postscirpt
25 so this isn't really doing much.
32 .** get lib, default to ..
39 .** CAUTION: xfm comparisons are reverse polish so "a b =" is true if a == b.
41 .im &{lib}/generic_ps.im
43 .pn on center noline f=%d
52 .if "&ot" "markdown" =
53 .im &{lib}/markdown.im
63 .gv e GEN_TITLE gen_title
64 .if "&gen_title" "1" =