Open main menu

Changes

96 bytes added ,  09:42, 13 December 2020
no edit summary
</cd:command>
</cd:variants>
<cd:description><!-- Additional documentation can be found in the long description of the command goes here [http://www.pragma-->ade.com/general/manuals/interaction.pdf#page=29 "Interaction" manual].</cd:description><cd:examples><cd:example title="Use of attachment with customized symbol (you need to create a the file &quot;myattachment.txt&quot;)should exists, that why the demo here doesn't does not show attachment...)">[[File:Screenshot_20201128_121950.png|800px]] <context source="yes" text="produces">
\setuppapersize[A6,landscape]
%------------------------------------------------------------------------------
\startuseMPgraphic{myattachmentsymbol} % #1 - Draw a symbol, here a paperclip! path pa;
numeric u; u=1mm;
numeric Ra; Ra=u/2; numeric Rb; Rb=1.5Ra; numeric Rc; Rc=1.35Rb;
\stopuseMPgraphic
%------------------------------------------------------------------------------
\definesymbol % #2 - Define the drawing as a symbol
\starttext % #4 - Use it
Text before
\attachment
[file={myattachment.txt},
\stoptext
</context> </cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>