|
|
Subject: Hyperref problem - msg#00213
List: tex.xetex
Hello,
With the help provided here, I managed to have a working install of
Xetex under win32 (big thanks to those that make that possible).
Now I'm trying to produce a pdf using hyperref to have sections
displayed as bookmarks.
Although the text is correctly typeset with the chosen fonts (thanks
fontspec !), the bookmarks are rendered as illegible squares.
How can I get the bookmarks correctly rendered ?
Thanks,
Jacques.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: fontspec: problem with WordSpace feature
On 20/07/2006, at 1:35 , Firmicus wrote:
> Now since the command \arabicfont is called many times during
> processing (esp. because of a macro that uses it for typing line
> numbers in Arabic in the margin), it happens that the rescaling of
> fontdimen2 is done again and again, growing exponentially until
> xetex complains that the dimension is too large (probably larger
> that the page!) and stops.
Ha ha ha!
That's clearly not very good :)
Thanks for pointing it out -- I'll take a look soon and fix it ASAP.
Regards,
Will
Next Message by Date:
click to view message preview
Re: Hyperref problem
Hi,
> With the help provided here, I managed to have a working install of
> Xetex under win32 (big thanks to those that make that possible).
>
> Now I'm trying to produce a pdf using hyperref to have sections
> displayed as bookmarks.
> Although the text is correctly typeset with the chosen fonts (thanks
> fontspec !), the bookmarks are rendered as illegible squares.
>
> How can I get the bookmarks correctly rendered ?
\documentclass[dvipdfm]{article}
\usepackage[... ...]{hyperref}
... ...
... ...
\begin{document}
\tableofcontents
... ...
\end{document}
Note the option "dvipdfm".
Bookmarks are automatically written in utf-16 encoding,
thanks to the xdvipdfmx rewritten by Jonathan.
Of course you have to prepare your source in utf-8 encoding.
--
Akira Kakuto
Previous Message by Thread:
click to view message preview
Re: xunicode.sty bug
On 19/07/2006, at 7:33 , Ross Moore wrote:
> Hi Jonathan, Ralf, Will, Toralf, and others.
> Without changing this mechanism, it seems that having
> \hyphenchar=^^ad
> would do the right thing, provided the font has a glyph there.
> This is a matter for fontspec to determine, yes ?
Yes, fontspec from v1.9 has this capability
\fontspec[HyphenChar=-]{FPL Neu}
Or use whatever glyph or char slot you like.
> I suppose the issue is really what happens to any hyphenations
> when you select and copy a paragraph from a PDF prepared by XeTeX.
> Is the U+00AD actually present within the Unicode string ?
> Do you see the glyph or not when the result is pasted into a
> text-editor ?
I guess it would be kind of neat if XeTeX could insert these soft
hyphens even where they're not used for hyphenation into the PDF;
this would aid XHTML production with hyphenation, which browsers need
a fair bit of help with, I believe..
>> In the case of xetex, I think a sensible default (to handle the
>> situation where U+00AD occurs in the input text) would be to say:
>>
>> \catcode"AD=\active
>> \let^^ad=\-
>
> This seems to be the right implementation, when an author
> has included ^^ad (by whatever means) within the source.
>
> It seems to me that these assignments are completely standard,
> so belong in xetex.xfmt , rather than being added by a package.
> I could put them into xunicode.sty , but really don't think that
> it is appropriate. Agreed ?
If not in the format, then there could be a "unicode markup" package
to include little things like this. I'd be happy with either.
Will
Next Message by Thread:
click to view message preview
Re: Hyperref problem
Hi,
> With the help provided here, I managed to have a working install of
> Xetex under win32 (big thanks to those that make that possible).
>
> Now I'm trying to produce a pdf using hyperref to have sections
> displayed as bookmarks.
> Although the text is correctly typeset with the chosen fonts (thanks
> fontspec !), the bookmarks are rendered as illegible squares.
>
> How can I get the bookmarks correctly rendered ?
\documentclass[dvipdfm]{article}
\usepackage[... ...]{hyperref}
... ...
... ...
\begin{document}
\tableofcontents
... ...
\end{document}
Note the option "dvipdfm".
Bookmarks are automatically written in utf-16 encoding,
thanks to the xdvipdfmx rewritten by Jonathan.
Of course you have to prepare your source in utf-8 encoding.
--
Akira Kakuto
|
|