Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
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
___
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
___


Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Wolfgang Schuster

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


[NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
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
___
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
___