From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88564 Path: news.gmane.org!not-for-mail From: "Schmitz Thomas A." Newsgroups: gmane.comp.tex.context Subject: Re: E-books and XML. Date: Wed, 27 Aug 2014 18:15:36 +0200 Message-ID: References: <20140826110712.2b02eff7@localb.wexfordpress.net> <53FCCC3F.9080806@wxs.nl> <20140827103834.11575840@localb.wexfordpress.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1409156162 21478 80.91.229.3 (27 Aug 2014 16:16:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2014 16:16:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 27 18:15:57 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XMft5-0005jW-Bt for gctc-ntg-context-518@m.gmane.org; Wed, 27 Aug 2014 18:15:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D993F10200 for ; Wed, 27 Aug 2014 18:15:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LuFm0BwzOjcE for ; Wed, 27 Aug 2014 18:15:54 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AF5C11021E for ; Wed, 27 Aug 2014 18:15:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6250101E3 for ; Wed, 27 Aug 2014 18:15:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id C+AcYViHogJT for ; Wed, 27 Aug 2014 18:15:39 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 9024E101E1 for ; Wed, 27 Aug 2014 18:15:39 +0200 (CEST) Original-Received: from uni-bonn.de (x23.rhrz.uni-bonn.de [131.220.15.155]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7RGU5B4006345 for ; Wed, 27 Aug 2014 18:30:06 +0200 Original-Received: from [87.178.43.92] (account tschmit1@uni-bonn.de HELO [192.168.0.50]) by uni-bonn.de (CommuniGate Pro SMTP 6.0.8) with ESMTPSA id 81928606 for ntg-context@ntg.nl; Wed, 27 Aug 2014 18:15:38 +0200 In-Reply-To: <20140827103834.11575840@localb.wexfordpress.net> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=131.220.15.155; country=DE; region=North Rhine-Westphalia; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04MHQu5Su - 4e7aa979dfed - 20140827 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88564 Archived-At: On 27 Aug 2014, at 16:38, john Culleton wrote: > Some questions: > What tool do you recommend for entering text etc. > in XML format? I have the Bluefish Editor but > usually code html in a plain editor (Gvim). =93Recommend=94 is too strong, because everything depends on the type of do= cument you=92re working on. I mainly use emacs + nxml mode. It validates on= the fly, if your document is well defined, you can make it validate agains= t a relax-ng scheme. To me, this is sufficient. I know that many serious us= ers of nxml swear by oxygen. And I wouldn=92t be surprised if Hans used his= beloved Scite. (As for Lukas=92s question: sorry, I don=92t do Windows, I = have no clue) > = > I downloaded the manual "Dealing with XML in > MKIV" but it presupposes that the user builds his > own conversion system. And it is "still somewhat > exerimental." Is there a conversion system already > in place somewhere? I have been using it for a number of years now and have found it as stable = as the rest of ConTeXt. Every once in a while, a bug will come up, and it w= ill be fixed by Hans. Have you seen the wiki page about TEI xml and about processing xml with Lua= ? That should be a good start. > = > For the beginner (me) is the MKII method easier > to implement? No, I would say both are about equal in complexity, but the mkiv method is = so much more powerful and consistent, I really wouldn=92t bother with mkii = anymore. One reason for me to use xml: I generate presentations, manuscripts, handou= ts from the same source (all with context). When I=92m not typesetting the = book myself, editors usually want some sort of word or libreoffice document= . When my input is xml, it is relatively trivial to transform it to valid h= tml and load that into libreoffice. = Again: much depends on the type of document you=92re working on. If every d= ocument you write is its own piece of art with numerous font effects and sp= ecial typesetting needs on every page, I would stay with context syntax. Bu= t if your documents have a pretty predictable structure and you don=92t exp= ect to be forced to tweak individual page breaks, I would have a very long = look at xml. I have grown to like it. If you have ever looked at a tex sour= ce document and tried to figure out where the missing brace in your }}}}}}}= }}} orgy came from, you will love the tags and their nice nesting. Thomas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________