Re: [SLUG] Open Source Document Template Filling Options

2003-11-23 Thread Michael Lake
Anthony Wood wrote:
 We do quite complex document template filling (50 page documents, conditional text 
 etc.) already, using perl and latex.
 
 This is quite good, looks very nice etc, but the set up of a new template 
 (especially a large one) is quite complex
 and requires a knowledge of LaTeX and perl.
 
 Until now it has been reports of our own services which were output in PDF (using 
 pdflatex)
 which was fine, but now we would like to output in a format which is GUI editable
 whilst still holding document structure (e.g. change a heading and the table of 
 contents is
 updated)

I am just starting to use the Template Toolkit.
http://www.template-toolkit.org/ and see
http://www.template-toolkit.org/info.html

It allows you to separate the Perl from the markup language you are 
using, whether HTML or LaTeX. That way the LaTeX expert doesnt get Perl 
in their way or vice-versa.

Im very plaesed with it.

-- 
Michael Lake
Chemistry, Materials  Forensic Science, UTS
Ph: 9514 1724 Fx: 9514 1460



UTS CRICOS Provider Code:  00099F

DISCLAIMER

This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Open Source Document Template Filling Options

2003-11-20 Thread Anthony Wood
We do quite complex document template filling (50 page documents, conditional text 
etc.) already, using perl and latex.

This is quite good, looks very nice etc, but the set up of a new template (especially 
a large one) is quite complex
and requires a knowledge of LaTeX and perl.

Until now it has been reports of our own services which were output in PDF (using 
pdflatex)
which was fine, but now we would like to output in a format which is GUI editable
whilst still holding document structure (e.g. change a heading and the table of 
contents is
updated)

Has anyone used other solutions for something similar?

I was thinking my options were:

XML + XSLT - rtf

OpenOffice scripting - rtf, pdf, doc

OpenOffice for layout - latex - rtf/pdf


latex2rtf doesn't seem to hold document structure well,
even skips the table of contents alltogether

openoffice latex output plugin looked like it was doing things the right way.


any pointers, tips, experiences

cheers
-- 
Woody
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Open Source Document Template Filling Options

2003-11-20 Thread Matthew Palmer
On Fri, Nov 21, 2003 at 04:42:32PM +1100, Anthony Wood wrote:
 Until now it has been reports of our own services which were output in PDF
 (using pdflatex) which was fine, but now we would like to output in a
 format which is GUI editable whilst still holding document structure (e.g.
 change a heading and the table of contents is updated)

 XML + XSLT - rtf

Why not XML + XSLT - LaTeX - pdflatex - PDF?

LaTeX output is, in terms of XSLT, just another output format.  Then
pdflatex can do the right thing with your ToC and the rest.

A program I've been looking at, PHPReports, has the reports being described
by an XML file itself, so it's pretty much XML + XML + XSLT and so on.  If
you need to design reports easily, and don't want to screw with your XSLT
all the time, that could be another tidy option.

- Matt
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug