I am using the hyperref
package to insert links to websites in my documents.
The Adobe reader opens a new tab for each link in the PDF, and that is what I want.
Next I want to get the same behavior when I generate HTML using some LaTeX to HTML converter. I am using plasTeX.
How do I tell hyperref
via \href{site}{text}
that I want the HTML code to have a target="blank"
inside the
<a href="site">text</a>
in the resulting HTML?
Best Answer
The simple answer is: it can't be done.
hyperref
can open new browser tabs/windows if the target is another PDF document. This is done using the\href
featurepdfnewwindow
. No similar feature exists inhyperref
to open new tabs\windows for http or https web addresses. See Make hyperref links open in new browser window for easier navigation for clarification and further information.