comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Generating PDFs with Ada
Date: Sun, 16 Jan 2011 22:05:28 +0100
Date: 2011-01-16T22:05:28+01:00	[thread overview]
Message-ID: <op.vpe57eotule2fv@garhos> (raw)
In-Reply-To: m2ipxon9ru.fsf@pushface.org

Le Sun, 16 Jan 2011 16:33:25 +0100, Simon Wright <simon@pushface.org> a  
écrit:
>> A hierarchy of text segments (chapter, paragraph etc) is a possible  
>> view of
>> the document, of which importance is quite minor and becoming more and  
>> more
>> negligible, because documents are never read sequentially. Document is  
>> not
>> a fiction novel. The structure of pages is also a view, a harmful view,
>> because pages have nothing to do either with the content or with the
>> rendering on the display.
>
> Well, you've lost me there. If you had to write something on networking
> issues (I say 'something' because if you're going to chuck out book,
> chapter, paragraph etc you might as well go the whole hog and chuck out
> document too :) how would you structure it?
Pascal or Ludovic introduced DITA in this topic. May be he would like this  
one ;) This one use multiple part to be later merged together (the merge  
may be done in multiple way, simultaneously), while DocBook create a  
monolithic document the first time.

I suppose what Dmitry was to notice, has more to deal with *premature  
formating*, just like there is premature optmization, than with Book and  
Page used as paradigm to talk about the structure of a document.

What to use depends on the area. Think about a software design, you have  
comments in the source, some documentation fragment on the topic of the  
application and its area. How could you create a single document from this  
? There is no way. You would better consider all of these to be standalone  
document fragments, then do an assemblage of these fragments targeting  
users, another targeting the maintainers, another targeting document used  
to promote the application, and so on.

Obviously, you need something common to these fragment, something which  
make these to know about each other when required and be able to merged  
these together, to know what kind of fragment is this, how it relate to  
other. That is what DITA is for (and RDF may be useful too here).

Now think about some movie review, there is less something like  
independent fragments here, and you may prefer DocBook instead (DITA is  
likely to be useless at all here).

Note 1: DITA may produce DocBook, these are not opposite.
Note 2: I said DITA and DocBook, while this may be any other systems of  
conventions with the same functionalities (as an example, DocBook is known  
to be too much for some applications, the same about DITA).


-- 
Si les chats miaulent et font autant de vocalises bizarres, c’est pas pour  
les chiens.

“I am fluent in ASCII” [Warren 2010]



  parent reply	other threads:[~2011-01-16 21:05 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) [this message]
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