Re: texorpdfstring not working?

"Murali Krishnan Ganapathy" <[email protected]>
Newsgroups gmane.comp.tex.latex.prosper.user
Message-ID <001601c3c971$9828e450$0e02a8c0@ANUSRIRAM>
Or a simpler solution would be to define \@addBookmarkOnSlide
in terms of \pdfbookmark (and let hyperref do all the handling of
\texorpdfstring),
which is on the Prosper todo list.

- Murali

----- Original Message ----- 
From: "Erwan Le Pennec" <[email protected]>
To: "Tobias Hilbricht" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, December 23, 2003 10:31 AM
Subject: Re: [Prosper-users] texorpdfstring not working?


> Hello,
>
> I've an answer for this....
> On Tue, 23 Dec 2003, Tobias Hilbricht wrote:
>
> > Dear readers of this list,
> [snip]
> > How do I get the macro \texorpdfstring to work, or what else can I do to
get
> > proper bookmarks?
> > I am using prosper and hyperref from the TeX Collection 2003 (that is
prosper
> > v1.5), ghostscript v. 7.07, dvips 5.94a and Acrobat Reader 5.08.
> >
> > Thanks a lot for helpful hints in advance
> >
> > Yours sincerely
> >
> > Tobias Hilbricht
>
> You could modify prosper.cls itself and the macro
> \@addBookmarkOnSlide. some \def are modified as \pdfstringdef and it
> works...
>
> -------
> % Add a bookmark for each master slide
> \def\@addBookmarkOnSlide#1#2{%
>   \ifnum#1=0
>   \pdfstringdef\Hy@temp{#2}%
>     \pdfmark{pdfmark=/OUT,
>       Raw={/Page \thetrueSlideCounter
>         /View [ /XYZ null null null ]
>         /Title (\Hy@temp)}
>     }%
>   \else
>   \@tempoLimit=#1%
>   \advance \@tempoLimit by -1
>   \ifcollapsedBookmarks
>     \@tempoLimit=-\@tempoLimit
>   \fi
>   \pdfstringdef\Hy@temp{#2}%
>     \pdfmark{pdfmark=/OUT,
>       Raw={/Count \number\@tempoLimit /Page \thetrueSlideCounter
>         /View [ /XYZ null null null ]
>         /Title (\Hy@temp)}
>     }%
>   \fi
> }
>
> ------
>
> Erwan
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Prosper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/prosper-users
>
>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.