PageRenderTime 46ms CodeModel.GetById 42ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/archmage/arch.conf

http://github.com/brinkman83/bashrc
Config | 72 lines | 59 code | 13 blank | 0 comment | 0 complexity | 971fa39e34b1c898db3e1f8772b6b462 MD5 | raw file
 1# Directory for templates, all files in that directory will be parsed
 2# and <%.+%> occurencies will be replaced with values from that
 3# file. For example, <%title%>, will be substituted by value of title
 4# variable.
 5# There is also some special variables, which have default values:
 6# contents - list, which represents chm file contents and deftopic -
 7# name of default page.
 8templates_dir = '/usr/share/archmage/templates/'
 9
10# Directory with icons
11icons_dir = '/usr/share/archmage/templates/icons/'
12
13# List of auxiliary files, stored inside CHM file. 
14# Those files would not be extracted.
15auxes = ('/#IDXHDR', '/#ITBITS', '/#STRINGS', '/#SYSTEM', '/#TOPICS',
16         '/#URLSTR', '/#URLTBL', '/#WINDOWS', '/$FIftiMain', '/$OBJINST',
17         '/$WWAssociativeLinks', '/$WWKeywordLinks', ':')
18
19# Title. That is value, which you want to see in browser title.
20# 'sourcename' is the name of source file.
21from os.path import basename
22title = basename(sourcename)
23
24# Background and foreground colors for header.
25bcolor = '#63baff'
26fcolor = 'white'
27
28# Filenames inside chm stored in utf-8, but links can be in some
29# national codepage. If you set fs_encoding such links would be
30# converted to it.
31#
32# Default: fs_encoding = 'utf-8'
33fs_encoding = 'utf-8'
34
35# If your filesystem is case-sensitive, links in the html can point to
36# files that have differences in the case you need to set
37# filename_case to 1 in that case :-)
38# 
39# Default: filename_case=1
40filename_case = 1
41
42# If you want to add javascript code for restore framing to every
43# page, set addframing.
44# 
45# Default: restore_framing=1
46restore_framing = 1
47
48# Path to htmldoc executable
49#
50htmldoc_exec = '/usr/bin/htmldoc'
51
52# CHM2TEXT converting. Use following command to convert CHM content to plain
53# text file. Make sure that below apps are available on your system.
54#chmtotext = 'lynx -dump -stdin'
55chmtotext = '/usr/bin/elinks -dump'
56
57# CHM2HTML converting. Use following command to convert CHM content to a single 
58# HTML file. Make sure that htmldoc is available on your system.
59chmtohtml = '-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'
60
61# CHM2PDF converting. Use following command to convert CHM content to a single 
62# PDF file. Make sure that htmldoc is available on your system.
63chmtopdf = '-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'
64
65# CHM2PS converting. Use following command to convert CHM content to a single 
66# PostScript file. Make sure that htmldoc is available on your system.
67#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'
68
69# Maximum Table of Content levels for htmldoc utility.
70#
71# Default: maxtoclvl = 4
72maxtoclvl = 4