From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106175 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: Official file ending? Date: Wed, 5 Feb 2020 10:25:12 +0100 Message-ID: References: <29c5f537-a747-0e9b-14a6-fc95e4bf2f41@xs4all.nl> <42d7cb43-54ee-61f2-ef3a-0767f735f142@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5572255184696741932==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54582"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Feb 05 10:30:09 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1izH0a-000E61-3W for gctc-ntg-context-518@m.gmane-mx.org; Wed, 05 Feb 2020 10:30:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 214261654DE; Wed, 5 Feb 2020 10:25:30 +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 kG94HEexD4X0; Wed, 5 Feb 2020 10:25:27 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BBF8B1654D3; Wed, 5 Feb 2020 10:25:27 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AF8791654C9 for ; Wed, 5 Feb 2020 10:25:26 +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 ZE_B9ugNqgaP for ; Wed, 5 Feb 2020 10:25:25 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.47; helo=mail-ot1-f47.google.com; envelope-from=trueflyingsheep@gmail.com; receiver= Original-Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id A525D1654BC for ; Wed, 5 Feb 2020 10:25:25 +0100 (CET) Original-Received: by mail-ot1-f47.google.com with SMTP id z9so1302314oth.5 for ; Wed, 05 Feb 2020 01:25:25 -0800 (PST) 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=VReJ60WqDKcQHGyU6czp+BqIWG+6UrrMtE50/EWr/IQ=; b=sG7O5ZyB1Ai53+h3h/dvv7yyTV7b0SspYK8eB+Zq1PSB2AXgdm74c4vOyg6G9xHTcs RENoGQAfjRON3hO76NIKSIbedfilYyfd4h70X04qnXn7ZyWi8LdisInyn3OqpdU8wjW7 jC5/WVn+U93tMPkqFE/sxXEmQ3KdFf8sKM2hzBwUu0NuDjRopb8TrwKlaW1i3AEibJVH 6RVSQda7HkvW7L+xMSEVOjSpC54RAryFXvZVPRWSezRP6xMhmFpzJzfX+PM1YUugHQaX fL6OSuNfDfNmDV4fIpWpMsMTVx2WRYOnrq0LGKQqEbbaMXLlHsma+BpTwPNllVr/9TWT Nrpg== X-Gm-Message-State: APjAAAUED0eapiq+L7WAK9QseqDC1llKGZs74A8zhAoap07BWLYoRoZI a0uzq5tcOruL8fDFnEqlfmCsttQ0imzjBC3aEqjX5m2B X-Google-Smtp-Source: APXvYqynR77TOelUZUbIn7Guy9Gk94qCTLNP8PaVc3ZJuv233OXT5PIoI373cGtIj7U7678n0tPlNoUp23JLX9hdUS4= X-Received: by 2002:a9d:6a85:: with SMTP id l5mr26384205otq.231.1580894723884; Wed, 05 Feb 2020 01:25:23 -0800 (PST) In-Reply-To: <42d7cb43-54ee-61f2-ef3a-0767f735f142@xs4all.nl> 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.io gmane.comp.tex.context:106175 Archived-At: --===============5572255184696741932== Content-Type: multipart/alternative; boundary="00000000000071cd34059dd0bc7a" --00000000000071cd34059dd0bc7a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ha, I was just writing about my confusion, thank you for clearing this up. So how about I add those four to Wikipedia and the ConTeXt wiki? Am Mi., 5. Feb. 2020 um 10:23 Uhr schrieb Hans Hagen : > On 2/4/2020 8:27 PM, kaddour kardio wrote: > > Since ConTeXT is closer to plain TeX than LaTeX, it is more legitimate > > to got the "dot tex" than latex :) > > > > Le mar. 4 f=C3=A9vr. 2020 =C3=A0 17:57, Pablo Rodriguez > > a =C3=A9crit : > > > > On 2/3/20 3:28 PM, Hans Hagen wrote: > > > On 2/3/2020 3:07 PM, Philipp A. wrote: > > >> Hi! > > >> > > >> Most text editors have LaTeX specific syntax highlighting, so i= t > > makes > > >> sense to give your ConTeXt file a ending it can be distinguishe= d > > with. > > >> Is there a blessed one? > > >> > > >> * .ctx: Would mirror the semi-common .ltx, but is used for XM= L > > files > > >> inside of ConTeXt itself > > > > > > context ctx files are xml files indeed > > > > > >> * .mkiv: Is that just for ConTeXt or all LuaTeX stuff? Would > > it make > > >> sense to give text documents that extension? > > > > > > you can do that (or mkvi or lmtx or ...) > > > > Since there are already *.mkxl files in the ConTeXt distribution, I > > think it may make sense to name the LMTX version MkXL. > > > > In any case, MkXL is simpler and clearer that MkIV with LMTX. > mkiv (four) : files that expect mkiv (or lmtx) > mkvi (six) : mkiv (or lmtx) files that pass a filter > mkxl (fourty) : files that expect lmtx > mklx (sixty) : lmtx files that pass a filter > > (there are some more, like template files and so) > > I suppose that latex syntax highlighting filters support tex and sty and > maybe suffixes i'm noti aware of. So a context specific highlighter > could support mkiv, mkvi, mkxk and mkvi. At least that's what I do here. > > 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 > ----------------------------------------------------------------- > > _________________________________________________________________________= __________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > _________________________________________________________________________= __________ > --00000000000071cd34059dd0bc7a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Ha, I was just writing about my confusion, thank you for c= learing this up.

