From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/99669 Path: news.gmane.org!.POSTED!not-for-mail From: Floris van Manen Newsgroups: gmane.comp.tex.context Subject: Re: WYSIWYM editor on top of ConTeXt / Lout Date: Thu, 7 Dec 2017 12:19:19 +0100 Message-ID: <345C35F5-F7A2-4900-ABD8-537C893EFD1C@klankschap.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/mixed; boundary="===============6862737608078698878==" X-Trace: blaine.gmane.org 1512645590 32265 195.159.176.226 (7 Dec 2017 11:19:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2017 11:19:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 07 12:19:45 2017 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 esmtp (Exim 4.84_2) (envelope-from ) id 1eMuDR-0008HL-LF for gctc-ntg-context-518@m.gmane.org; Thu, 07 Dec 2017 12:19:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1494A8A0076; Thu, 7 Dec 2017 12:19:34 +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 CToK4WSLSOrQ; Thu, 7 Dec 2017 12:19:33 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C3728A01EA; Thu, 7 Dec 2017 12:19:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DAF038A0080 for ; Thu, 7 Dec 2017 12:19:32 +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 Jhpvm9fZPc8w for ; Thu, 7 Dec 2017 12:19:32 +0100 (CET) Original-Received: from lb1-smtp-cloud7.xs4all.net (lb1-smtp-cloud7.xs4all.net [194.109.24.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 295CF8A0076 for ; Thu, 7 Dec 2017 12:19:22 +0100 (CET) Original-Received: from [IPv6:2001:980:6f8a:1:d14e:c9e6:eace:954] ([IPv6:2001:980:6f8a:1:d14e:c9e6:eace:954]) by smtp-cloud7.xs4all.net with ESMTPSA id MuD2eBPXcVNbYMuD3enYpK; Thu, 07 Dec 2017 12:19:22 +0100 In-Reply-To: X-Mailer: Apple Mail (2.3124) X-CMAE-Envelope: MS4wfEeQf6P9xaBRUp9VngznvZHK4QjTpuv13HByIosTdB1qi32t887hlGlD7pslhL1wVD8pi+xUShNfVA0tkXEywlBi/FyPbJeEVbqIFGTEhJxQRaj1LmY3 Kce36h4RUrqwzGMGPAGZeU4lb9nlpdtYJZQA14gDYUtupV2y5xYqIPgfblmA23z1pB6rqdE+XQjXuFWG9ZtgmBeEgpFjUaGM/Rm62hN3JsaXqneCYk+pL9P9 DDfk956PaXWldOX4L2k1xw== 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:99669 Archived-At: --===============6862737608078698878== Content-Type: multipart/signed; boundary="Apple-Mail=_02EEB649-6F2F-4CE3-AA82-0F1E81FCBE40"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_02EEB649-6F2F-4CE3-AA82-0F1E81FCBE40 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 it might be simpler to have a =E2=80=98watch=E2=80=99 option for the = context compiler combined with an =E2=80=98open result=E2=80=99. e.g. the coffeescript compiler allows for a =E2=80=98-w=E2=80=99 option, = it will keep the compiler running in the background and start compiling the file(s) as soon as it detects any changes. i guess such feature might already exist in the rich mtx context tools = environment. not sure where to look though =E2=80=A6 .F > On 7 Dec 2017, at 07:42, Jonas Baggett wrote: >=20 >=20 >> While not an editor, but rather a language, Skribilo >> (http://www.nongnu.org/skribilo/) can output documents in various >> formats, including Context and Lout. I have worked a bit on getting >> better Context output from it and last tinkered with the math output >> about a year ago. Such a system might form the output engine on = which >> an editor could be built. The same might be said for Pandoc, in = which >> case perhaps one of the existing Haskell editors could be used as the >> basis for a specialised text processing system. For non-technical >> documents SiSU (http://www.jus.uio.no/lm/toc.html) offers various = output >> formats, but again it is not an editor. >>=20 >> While your concept is interesting, I'm an Emacs user, and unlikely to >> switch to anything else. >>=20 >> Cheers, >> Roger > -- >=20 > Hi Roger, >=20 > Thank you for the suggestion. I was first thinking about incrementally = creating a custom format that evolves as features are implemented. And = for translating the custom format into a backend format, I was thinking = of creating files with translations rules for each backend so that = anyone can add support for a new backend or update an existing backend = to add more feature or to make it compatible with a newer version of the = backend, without needing to modify the editor code. A translation rule = is e.g. start_section[title=3D, = back_ground_color=3D] =3D> @startsection(title -> = {}, bg_color -> {}) which will convert a start = section command of the document format into the same command for a = backend format. >=20 > At first glance that way seems to be the easiest way for me, but = Skribilo looks interesting as a fallback option, although I find its = syntax to be weird, if I find out that the idea with translation rules = isn't working as expected. >=20 > Cheers, > Jonas > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_02EEB649-6F2F-4CE3-AA82-0F1E81FCBE40 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEYQp7JLAfUU6yZ4yuL3ku5DHfd58FAlopI7gACgkQL3ku5DHf d5+eKBAAj+Lo/2HRxCjogEC9KEkP8tvBhIwVmfxF9vGcBh3oqeOX0ETPlPuFcFHU t0S1Hey9etARWwDNWtEZamgJ3ThwRT0D3bHny6WYiPsjAGkNTEFkKeURb/ig4KeY h3byUSMnGaC/a/8B9K21w+O3LoJ4Y4wddYjyaY7nKNztDI8dfBDxS4KdTtchZ1hc F2Ix+CtUp+zSVd5lZLqXhBWa7OC9e56rfbeWA9yYI4529MN2U5FO2SYF7YAHRR6m bPmsaDHEAaQZtr4UxOhw7NNcMV5t6cOUekBaUN6VuhY/dcNN1G6G+EALJDcz3iRv u/nzl8jaByAjCCgUd082/mL/ene9j9XtDsjP/AhoSmWT23NGSsqE4ymxPB76QxM5 BJBbp+Q2eQ/cud+NQESy6ie5XtA3icGfAxOzdjaJCrRCEbfuzfZGzvdLlZMpNyHd KrjfDyE/9QphyuPjms91mdhvP3+bhEbOKt9NiImi+cA0O2ue3W9nBguvv7gy4Q6V ds3YnHMscSAWOC/ii7/btvOKlUSYTcEEl/uYki6KOBwCw08HkqxNgh4gFvDiI052 /NIXAwzQcDd9YIZwIQNEfwLB14Zk0VqwcKVlccDddBGomN75D7eEVmxHDWlyASVm hFJStz+aUdH1tdNWdyNG2DIMBOa1UlvqmmbamLwwtjKQXcKiRL8= =9T35 -----END PGP SIGNATURE----- --Apple-Mail=_02EEB649-6F2F-4CE3-AA82-0F1E81FCBE40-- --===============6862737608078698878== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============6862737608078698878==--