/usr/lib/python2.7/dist-packages/archmod/arch.conf is in archmage 1:0.3.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | # Directory for templates, all files in that directory will be parsed
# and <%.+%> occurencies will be replaced with values from that
# file. For example, <%title%>, will be substituted by value of title
# variable.
# There is also some special variables, which have default values:
# contents - list, which represents chm file contents and deftopic -
# name of default page.
from os.path import basename, join
import pkg_resources
templates_dir = pkg_resources.resource_filename('archmod', 'templates/')
# Directory with icons
icons_dir = join(templates_dir, 'icons')
# List of auxiliary files, stored inside CHM file.
# Those files would not be extracted.
auxes = ('/#IDXHDR', '/#ITBITS', '/#STRINGS', '/#SYSTEM', '/#TOPICS',
'/#URLSTR', '/#URLTBL', '/#WINDOWS', '/$FIftiMain', '/$OBJINST',
'/$WWAssociativeLinks', '/$WWKeywordLinks', ':')
# Title. That is value, which you want to see in browser title.
# 'sourcename' is the name of source file.
title = basename(sourcename)
# Background and foreground colors for header.
bcolor = '#63baff'
fcolor = 'white'
# Filenames inside chm stored in utf-8, but links can be in some
# national codepage. If you set fs_encoding such links would be
# converted to it.
#
# Default: fs_encoding = 'utf-8'
fs_encoding = 'utf-8'
# If your filesystem is case-sensitive, links in the html can point to
# files that have differences in the case you need to set
# filename_case to 1 in that case :-)
#
# Default: filename_case=1
filename_case = 1
# If you want to add javascript code for restore framing to every
# page, set addframing.
#
# Default: restore_framing=1
restore_framing = 1
# Path to htmldoc executable
#
htmldoc_exec = '/usr/bin/htmldoc'
# CHM2TEXT converting. Use following command to convert CHM content to plain
# text file. Make sure that below apps are available on your system.
#chmtotext = 'lynx -dump -stdin'
chmtotext = '/usr/bin/elinks -dump'
# CHM2HTML converting. Use following command to convert CHM content to a single
# HTML file. Make sure that htmldoc is available on your system.
chmtohtml = '-t html -f "%(output)s" --book %(toc)s --no-numbered --toctitle "Table of Contents" --title --linkstyle underline --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --browserwidth 680 --no-strict --no-overflow --quiet'
# CHM2PDF converting. Use following command to convert CHM content to a single
# PDF file. Make sure that htmldoc is available on your system.
chmtopdf = '-t pdf14 -f "%(output)s" --book %(toc)s --no-numbered --toctitle "Table of Contents" --title --textcolor "#000000" --linkcolor "#0000ff" --linkstyle plain --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --header1 ... --footer h.1 --nup 1 --tocheader .t. --tocfooter ..i --portrait --color --no-pscommands --no-xrxcomments --compression=1 --jpeg=0 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --links --embedfonts --pagemode outline --pagelayout single --firstpage c1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 --no-strict --no-overflow --quiet'
# CHM2PS converting. Use following command to convert CHM content to a single
# PostScript file. Make sure that htmldoc is available on your system.
#chmtops = '-t ps2 -f "%(output)s" --book %(toc)s --no-numbered --toctitle "Table of Contents" --title --textcolor "#000000" --linkcolor "#0000ff" --linkstyle underline --size A4 --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --header1 ... --footer h.1 --nup 1 --tocheader .t. --tocfooter ..i --portrait --color --no-pscommands --no-xrxcomments --compression=1 --jpeg=0 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --browserwidth 680 --no-strict --no-overflow --quiet'
# Maximum Table of Content levels for htmldoc utility.
#
# Default: maxtoclvl = 4
maxtoclvl = 4
|