From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/104305 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier Newsgroups: gmane.comp.tex.context Subject: Re: XML roundtripping Date: Thu, 16 May 2019 13:28:59 +0200 Message-ID: References: <2139a3f7-fa94-c992-0de5-0e169d0f9d3c@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3981433241475271263==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="239763"; mail-complaints-to="usenet@blaine.gmane.org" To: Hans Hagen , ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu May 16 13:29:25 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 1hREZh-0010Gu-8J for gctc-ntg-context-518@m.gmane.org; Thu, 16 May 2019 13:29:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 76F66139498; Thu, 16 May 2019 13:29:15 +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 z4rS-l9lwcjT; Thu, 16 May 2019 13:29:14 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9B6A213948F; Thu, 16 May 2019 13:29:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5E48013948E for ; Thu, 16 May 2019 13:29:13 +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 aGe211KIPNnI for ; Thu, 16 May 2019 13:29:12 +0200 (CEST) Original-Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) (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 E7E5413948D for ; Thu, 16 May 2019 13:29:11 +0200 (CEST) Original-Received: by mail-pg1-f169.google.com with SMTP id i21so1414985pgi.12 for ; Thu, 16 May 2019 04:29:11 -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; bh=LynhTJ1v7FhW8qpvmsoR7ETXuNbCK6KhbSHJQ5dRMKw=; b=YJYR2o7/IcWuvIGN+womLWpQ9f3TU0oFcmf3r5+EMpS8H1oBOlq30W1qDzDOWjDKKm GDPLcNSCOU1uP6QlzDH0LZtunP7hJqBPpYz4thtpubZMLfsYl7yfAjXofxKFwHTWtQKE HE143xIG9LzHEIFnH8YJEZEvGNmE6NL6/J9HyPH/1pzEKn4o7Ws2tCA7/5xIRlqquRGF suCWhNq+0yxyFz3CAlwsBJplO3i6oP8y53MFt9RlhwTspx4JwG39o9bNOv4xmMAM1cVh NShEVTmIC2X2WWQfaCUi62mFSjTjCdnMKgRcysmdeRP6qOVlcniJvGsKtVnQx9r5t5hx vHAw== 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; bh=LynhTJ1v7FhW8qpvmsoR7ETXuNbCK6KhbSHJQ5dRMKw=; b=NyFqlvRkiD4U9BiDjK7IcvjaDGCPf03kJN8SXPHMrQFRETE+Yjy69ikN4FIN5XcSER RtqvViA853r2hnPmaAviE5M+8p7LqD0BTrfits9LzyjGhoOcF7C7wF6h76pY7upS2KJA DoNhOZ848z0WSGD/U6oIawru1iVDA70TWzYYS4st6CsJvE0stbfNX1eX8UV92pl6BTMH X1MBXPnQwxoBv+Mafam0w/+2nuIwtut5slpOmXk5eleHyVTGA0YpSnSiWCmBV9AYb0yE VTBnddZlSVeAWiX6sgekMTlq+WBCvSk6b2G7chOQKx8NsBHIqcSEWdHpZ6bkypEVRh2z kzRw== X-Gm-Message-State: APjAAAV4eWsi1uRTOg9R85K+uPCuHCp+uCyBIm4PPM1Yg+WMqmtxJWKD rkOOq8n+ffFdMIn6BtmgItuouMJw2xoYte9S6u0= X-Google-Smtp-Source: APXvYqwabNrPTtF3CzdeYA6A5UWHfT8189zaGfyJnB3E055rakcL5XgV1xsZCdhROZgH3PKrOvW4wImB1pWokAtuE6c= X-Received: by 2002:a63:cc4b:: with SMTP id q11mr50268320pgi.43.1558006149961; Thu, 16 May 2019 04:29:09 -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:104305 Archived-At: --===============3981433241475271263== Content-Type: multipart/alternative; boundary="000000000000205b680588ff93f3" --000000000000205b680588ff93f3 Content-Type: text/plain; charset="UTF-8" Ok. Have tried it. It seems to work on line 2. Where can I find documentation about these ctx files? Denis Maier schrieb am Do., 16. Mai 2019, 12:27: > >> > > Just after the xml declaration? Like on line 2? > > >> >> with "somefile.ctx" being: >> >> >> >> >> My very special style >> >> >> >> >> >> whatever.tex >> >> >> >> > --000000000000205b680588ff93f3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ok. Have tried it. It seems to work on line 2.=C2=A0=

Where can I find docume= ntation about these ctx files?

Denis Maier <maier.de@gmail.com> schrieb am Do., 16. Mai 2019= , 12:27:
<?co= ntext-directive job ctxfile somefile.ctx?>

Just after the xml declaration? Like on line 2?
=C2=A0

with "somefile.ctx" being:

<?xml version=3D'1.0' standalone=3D'yes'?>

<ctx:job>
=C2=A0 =C2=A0 =C2=A0<ctx:message>My very special style</ctx:messag= e>
=C2=A0 =C2=A0 =C2=A0<ctx:process>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<ctx:flags>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<!-- ctx:flag>purge&l= t;/ctx:flag -->
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</ctx:flags>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<ctx:resources>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<ctx:environment>what= ever.tex</ctx:environment>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</ctx:resources>
=C2=A0 =C2=A0 =C2=A0</ctx:process>
</ctx:job>
--000000000000205b680588ff93f3-- --===============3981433241475271263== 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== --===============3981433241475271263==--