From f7019f563a57826e2cb734439d8b07288af2a77d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Fri, 30 Sep 2016 14:16:59 +0200 Subject: [PATCH] Fixed using make-link-element --- scribblings/sub.scrbl | 12 +++++++++--- scribblings/test-tag-prefix.scrbl | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/scribblings/sub.scrbl b/scribblings/sub.scrbl index b67c050..8dbcda4 100644 --- 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") \ No newline at end of file +@(elemref '(prefixable "foo") "foo-ref-in-part") + +@(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 index ab88152..3cf8070 100644 --- 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}