Tag Info

Hot answers tagged

3

The penalties are not used in a bibitem, but only in \biburlsetup which is done at the begin of the bibliography. If you want to change the settings for one bibitem, you should call the url setup again: \AtEveryBibitem{% \ifcategory{badbreaks} {\defcounter{biburllcpenalty}{9000}\biburlsetup} {}} Output with OP MWE (\def\mybiburlval{0}):


2

There are a few things to note. Underscores, in general, must be escaped in order to show up properly outside of math mode. If this is surprising, you may well find reading at least the first parts of the The Com­pre­hen­sive LaTeX Sym­bol List worth your time. The beamer class loads hyperref by default, and, if you want to use a command like \url, then ...


1

Here it is: \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[french,]{babel} \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @ARTICLE{Monnier_democ_1999, author = {Monnier, Raymonde}, title = {Démocratie et Révolution française}, journal = {Mots}, year = ...


1

You can redefine \href command in the custom config file to include that attribute. Create file hello.cfg: \Preamble{xhtml} \begin{document} \makeatletter \renewcommand{\href}[2]{\bgroup\let~\H@tilde% \Link[#1 target="_blank"]{}{}% {#2}\egroup\EndLink}% \makeatother \EndPreamble this definition is modified macro from tex4ht sources. \let~\H@tilde is ...


1

An easy way to keep the link while hiding the URL is to set your URL in the corresponding entry in the .bib file like this: note = {\href{http://www.something.com}{View online}} instead of this url = {http://www.something.com} But it won't create a link over the whole entry. EDIT: minimal example .tex file: \documentclass[a4paper,11pt,oneside]{book} ...



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