issue with \startattachment...\stopattachment
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \startattachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] Attached file. \stopattachment Attached on \currentdate. \stopTEXpage \stoptext I have a question: shouldn’t be “Attached file.” typeset on the main text? Many thanks for your help, Pablo -- http://www.ousia.tk
![](https://secure.gravatar.com/avatar/74d41c3215dcdd377343cdc47311757c.jpg?s=120&d=mm&r=g)
Pablo Rodriguez schrieb am 05.03.19 um 20:57:
Dear list,
I have the following sample:
\setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \startattachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] Attached file. \stopattachment Attached on \currentdate. \stopTEXpage \stoptext
I have a question: shouldn’t be “Attached file.” typeset on the main text?
No because \startattachment ... \stopattachment is the same as \startbuffer[...] ... \stopbuffer \attachment[buffer=...] where you combine the buffer and \attachment in a single construct. This does also mean the argument you pass to \startattachment is wrong. Wolfgang
![](https://secure.gravatar.com/avatar/5955e8e90611e77ccbfc7721b6112027.jpg?s=120&d=mm&r=g)
On 3/5/19 9:17 PM, Wolfgang Schuster wrote:
Pablo Rodriguez schrieb am 05.03.19 um 20:57:
[...] I have a question: shouldn’t be “Attached file.” typeset on the main text?
No because
\startattachment ... \stopattachment
is the same as
\startbuffer[...] ... \stopbuffer
\attachment[buffer=...]
where you combine the buffer and \attachment in a single construct.
Many thanks for your reply, Wolfgang. I thought it could be used as a kind of link.
This does also mean the argument you pass to \startattachment is wrong. Of course, I was thinking of something different.
Many thanks for your help, Pablo -- http://www.ousia.tk
participants (2)
-
Pablo Rodriguez
-
Wolfgang Schuster