From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94530 Path: news.gmane.org!not-for-mail From: "dr. Hans van der Meer" Newsgroups: gmane.comp.tex.context Subject: typebuffer different from typefile Date: Sun, 24 Apr 2016 10:31:06 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/mixed; boundary="===============0332653595880369999==" X-Trace: ger.gmane.org 1461486711 24085 80.91.229.3 (24 Apr 2016 08:31:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Apr 2016 08:31:51 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 24 10:31:38 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1auFS6-00031a-0J for gctc-ntg-context-518@m.gmane.org; Sun, 24 Apr 2016 10:31:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 83416AE34; Sun, 24 Apr 2016 10:31:20 +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 otU5Kl2Gg3uk; Sun, 24 Apr 2016 10:31:19 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D36F4AE37; Sun, 24 Apr 2016 10:31:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CE869AE33 for ; Sun, 24 Apr 2016 10:31:18 +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 NS0kaNi7j7EF for ; Sun, 24 Apr 2016 10:31:18 +0200 (CEST) Original-Received: from smtpq4.tb.mail.iss.as9143.net (smtpq4.tb.mail.iss.as9143.net [212.54.42.167]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 18FB9AE32 for ; Sun, 24 Apr 2016 10:31:07 +0200 (CEST) Original-Received: from [212.54.42.137] (helo=smtp6.tb.mail.iss.as9143.net) by smtpq4.tb.mail.iss.as9143.net with esmtp (Exim 4.82) (envelope-from ) id 1auFRb-0001Ch-BT for ntg-context@ntg.nl; Sun, 24 Apr 2016 10:31:07 +0200 Original-Received: from 546a86c8.cm-12-3c.dynamic.ziggo.nl ([84.106.134.200] helo=[192.168.178.16]) by smtp6.tb.mail.iss.as9143.net with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1auFRb-0005Fb-9C for ntg-context@ntg.nl; Sun, 24 Apr 2016 10:31:07 +0200 X-Mailer: Apple Mail (2.3124) X-Authenticated-Sender: havdmeer@ziggo.nl (via SMTP) X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.1 cv=D6e6Ualj c=1 sm=0 tr=0 a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=kziv93cY1bsA:10 a=DnP2-H_Hb13baTiuI4QA:9 a=CjuIK1q_8ugA:10 a=E3pod1DNBDyScAsIECkA:9 a=kSxaaTm4jAul_Y5h:21 a=_W_S_7VecoQA:10 xcat=Undefined/Undefined none X-Ziggo-Spam-Status: No 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:94530 Archived-At: --===============0332653595880369999== Content-Type: multipart/alternative; boundary="Apple-Mail=_914C1E9F-7668-4C50-B0F2-B1B67E3F9F9A" --Apple-Mail=_914C1E9F-7668-4C50-B0F2-B1B67E3F9F9A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Why is there a difference in syntax between typing buffers and typing = files? For files enclosure in {} for buffers in [], for files optional = parameters, for buffers not. Is it possible to make the syntax of these two the same, because their = usage parallels each other? Example code: \startbuffer[test] content of buffer \stopbuffer \starttext \typebuffer[test] \typefile[style=3D\ttx]{test.txt} \stoptext Hans van der Meer --Apple-Mail=_914C1E9F-7668-4C50-B0F2-B1B67E3F9F9A Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Why is there a difference = in syntax between typing buffers and typing files?
For files enclosure in {} = for buffers in [], for files optional parameters, for buffers = not.
Is it = possible to make the syntax of these two the same, because their usage = parallels each other?

Example = code:

\startbuffer[test]
content of buffer
\stopbuffer
\starttext
= \typebuffer[test]
= \typefile[style=3D\ttx]{test.txt}
\stoptext

Hans van der = Meer

= --Apple-Mail=_914C1E9F-7668-4C50-B0F2-B1B67E3F9F9A-- --===============0332653595880369999== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0332653595880369999==--