Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include link text in hyper@linkurl for hyperref driver #20

Open
bentitmus opened this issue Jun 13, 2024 · 0 comments
Open

Include link text in hyper@linkurl for hyperref driver #20

bentitmus opened this issue Jun 13, 2024 · 0 comments

Comments

@bentitmus
Copy link

There is a blank implementation for hyper@linkurl which means that adding a \href to a document will display nothing. I realise that it might not be possible to create the proper link in the HINT file format, but would it be possible to include the link text (#1) so that the document reads properly even without a functioning link.

I don't really know what I'm doing, but I guess that changing hilatex/base/hhitex.def so:

\def\hyper@linkurl#1#2{}%

reads something like

\def\hyper@linkurl#1#2{#1}%

might fix it. It also looks like the same fix might be needed for hyper@linkfile and possibly elsewhere.

Example

\href{https://github.com}{GitHub}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant