Is there a way to find out where in the source a hyperlink with no defined target is located? The log tells me the names, but all at the end and some are not easy to find.
@UlrikeFischer For various reasons, I think. Some because of mistakes in the preamble and some because of mistakes in the document. Some are just typos, but tracking them down isn't easy. I did have more than 500. Now I have 73. The ones which have automated names are especially tricky.
--
pdfTeX warning (dest): name{HD.1035} has been referenced but does not exist, re
placed by a fixed one
I have 33 of those and, aside from one referencing a footnote, I don't know how to figure out where the reference is.
@UlrikeFischer Thanks. I got rid of the HD ones by accident. I'm down to 9 unresolved now, which isn't terrible. There's always a couple I can't find. I guess I'm not as good at tracking them down as with standard cross-references.
How do I add css code with % in it using \Css? When I add \Css{object.toc float:left; width: 100%} the resulting .css file contains object.toc { float: top; width: 100} which doesn't work. But escaping the % with a backslash doesn't seem to work either.
@cfr I figured it out. (I'm using tex4ht to build html from tex.) The % do need to be escaped, but the problem was that VSCode doesn't know how to syntax colour a mixture of CSS and TeX code and so it screwed up the automatic bracing...