🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #250191

Re: presentational vs. structural markup

#250191
From: Anton Shepelev
Date: Fri, 04 May 2012 14:52
54 lines
3730 bytes
Ivan Shmakov:

> [Cross-posting to news:comp.text, and dropping
> news:news.misc from Followup-To:.]

What's the reason to have different Newsgroups and
Followup-To headers?  Isn't it logical to reply to the same
groups to which the article was posted?

> There's one more issue with the TeX approach, which is not
> as much of structural vs. presentational kind, as it's of
> code vs. data one.
>
> Namely, while it's possible to parse DocBook, documents in
> TeX-based markup are essentially /unparsable/.  For
> instance, while it's possible to extract all the section
> headings from a DocBook document, it's impossible to do
> so, in general, for a LaTeX one, as the LaTeX document in
> question can introduce its own commands all along the way.
> Consider, e. g.:
>
>     \let \sec=\section
>
> The same applies to *roff, and it's precisely the reason
> that various *roff "viewers" have to either rely on an
> implementation of the language (such as GNU Troff), or
> support only a particular macro package (as in the case of
> Emacs' M-x woman.)
>
> On the contrary, the software working with DocBook
> documents doesn't have to rely upon, say, the DocBook XSL
> stylesheets.

Yes, because DocBook has a fixed convention for each
structural element, while macro packages invent their own
ones.  In this sense, a document written using a macro
package, which is well-designed and properly used, is no
less parseable than DocBook.

> > Yes.  Structural mark-up is an abstraction from the
> > lower-level presentational mark-up.  For example, TeX is
> > presentational and LaTeX is strutural.
>
> Actually, LaTeX is structural, plain TeX is
> presentational, and TeX is the macro processing language
> in which both of them are implemented (as are, e. g.,
> ConTeXt and certain GNU Texinfo "conversions.")

That's what I said...

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments
Technical Details
Message-ID: <20120504185226.4661bf55efa6a27e41dc7c48@g{oogle}mail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.text.mbox.zip!pr3ni3369pbb.0!nntp.google.com!news2.google.com!goblin3!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
References: <jncak8$cla$2@dont-email.me> <86pqatbycz.fsf@gray.siamics.net> <20120428114426.6b653c88434e8c4d2afa8761@g{oogle}mail.com> <864ns2abjk.fsf@gray.siamics.net> <jnk989$hki$1@dont-email.me> <86pqap93c8.fsf_-_@gray.siamics.net> <jnn2ni$8tm$1@dont-email.me> <86bom568bc.fsf@gray.siamics.net> <20120503182848.b522c931809e08a984cc1962@g{oogle}mail.com> <4fa2b8de$8$fuzhry+tra$mr2ice@news.patriot.net> <20120504174425.c5e899cd27c5cb2b6895f69a@g{oogle}mail.com> <86zk9o2fin.fsf_-_@gray.siamics.net>

Show Full Headers
Complete Article Headers
Message-ID: <20120504185226.4661bf55efa6a27e41dc7c48@g{oogle}mail.com>
Subject: Re: presentational vs. structural markup
Date: Fri, 4 May 2012 18:52:26 +0400
From: Anton Shepelev <anton.txt@g{oogle}mail.com>
References: <jncak8$cla$2@dont-email.me> <86pqatbycz.fsf@gray.siamics.net> <20120428114426.6b653c88434e8c4d2afa8761@g{oogle}mail.com> <864ns2abjk.fsf@gray.siamics.net> <jnk989$hki$1@dont-email.me> <86pqap93c8.fsf_-_@gray.siamics.net> <jnn2ni$8tm$1@dont-email.me> <86bom568bc.fsf@gray.siamics.net> <20120503182848.b522c931809e08a984cc1962@g{oogle}mail.com> <4fa2b8de$8$fuzhry+tra$mr2ice@news.patriot.net> <20120504174425.c5e899cd27c5cb2b6895f69a@g{oogle}mail.com> <86zk9o2fin.fsf_-_@gray.siamics.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.text.mbox.zip!pr3ni3369pbb.0!nntp.google.com!news2.google.com!goblin3!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
Received: by 10.68.136.33 with SMTP id px1mr3263637pbb.7.1336143152681;
Newsgroups: comp.text,news.software.readers
Organization: A noiseless patient Spider
Lines: 53
Mime-Version: 1.0
Injection-Info: mx04.eternal-september.org; posting-host="Wy7Sn2l30zIz2NkfeZPjBQ";
 logging-data="16888"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qyBUIeaddbd1CaSICC46/wLQZ+yF3MJU="
X-Newsreader: Sylpheed 3.2.0beta5 (GTK+ 2.10.14; i686-pc-mingw32)
Cancel-Lock: sha1:itWATgEGLu66c4bpRRkT2ksSTTk=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit