Hot answers tagged

3

tex4ht doesn't do anything with line breaks in URLs. It works for hyphens because browsers do that, but they don't break words with underscores. We need to insert zero-width space character after underscores to enable the linebreaking. Actions on certain characters may be defined using \g@addto@macro\UrlSpecials command, possibly in the .cfg file: ...


3

You could --locally or generally -- add the colon to the nobreak list: \documentclass{beamer} \usepackage{etoolbox} \begin{document} \begin{frame} \frametitle{Weiterf├╝hrende Informationen} \begin{itemize}\appto\UrlNoBreaks{\do\:}% \item \url{https://docs.oracle.com/javase/tutorial/collections/} \end{itemize} \end{frame} \end{document}


2

If you have in your code \bibliographystyle{plainnat} then the "URL" text comes from the style. In the plainnat.bst file you can find the following code: FUNCTION {format.url} { url empty$ { "" } { new.block "URL \url{" url * "}" * } if$ } The part "URL \url{" url * "}" * is responsible for your problem. You can delete URL at the start of it or ...


2

After further investigation and head scratching I have reached a working solution. Updated MWE \RequirePackage{filecontents} \begin{filecontents*}{\jobname.bib} @misc{enc2015, author = {{Example News Company}}, title = {{Daily News for September 9 2015}}, url = {http://www.example.com/content/news/sep{\_}09/12}, urldate = {2016-03-08}, ...


2

(Too long for a comment, hence posted as an answer.) I recommend you load the URL package with the options hyphens, spaces, and obeyspaces: \usepackage[hyphens,spaces,obeyspaces]{url} If you load the hyperref package as well, be sure to load it after url.


1

Rather than implementing this feature in biblatex, one could simply do the following: \newcommand{\urlcite}[3]{\footfullcite{#1}, p.~\href{#2}{#3}} This is a fairly 'dumb' command, of course, and you lose out a lot of the clever functionality of biblatex's citation commands. However, in this case, it is not a big loss because: we know that the citation ...



Only top voted, non community-wiki answers of a minimum length are eligible