[erlang-questions] PDF reports from Mnesia: Erlguten and XMerL?

Nina Alex Juliadotter juliadotter@REDACTED
Tue Oct 13 08:01:58 CEST 2009


Thanks all for your help on this topic!

I've managed to get started with Erlguten thanks to the samples in the
test directory, they are really god. Although some more formal
documentation would be very welcome as well, in particular explaining
the "galley", "con" and "tem" and "map" files. In the end I found I
could just get the data out of mnesia straight into Erlguten, no XML
required to my relief. Now all that's left is a reporting engine and
some pretty diagrams :-)

And a pointer to any other poor sod trying to build Erlguten: you'll
need autoconf, but the versions 2.63 and 2.64 appear to have a bug
causing the build to fail, so use version 2.60, that'll work. So if
you're on Ubuntu like me, you can't just go apt-get autoconf, you have
to get the tar file and install it manually.

Nina

On Fri, Oct 9, 2009 at 7:08 PM, Richard Carlsson
<carlsson.richard@REDACTED> wrote:
> Nina Alex Juliadotter wrote:
>> I've come across Erlguten for PDF generation, which takes XML files as
>> input. So, to use Mnesia data, I take it I could use XMerL to
>> transform it into XML? The only trouble is that both these projects
>> seem rather idle and alpha like, the last time I've seen any
>> discussions was in 2004 and the source I found is from 2003. Is anyone
>> generating PDF files in their Erlang app, and in that case what
>> libraries are you using?
>
> We are using erlguten for heavy duty work in daily production.
> Just make sure you use the latest version, kept at google code:
>
> http://code.google.com/p/erlguten/
>
>    /Richard
>


More information about the erlang-questions mailing list