From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106705 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Fwd: Is de string interpretatie van het lua context() commando separaat benaderbaar? Date: Tue, 31 Mar 2020 16:43:53 +0200 Message-ID: <4818080D-6B0E-4C03-9B0E-24B5D6DB664F@rna.nl> References: <508C33E8-0970-472F-88E9-CC6643BD76E7@rna.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: multipart/mixed; boundary="===============6879479709741364627==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="70066"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 31 16:44:28 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 1jJI7w-000I8o-78 for gctc-ntg-context-518@m.gmane-mx.org; Tue, 31 Mar 2020 16:44:28 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D6512182E68; Tue, 31 Mar 2020 16:44:00 +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 Ez5esP7f9W0k; Tue, 31 Mar 2020 16:43:59 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 235FB182E93; Tue, 31 Mar 2020 16:43:59 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F0FCF182D24 for ; Tue, 31 Mar 2020 16:43:57 +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 67NHwFjuMIIB for ; Tue, 31 Mar 2020 16:43:56 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=213.125.118.53; helo=mail.rna.nl; envelope-from=gerben.wierda@rna.nl; receiver= Original-Received: from mail.rna.nl (mail.rna.nl [213.125.118.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id B79AC182CA8 for ; Tue, 31 Mar 2020 16:43:56 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.rna.nl (Postfix) with ESMTPSA id 0F6F2367AB34 for ; Tue, 31 Mar 2020 16:43:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rna.nl; s=dkim_rsa2048; t=1585665834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: references:references; bh=wV/e4jq6VJlHZWN8VbZqDf5K/yCo34gdAcpHgzh3OJU=; b=i9uGtqoecpiVCO30Qjqq1z+iqpF/3PHSKbV//WR9Gn7kHzpAzQEN9fTL0f1Q++w+i/XeMn LGcrQyZfggIfSbCyo5HtVp2vx6/y7xWfltH+1awMJ/Wz2TpVBxw03w//4HeLdCZTqnh17N XIEJ00u9z9z6LUN+xgPVyfjsahxtbAszwSUuohvd7GtOjaGvPxpTnjpP/lgV7ORRWALQ9K yVtY34WveV8qaaV6uo1Eoio+hcCf4YpPOadmQ6EEB7tMpDIe19Kw+lqhVNPMrOpfkwxddV Obnwx8U+nAAhQQ2PzTXwbSOiE1w9SqmFU8K29UEP2zBYA82oDFpUq8lVPhukGQ== X-Mailer: Apple Mail (2.3445.104.14) 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:106705 Archived-At: --===============6879479709741364627== Content-Type: multipart/alternative; boundary="Apple-Mail=_5CFA5AAC-9C6F-4B8A-8552-DDDA04458F5E" --Apple-Mail=_5CFA5AAC-9C6F-4B8A-8552-DDDA04458F5E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The lua context() command has a string interpretation, e.g. function moduledata.test( astring) local testone =3D "{Hello}, \"(a)\" [World]!" context( "%!tex!", testone) end Two questions: - Have all the lua commands been documented somewhere e.g. in a = reference manual? Especially the basic context() command? - Is this string+arguments interpreter of context() available = separately? I could use this to first let the string interpreter create = a TeX-safe string after which I can manipulate the result before = offering it to the context() command. G= --Apple-Mail=_5CFA5AAC-9C6F-4B8A-8552-DDDA04458F5E Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii The = lua context() command has a string interpretation, e.g.

function = moduledata.test( astring)
  local testone =3D "{Hello}, \"(a)\" = [World]!"
  = context( "%!tex!", testone)
end

Two questions:
- = Have all the lua commands been documented somewhere e.g. in a reference = manual? Especially the basic context() command?
- = Is this string+arguments interpreter of context() available separately? = I could use this to first let the string interpreter create a TeX-safe = string after which I can manipulate the result before offering it to the = context() command.

G
= --Apple-Mail=_5CFA5AAC-9C6F-4B8A-8552-DDDA04458F5E-- --===============6879479709741364627== 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== --===============6879479709741364627==--