#47434 [NEW]: PEAR Manual partial rendering to PDF file
| From: | pear at laurent-laville dot org | Date: | Wed, 18 Feb 2009 10:43:44 +0000 |
| Subject: | #47434 [NEW]: PEAR Manual partial rendering to PDF file | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-1897@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: PEAR Manual partial rendering to PDF file
Description:
------------
Here are my try to generate partial PEAR Manual.
My choice is limited to one package (HTML_CSS) I know well and because
there is also an image (<screenshot>).
As I got lot of tag "No mapper found" that exceed the limit of my DOS
console, I've appended to command bellow the STDOUT+STDERR redirect to a
temp result file. ( > \temp\genresult.txt 2>&1 )
phd -f pdf -t phppdf
-p package.html.html-css
-o build/tmpdf -d .manual.xml
> \temp\genresult.txt 2>&1
Here are the summary list of E_USER_WARNING I got :
No mapper found for 'format_qandadiv'
No mapper found for 'format_screenshot'
No mapper found for 'format_funcsynopsis'
No mapper found for 'format_funcsynopsisinfo'
No mapper found for 'format_funcprototype'
No mapper found for 'format_paramdef'
No mapper found for 'format_important'
No mapper found for 'format_coref'
Partial content of log (temp\genresult.txt) is :
[11:13:51 - VERBOSE_INDEXING] Indexing...
[11:14:12 - VERBOSE_INDEXING] Indexing done
[11:14:12 - VERBOSE_FORMAT_RENDERING] Starting pdf rendering
[11:14:12 - VERBOSE_THEME_RENDERING] Using the php theme (phppdf)
[11:14:12 - VERBOSE_RENDER_STYLE] Running partial build
[11:14:20 - VERBOSE_PARTIAL_READING] Starting package.html.html-css...
[11:14:20 - E_USER_WARNING]
C:\wamp\bin\php\php5.2.8\PEAR\phd\formats\pdf.php:312
No mapper found for 'format_qandadiv'
... more ...
[11:14:21 - E_USER_WARNING]
C:\wamp\bin\php\php5.2.8\PEAR\phd\formats\pdf.php:312
No mapper found for 'format_coref'
[11:14:21 - VERBOSE_PARTIAL_READING] package.html.html-css done
[11:14:21 - VERBOSE_TOC_WRITING] Resolving Internal Links... ()
[11:14:21 - VERBOSE_TOC_WRITING] Writing PDF Manual ()
[11:14:21 - VERBOSE_FORMAT_RENDERING] Finished rendering
I copied the PDF result on :
http://www.laurent-laville.org/temp/noname.pdf
Initial result produced was withoutname (.pdf). I have renamed it from
.pdf to noname.pdf to allow to see it !
My platform:
- Windows XP SP3
- PHP 5.2.8
- PhD 0.4.4
- Haru 2.0.8 (bundled with PHP)
Expected result:
----------------
A nice PDF document
Actual result:
--------------
Incomplete, and without name
--
Edit bug report at http://bugs.php.net/?id=47434&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47434&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47434&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47434&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47434&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47434&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47434&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47434&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47434&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47434&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47434&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47434&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47434&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47434&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47434&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47434&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47434&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47434&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47434&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47434&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47434&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47434&r=mysqlcfg