From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114758 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?q?Heinrich_Pae=C3=9Fens_via_ntg-context?= Newsgroups: gmane.comp.tex.context Subject: Re: embed source-file in pdf Date: Wed, 20 Apr 2022 19:37:44 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (1.0) Content-Type: multipart/mixed; boundary="===============7420880359826441944==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Heinrich_Pae=C3=9Fens?= , Pablo Rodriguez To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 20 19:38:17 2022 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 1nhEHQ-0008fv-Vs for gctc-ntg-context-518@m.gmane-mx.org; Wed, 20 Apr 2022 19:38:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B67D2289C41; Wed, 20 Apr 2022 19:37:52 +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 k_ZL2RLIi8yP; Wed, 20 Apr 2022 19:37:51 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CD850289D53; Wed, 20 Apr 2022 19:37:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 963D3289D51 for ; Wed, 20 Apr 2022 19:37:49 +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 aThjd8XPJarQ for ; Wed, 20 Apr 2022 19:37:48 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.63.167; helo=st43p00im-zteg10072001.me.com; envelope-from=paessens@me.com; receiver= Original-Received: from st43p00im-zteg10072001.me.com (st43p00im-zteg10072001.me.com [17.58.63.167]) (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 35C8C289C41 for ; Wed, 20 Apr 2022 19:37:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1650476267; bh=cQS6g1/LsiEiqvutpIMZcWWbSij6Lc/10TMqvcf7a1E=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=qSfZu+w1dfbga/h8rz06CBY5xsm0cLQ+YkUlsKlHQG45nsDi715IOoTTbTim0IiaX NOSitT32hNBZEiooyIzrG72GgMe9RMyi63bh+Ak3y2jWV/XKf7aNCdhRqUmU7sw/ak bCUAhyU7iZxIlat6O5CTd5t7aStyX6yGVURzx3Rh6qLCuyqVOstj92L+W275jX89Ov I7AChHQj6K1SEUpz8liRLlRDst9x1nUtXnoya2yVyKPelLeWiLf29rBYY6HLWouyiW kQZ7kB5hEXm9x+uGI8Y+W7tbZdO6D2KwPtMqfHniLu7c6lmVaTHFvuG1DNOjKJwOQA JSPlh4/N3LLKA== Original-Received: from smtpclient.apple (st43p00im-dlb-asmtp-mailmevip.me.com [17.42.251.41]) by st43p00im-zteg10072001.me.com (Postfix) with ESMTPSA id 46F6EB40CCC; Wed, 20 Apr 2022 17:37:46 +0000 (UTC) In-Reply-To: X-Mailer: iPhone Mail (19E258) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-04-20_05:2022-04-20, 2022-04-20 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2204200104 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:114758 Archived-At: --===============7420880359826441944== Content-Type: multipart/alternative; boundary=Apple-Mail-617E999D-7889-4F5A-8589-87A2091A094B Content-Transfer-Encoding: 7bit --Apple-Mail-617E999D-7889-4F5A-8589-87A2091A094B Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Pablo and Rik many thanks, much appreciated. attachment works like a charm to include the source files in the delivered P= DF. Rik pointed me to the longterm archive standard, which is also desirable. PD= F/A is possible with setupbackend\setupbackend[format=3D{pdf/a-3a}] but needs fixing with acrobat-preflight to pass validation (in Acrobat and v= eraPDF). Kind regards Heinrich=20 Sent from my iPhone > On 20. Apr 2022, at 16:46, Pablo Rodriguez via ntg-context wrote: >=20 > =EF=BB=BFOn 4/19/22 16:47, Heinrich Pae=C3=9Fens via ntg-context wrote: >> Hi there >>=20 >> just a quick question:=20 >>=20 >> Is there a command or package to embed the source-file (*.tex) into the >> resulting pdf-file, >=20 > Hi Heinrich, >=20 > I think this may be what you need: >=20 > \setupinteraction[state=3Dstart] > \attachment[file=3D\jobname.tex] > \starttext > \input zapf > \stoptext >=20 >> just like in LaTeX using package =C2=BBembedall=C2=AB >=20 > I think it is way better that you explain what you want to achieve. >=20 > I=E2=80=99d say that not all ConTeXt users are also proficient in LaTeX. I= n my > case, I haven=E2=80=99t use it for more than a decade. >=20 > I hope it helps, >=20 > Pablo >=20 >=20 > __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry to t= he Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-con= text > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > __________________________________________________________________________= _________ --Apple-Mail-617E999D-7889-4F5A-8589-87A2091A094B Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi Pablo and Rik

<= div>
many thanks, much appreciated.

attachment works like a charm to include t= he source files in the delivered PDF.

Rik pointed me to the= longterm archive standard, which is also desirable. PDF/A is possible with &= nbsp;setupbackend\setupbackend[format=3D{pdf/a-3a}]

but n= eeds fixing with acrobat-preflight to pass validation (in Acrobat and veraPD= F).

Kind regards
Heinrich 

Sent from my iPhone

On 20. Apr 2022, at 16:46, Pablo Rodriguez via ntg-context <ntg-con= text@ntg.nl> wrote:

<= div dir=3D"ltr">=EF=BB=BFOn 4/19/22 16:47, Heinrich Pae=C3=9Fens via n= tg-context wrote:
Hi there<= br>

just a quick question: 

Is there a command or package to embed the source-file (*.te= x) into the
resulting= pdf-file,

Hi Heinrich,=

I think this may be what you need:

 \setupinteraction[state=3Dstart]
&= nbsp;\attachment[file=3D\jobname.tex]
 \starttext

 \input zapf
 \stoptext

just like in LaTeX using pack= age =C2=BBembedall=C2=AB

= I think it is way better that you explain what you want to achieve.
I=E2=80=99d say that not all ConTeXt users are also= proficient in LaTeX. In my
case, I haven=E2=80=99t use it f= or more than a decade.

I hope it helps,

Pablo

=
__________________________________________________________________= _________________
If your question is of interest to others a= s well, please add an entry to the Wiki!

ma= illist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage  : http://www.pragma-ade.nl / http://context.a= anhet.net
archive  : https://bitbucket.org/phg/context-= mirror/commits/
wiki     : http://contex= tgarden.net
________________________________________________= ___________________________________
= --Apple-Mail-617E999D-7889-4F5A-8589-87A2091A094B-- --===============7420880359826441944== 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== --===============7420880359826441944==--