#47142 [Asn->Fbk]: Russian Documentation

From: Date: Fri, 20 Nov 2009 10:49:43 +0000
Subject: #47142 [Asn->Fbk]: Russian Documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3267@lists.php.net to get a copy of this message
 ID:               47142
 Updated by:       vrana@php.net
 Reported By:      arhidima at gmail dot com
-Status:           Assigned
+Status:           Feedback
 Bug Type:         Documentation problem
 Operating System: Russian Documentation
 PHP Version:      5.2CVS-2009-01-17 (snap)
 Assigned To:      bjori
 New Comment:

Can you please describe the problem more clearly? Images are not
available.


Previous Comments:
------------------------------------------------------------------------

[2009-01-19 10:11:40] bjori@php.net

Rather then just creating a one-time CHM file, please look into the
core problem so the weekly CHM files will be OK.

To generate the CHM follow these steps (Note: You will need PHP5.3 for
this to work, http://windows.php.net/snapshots/):
cvs -d:pserver:cvsread@cvs.php.net/repository login
(password is phpfi, see http://php.net/anoncvs).
cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc-ru
cd phpdoc-ru
php configure.php

pear channel-discover doc.php.net
pear install doc.php.net/phd-beta

phd -d .manual.xml -f xhtml -t chmsource --lang ru
hhc.exe chm/php_manual_ru.hhp

Now you should have the generated (broken) CHM file.

To fix it, you will have to edit PhD (which is responsible for the
generation). 
Checkout the (PEAR-install-path)phd/themes/php/chmsource.php

On line#142 you see "ru" => .. I suspect these values have to bee
tweaked in order to fix the core problem.


-Hannes


------------------------------------------------------------------------

[2009-01-19 08:46:54] arhidima at gmail dot com

I know about the problem with the search, but it is not disturbed me. 
I laid out here, that would verify whether or not to CHM documentation
for anyone except me :-) 
I will try to correct the defect in the search. 
I'm just the first time compiling CHM file.

------------------------------------------------------------------------

[2009-01-19 08:21:27] bjori@php.net

No.
Encoding problems are not a Windows only issue :)



------------------------------------------------------------------------

[2009-01-19 08:15:02] erema at blew dot ru

Good job, much easier to use, but fulltext search still shows results
in UTF8 ("krakozyabry"). So there are 2 ways: reencode _whole_ russian
html help from UTF8 to WIN1251, or do not use Windows(tm) (i guess,
linux CHM readers are not affected with this encoding problem, am i
right?)

------------------------------------------------------------------------

[2009-01-18 08:35:27] thegobot at gmail dot com

Thank you!

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/47142

-- 
Edit this bug report at http://bugs.php.net/?id=47142&edit=1



Thread (7 messages)

« previous php.doc.bugs (#3267) next »