From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/105556 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: context command line interface documentation? Date: Tue, 19 Nov 2019 20:10:42 +0100 Message-ID: References: <12122a3e-d817-f45d-da56-dde2a4722ab8@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5108514061764586710==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="121228"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 19 20:12:13 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 1iX8v4-000VHf-Nn for gctc-ntg-context-518@m.gmane.org; Tue, 19 Nov 2019 20:12:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3D15116328D; Tue, 19 Nov 2019 20:11:00 +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 GTYy65tGwZML; Tue, 19 Nov 2019 20:10:57 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id ED38116328E; Tue, 19 Nov 2019 20:10:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BE20E16328C for ; Tue, 19 Nov 2019 20:10:56 +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 urGK3kCWWJJ8 for ; Tue, 19 Nov 2019 20:10:55 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.210.50; helo=mail-ot1-f50.google.com; envelope-from=trueflyingsheep@gmail.com; receiver= Original-Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (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 C2D86163287 for ; Tue, 19 Nov 2019 20:10:55 +0100 (CET) Original-Received: by mail-ot1-f50.google.com with SMTP id m15so18902620otq.7 for ; Tue, 19 Nov 2019 11:10:55 -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; bh=iasSP9y5aux2Bi2a+bSbfZJPUVglObkn1JMBQlYKwZY=; b=B0P7dIHfC/3LzF5To3PqIMYtZNc60OxMUOQ+fFpiQwJF8IWM+ab3QdDGnU4KPf4Mk6 HpNwfo59+/VaLe49xOsqV5qemvb5DdM97FeJ9F5CRGeG6BiDD9uhl/lq0VoRqB6t8+9E L0+brRd6E5P3NNIsDnM0JP4NFUk0knhQmKAeYPgBDRmHhipU+ACXORwQWBZpXbMHZ4rW OSmB3bDpXk8e8Q4nPG7gcswPB+DISX+yQ/D8TWRiJD6mg/eCD8xxW+WfGgsFgw4kAFAt eTjDdDDdPkfVmlovIPzKREeP0eMh8YFF3vvWHmW29ngsURw4go9y75zkt1mzMIz8PoNH GhyA== X-Gm-Message-State: APjAAAWiLf995TCYtvpYdpSMcU/Uhb4WcsT6FiocRZ+O5tUgKUpLqLYJ /RU5rlDu0wl32BqRLTbH0j9n7u6qW6XnDt872Gg0n8rfVkY= X-Google-Smtp-Source: APXvYqw/hg7UxXbsIoecfRcZ/3v5OiMT8UJHKOXbaWX4lbQXBsXoWIr0H9fIYr4s8cbf2ASCHUiMewBDKsqJpoy5GsA= X-Received: by 2002:a9d:7444:: with SMTP id p4mr5257872otk.156.1574190653750; Tue, 19 Nov 2019 11:10:53 -0800 (PST) In-Reply-To: <12122a3e-d817-f45d-da56-dde2a4722ab8@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.org gmane.comp.tex.context:105556 Archived-At: --===============5108514061764586710== Content-Type: multipart/alternative; boundary="000000000000b9c3df0597b7d227" --000000000000b9c3df0597b7d227 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That=E2=80=99s pretty cool, overriding that hook allows to build a ConTeXt = language server for editors like VS Code! https://microsoft.github.io/language-server-protocol/ Sadly I=E2=80=99m still a bit lost: When calling `context file_with_error.t= ex`, I see =E2=80=9CThis is LuaTeX, Version 1.10 =E2=80=A6 tex error on line =E2= =80=A6 ?=E2=80=9D and it waits for input. You said that context stops when encountering an error which isn=E2=80=99t = the case for me. Any ideas why? Best, Philipp Am Di., 19. Nov. 2019 um 10:34 Uhr schrieb Hans Hagen : > Concerning errors, one can say > > context --directives=3D"system.showerror" somefile > > and on an error an html file is generated (old feature) ... i still > couldn't figure out a way to reliable launch a browser and target the > same tab (so autolaunch is disabled for now) > > 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 > > _________________________________________________________________________= __________ > --000000000000b9c3df0597b7d227 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That=E2=80=99s pretty cool, overriding that hook allo= ws to build a ConTeXt language server for editors like VS Code! https://microsoft.gi= thub.io/language-server-protocol/

Sadly I=E2= =80=99m still a bit lost: When calling `context file_with_error.tex`, I see= =E2=80=9CThis is LuaTeX, Version 1.10 =E2=80=A6 tex error on line =E2=80= =A6 ?=E2=80=9D and it waits for input.
You said that context = stops when encountering an error which isn=E2=80=99t the case for me. Any i= deas why?

Best, Philipp

Am Di., 19. Nov. = 2019 um 10:34=C2=A0Uhr schrieb Hans Hagen <j.hagen@xs4all.nl>:
Concerning errors, one can say

context --directives=3D"system.showerror" somefile

and on an error an html file is generated (old feature) ... i still
couldn't figure out a way to reliable launch a browser and target the <= br> same tab (so autolaunch is disabled for now)

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
___________________________________________________________________________= ________
--000000000000b9c3df0597b7d227-- --===============5108514061764586710== 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== --===============5108514061764586710==--