From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: How could a typesetting system be today?
Date: Fri, 13 Jun 2008 19:26:33 +0200 [thread overview]
Message-ID: <09BF9DCC-1089-44E7-BD79-C06C61FEDBE2@fiee.net> (raw)
In-Reply-To: <g2rpp8$ld0$1@ger.gmane.org>
Am 2008-06-12 um 20:26 schrieb Maurí cio:
> The reason for a standard tag language is that the main engine
> should be able to do some operations on data, like breaking it in
> pieces like words, paragraphs or staffs on music scores, sometimes
> without fully understanding what exactly those are.
>
> Possible outcomes: with a proper script language (Lua?),
> things like tables, multi-column text, and even a lot of crazy
> ideas could be really easy to write. Plug-ins results would be
> predictable, since they know nothing about the world except what
> the main engine has informed them.
As far as I can judge, music typesetting has completely different
rules than text typesetting.
Ok, you would "just" use another plugin.
But then the plugins need a way to interact: captions in graphics
(like in MetaPost today), lyrics in music etc.
I myself wouldn't probably able to handle a MetaPost based system (or
something similar) - even if I "speak" a bit of PostScript, I just
don't think of graphics as formulae: To create e.g. an eye-shape, I
can place two circles in Illustrator (or any other GUI program) and
make an intersection. But I couldn't do the same programmatically,
even if I approximately know what to do in this case.
(You could answer to my mail on command lines, I should please try to
become mathematically literate.)
However, you need different parsers for different types of content -
and at least the LilyPond folks would strongly suggest that some Lisp
dialect is the right language for anything that needs parsing. I guess
you know the quote that everyone who writes a parser will end re-
creating a buggy subset of Lisp. (I don't speak Lisp. I don't speak
TeX-the-language or Lua as well. But the latter seems easy.)
I guess that's a inconvenience with TeX/MetaPost/LilyPond: they use
similar, but different tagging, and those don't mix very well, esp.
LilyPond with its Scheme snippets (I don't appreciate the use of
single ' for strings and # for constants...). (Similar to HTML/PHP/
Smarty/JavaScript.)
Of course you could use the same kind of tagging for all the different
types of content - I guess you will end with something like
OpenDocument (OOo.XML), that uses SVG for the graphics.
Oh, and don't forget MathML (and the other XML dialects like PhysML
and ChemML). Hm, perhaps we should embed MusicXML instead of LilyPond...
You see: There is your unified system. XML rulez - for better or for
worse. It's really no fun to write XML by hand.
Perhaps you should try to help enhancing OpenOffice's typesetting? #
Or Scribus? I heard Scribus has TeX boxes of late: A GUI DTP
application where some boxes get rendered by LaTeX (meant for
formulae, of course).
AFAIK Scribus' file format is also XML-based. And maybe they even
support plugins for more different boxes...
Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-06-13 17:26 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-30 4:18 Maurício
2008-05-30 5:08 ` Aditya Mahajan
2008-05-30 7:10 ` luigi scarso
2008-05-30 7:12 ` Yue Wang
2008-05-30 9:53 ` Steffen Wolfrum
2008-05-30 10:00 ` Steffen Wolfrum
2008-05-30 12:24 ` Yue Wang
2008-05-30 12:31 ` Idris Samawi Hamid
2008-05-30 19:04 ` Henning Hraban Ramm
2008-05-31 2:20 ` luigi scarso
2008-05-31 10:18 ` Henning Hraban Ramm
2008-05-31 11:32 ` luigi scarso
2008-05-31 12:57 ` Yue Wang
2008-05-31 15:29 ` luigi scarso
2008-05-31 15:28 ` luigi scarso
2008-05-31 21:23 ` Hans Hagen
2008-06-01 16:58 ` luigi scarso
2008-06-03 0:02 ` the error of xetex Yanli Li
2008-06-03 6:04 ` Wolfgang Schuster
2008-06-03 7:58 ` Yanli Li
2008-06-03 8:08 ` Wolfgang Schuster
2008-06-03 11:58 ` Yanli Li
2008-06-03 12:34 ` Wolfgang Schuster
2008-06-03 12:59 ` Yanli Li
2008-06-03 12:48 ` Mojca Miklavec
2008-06-03 16:39 ` Peter Münster
2008-06-03 12:16 ` Yanli Li
2008-06-03 13:05 ` Wolfgang Schuster
2008-05-30 14:15 ` How could a typesetting system be today? Steffen Wolfrum
2008-05-30 14:45 ` Alan BRASLAU
2008-05-30 7:37 ` Taco Hoekwater
2008-05-30 11:23 ` Martin Schröder
2008-05-30 7:26 ` Taco Hoekwater
2008-05-30 8:40 ` Yue Wang
2008-05-30 11:07 ` Olivier Guéry
2008-06-12 0:12 ` Maurício
2008-06-12 0:35 ` Idris Samawi Hamid
2008-06-12 18:26 ` Maurício
2008-06-13 17:26 ` Henning Hraban Ramm [this message]
2008-06-13 18:32 ` Maurício
2008-06-13 19:45 ` Charles P. Schaum
2008-06-14 16:24 ` Olivier Guéry
2008-06-12 4:27 ` Charles P. Schaum
2008-06-12 17:39 ` How could a typesetting system be today? (slightly off-topic, flame and nostalgic) Maurício
2008-06-12 17:52 ` Hans Hagen
2008-06-12 18:34 ` Aditya Mahajan
2008-06-13 15:41 ` Maurício
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09BF9DCC-1089-44E7-BD79-C06C61FEDBE2@fiee.net \
--to=hraban@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).