chm.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1432 b7a7c8e89818
child 1748 f344879f1963
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1032
diff changeset
     1
.. -*- coding: utf-8; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1032
diff changeset
     2
.. include:: HEADER.rst
945
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
======
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 CHM.
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
======
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Spec.
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
=====
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
  http://www.nongnu.org/chmspec/
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
                HTML Help Projects
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
  http://www.nongnu.org/chmspec/latest/
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
                Unofficial (Preliminary) HTML Help Specification
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
  http://www.speakeasy.org/~russotto/chm/chmformat.html
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
                Matthew Russotto's Microsoft's HTML Help format description
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
  http://msdn.microsoft.com/en-us/library/ms669980.aspx
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
                HTML Help Frequently Asked Questions
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
Alternatives.
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
=============
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
  http://www.imendio.com/projects/devhelp/
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
                DevHelp is a GNOME based online help system aimed toward developers
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
  http://en.wikipedia.org/wiki/MHTML
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
                MHTML, short for MIME HTML
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
Microsoft HTML Help.
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
====================
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
  http://msdn.microsoft.com/en-us/library/ms669985
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
                Microsoft HTML Help Downloads
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
  http://support.microsoft.com/kb/269766/
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
                INFO: Limited Unicode Support in HTML Help
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
1432
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    37
Microsoft HTML Help under Debian.
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    38
=================================
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    39
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    40
Set Wine's Windows version to Windows 2000 (or above), and add an override to
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    41
use the native itss.dll, both via ``winecfg``::
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    42
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    43
  wine winecfg
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    44
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    45
Download `Microsoft HTML Help Workshop
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    46
<http://msdn.microsoft.com/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp>`_
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    47
and install it as::
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    48
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    49
  wine htmlhelp.exe
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    50
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    51
Install itircl.dll and itss.dll as::
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    52
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    53
  cabextract -F hhupd.exe htmlhelp.exe
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    54
  cabextract -F itircl.dll hhupd.exe
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    55
  cabextract -F itss.dll hhupd.exe
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    56
  cp -a itircl.dll ~/.wine/drive_c/windows/system32/
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    57
  cp -a itss.dll ~/.wine/drive_c/windows/system32/
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    58
  wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itircl.dll'
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    59
  wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itss.dll'
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    60
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    61
Download `Microsoft Foundation Classes update
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    62
<http://activex.microsoft.com/controls/vc/mfc40.cab>`_, extract it, and install
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    63
it as::
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    64
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    65
  wget http://activex.microsoft.com/controls/vc/mfc40.cab
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    66
  cabextract mfc40.cab
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    67
  wine mfc40.exe
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    68
  wget -N http://activex.microsoft.com/controls/vc/mfc40.cab
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    69
  cabextract -F mfc40.exe mfc40.cab
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    70
  cabextract -F mfc40.dll mfc40.exe
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    71
  cp -a mfc40.dll ~/.wine/drive_c/windows/system32/
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    72
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    73
See:
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    74
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    75
 * http://code.google.com/p/htmlhelp/wiki/HHW4Wine
b7a7c8e89818 Microsoft HTML Help under Debian.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1423
diff changeset
    76
945
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    77
Viewer.
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    78
=======
1423
9559bd5727fb Simplify text.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    79
::
945
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    80
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    81
  $ sudo apt-get install xchm
1423
9559bd5727fb Simplify text.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    82
  $ sudo apt-get install gnochm
945
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    83
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    84
972852ff3ade change mode to 644
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    85