#47423 [NEW]: CHM theme with partial rendering
| From: | pear at laurent-laville dot org | Date: | Tue, 17 Feb 2009 13:53:23 +0000 |
| Subject: | #47423 [NEW]: CHM theme with partial rendering | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-1888@lists.php.net to get a copy of this message | ||
From: pear at laurent-laville dot org
Operating system: Windows XP
PHP version: Irrelevant
PHP Bug Type: Doc Build problem
Bug description: CHM theme with partial rendering
Description:
------------
If you generate a partial render of PHP or PEAR Manual with the CHM theme,
you'll have a CHM file that could not display the first page.
Reason came from hard-coded default topic in hhp stream.
For PHP CHM theme, see file
http://cvs.php.net/viewvc.cgi/phd/themes/php/chmsource.php?annotate=1.4.2.5.2.11
line 258
Default topic=res' . DIRECTORY_SEPARATOR . 'index.html
For PEAR CHM theme, see file
http://cvs.php.net/viewvc.cgi/phd/themes/pear/pearchm.php?annotate=1.4.2.2.2.5
line 269
Default topic=res\index.html
In both files, we used an "index.html" page that is not generated on
partial rendering with -p | -partial switch
Reproduce code:
---------------
phd -f xhtml -p package.html.html-css -o build/tmp -d .manual.xml
Expected result:
----------------
package.html.html-css.html (main page) when I open the pear_manual_en.chm
file
Actual result:
--------------
This program could not display the web page
Or something equivalent (I don't really know what is displayed in english,
because I've a french version)
--
Edit bug report at http://bugs.php.net/?id=47423&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47423&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47423&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47423&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47423&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47423&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47423&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47423&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47423&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47423&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47423&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47423&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47423&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47423&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47423&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47423&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47423&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47423&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47423&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47423&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47423&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47423&r=mysqlcfg