You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No hyperlink created when using \hyperlink and \phantom with xelatex #16
This is a (x)dvipdfmx peculiarity which can hardly be fixed on the TeX-level. The pdf:bann and pdf:eann specials for creating line-breakable PDF annotations require typeset glyphs in between to compute a non-zero annotation rectangle.
@u-fischer do you think it would be possible to detect the need for \XeTeXLinkBox automatically? Or I wonder if a feature request could be made for (x)dvipdfm(x) to give a bit more help in the case the glyph based size heuristic returns no sensible values.
@davidcarlisle I don't really see how xetex should be able to check if the box contains glyphs or not, at least not on the macro level. Imho the problem should be solved in xdvipdfmx.
Activity
agrahn commentedon May 30, 2017
This is a
(x)dvipdfmxpeculiarity which can hardly be fixed on the TeX-level. Thepdf:bannandpdf:eannspecials for creating line-breakable PDF annotations require typeset glyphs in between to compute a non-zero annotation rectangle.xduugu commentedon Jun 7, 2017
I worked around this issue by using a different package for acronyms. If it is not fixable, feel free to close this issue.
u-fischer commentedon Sep 30, 2017
hyperref provides a command
\XeTeXLinkBoxwhich can be used to get a link box with xelatex (it inserts small space glyphs):davidcarlisle commentedon Oct 1, 2018
@u-fischer do you think it would be possible to detect the need for
\XeTeXLinkBoxautomatically? Or I wonder if a feature request could be made for (x)dvipdfm(x) to give a bit more help in the case the glyph based size heuristic returns no sensible values.u-fischer commentedon Oct 1, 2018
@davidcarlisle I don't really see how xetex should be able to check if the box contains glyphs or not, at least not on the macro level. Imho the problem should be solved in xdvipdfmx.
u-fischer commentedon Sep 16, 2019
I did send a bug report to the dvipdfmx mailing list and close here.