Hello Hannes,

While I've investigated a little in partial rendering features, I found a curious syntax.

Perharps you could explain me where does it came from (or if it's just a typo error somewhere)

I've tried to generate the CHM version of one of my PEAR package (as example).

So I follow these steps :

php configure.php
phd -f xhtml -t pearchunkedhtml
    -p package.html.html-css -o build/chm -d manual.xml

And I got this result :

[23:11:33 - VERBOSE_INDEXING] Indexing...
[23:12:07 - VERBOSE_INDEXING] Indexing done
[23:12:07 - VERBOSE_FORMAT_RENDERING] Starting xhtml rendering
[23:12:07 - VERBOSE_THEME_RENDERING] Using the php theme ()
[23:12:07 - VERBOSE_THEME_RENDERING] Using the pear theme (pearchunkedhtml)
[23:12:07 - VERBOSE_RENDER_STYLE] Running partial build
[23:12:07 - E_USER_ERROR] C:\wamp\bin\php\php5.2.8\build.php:148
        Unknown ID package.html.html-css, bailing

As ID exist, after many try , I realized that I've missed a dot in command line.

phd -f xhtml -t pearchunkedhtml
    -p package.html.html-css -o build/chm -d .manual.xml

[23:29:26 - VERBOSE_INDEXING] Indexing...
[23:29:48 - VERBOSE_INDEXING] Indexing done
[23:29:48 - VERBOSE_FORMAT_RENDERING] Starting xhtml rendering
[23:29:48 - VERBOSE_THEME_RENDERING] Using the php theme ()
[23:29:48 - VERBOSE_THEME_RENDERING] Using the pear theme (pearchm)
[23:29:48 - VERBOSE_RENDER_STYLE] Running partial build
[23:29:55 - VERBOSE_PARTIAL_READING] Starting package.html.html-css...
[23:29:57 - VERBOSE_PARTIAL_READING] package.html.html-css done
[23:29:57 - VERBOSE_FORMAT_RENDERING] Finished rendering

Could you explain why in docbook file name (-d), we must have a dot as prefix name. Whitout this no render are available !

BTW, I should see if I've followed what the configure.php told me

Generating chapters.ent for en
 3363 xml files
 2 php example files
 done
Loading manual into one giant file
 Validating
 done
Now call phd:
 phd -f xhtml -t pearchunkedhtml -o build/en -d .manual.xml


Thanks in advance
Laurent

Reply via email to