mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
DocBook: use the same normalisation for biblio IDs and their references.
This commit is contained in:
parent
da6e999fc6
commit
df0ea858ed
@ -417,6 +417,9 @@ export/export/latex/textcyr-textgreek-test_docbook5
|
||||
export/examples/.*/Graphics_and_Insets/XY-Figure_docbook5
|
||||
# - Formula in <code> tags.
|
||||
export/examples/.*/Graphics_and_Insets/XY-Pic_docbook5
|
||||
export/examples/.*/Graphics_and_Insets/XY-Figure_docbook5
|
||||
# - Formula in <code> tags.
|
||||
export/examples/.*/Graphics_and_Insets/XY-Pic_docbook5
|
||||
# - Math macros not implemented.
|
||||
export/mathmacros/testcases_speed_docbook5
|
||||
export/mathmacros/testcases_environments_docbook5
|
||||
@ -445,5 +448,5 @@ export/templates/Posters/.*_docbook5
|
||||
Sublabel: docbook beamer
|
||||
# Beamer is not yet implemented.
|
||||
export/examples/Presentations/.*_docbook5
|
||||
export/templates/Presentations/.*_docbook5
|
||||
export/templates/.*/Presentations/Beamer_docbook5
|
||||
export/templates/Presentations/.*_docbook5
|
||||
|
@ -376,7 +376,8 @@ void makeBibliography(
|
||||
if (!ip)
|
||||
continue;
|
||||
if (const auto * bibitem = dynamic_cast<const InsetBibitem*>(ip)) {
|
||||
attr = from_utf8("xml:id='") + bibitem->getParam("key") + from_utf8("'");
|
||||
auto id = xml::cleanID(bibitem->getParam("key"));
|
||||
attr = from_utf8("xml:id='") + id + from_utf8("'");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user