summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-04 14:45:50 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-04 14:45:50 (GMT)
commitf3e0d5b9dabaf9fa2e05469cd42836477de08de4 (patch)
tree1c547e046fc3838a729a955004f9bfaae6d725f4 /templates
parent5d66d2ea14a173edb3d6b7ffaabd0196392fcb0f (diff)
downloadDoxygen-f3e0d5b9dabaf9fa2e05469cd42836477de08de4.zip
Doxygen-f3e0d5b9dabaf9fa2e05469cd42836477de08de4.tar.gz
Doxygen-f3e0d5b9dabaf9fa2e05469cd42836477de08de4.tar.bz2
issue #6733 invalid cite anchor id when using crossref
The crossreference possibility was not properly taken into account in bibtex conversion for other formats than LaTeX. - doxygen.bst: use correct labels (i.e. add 'CITEREF_' in case of crossreferences to the giver name) - cite.cpp: add the crossreferences to the citation dictionary (to overcome warning message). - extending test 012
Diffstat (limited to 'templates')
-rw-r--r--templates/html/doxygen.bst12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/html/doxygen.bst b/templates/html/doxygen.bst
index c6ae7a8..3bdb4f4 100644
--- a/templates/html/doxygen.bst
+++ b/templates/html/doxygen.bst
@@ -549,7 +549,7 @@ FUNCTION {format.tr.number}
FUNCTION {format.article.crossref}
{
- "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ "In <a href=" quote$ * "#" * "CITEREF_" * crossref * quote$ * ">" *
key empty$
{ journal empty$
{ "need key or journal for " cite$ * " to crossref " * crossref *
@@ -561,7 +561,7 @@ FUNCTION {format.article.crossref}
}
{ key * }
if$
- "</a> \citelabel{" * crossref * "}" *
+ "</a> \citelabel{" * "CITEREF_" * crossref * "}" *
}
FUNCTION {format.crossref.editor}
@@ -590,7 +590,7 @@ FUNCTION {format.book.crossref}
" of " *
}
if$
- "<a href=" * quote$ * "#" * crossref * quote$ * ">" *
+ "<a href=" * "CITEREF_" * quote$ * "#" * crossref * quote$ * ">" *
editor empty$
editor field.or.null author field.or.null =
or
@@ -608,12 +608,12 @@ FUNCTION {format.book.crossref}
}
{ format.crossref.editor * }
if$
- "</a> \citelabel{" * crossref * "}" *
+ "</a> \citelabel{" * "CITEREF_" * crossref * "}" *
}
FUNCTION {format.incoll.inproc.crossref}
{
- "In <a href=" quote$ * "#" * crossref * quote$ * ">" *
+ "In <a href=" quote$ * "#" * "CITEREF_" * crossref * quote$ * ">" *
editor empty$
editor field.or.null author field.or.null =
or
@@ -631,7 +631,7 @@ FUNCTION {format.incoll.inproc.crossref}
}
{ format.crossref.editor * }
if$
- "</a> \citelabel{" * crossref * "}" *
+ "</a> \citelabel{" * "CITEREF_" * crossref * "}" *
}
FUNCTION {article}