So how about I add those four to Wikipe= dia and the ConTeXt wiki?

Am Mi., 5. Feb. 2020 um 10:23=C2=A0Uhr schri= eb Hans Hagen <j.hagen@xs4all.nl>:
On 2/4/20= 20 8:27 PM, kaddour kardio wrote:
> Since ConTeXT is closer to plain TeX than LaTeX, it is more legitimate=
> to got the "dot tex" than latex :)
>
> Le mar. 4 f=C3=A9vr. 2020 =C3=A0 17:57, Pablo Rodriguez <
oinos@gmx.es
> <mailto:oinos@gmx= .es>> a =C3=A9crit=C2=A0:
>
>=C2=A0 =C2=A0 =C2=A0On 2/3/20 3:28 PM, Hans Hagen wrote:
>=C2=A0 =C2=A0 =C2=A0 > On 2/3/2020 3:07 PM, Philipp A. wrote:
>=C2=A0 =C2=A0 =C2=A0 >> Hi!
>=C2=A0 =C2=A0 =C2=A0 >>
>=C2=A0 =C2=A0 =C2=A0 >> Most text editors have LaTeX specific syn= tax highlighting, so it
>=C2=A0 =C2=A0 =C2=A0makes
>=C2=A0 =C2=A0 =C2=A0 >> sense to give your ConTeXt file a ending = it can be distinguished
>=C2=A0 =C2=A0 =C2=A0with.
>=C2=A0 =C2=A0 =C2=A0 >> Is there a blessed one?
>=C2=A0 =C2=A0 =C2=A0 >>
>=C2=A0 =C2=A0 =C2=A0 >>=C2=A0 =C2=A0* .ctx: Would mirror the semi= -common .ltx, but is used for XML
>=C2=A0 =C2=A0 =C2=A0files
>=C2=A0 =C2=A0 =C2=A0 >>=C2=A0 =C2=A0 =C2=A0inside of ConTeXt itse= lf
>=C2=A0 =C2=A0 =C2=A0 >
>=C2=A0 =C2=A0 =C2=A0 > context ctx files are xml files indeed
>=C2=A0 =C2=A0 =C2=A0 >
>=C2=A0 =C2=A0 =C2=A0 >>=C2=A0 =C2=A0* .mkiv: Is that just for Con= TeXt or all LuaTeX stuff? Would
>=C2=A0 =C2=A0 =C2=A0it make
>=C2=A0 =C2=A0 =C2=A0 >>=C2=A0 =C2=A0 =C2=A0sense to give text doc= uments that extension?
>=C2=A0 =C2=A0 =C2=A0 >
>=C2=A0 =C2=A0 =C2=A0 > you can do that (or mkvi or lmtx or ...)
>
>=C2=A0 =C2=A0 =C2=A0Since there are already *.mkxl files in the ConTeXt= distribution, I
>=C2=A0 =C2=A0 =C2=A0think it may make sense to name the LMTX version Mk= XL.
>
>=C2=A0 =C2=A0 =C2=A0In any case, MkXL is simpler and clearer that MkIV = with LMTX.
mkiv (four)=C2=A0 =C2=A0: files that expect mkiv (or lmtx)
mkvi (six)=C2=A0 =C2=A0 : mkiv (or lmtx) files that pass a filter
mkxl (fourty) : files that expect lmtx
mklx (sixty)=C2=A0 : lmtx files that pass a filter

(there are some more, like template files and so)

I suppose that latex syntax highlighting filters support tex and sty and maybe suffixes i'm noti aware of. So a context specific highlighter could support mkiv, mkvi, mkxk and mkvi. At least that's what I do here= .

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
-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--00000000000071cd34059dd0bc7a-- --===============5572255184696741932== 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== --===============5572255184696741932==--