From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104277 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier Newsgroups: gmane.comp.tex.context Subject: Re: XML roundtripping Date: Wed, 15 May 2019 12:57:34 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7976655353946846216==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="226943"; mail-complaints-to="usenet@blaine.gmane.org" Cc: mailing list for ConTeXt users To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Wed May 15 13:00:22 2019 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 blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hQre1-000wn8-I5 for gctc-ntg-context-518@m.gmane.org; Wed, 15 May 2019 13:00:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8F69A138C61; Wed, 15 May 2019 12:57:54 +0200 (CEST) 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 1XJQ2hboFTmH; Wed, 15 May 2019 12:57:52 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5335D138C52; Wed, 15 May 2019 12:57:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id EBA72138C50 for ; Wed, 15 May 2019 12:57:50 +0200 (CEST) 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 8ZEmec616VzS for ; Wed, 15 May 2019 12:57:50 +0200 (CEST) Original-Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DA98D138A2E for ; Wed, 15 May 2019 12:57:49 +0200 (CEST) Original-Received: by mail-pg1-f194.google.com with SMTP id d30so592089pgm.7 for ; Wed, 15 May 2019 03:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=68KOHt/gn5QcyEa3PIvtdvOnkhJEYNfQm+3cDQRMrwY=; b=NLr6+zBbEip8SDGyBJxu9w8RMi2mlLMiyWacRHvKYYDa2KTjxwLP/vtzPcSSG4eykz ++QsCIP/mL7HzpeBB+Jt7/IECOzNafUM3OKUmuS4flhObCsTNdA0udfcMvHvRY7fdOcL 70aw7tvxiP3DxEhV1WwSpZDKOOg/nyJgGwSb0s6ECCcnYZNYJP4pSHXpwDZ3h+39WK+R o6nNA7AEFZPz0eciyNlH1A8sxaXNCdaM07io7cPDRTN3wKxQA9QNRDHDAzrc8ubkHpEk 1Imbn9earTwhQVo+ak8Lm53Pzkz6zANaJ6vMQ4om6biB1DOw6F6e2Ql5ksUMZA7aNN3N GUbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=68KOHt/gn5QcyEa3PIvtdvOnkhJEYNfQm+3cDQRMrwY=; b=e+gMI4j64U9LTdVJEbLv1mluhOL+aiMNGC+13BZLcmcNHgZiDGDFU/vQ7O4Jbdws8N Uqaq5vvnMLIiaGKin6oNlbhgSn/cKiMG6XbRPZKwoGxDURei6KOd156dQakeE9ZUTxqN +oYgmyS27k9ZASHO29nMGW59gQk6nD0MS+PjSwSQEMegZHYfhadyz3oRJ6gg4aQAK1lO 7uqVmxHLkyJqLcrHzxGzTGaR5J2ipTEyBE4FT14Ze3oSwDEc7zd1EffIo4fGE2D2ECzJ iltfvIa4KWfAE5PQDoxCee+9lxGDW/1w3VyFfZmGMLHDnC1QtaTn3wKZBqJOwPWspYJ/ KZnw== X-Gm-Message-State: APjAAAWteh/RM9WKQkOj49frQJJBfsDlt4KeA7/kW9fphVI53EYljg8f lQoA4u2a8bGxzq/u4Tvt2xnx5rPW3BhnebrxIv0= X-Google-Smtp-Source: APXvYqynbR7NZ5gQg0X08no+HNSjoyaTwFl27AzFzxHANE3IKWtPGKrWji/x/OvMVgj9hmsjtENhXoRErDXyHJ5mWn4= X-Received: by 2002:aa7:810e:: with SMTP id b14mr47344262pfi.112.1557917868443; Wed, 15 May 2019 03:57:48 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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:104277 Archived-At: --===============7976655353946846216== Content-Type: multipart/alternative; boundary="000000000000234ccd0588eb05a9" --000000000000234ccd0588eb05a9 Content-Type: text/plain; charset="UTF-8" Hmm, getting the page number back from the tuc file sound feasible. I'll have to look into this. But how would I write the information back to the XML? Is this explained somewhere? Am Mi., 15. Mai 2019 um 09:19 Uhr schrieb Hans Hagen : > On 5/14/2019 9:38 AM, Denis Maier wrote: > > Hi everyone > > > > I am setting up a workflow for a journal where we will be using JATS XML > > as an input format. PDFs should be typeset via ConTeXt. Is roundtripping > > possible with ConTeXt? I will perhaps need to write page numbers back to > > a XML file (either to the input file or to a new file.). > it all depends on where the number comes from; saving a number is a file > that later gets loaded by something else is no big deal > > also, there is always the tuc file one can analyze > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > --000000000000234ccd0588eb05a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hmm, getting the page number back from the tuc file s= ound feasible. I'll have to look into this.

Bu= t how would I write the information back to the XML? Is this explained some= where?

Am Mi., 15. Mai 2019 um 09:19=C2=A0Uhr schrieb Hans Hagen &= lt;j.hagen@xs4all.nl>:
On 5/14/2019 9:38 AM, De= nis Maier wrote:
> Hi everyone
>
> I am setting up a workflow for a journal where we will be using JATS X= ML
> as an input format. PDFs should be typeset via ConTeXt. Is roundtrippi= ng
> possible with ConTeXt? I will perhaps need to write page numbers back = to
> a XML file (either to the input file or to a new file.).
it all depends on where the number comes from; saving a number is a file that later gets loaded by something else is no big deal

also, there is always the tuc file one can analyze

Hans


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
--000000000000234ccd0588eb05a9-- --===============7976655353946846216== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============7976655353946846216==--