/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.
  8. templates_dir = '/usr/share/archmage/templates/'
  9. # Directory with icons
  10. icons_dir = '/usr/share/archmage/templates/icons/'
  11. # List of auxiliary files, stored inside CHM file.
  12. # Those files would not be extracted.
  13. auxes = ('/#IDXHDR', '/#ITBITS', '/#STRINGS', '/#SYSTEM', '/#TOPICS',
  14. '/#URLSTR', '/#URLTBL', '/#WINDOWS', '/$FIftiMain', '/$OBJINST',
  15. '/$WWAssociativeLinks', '/$WWKeywordLinks', ':')
  16. # Title. That is value, which you want to see in browser title.
  17. # 'sourcename' is the name of source file.
  18. from os.path import basename
  19. title = basename(sourcename)
  20. # Background and foreground colors for header.
  21. bcolor = '#63baff'
  22. fcolor = 'white'
  23. # Filenames inside chm stored in utf-8, but links can be in some
  24. # national codepage. If you set fs_encoding such links would be
  25. # converted to it.
  26. #
  27. # Default: fs_encoding = 'utf-8'
  28. fs_encoding = 'utf-8'
  29. # If your filesystem is case-sensitive, links in the html can point to
  30. # files that have differences in the case you need to set
  31. # filename_case to 1 in that case :-)
  32. #
  33. # Default: filename_case=1
  34. filename_case = 1
  35. # If you want to add javascript code for restore framing to every
  36. # page, set addframing.
  37. #
  38. # Default: restore_framing=1
  39. restore_framing = 1
  40. # Path to htmldoc executable
  41. #
  42. htmldoc_exec = '/usr/bin/htmldoc'
  43. # CHM2TEXT converting. Use following command to convert CHM content to plain
  44. # text file. Make sure that below apps are available on your system.
  45. #chmtotext = 'lynx -dump -stdin'
  46. chmtotext = '/usr/bin/elinks -dump'
  47. # CHM2HTML converting. Use following command to convert CHM content to a single
  48. # HTML file. Make sure that htmldoc is available on your system.
  49. 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'
  50. # CHM2PDF converting. Use following command to convert CHM content to a single
  51. # PDF file. Make sure that htmldoc is available on your system.
  52. 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'
  53. # CHM2PS converting. Use following command to convert CHM content to a single
  54. # PostScript file. Make sure that htmldoc is available on your system.
  55. #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'
  56. # Maximum Table of Content levels for htmldoc utility.
  57. #
  58. # Default: maxtoclvl = 4
  59. maxtoclvl = 4