Re: [OctDev] Package PDF documentation

2011-06-16 Thread Søren Hauberg
tor, 16 06 2011 kl. 17:02 +0100, skrev Veitch, Liam: > a) asking the user to enter the location of mikTex as a parameter to a > function. This is an option. An alternative would be to introduce a new function 'pdflatex_binary' which would work similarly to e.g. 'gnuplot_binary'. > b) bundling th

Re: [OctDev] Package PDF documentation

2011-06-16 Thread c.
On 16 Jun 2011, at 18:02, Veitch, Liam wrote: > Søren > > Yes, although I am currently using the MikTex executables from outside of > octave to generate the pdf from the texi files, so I need to do some research > on how to make it platform independent - in MS Windows for example the mikTex >

Re: [OctDev] Package PDF documentation

2011-06-16 Thread Veitch, Liam
From: Søren Hauberg [mailto:so...@hauberg.org] Sent: 15 June 2011 16:58 To: Veitch, Liam Cc: octave-dev@lists.sourceforge.net Subject: RE: [OctDev] Package PDF documentation Hi That looks something like what I imagined. You might not be the only one interested in generating such PDFs, so woul

Re: [OctDev] Package PDF documentation

2011-06-15 Thread Veitch, Liam
(functions) [TEXT, FORMAT] = get_help_text(functions(k)); fprintf(fid,TEXT); end end fclose(fid); -Original Message- From: Søren Hauberg [mailto:so...@hauberg.org] Sent: 14 June 2011 13:28 To: Veitch, Liam

Re: [OctDev] Package PDF documentation

2011-06-15 Thread Søren Hauberg
fprintf(fid,TEXT); > end > > end > > fclose(fid); > ---- > > -Original Message- > From: Søren Hauberg [mailto:so...@hauberg.org] > Sent: 14 June 2011 13:28 > To: Veitch, Liam > Cc: octave-de

Re: [OctDev] Package PDF documentation

2011-06-14 Thread Søren Hauberg
Hi The 'generate_html' package does not support generating PDFs. You should be able to hack something together fairly easy. The following dirty (and untested) code: pack_name = "generate_html" list = pkg ("describe", pack_name); functions = {}; for k = 1:numel (list {1}.provides) fun

[OctDev] Package PDF documentation

2011-06-14 Thread Veitch, Liam
Hi, Is it possible to generate pdf documentation similar to the Octave manual, for a package which I have created? I have used the generate_html package which produces some very neat html documentation, however I would like a single file with all this in, preferably pdf. Fyi , I am running Micros