comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm-host.bauhaus@maps.futureapps.de>
Subject: Re: Generating PDFs with Ada
Date: Sun, 16 Jan 2011 20:22:09 +0100
Date: 2011-01-16T20:22:09+01:00	[thread overview]
Message-ID: <4d334560$0$6984$9b4e6d93@newsspool4.arcor-online.net> (raw)
In-Reply-To: <90294a5b-d915-45c4-ab85-4811dc4a24af@o4g2000yqd.googlegroups.com>

On 1/16/11 1:27 PM, Elias Salom�o Helou Neto wrote:
> On 15 jan, 23:27, Georg Bauhaus<rm-host.bauh...@maps.futureapps.de>
> wrote:
>>   From the *practical* point of view, I can think of many features
>> available in Microsoft Word or OpenOffice Writer (or FrameMaker
>> or Ventura Publisher, or Adobe Something) not available in TeX.
>
> How to generate the file formats required by these softs from Ada?

(1) Write a program controlling any capable text processing software's
programming interface, as was suggested.  This method will be
forgetful of internal data formats of these programs.  The method is
unavailable if you don't have the programs.  A third party could be
offering a ready made class library for generating the files, though.

(2) Depending on the level of abstraction, one may generate .gen
files or maker files just like LaTeX files.  I find targeting
anything at a level lower than that to be an attempt at reinventing
big wheels.


>> Nevertheless, The ISO Fortran 2003 draft document is
>> proof that LaTeX is a possibility for this kind of document.
>
> Thank you for pointing out the example, but not automatically
> generated.

Really? I don't know how the Fortran people had generated input
for TeX.


>> So that works, too.   (TeXmacs is a formidable editor for technical
>> stuff. Interestingly, it doesn't use TeX files for storage.)
>
> Probably because of its nearly WYSIWYG nature.

Nearly?

> It is not suitable for
> automatically generating PDFs.

Have your Ada program generate a TeXmacs files, in Scheme format.
Then,

$ texmacs --convert test.scm test.pdf --quit

Similar to how one uses LaTeX or Lout.
Is it possible to run Word simply like

C:\MyFiles> word /convert /in:test.docx /out:test.pdf  /quit


> There is no need to modify the typesetting software because
> of the \special macro.

\special is indicating a need for output that TeX alone cannot
produce.  Is this standard enough?


>> But that's a book...  hyperref won't give you Eclipse help views
>> easily, or will it?  Or .info files.
>
> Why do you mention it? The OP wanted PDFs! When did .info files or
> Eclipse help views come into play?

I got carried away, thinking about the document generating processes,
and in particular, about how a document will be used.  (By clients,
programmers, ISO, ...)
If you want typographically flexible typesetting (really, layout),
TeX is out of the question (for example, frames that span a page
break?).  If you wanted to write an Ada program that generates this
in PDF directly, wouldn't you be trying hard to reinvent text
formatting?




  reply	other threads:[~2011-01-16 19:22 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
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 [this message]
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