]> Shamusworld >> Repos - ardour-manual/commitdiff
Added anchors pages and links addresses to the PDF
authorEd Ward <edwsaintesprit@hotmail.com>
Fri, 2 Aug 2019 10:01:53 +0000 (12:01 +0200)
committerEd Ward <edwsaintesprit@hotmail.com>
Fri, 2 Aug 2019 10:01:53 +0000 (12:01 +0200)
source/css/pdf.css

index 2327f46b10c7e8fd1460f66d1bd6c3323aa119ee..927b38656b5aa6a8a8952ac3eff114f8fed5d3dd 100644 (file)
@@ -174,6 +174,9 @@ a {
 }
 
 /* add page number to cross references */
-a.xref::after {
-  content: " (page " target-counter(attr(href, url), page) ")";
+a[href^="#"]::after {
+  content: " (p. " target-counter(attr(href, url), page) ")";
+}
+a[href^="http"]::after {
+       content: " (" attr(href) ")";
 }