I wish to use the url package with the hyphens option and the hyperref package. Because the hyperref package loads the url package, I have to pass the hyphens option to the url package before it is load. So I need to place the code
\PassOptionsToPackage{hyphens}{url}
before the Lyx-generated component of the preamble. How do I do that?
Please note:
- I am aware that I could load the hyperref package in the preamble (and disable it in the interface). I'm trying to avoid this as this defeats the point of Lyx. I'm also looking to Lyx as a more user-friendly tool for my institute than directly tex-coding.
- I am aware of the
breaklinksoption for thehyperrefpackage but that requires overriding automatic identification of drivers (to force it to use thepdftexdriver).
EDIT: Feature request has been lodged with Lyx development team at: https://www.lyx.org/trac/ticket/10567




