mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
DocBook: new-line behaviour in bibliographies.
This commit is contained in:
parent
ff2e4ec7e6
commit
8f3d0fd88f
@ -34,12 +34,15 @@ Working with Text
|
||||
<bibliography>
|
||||
<title>References</title>
|
||||
<biblioentry xml:id="Bringhurst2005">
|
||||
<title>The Elements of Typographic Style</title><edition>3.1</edition><bibliomisc role="type">book</bibliomisc>
|
||||
<title>The Elements of Typographic Style</title>
|
||||
<edition>3.1</edition>
|
||||
<bibliomisc role="type">book</bibliomisc>
|
||||
<publisher>
|
||||
<publishername>Hartley & Marks</publishername>
|
||||
</publisher>
|
||||
<pubdate>2005</pubdate>
|
||||
<authorgroup><author>
|
||||
<authorgroup>
|
||||
<author>
|
||||
<personname>
|
||||
<firstname>Robert</firstname>
|
||||
<surname>Bringhurst</surname>
|
||||
|
@ -1700,6 +1700,8 @@ docstring authorsToDocBookAuthorGroup(docstring const & authorsString, XMLStream
|
||||
|
||||
// Output the list of authors.
|
||||
xs << xml::StartTag("authorgroup");
|
||||
xs << xml::CR();
|
||||
|
||||
auto it = authors.cbegin();
|
||||
auto en = authors.cend();
|
||||
for (size_t i = 0; it != en; ++it, ++i) {
|
||||
|
@ -1200,6 +1200,7 @@ void InsetBibtex::docbook(XMLStream & xs, OutputParams const &) const
|
||||
xs << xml::StartTag(toDocBookTag[match[1]]);
|
||||
xs << from_utf8(match[2].str());
|
||||
xs << xml::EndTag(toDocBookTag[match[1]]);
|
||||
xs << xml::CR();
|
||||
}
|
||||
} else {
|
||||
LYXERR0("The BibTeX field " << match[1].str() << " is unknown.");
|
||||
|
Loading…
Reference in New Issue
Block a user