commit f7019f563a57826e2cb734439d8b07288af2a77d parent 17a9ad417418c27b7fcd97f4e9e0c5c326cfa632 Author: Georges Dupéron <georges.duperon@gmail.com> Date: Fri, 30 Sep 2016 14:16:59 +0200 Fixed using make-link-element Diffstat:
| M | scribblings/sub.scrbl | | | 14 | ++++++++++---- |
| M | scribblings/test-tag-prefix.scrbl | | | 3 | +-- |
2 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/scribblings/sub.scrbl b/scribblings/sub.scrbl @@ -7,10 +7,16 @@ @(make-toc-element #f (list (elemtag '(prefixable "foo") "foo-tag")) + (list (elemref '(prefixable "foo") "foo-ref-in-toc"))) + +@(make-toc-element #f + (list (elemtag '(prefixable "bar") "bar-tag")) (list (make-link-element #f - (decode-content (list "foo-ref-in-toc")) + (decode-content (list "bar-ref-in-toc")) `(elem (prefixable "(lib test-tag-prefix/scribblings/test-tag-prefix.scrbl)" "(lib test-tag-prefix/scribblings/sub.scrbl)" - "foo"))))) + "bar"))))) + +@(elemref '(prefixable "foo") "foo-ref-in-part") -@(elemref '(prefixable "foo") "foo-ref-in-part") -\ No newline at end of file +@(elemref '(prefixable "bar") "bar-ref-in-part") +\ No newline at end of file diff --git a/scribblings/test-tag-prefix.scrbl b/scribblings/test-tag-prefix.scrbl @@ -1,3 +1,3 @@ #lang scribble/manual @title{test-tag-prefix} -@include-section{sub.scrbl} -\ No newline at end of file +@include-section{sub.scrbl}