Apply templates on URL content
Refine dangling xref warnings
Utility routines for substrings near last occurence of a string
Sage doctesting options as attributes
Totally reorganize doctest creation to respect HTML chunking
Update doctest input line continuation syntax
Invisible Sage blocks, update Sage code in LaTeX