From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!matrix.darkstorm.co.uk!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Writing PDF files Date: Thu, 10 Apr 2014 17:52:10 -0500 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <362a0c08-07d1-4cf4-a2fe-d338c5423f48@googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: loke.gir.dk 1397170331 12457 69.95.181.76 (10 Apr 2014 22:52:11 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 10 Apr 2014 22:52:11 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: news.eternal-september.org comp.lang.ada:19236 Date: 2014-04-10T17:52:10-05:00 List-Id: "J-P. Rosen" wrote in message news:li6bl5$ga8$1@dont-email.me... > Le 10/04/2014 15:46, gautier_niouzes@hotmail.com a écrit : >> Bill Findlay (Oct. 2011): >> # Is there a (preferably, simple) Ada library for this purpose, by any >> chance? >> >> Later: >> # I'd be happy to write my own similar package, >> # if I could find PDF documentation that did not >> # threaten to make my head explode. Existing Ada >> # code (or even C, at a pinch) might serve that purpose. >> >> Did you or someone progress on this topic ? >> Otherwise I'd have a beginning of package, just wanting to avoid >> reinventing something more advanced... > FWIW, the simplest solution for me is to generate TeX, and the PDF from > that. > > Maybe not what the OP wanted, but it works and requires only Text_IO, or > AWS' templates parser for repetitive forms. I use the ARM_Form program to generate RTF, then use a word processor to convert that to PDF. RTF is also a text-only format so it can be written by Text_IO. One might be able to automate that using LibreOffice or something similar. Randy.