-
Notifications
You must be signed in to change notification settings - Fork 0
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
Option clash for packages hyperref and enumitem #3
Comments
Hi! Thanks for the MWEs!-) Right, this is because Instead, you could use \documentclass[]{article}
\author{Name}
\title{Title}
\usepackage{skeldoc}
\usepackage{hyperref} % Not really needed
\hypersetup{colorlinks}
\begin{document}
Text.
\end{document} Note that while you don't need Just let me know if this ends up not doing what you want. I'll leave the issue open for now – I might want to address this either in the code some way, or perhaps in the docs. |
I was a bit quick, there xD I remember now that there actually is a mechanism for overriding the options used by \usepackage{skeldoc} is equivalent to: \usepackage[hypersetup=hidelinks]{skeldoc} So you can just use this instead: \usepackage[hypersetup=colorlinks]{skeldoc} I guess it might be useful to have an option to turn off the importing of So, yeah, there is already support for configuring the use of |
Thanks! By the way, I believe that there other packages that load hyperref, for example, glossaries(-extra). But they won't cause clash in this MWE. How do they avoid it? |
OK, I was clearly not entirely awake when I answered you yesterday xD The You can indeed pass multiple arguments to an option – just enclose them in braces, like As for how To solve your problem, specifically, I guess you could use A better solution is probably to use something like the following: \PassOptionsToPackage{colorlinks,pdfusetitle}{hyperref}
\usepackage{skeldoc}
\usepackage{hyperref} % optional The last This isn't entirely functional, however. Ideally, you should also be able to add You can always just add So … I think this is a functioning workaround, though a better solution would be, well … better :-) \documentclass{article}
\author{Name}
\title{Title}
\PassOptionsToPackage{pdfusetitle}{hyperref}
\usepackage{skeldoc}
\skelset{hypersetup=colorlinks}
\begin{document}
Text.
\end{document} |
I tried to insert Obsidian URIs with something like the following: Using obsidian URI - Obsidian Help However, I always got the following error messages: If I replace
I tried to use this workaround, but it did not resolve the issue. |
Hm, indeed. The workaround is primarily for sending options to I don't think that's directly connected to your problem, though. Here's a simple example document that should do what I think you're describing – and it works just fine on my end: \documentclass{article}
\usepackage{skeldoc}
\begin{document}
\skelpar{Refer to \href{Link}{Text} for more details.}
\printskelnotes
\end{document} Does this work for you? Could you perhaps. see if you could update the example to more closely mirror your document, so that you get the error you describe? |
Thanks for the clarification.
Yes, the provided example document works for me as well. If
|
I see. The problem here is not related to \skelpar{Refer to \href{obsidian://open?vault=my% Because this does not include the two ending braces (for This should be fixed by simply escaping the percentages, writing |
This resolves the issue. Thanks for the help! |
The same issue occurs with |
Hei!
I'd like to use skeldoc and highlight links in the PDF.
However, this code does not compile because of
Option clash for package hyperref.
:While this one does compile:
The text was updated successfully, but these errors were encountered: