From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50764 Path: news.gmane.org!not-for-mail From: John Haltiwanger Newsgroups: gmane.comp.tex.context Subject: Re: Seeking a Deeper ConTeXt: Questions for Initializing Date: Mon, 25 May 2009 12:53:14 -0400 Message-ID: <4c1f1f860905250953g26e09b99k8e150141176fc39@mail.gmail.com> References: <4c1f1f860905241017s40033f7crde553d358a24b57f@mail.gmail.com> <4c1f1f860905250930g2e44f973y335be816c2883981@mail.gmail.com> <4A1AC9B8.3050807@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2091566610==" X-Trace: ger.gmane.org 1243270461 24298 80.91.229.12 (25 May 2009 16:54:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2009 16:54:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 25 18:54:14 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M8dR8-000543-Fh for gctc-ntg-context-518@m.gmane.org; Mon, 25 May 2009 18:54:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BC50E1FDDB; Mon, 25 May 2009 18:54:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07790-01-9; Mon, 25 May 2009 18:53:25 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 412A61FD72; Mon, 25 May 2009 18:53:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E04351FD5C for ; Mon, 25 May 2009 18:53:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05970-03-3 for ; Mon, 25 May 2009 18:53:15 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 7F4721FD72 for ; Mon, 25 May 2009 18:53:15 +0200 (CEST) Original-Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4PGrEoM018871 for ; Mon, 25 May 2009 18:53:14 +0200 Original-Received: by bwz26 with SMTP id 26so3434104bwz.2 for ; Mon, 25 May 2009 09:53:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=OyokUcXOTZ93T/C0pjsGdJlWg9iPn/twcHMBCYR2Uv4=; b=tVDjfl4QPywZffD2B0dfYYiOoiPPC/aGU3qj4n6xamVWz6/hYdVdqb4vEJig9xkWzC Nt4PdehfwpNntvM5eiy8G0HDWTwofolNNgpSy488xMne7zgehZGnyEjX6nRB0hWO6gQn J0aFCXFeYrDQTR1du4IeFVkUpqiQxxMOtyAZI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=MHAvdSuHwTXUM8bZUCeQBa63ebHgi2O57yYXfN8TQqLltOMb9m2h7KORV55P94VoHJ dLj7vhcLy4bJu+DH/18lgorhQr8Y83ur3iz2xrcF8z7bEg+YU+T8G47D8P6OMpmADVW+ yutZoKVpVgZ4BOk9kCQ0P3LYY2l4yjVb8uCtM= Original-Received: by 10.223.111.134 with SMTP id s6mr3723179fap.60.1243270394293; Mon, 25 May 2009 09:53:14 -0700 (PDT) In-Reply-To: <4A1AC9B8.3050807@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.218.178; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 231417745 - 8614caabf8b3 - 20090525 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50764 Archived-At: --===============2091566610== Content-Type: multipart/alternative; boundary=001636c5a5013631b9046abf72c6 --001636c5a5013631b9046abf72c6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > I am not averse to rolling my own, I am just confused why, if environments >> are so powerful and flexible (flexible meaning one can easily change >> things, >> unlike document classes), there are no pre-rolled environments available. >> I >> am thinking here of standardized thesis environments for universities, or >> a >> nice letter environment to demonstrate the beauty of TeX. >> > > sure, but all organizations want it slightly different Okay, but that does imply that an organization can set up an environment and expect its members to use it. > > Yes, I meant RDF. XML is a very important format. I find it odd that TeX >> can >> generate PDF but cannot output simple XML. So in order to have a >> semantical >> document I must write it in XML and then process it with ConTeXt? Is the >> capacity there (through LuaTeX perhaps) to write an XML generator? >> > > sure, but how useful is it to have a representation of (e.g.) a node list > that makes up a paragraph in xml format? no app can do something with it I'm not sure what you mean by a representation of a node list for a paragraph (I am new to TeX, remember), but I am thinking more along the lines of extracting Title, Author, and the content. Typesetting is not the goal, as XML is for computers not people. > maybe at some point the adobe and microsoft xml output formats become an > option (which then involves resources like fonts and graphics as well so > it's pretty bulky and one might wonder what gain there is) > The gain of XML is participation in the semantic web and concordance with many new data keeping rules in governments and organizations. While I would expect the reasons for wanting XML output would be obvious, a > concrete example is that at least one journal is deprecating LaTeX because > it wants to archive all of its articles in XML. > in which case it keeps the input in xml and converts to other formats (coule > be tex in the case of rendering print) The input is actually a specific version of Word. This is converted to XML. In the case of LaTeX, the LaTeX is converted to Word and then to XML. --001636c5a5013631b9046abf72c6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



=A0

I am not averse to rolling my own, I am just confused why, if environments<= br> are so powerful and flexible (flexible meaning one can easily change things= ,
unlike document classes), there are no pre-rolled environments available. I=
am thinking here of standardized thesis environments for universities, or a=
nice letter environment to demonstrate the beauty of TeX.

sure, but all organizations want it slightly different
Okay, but that does imply that an organization can set up an environment a= nd expect its members to use it.
=A0

Yes, I meant RDF. XML is a very important format. I find it odd that TeX ca= n
generate PDF but cannot output simple XML. So in order to have a semantical=
document I must write it in XML and then process it with ConTeXt? Is the capacity there (through LuaTeX perhaps) to write an XML generator?

sure, but how useful is it to have a representation of (e.g.) a node list t= hat makes up a paragraph in xml format? no app can do something with it

I'm not sure what you mean by a representation of a n= ode list for a paragraph (I am new to TeX, remember), but I am thinking mor= e along the lines of extracting Title, Author, and the content. Typesetting= is not the goal, as XML is for computers not people.
=A0
maybe at some point the adobe and microsoft xml output formats become an op= tion (which then involves resources like fonts and graphics as well so =A0i= t's pretty bulky and one might wonder what gain there is)

The gain of XML is participation i= n the semantic web and concordance with many new data keeping rules in gove= rnments and organizations.

While I would expect the reasons for wanting XML output would be obvious, a=
concrete example is that at least one journal is deprecating LaTeX because<= br> it wants to archive all of its articles in XML.

in which case it keeps the input in xml and converts to other formats (coul= e be tex in the case of rendering print)

=A0The input = is actually a specific version of Word. This is converted to XML. In the ca= se of LaTeX, the LaTeX is converted to Word and then to XML.

--001636c5a5013631b9046abf72c6-- --===============2091566610== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============2091566610==--