[NTG-context] embed source-file in pdf

Pablo Rodriguez oinos at gmx.es
Wed Apr 20 16:44:41 CEST 2022


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




More information about the ntg-context mailing list