ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez via ntg-context <ntg-context@ntg.nl>
To: "Heinrich Paeßens via ntg-context" <ntg-context@ntg.nl>
Cc: Pablo Rodriguez <oinos@gmx.es>
Subject: Re: embed source-file in pdf
Date: Wed, 20 Apr 2022 16:44:41 +0200	[thread overview]
Message-ID: <bad8dd1b-dcfc-2f31-cd57-f4a515db9d90@gmx.es> (raw)
In-Reply-To: <520D3669-4D21-4791-8B7B-D83A5FC64FC8@me.com>

On 4/19/22 16:47, Heinrich Paeßens via ntg-context wrote:
> Hi there
>
> just a quick question: 
>
> Is there a command or package to embed the source-file (*.tex) into the
> resulting pdf-file,

Hi Heinrich,

I think this may be what you need:

  \setupinteraction[state=start]
  \attachment[file=\jobname.tex]
  \starttext
  \input zapf
  \stoptext

> just like in LaTeX using package »embedall«

I think it is way better that you explain what you want to achieve.

I’d say that not all ConTeXt users are also proficient in LaTeX. In my
case, I haven’t use it for more than a decade.

I hope it helps,

Pablo


___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2022-04-20 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-19 14:47 Heinrich Paeßens via ntg-context
2022-04-19 15:07 ` Rik Kabel via ntg-context
2022-04-20 14:44 ` Pablo Rodriguez via ntg-context [this message]
2022-04-20 17:37   ` Heinrich Paeßens via ntg-context
2022-04-20 16:11 Heinrich Paeßens via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bad8dd1b-dcfc-2f31-cd57-f4a515db9d90@gmx.es \
    --to=ntg-context@ntg.nl \
    --cc=oinos@gmx.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).