From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1593 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: SelectText as default tool Date: Tue, 25 Jan 2000 22:09:43 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20000125220943.007c8100@pop.wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035392413 1670 80.91.224.250 (23 Oct 2002 17:00:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:00:13 +0000 (UTC) Cc: pdfTeX , ntg-context@ntg.nl Original-To: Dan =?iso-8859-1?Q?M=F8nster?= In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:1593 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1593 At 04:45 PM 1/25/2000 +0100, Dan Mønster wrote: >Does anyone on this list know how to make the default tool the Well ... >text selection tool (SelectText) when Acrobat reader opens a >document. I want to set the tool from within the document, not >in the Acrobat reader application. I've tried using \pdfpagesattr, >\pdfliteral, and \pdfannot with some raw PDF code that I came up >with from looking in Thomas Merz' "Web Publishing with Acrobat/PDF". > >One of the simpler things I tried was this: > >\pdfpagesattr{ > /AA /O /Subtype /Action > /A << > /S /Named /N /SelectText > >> >} > >I'm sure it can be made to work, but my knowledge of PDF is clearly >insufficient, so I'd be grateful for any hints or solutions. either: \pdfpageattr {/AA << /O << /Type /Link /S /Named /N /SelectText >> >>} or: \pdfcatalog {/OpenAction << /Type /Link /S /Named /N /SelectText >>} Both look quite different then your dan/metz code -) In your attempt you mix up the pages attribute and the catalog as well as literal pdf and pdfmarks as embedded in postscript. BTW, the syntax of pdf is no example of beauty, and the way pdftex currently supports pdf is about the best compromise possible. Question to context users: is there a need for support of these features? Many are already supported, but I have my doubts about adding those system dependant ones to the list. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl -----------------------------------------------------------------