issue with \startattachment...\stopattachment
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
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
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