Re: How to download (compile?) a CHM doc with a previous layout
| From: | Hannes Magnusson | Date: | Tue, 17 Mar 2009 07:41:52 +0000 |
| Subject: | Re: How to download (compile?) a CHM doc with a previous layout | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-4081@lists.php.net to get a copy of this message | ||
2009/3/16 Łukasz Czerwiński <milimetr88@gmail.com>:
> Hello,
>
> Sorry for sending a while ago an unfinished mail. It was of course by
> accident.
>
> I have not downloaded PHP documentation for quite a long time, but now
> wanted to do it. What I see that now it's completely unreadable - the
> letters are so big and there are so many color frames, that each function
> takes two times more place on the screen than it used to take. Is it
> possible for me to change CHM's styles? Or recompile it? How to do it?
That doesn't sound right. Could you post a screenshot of what you are
seeing somewhere?
You can build the chm yourself if want. To do that you need an CVS
client though to "download" the documentations:
Installing the tools:
Download & install Microsoft HTML Help Workshop
(http://go.microsoft.com/fwlink/?linkid=14188)
$ pear channel-discover doc.php.net
$ pear install doc.php.net/phd-beta
Fetching the sources:
$ cvs -d:pserver:cvsread@cvs.php.net/repository login
The password is "phpfi"
$ cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc
Verify the docs are OK:
$ cd phpdoc
$ php configure.php
Render the documentations and build the "CHM index files":
$ phd -f chmsource -t chmsource -o manual -d .manual.xml
Compile the CHM:
$ cd manual
$ hhc.exe chm/php_manual_en.hhp
That will create "php_manual_en.chm" in the chm directory.
> (Both layouts of the CHM file, both the current and my preffered one, are in
> attachments)
Everything except for plain/text gets stripped of the list.
-Hannes