#47434 [Opn->Ver]: PEAR Manual partial rendering to PDF file
| From: | cweiske@php.net | Date: | Thu, 19 Feb 2009 08:54:24 +0000 |
| Subject: | #47434 [Opn->Ver]: PEAR Manual partial rendering to PDF file | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1903@lists.php.net to get a copy of this message | ||
ID: 47434
Updated by: cweiske@php.net
Reported By: pear at laurent-laville dot org
-Status: Open
+Status: Verified
Bug Type: Doc Build problem
Operating System: Windows XP
PHP Version: Irrelevant
New Comment:
Sumatra PDF crashes opening the PDF, Adobe Reader displays it but shows
a warning.
Previous Comments:
------------------------------------------------------------------------
[2009-02-18 10:43:44] pear at laurent-laville dot org
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 this bug report at http://bugs.php.net/?id=47434&edit=1