Fixed using make-link-element

This commit is contained in:
Georges Dupéron 2016-09-30 14:16:59 +02:00
parent 17a9ad4174
commit f7019f563a
2 changed files with 10 additions and 4 deletions

View File

@ -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")
@(elemref '(prefixable "bar") "bar-ref-in-part")

View File

@ -1,3 +1,3 @@
#lang scribble/manual
@title{test-tag-prefix}
@include-section{sub.scrbl}
@include-section{sub.scrbl}