comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Generating PDFs with Ada
Date: Wed, 12 Jan 2011 16:53:03 -0600
Date: 2011-01-12T16:53:03-06:00	[thread overview]
Message-ID: <iglbch$m8k$1@munin.nbi.dk> (raw)
In-Reply-To: 87lj2rgkaz.fsf@ludovic-brenta.org

"Ludovic Brenta" <ludovic@ludovic-brenta.org> wrote in message 
news:87lj2rgkaz.fsf@ludovic-brenta.org...
...
>> And I'm sure there are other tools out there (besides MS Office) that
>> generate .doc files.
>
> Apart from Microsoft's own, I can't think of any such tool.  Then again,
> I don't use office software much, I don't use Windows, and I would
> certainly not use, much less buy, a tool that locks my data into a
> proprietary format like .doc.  Maybe that's because I'm a software
> engineer and not a lemming :)

You're not trying very hard. :-)
OpenOffice produces .doc files. I think most of the web-based "office 
suites" also do. All for pragmatic reasons.

I've tried to take the attitude you are espousing and it has proven 
completely impractical. I've tried distributing documents in .odf format 
(the supposedly open format of OpenOffice) and hardly anyone seemed to be 
happy. It's a lot easier to distribute in .doc format (although I try to 
distribute read-only documents as .PDF).

...
>> It may be that the need for writing a Word document is small enough
>> that nobody has considered it worth their while to write a library
>> like that.  I can accept that as a reason.  But the attitude that I
>> thought I detected---"I hope [that nobody writes a library like
>> that]"---is not one that I believe serves the Ada community.  I
>> apologize if I read too much into anything anyone said.
>
> Like Stephe, I too hope that nobody writes a library that helps generate
> .doc files.  My reason reason is that such a tool would endorse the
> proprietary format and help continue the dominance of evil proprietary
> formats against standard ones.  The same tool could be just as useful
> writing PDF, DocBook, OpenDocument or even Plain Text instead of any
> version of .doc.  Software engineers should promote standards whenever
> possible, whatever language they use.

I think the "library" should be able to generate any kind of file that you 
want. The ARM_Formatter uses an O-O design which allows plugging in any kind 
of output that you might dream up. So long as the clients write to that 
interface (and there is no alternative!), any sort of output can be made.

Personally, I wouldn't want to try to directly create PDF files, because 
that would require doing detailed character layout, justification, 
pagination, indexing, table of contents, and the like. Doing these properly 
is a very complex job (I have experience with writing programs to output via 
typesetters back when I was much younger, and this is very difficult to get 
right). That's why I use MS Word and/or OpenOffice as an intermediary for 
creating the Ada standard and lots of other documents. If I was starting 
that today I would write directly to the .ODF format and let OpenOffice do 
all of the work (but that wasn't an option in 1998).

                                             Randy.







  parent reply	other threads:[~2011-01-12 22:53 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-09  1:00 Generating PDFs with Ada R. Tyler Croy
2011-01-09  9:29 ` Pascal Obry
2011-01-10  2:29   ` Stephen Leake
2011-01-10  3:48     ` Yannick Duchêne (Hibou57)
2011-01-10 10:19       ` Georg Bauhaus
2011-01-10 17:02         ` Yannick Duchêne (Hibou57)
2011-01-15 13:55       ` Elias Salomão Helou Neto
2011-01-15 14:51         ` Pascal Obry
2011-01-15 15:20           ` Elias Salomão Helou Neto
2011-01-15 17:55           ` Yannick Duchêne (Hibou57)
2011-01-16  3:13             ` Elias Salomão Helou Neto
2011-01-16  3:42               ` Yannick Duchêne (Hibou57)
2011-01-09  9:43 ` Dmitry A. Kazakov
2011-01-09 11:28   ` leonid
2011-01-09 15:36 ` Gautier write-only
2011-01-10 18:54 ` Adam Beneschan
2011-01-11  1:50   ` Randy Brukardt
2011-01-11  8:51   ` Stephen Leake
2011-01-11 15:37     ` Adam Beneschan
2011-01-11 18:41       ` Ludovic Brenta
2011-01-11 20:09         ` Yannick Duchêne (Hibou57)
2011-01-11 20:47         ` Adam Beneschan
2011-01-11 22:05           ` Yannick Duchêne (Hibou57)
2011-01-11 22:14           ` Ludovic Brenta
2011-01-11 22:22             ` Yannick Duchêne (Hibou57)
2011-01-11 22:32               ` Ludovic Brenta
2011-01-11 22:38             ` Yannick Duchêne (Hibou57)
2011-01-12  1:37             ` Shark8
2011-01-12  9:42             ` Stephen Leake
2011-01-12 22:53             ` Randy Brukardt [this message]
2011-01-13  8:29               ` Ludovic Brenta
2011-01-11 22:14           ` Yannick Duchêne (Hibou57)
2011-01-12  9:36           ` Pascal Obry
2011-01-12 13:02             ` Yannick Duchêne (Hibou57)
2011-01-12 14:16               ` Pascal Obry
2011-01-12  9:00     ` Maciej Sobczak
2011-01-12  9:44       ` sjw
2011-01-12 10:44         ` Manuel Collado
2011-01-12 13:12           ` Georg Bauhaus
2011-01-12 10:04       ` Dmitry A. Kazakov
2011-01-12 21:25         ` Maciej Sobczak
2011-01-12 21:57           ` Dmitry A. Kazakov
2011-01-12 23:14       ` Randy Brukardt
2011-01-13  8:33         ` Ludovic Brenta
2011-01-13  9:11           ` Georg Bauhaus
2011-01-13 20:40           ` Randy Brukardt
2011-01-13 22:34             ` Georg Bauhaus
2011-01-14  6:26               ` Thomas Løcke
2011-01-13 23:59             ` Edward Fish
2011-01-15 15:04         ` Elias Salomão Helou Neto
2011-01-15 17:45           ` Yannick Duchêne (Hibou57)
2011-01-15 23:58             ` Georg Bauhaus
2011-01-16  2:49             ` Elias Salomão Helou Neto
2011-01-16  3:21               ` Yannick Duchêne (Hibou57)
2011-01-16 11:59             ` Simon Wright
2011-01-16 12:57               ` Dmitry A. Kazakov
2011-01-16 14:25                 ` (see below)
2011-01-16 16:43                   ` Dmitry A. Kazakov
2011-01-16 20:48                     ` Yannick Duchêne (Hibou57)
2011-01-16 15:33                 ` Simon Wright
2011-01-16 16:44                   ` Dmitry A. Kazakov
2011-01-16 21:05                   ` Yannick Duchêne (Hibou57)
2011-01-16 20:34               ` Yannick Duchêne (Hibou57)
2011-01-16  1:27           ` Georg Bauhaus
2011-01-16  2:49             ` Yannick Duchêne (Hibou57)
2011-01-16 12:27             ` Elias Salomão Helou Neto
2011-01-16 19:22               ` Georg Bauhaus
2011-01-12 21:06   ` Florian Weimer
2011-01-12 14:14 ` RasikaSrinivasan@gmail.com
replies disabled

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