From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93903 Path: news.gmane.org!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: TEI to context XML mappings? Date: Fri, 26 Feb 2016 07:39:42 -0800 Message-ID: <2683EF97-C8B8-4465-8ACF-CE2BD5BF524D@silentumbrella.com> References: <7D10B88F-FB76-465E-A1E5-1DAE8137966E@silentumbrella.com> <56CD67D2.2070703@wxs.nl> <56CD7392.5000606@gmx.es> <56CD7D5B.50509@wxs.nl> <443aa07dc7151881c1c039a36987e0ed@silentumbrella.com> <56CECE05.9090008@wxs.nl> <56D00440.8080803@gmx.es> <56D01413.80205@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4840828641111442067==" X-Trace: ger.gmane.org 1456501244 6404 80.91.229.3 (26 Feb 2016 15:40:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Feb 2016 15:40:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 26 16:40:29 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aZKVE-00060p-MK for gctc-ntg-context-518@m.gmane.org; Fri, 26 Feb 2016 16:40:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C480540F; Fri, 26 Feb 2016 16:40:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gu7rOSSzDjIv; Fri, 26 Feb 2016 16:40:05 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 0A3D166F0; Fri, 26 Feb 2016 16:40:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C074366F0 for ; Fri, 26 Feb 2016 16:40:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iI_QteQ7Xt0b for ; Fri, 26 Feb 2016 16:40:02 +0100 (CET) Original-Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 86D9240F for ; Fri, 26 Feb 2016 16:39:52 +0100 (CET) Original-Received: from mfilter15-d.gandi.net (mfilter15-d.gandi.net [217.70.178.143]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 4027741C08A for ; Fri, 26 Feb 2016 16:39:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter15-d.gandi.net Original-Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter15-d.gandi.net (mfilter15-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id YotQvGELNBhM for ; Fri, 26 Feb 2016 16:39:47 +0100 (CET) X-Originating-IP: 108.0.127.150 Original-Received: from android-c5251078f91f5443.lan (pool-108-0-127-150.lsanca.fios.verizon.net [108.0.127.150]) (Authenticated sender: mica@silentumbrella.com) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id A59AF41C074 for ; Fri, 26 Feb 2016 16:39:46 +0100 (CET) User-Agent: K-9 Mail for Android In-Reply-To: <56D01413.80205@wxs.nl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:93903 Archived-At: --===============4840828641111442067== Content-Type: multipart/alternative; boundary="----MF2F9NP1BA5XPF2M7S3N4AP62MVQ8D" Content-Transfer-Encoding: 7bit ------MF2F9NP1BA5XPF2M7S3N4AP62MVQ8D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > You want to autogenerate that? That could become quite huge (And=20 > probably most would be discarded later anyway of you want all=20 > permutations of elements and attributes) Just elements would work for me. Best, M On February 26, 2016 1:00:03 AM PST, Hans Hagen wrote: >On 2/26/2016 8:52 AM, Pablo Rodriguez wrote: >> On 02/25/2016 10:48 AM, Hans Hagen wrote: >>> [...] >>> i'm still puzzled what you want >> >> Hans, >> >> I=E2=80=99m only guessing (after testing the XML analyzing ability tha= t you >> discovered us with a single XML file). >> >> The analysis is important, but after that I have to write the actual >> environment. >> >> I think that the basic structure that I sent in >> https://mailman.ntg.nl/pipermail/ntg-context/2016/084582.html is >useful >> to avoid writing myself the environment. > >You want to autogenerate that? That could become quite huge (And=20 >probably most would be discarded later anyway of you want all=20 >permutations of elements and attributes) > >> I mean, of course I have to add the relevant commands to handle in >> ConTeXt each element. But with the basic scheme, I know which >elements >> (in the broadest sense) I have to setup. >> >> I want to avoid writing the whole element list in the environment by >> hand. But I may be doing wrong (this is totally new to me). >> >> Or do you write (type) each environment from scratch after using the >> report generated by ConTeXt? > >We just start with the trivial things and then look at the specific=20 >structures. We get either relative simple html like xml or we get quite > >complex educational markup, with quite demanding rendering and multiple > >products. The good news is that the number of elements is always >limited=20 >(analyzing would not really work well because it can be that thousands=20 >of files need to be loaded and merged which itself is not a problem, >but=20 >one then always need to interpret what needs to get loaded). > >Hans > >----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl >----------------------------------------------------------------- >________________________________________________________________________= ___________ >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 : http://foundry.supelec.fr/projects/contextrev/ >wiki : http://contextgarden.net >________________________________________________________________________= ___________ ------MF2F9NP1BA5XPF2M7S3N4AP62MVQ8D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable > You want to autogenerate that? That could b= ecome quite huge (And
> probably most would be discarded later anyway of you want all
> permutations of elements and attributes)

Just elements would work for me.

Best,
M

On February 26, 2016 1:00:03 AM PST, = Hans Hagen <pragma@wxs.nl> wrote:
On 2/26/2016 8:52 AM, Pablo Rodriguez wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0.8ex; bord= er-left: 1px solid #729fcf; padding-left: 1ex;"> On 02/25/2016 10:48 AM, = Hans Hagen wrote:
= [...]
i'm still puzzled what you want

Hans= ,

I=E2=80=99m only guessing (after testing the XML analyzing = ability that you
discovered us with a single XML file).

= The analysis is important, but after that I have to write the actual
environment.

I think that the basic structure that I sent = in
https://mailman.ntg.nl/pipermail/ntg-context/2016/084582.html is useful
to avoid writing myself the environment.

You want to autogenerate that? That could become quite huge (And
probably most would be discarded later anyway of you want= all
permutations of elements and attributes)

I mean, of course I have to add t= he relevant commands to handle in
ConTeXt each element. But with th= e basic scheme, I know which elements
(in the broadest sense) I hav= e to setup.

I want to avoid writing the whole element list in= the environment by
hand. But I may be doing wrong (this is totally= new to me).

Or do you write (type) each environment from scr= atch after using the
report generated by ConTeXt?

We just start with the trivial things and then look at the specifi= c
structures. We get either relative simple html like xml or we get= quite
complex educational markup, with quite demanding rendering a= nd multiple
products. The good news is that the number of elements is always limited
(analyzing would not reall= y work well because it can be that thousands
of files need to be lo= aded and merged which itself is not a problem, but
one then always = need to interpret what needs to get loaded).

Hans

<= hr />
Hans Hagen | PRAGMA= ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherla= nds
tel: 038 477 53 69 |
www.pragma-ade.com | www.pragm= a-pod.nl




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 : = http://foundry.= supelec.fr/projects/contextrev/
wiki : http://contextgarden.net

------MF2F9NP1BA5XPF2M7S3N4AP62MVQ8D-- --===============4840828641111442067== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4840828641111442067==--