ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: SelectText as default tool
       [not found] <Pine.GSO.4.21.0001251632240.4628-100000@mediator.uni-c.dk>
@ 2000-01-25 21:09 ` Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2000-01-25 21:09 UTC (permalink / raw)
  Cc: pdfTeX, ntg-context

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-01-25 21:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Pine.GSO.4.21.0001251632240.4628-100000@mediator.uni-c.dk>
2000-01-25 21:09 ` SelectText as default tool Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).