On Thu, 03 Jul 2003 13:55:57 +0200
Hans Hagen
Here are some new thingies for pdf freaks:
\setupinteraction[state=start]
\useattachment[whatever][test.tex]
% \setupattachments[\c!symbool={symbol-normal,symbol-down}]
\starttext \attachment[whatever] \stoptext
This will embed a file and works ok in acrobat <=6.
Nice feature to distribute a file together with its documentation, but how can i extract the attached file. AR (Linux version) seems not to have a function for this. Is there an utillity program? However, there is a problem if i uncomment the \setupattachments: ConTeXt ver: 2003.7.3 fmt: 2003.7.4 int: english mes: english ! Missing \endcsname inserted. <to be read again> \unhbox \leavevmode ->\unhbox \voidb@x \bottomaccent #1#2#3#4#5->\leavevmode \vtop {\forgetall \baselineskip \zerop... \dohandleaccent ...acterencoding #1\endcsname {#2} \else \csname \accentprefi... <argument> \c ! symbool \dosetvalue ...!internal!n \ifcsname \k!prefix! #2 \endcsname \let \c!interna... ... l.8 \setupattachments[\c!symbool={symbol-down}]
If you have acrobat 6, there is now some rudimentary support for pdf-layering.
http://www.pragma-ade.com/temp/pre-dtp.pdf http://www.pragma-ade.com/temp/layers.pdf
In acrobat 6, there is a layers tab on the left end of the screen.
hmm, i've no AR6 to test this and even i don't know what pdf-layering means, but for me it sound like that we have now two layering methods in ConteXt: pdf-layering and layers defined by \definelayer... Wouldn't it be better to bring them together in one user interface and make the pdf-based layering an option: \definelayer[L1] \setuplayer[L1][mode=pdf] or are these both layering methods too different? Regards, Jens