Re: PhD for Uniface

From: Date: Mon, 20 Feb 2012 19:51:48 +0000
Subject: Re: PhD for Uniface
References: 1 2  Groups: php.doc.web 
Request: Send a blank email to doc-web+get-2271@lists.php.net to get a copy of this message
On Sat, Feb 18, 2012 at 14:06, Dennis E.J. Vorst <dvorst@materialictsolutions.nl> wrote: > Hello, > > > > I have been playing with PhD for a couple of days now and I am very > impressed by the way it works. I have started with a small documentation set > for Uniface (a 4GL product by Compuware) > > > > I basically have two questions: > > 1.       I would like to generate chm or PDF files of this set using PhD. > But how do I do this. I have tried using the -f pdf switch and then I get > the message that the package is not supported. Where can I get the package > that supports both CHM and PDF? did you install the 'haru' extension? Try running pecl install haru first.. PhD uses that extension to deal with the actual pdf generation. > 2.       As far as I know the php.net website is also build using the PhD > documentation. However users can add there own code examples to display > techniques on how to use commands, datatype etc. Is it possible to generate > this functionality using PhD or do I need some addon. PhD generates a specific PHP code for the php.net website. That code is really just pre- and post-hooks that call into the actual php.net website to handle the user notes. It shouldn't be very hard to add such system to PhD, but it would have to make several assumptions about your environment, which may not be very reliable all the time.... You would probably be better of by extending the builtin formats and inject your own code there. -Hannes

« previous php.doc.web (#2271) next »