comp.lang.ada
 help / color / mirror / Atom feed
From: Bill Findlay <yaldnif.w@blueyonder.co.uk>
Subject: Re: Writing PDF files
Date: Thu, 10 Apr 2014 22:57:34 +0100
Date: 2014-04-10T22:57:34+01:00	[thread overview]
Message-ID: <CF6CD25E.45915%yaldnif.w@blueyonder.co.uk> (raw)
In-Reply-To: li6bl5$ga8$1@dont-email.me

On 10/04/2014 15:59, in article li6bl5$ga8$1@dont-email.me, "J-P. Rosen"
<rosen@adalog.fr> wrote:

> 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 could do as much as I wanted with EPS using Text_IO, except that I needed
to seek back to the start of the output file to insert a couple of values
that only became known at the end of the plot.  I already had a simple POSIX
subset package, so that was trivial to do as well.

Have a look in http://www.findlayw.plus.com/EPS/

That code is not self-sufficient, as the packages are part of a larger
program, but it should be clear enough how to extract the
context-independent stuff.

-- 
Bill Findlay
with blueyonder.co.uk;
use  surname & forename;


  parent reply	other threads:[~2014-04-10 21:57 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  0:04 Writing PDF files Bill Findlay
2011-10-17  0:27 ` Robin Vowels
2011-10-17  2:21   ` Bill Findlay
2014-04-16  7:50     ` robin.vowels
2011-10-17  2:18 ` RasikaSrinivasan@gmail.com
2011-10-17  2:31   ` Bill Findlay
2011-10-17  8:44     ` Gautier write-only
2011-10-17  7:36 ` Dmitry A. Kazakov
2011-10-17  8:31 ` Manuel Collado
2011-10-17 17:26 ` Yannick Duchêne (Hibou57)
2011-10-17 22:00 ` Randy Brukardt
2011-10-17 22:23   ` Bill Findlay
2011-10-17 23:00     ` Shark8
2011-10-18  8:17     ` Simon Wright
2011-10-18 10:03       ` Yannick Duchêne (Hibou57)
2011-10-18 10:14         ` Yannick Duchêne (Hibou57)
2011-10-18 11:24           ` Simon Wright
2011-10-18 12:07             ` Yannick Duchêne (Hibou57)
2011-10-18 11:46           ` Jeffrey Creem
2011-10-18 14:03             ` Yannick Duchêne (Hibou57)
2011-10-20 23:22       ` Bill Findlay
2011-10-21  6:03         ` Simon Wright
2011-10-21  7:22           ` Yannick Duchêne (Hibou57)
2011-10-21  7:31             ` Ludovic Brenta
2011-10-21  9:43               ` Yannick Duchêne (Hibou57)
2014-04-10 13:46 ` gautier_niouzes
2014-04-10 14:59   ` J-P. Rosen
2014-04-10 19:07     ` gautier_niouzes
2014-04-10 20:33       ` Dmitry A. Kazakov
2014-04-13  8:46       ` gautier_niouzes
2014-04-10 21:57     ` Bill Findlay [this message]
2014-04-10 22:52     ` Randy Brukardt
2014-04-11  4:41       ` Vadim Godunko
2014-04-10 17:03   ` Natasha Kerensikova
2014-04-10 18:59     ` gautier_niouzes
2014-04-10 21:47   ` Bill Findlay
2014-04-10 23:27     ` Jeffrey Carter
2014-04-11 19:16       ` Bill Findlay
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox