andras-simonyi / citeproc-el

A CSL 1.0.2 Citation Processor for Emacs.
GNU General Public License v3.0
85 stars 9 forks source link

container-title issues #91

Closed Quintus closed 2 years ago

Quintus commented 2 years ago

Dear Andras,

I am not entirely sure where the problem lies. I am currently coding on a CSL style for a commentary I am working on and I have problems with getting container-title values right. Take this org file:

#+TITLE: Test
#+AUTHOR: testauthor
#+LANGUAGE: de
#+cite_export: csl /tmp/mwe/mwe.csl
#+bibliography: mwe.bib

This is a test. [cite:@breidenbach2021indurecht note 22]

#+print_bibliography:

with this mwe.bib Biblatex file:

@InBook{breidenbach2021indurecht,
    langid = {ngerman},
    year = {2021},
    title = {Industrielle Rechtsdienstleistungen – Standardisierung von Recht auf hohem Niveau},
    author = {Stephan Breidenbach},
    chapter = {2.1},
    pages = {41-50},
    crossref = {breidenbach-glatz2021lt}
}

@Book{breidenbach-glatz2021lt,
    editor = {Stephan Breidenbach and Florian Glatz},
    title = {Rechtshandbuch Legal Tech},
    shorttitle = {Legal Tech-HdB},
    year = {2021},
    edition = {2},
    publisher = {C.H. Beck},
    location = {München},
    langid = {ngerman}
}

I now export this with the CSL style attached below. What I receive in footnote 1 is this:

1. Breidenbach/Glatz/Breidenbach Rn. 22.

The long bibliography entry looks is produced as follows:

Breidenbach, in: Breidenbach/Glatz (Hrsg.), 2. Aufl. 2021, Industrielle Rechtsdienstleistungen – Standardisierung von Recht auf hohem Niveau (zit: Breidenbach/Glatz/Breidenbach )

For one, it misses the information about the chapter value; for that I filed #90. The more important thing is that container-title appears to be empty. The footnote should have looked like this:

1. Breidenbach/Glatz/Breidenbach Legal Tech-HdB Kap 2.1 Rn. 22

The long entry should have been

Breidenbach, in: Breidenbach/Glatz (Hrsg.), Rechtshandbuch Legal Tech, 2. Aufl. 2021, Kap. 2.1: Industrielle Rechtsdienstleistungen – Standardisierung von Recht auf hohem Niveau (zit: Breidenbach/Glatz/Breidenbach Legal Tech-HdB Kap 2.1)

These are the relevant XML constructs. First, footnote:

    <macro name="handbook-fn">
        <names variable="editor" suffix="/">
            <name delimiter="/" name-as-sort-order="all" sort-separator=", " form="short"/>
        </names>
        <text macro="author-note" suffix=" "/>
        <!-- BUG in citeproc? container-title is empty -->
        <text variable="container-title" text-case="title" form="short"/>
        <choose>
            <if variable="chapter-number">
                <text term="chapter" form="short" prefix=" " suffix=" "/>
                <text variable="chapter-number"/>
            </if>
        </choose>
    </macro>
<!-- ... --->
                <else-if type="chapter">
                    <choose>
                        <!-- Festschrift/Gedächtnisschrift -->
                        <if variable="recipient">
                            <text macro="author-note" suffix=", in: "/>
                            <text variable="genre" suffix=" "/>
                            <names variable="recipient" suffix=", ">
                                <name form="short" delimiter="/" name-as-sort-order="all"/>
                            </names>
                            <text macro="firstpage-locator"/>
                        </if>
                        <else>
                            <!-- Handbuch o.ä. -->
                            <text macro="handbook-fn" suffix=" "/>
                            <label variable="locator" form="symbol" suffix=" "/>
                            <text variable="locator"/>
                        </else>
                    </choose>
                </else-if>

Then, long bibliography format:

                <else-if type="chapter">
                    <choose>
                        <!-- Festschrift/Gedächtnisschrift -->
                        <if variable="recipient">
                            <text macro="author-note" suffix=", in: "/>
                            <text variable="genre" suffix=" "/>
                            <text value="für" suffix=" "/>
                            <names variable="recipient" suffix=", ">
                                <name form="short" delimiter="/" name-as-sort-order="all"/>
                            </names>
                            <text macro="edition"/>
                        </if>
                        <else>
                            <!-- Handbuch o.ä. -->
                            <text macro="author-note" suffix=", in: "/>
                            <names variable="editor" suffix=", ">
                                <name delimiter="/" name-as-sort-order="all" sort-separator=", " form="short"/>
                                <label form="short" prefix=" (" suffix=")"/>
                            </names>
                            <!-- BUG in citeproc? container-title is empty -->
                            <text variable="container-title" text-case="title" form="long" suffix=", "/>
                            <text macro="edition" suffix=", "/>
                            <choose>
                                <if variable="chapter-number">
                                    <text term="chapter" form="short" suffix=" "/>
                                    <text variable="chapter-number" suffix=": "/>
                                </if>
                            </choose>
                            <text variable="title" form="long" suffix=" "/>
                            <text value="(zit:" suffix=" "/>
                            <text macro="handbook-fn"/>
                            <text value=")"/>
                        </else>
                    </choose>
                </else-if>

citeproc should fill in container-title from the cross-referenced entry’s title and shorttitle fields, should it not? Or is it me writing my .bib file incorrectly?

Please find my complete custom CSL file below. Note that this is not a finished CSL file, it’s just my current point of progress.

-quintus


<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="note" default-locale="de-DE">
    <info>
        <title>Zitierstil für den StichwortKommentar LegalTech</title>
        <title-short>SWK-LT</title-short>
        <id>http://mg.guelker.eu/styles/swk</id>
        <link href="http://mg.guelker.eu/styles/swk" rel="self"/>
        <link href="https://github.com/citation-style-language/styles/blob/e22b8a566bad9b4c7f52720f60dd875057a5d210/juristische-schulung.csl" rel="template"/>
        <author>
            <name>Reto Mantz</name>
            <name>Marvin Gülker</name>
        </author>
        <category citation-format="note"/>
        <category field="law"/>
        <summary>Der Zitierstil für den StichwortKommentar LegalTech.</summary>
        <updated>2022-01-04T10:32:02+01:00</updated>
        <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
    </info>
    <!-- set date to format 8.8.2014 -->
    <locale xmlns="http://purl.org/net/xbiblio/csl" xml:lang="de-DE">
        <date form="numeric">
            <date-part name="day" form="numeric" suffix="."/>
            <date-part name="month" form="numeric" suffix="."/>
            <date-part name="year"/>
        </date>
        <terms>
            <term name="accessed">zuletzt aufgerufen am</term>
            <!-- Locator adaptions for judicial writing.
                 Override whatever the language default is. The
                 'paragraph' locator is abused for articles, because
                 there is no article locator in CSL, only a section
                 locator. -->
            <term name="note" form="short">Rn.</term>
            <term name="paragraph" form="symbol"><single>Art.</single><multiple>Artt.</multiple></term>
            <term name="paragraph" form="short"><single>Art.</single><multiple>Artt.</multiple></term>
            <term name="book" form="short">Buch</term><!-- The default "B." is ambigious, it could also refer to a section number -->
        </terms>
    </locale>
    <macro name="author">
        <names variable="author" font-style="italic">
            <name delimiter="/ " name-as-sort-order="all" sort-separator=", " form="long"/>
            <label form="short" prefix=" (" suffix=")"/>
            <substitute>
                <names variable="editor"/>
            </substitute>
        </names>
    </macro>
    <macro name="author-note">
        <names variable="author" font-style="italic">
            <name form="short" delimiter="/" name-as-sort-order="all"/>
        </names>
    </macro>
    <macro name="author-commentary">
        <choose>
            <if variable="collection-editor">
                <names variable="collection-editor">
                    <name form="short" delimiter="/" name-as-sort-order="all"/>
                </names>
            </if>
            <else>
                <names variable="author editor">
                    <name form="short" delimiter="/" name-as-sort-order="all"/>
                </names>
            </else>
        </choose>
    </macro>
    <macro name="authority-or-author">
        <!-- Often, 'author' is used in place of 'authority'. Support both, giving priority to the more precise 'authority'. -->
        <choose>
            <if variable="authority">
                <text variable="authority"/>
            </if>
            <else>
                <names variable="author"/>
            </else>
        </choose>
    </macro>
    <macro name="locator-with-label">
        <group delimiter=" ">
            <label variable="locator" form="symbol"/>
            <text variable="locator"/>
        </group>
    </macro>
    <macro name="autor-editor-note">
        <names variable="author" font-style="italic">
            <name form="short" delimiter="/" sort-separator=""/>
            <substitute>
                <names variable="editor"/>
            </substitute>
        </names>
    </macro>
    <macro name="author-chapter">
        <names variable="container-author">
            <name delimiter="/ " name-as-sort-order="all" sort-separator=", " form="short"/>
            <label form="short" prefix=" (" suffix=")"/>
        </names>
    </macro>
    <macro name="journalname-year">
        <group delimiter=" ">
            <text variable="container-title" text-case="title" form="short"/>
            <date date-parts="year" form="text" variable="issued"/>
        </group>
    </macro>
    <macro name="firstpage-locator">
        <text variable="page-first"/>
        <text variable="locator" prefix=" (" suffix=")"/>
    </macro>
    <macro name="edition">
        <choose>
            <if match="any" is-numeric="edition">
                <group delimiter=" ">
                    <number vertical-align="baseline" suffix=" " variable="edition" form="ordinal"/>
                    <text term="edition" form="short" suffix="."/>
                    <date date-parts="year" form="text" variable="issued" prefix=" "/>
                </group>
            </if>
            <else-if variable="edition">
                <text variable="edition" form="short"/>
                <date date-parts="year" form="text" variable="issued" prefix=" "/>
            </else-if>
            <else>
                <date date-parts="year" form="text" variable="issued" prefix=" "/>
            </else>
        </choose>
    </macro>
    <macro name="handbook-fn">
        <names variable="editor" suffix="/">
            <name delimiter="/" name-as-sort-order="all" sort-separator=", " form="short"/>
        </names>
        <text macro="author-note" suffix=" "/>
        <!-- BUG in citeproc? container-title is empty -->
        <text variable="container-title" text-case="title" form="short"/>
        <choose>
            <if variable="chapter-number">
                <text term="chapter" form="short" prefix=" " suffix=" "/>
                <text variable="chapter-number"/>
            </if>
        </choose>
    </macro>
    <citation et-al-min="4" et-al-use-first="1">
        <layout delimiter="; " suffix=".">
            <choose>
                <!-- Journal article
                     Style: <authors italic> <journalname short> <journal-year>, <first-page> (<locator/cited page(s)>)
                -->
                <if type="article-journal">
                    <group delimiter=" ">
                        <text macro="author-note"/>
                        <text macro="journalname-year" suffix=","/>
                        <text macro="firstpage-locator"/>
                    </group>
                </if>
                <else-if type="article-newspaper">
                    <text macro="author-note" suffix=", "/>
                    <text variable="container-title" text-case="title"/>
                    <date form="numeric" variable="issued" prefix=" v. "/>
                    <text variable="URL" prefix=", "/>
                </else-if>
                <!-- Book
                     Style: <authors italic> <title short> <locator/cited page(s) with label>
                -->
                <else-if type="book">
                    <text macro="autor-editor-note"/>
                    <text variable="title" form="short" text-case="title" prefix=" "/>
                    <label variable="locator" form="symbol" prefix=" "/>
                    <text variable="locator" prefix=" "/>
                </else-if>
                <!-- Legal commentary or handbook should be of publication type "entry-encyclopedia"
                     - The term "Bearbeiter" (author of a certain chapter) in the following examples should be added by you and is not governed by this stylesheet

                     Style:
                     - if container-title (=Zotero.encyclopediaTitle) is NOT set: <editor non-italic>, <title short>, [<edition>. Aufl. ]<year>, <locator/cited page(s)>
                     -.- i.e. Bearbeiter, in: Taeger/Gabel, BDSG, 2. Aufl. 2013, ... (where you should add "Bearbeiter, in: " yourself)
                     - else <container-title>, [<edition>. Aufl. ]<year>, <locator/cited page(s)>
                     -.- i.e. Bearbeiter, in: BeckTKG, 4. Auflage 2013, ... (where you should add "Bearbeiter, in: " yourself)

                     if there is at least one series-editor (CSL.collection-editor) set: <collection-editor>, [<edition>. Aufl. ]<year>, <locator/cited page(s)> 
                     -.- i.e. Bearbeiter, in: Palandt, BGB, 73. Aufl. 2014, ... (where you should add "Bearbeiter, in: " yourself)
                -->
                <else-if type="entry-encyclopedia">
                    <choose>
                        <if variable="container-title">
                            <text variable="container-title" text-case="title" suffix=", "/>
                        </if>
                        <else>
                            <text macro="author-commentary" suffix=", "/>
                            <choose>
                                <if match="none" position="first">
                                    <group delimiter=" " prefix="(" suffix="), ">
                                        <text value="o. Fn."/>
                                        <text variable="first-reference-note-number"/>
                                    </group>
                                </if>
                                <else>
                                    <text variable="title" text-case="title" suffix=", " form="short"/>
                                </else>
                            </choose>
                        </else>
                    </choose>
                    <choose>
                        <if match="any" position="first">
                            <text macro="edition"/>
                        </if>
                    </choose>
                    <text variable="locator" prefix=", "/>
                </else-if>
                <!-- Chapter
                -->
                <else-if type="chapter">
                    <choose>
                        <!-- Festschrift/Gedächtnisschrift -->
                        <if variable="recipient">
                            <text macro="author-note" suffix=", in: "/>
                            <text variable="genre" suffix=" "/>
                            <names variable="recipient" suffix=", ">
                                <name form="short" delimiter="/" name-as-sort-order="all"/>
                            </names>
                            <text macro="firstpage-locator"/>
                        </if>
                        <else>
                            <!-- Handbuch o.ä. -->
                            <text macro="handbook-fn" suffix=" "/>
                            <label variable="locator" form="symbol" suffix=" "/>
                            <text variable="locator"/>
                        </else>
                    </choose>
                </else-if>
                <else-if type="paper-conference">
                    <text macro="author-note" suffix=", in: "/>
                    <names variable="editor" suffix=", ">
                        <name delimiter="/" name-as-sort-order="all" sort-separator=", " form="short"/>
                        <label form="short" prefix=" (" suffix=")"/>
                    </names>
                    <text variable="container-title" text-case="title" form="short" suffix=", "/>
                    <text term="page" form="short" suffix=" "/>
                    <text variable="page-first"/>
                    <choose>
                        <if variable="locator">
                            <text variable="locator" prefix=" (" suffix=")"/>
                        </if>
                    </choose>
                </else-if>
                <!-- Treat bill and legislation the same; citeproc.el
                     confusingly maps Biblatex's @legislation to CSL's "bill" -->
                <else-if type="legislation">
                    <text variable="number"/>
                    <text variable="locator" prefix=", "/>
                </else-if>
                <else-if type="bill">
                    <text variable="number"/>
                    <text variable="locator" prefix=", "/>
                </else-if>
                <else-if type="legal_case" match="any">
                    <text macro="authority-or-author" suffix=" "/>
                    <text variable="genre" suffix=" v. "/>
                    <date form="numeric" variable="event-date" suffix=" &#8211; "/>
                    <text variable="number" suffix=", "/>
                    <choose>
                        <!-- is the case published in a journal? -->
                        <if variable="container-title">
                            <choose>
                                <!-- Is it in the official journal? Those are cited by volume. -->
                                <if variable="volume">
                                    <text variable="container-title" text-case="title" form="short" suffix=" "/>
                                    <number variable="volume" form="numeric" suffix=", "/>
                                </if>
                                <else>
                                    <text macro="journalname-year" suffix=", "/>
                                </else>
                            </choose>
                            <text variable="page-first"/>
                        </if>
                    </choose>
                    <choose>
                        <if locator="page">
                            <text variable="locator" prefix=" (" suffix=")"/>
                        </if>
                        <else>
                            <label variable="locator" form="symbol" prefix=", " suffix=" "/>
                            <text variable="locator"/>
                        </else>
                    </choose>
                    <choose>
                        <if variable="title">
                            <text variable="title" text-case="title" form="short" prefix=" &#8211; "/>
                        </if>
                    </choose>
                </else-if>
                <else-if type="webpage">
                    <text macro="author-note"/>
                    <text variable="title" prefix=" "/>
                    <date date-parts="year" form="text" variable="issued" prefix=", "/>
                    <text macro="locator-with-label" prefix=", "/>
                </else-if>
                <else>
                    <text macro="author-note" suffix=" "/>
                    <text variable="title" text-case="title"/>
                    <date date-parts="year" form="text" variable="issued" prefix=", "/>
                    <text macro="locator-with-label" prefix=", "/>
                </else>
            </choose>
            <!-- Append any arbitary bibliographical notes, if any -->
            <choose>
                <if variable="note">
                    <text variable="note" prefix=" (" suffix=")"/>
                </if>
            </choose>
        </layout>
    </citation>
    <bibliography>
        <sort>
            <key macro="author"/>
            <key variable="issued"/>
        </sort>
        <layout>
            <choose>
                <if type="article-journal">
                    <group delimiter=", ">
                        <text macro="author-note"/>
                        <text variable="title" text-case="title"/>
                        <text macro="journalname-year"/>
                        <text macro="firstpage-locator"/>
                    </group>
                </if>
                <else-if type="book">
                    <text macro="autor-editor-note" suffix=", "/>
                    <text variable="title" form="long" text-case="title" suffix=", "/>
                    <choose>
                        <if variable="volume">
                            <text value="Band" suffix=" "/>
                            <text variable="volume" suffix=", "/>
                        </if>
                    </choose>
                    <text macro="edition"/>
                </else-if>
                <else-if type="article-newspaper">
                    <text macro="author-note" suffix=", "/>
                    <text variable="title" text-case="title" suffix=", "/>
                    <text variable="container-title" text-case="title"/>
                    <date form="numeric" variable="issued" prefix=" v. "/>
                    <text variable="URL" prefix=", "/>
                </else-if>
                <else-if type="entry-encyclopedia">
                    <choose>
                        <if variable="container-title">
                            <text variable="container-title" text-case="title" suffix=", "/>
                        </if>
                        <else>
                            <text macro="author-commentary" suffix=", "/>
                            <text variable="title" text-case="title" suffix=", " form="short"/>
                        </else>
                    </choose>
                    <text macro="edition"/>
                </else-if>
                <else-if type="chapter">
                    <choose>
                        <!-- Festschrift/Gedächtnisschrift -->
                        <if variable="recipient">
                            <text macro="author-note" suffix=", in: "/>
                            <text variable="genre" suffix=" "/>
                            <text value="für" suffix=" "/>
                            <names variable="recipient" suffix=", ">
                                <name form="short" delimiter="/" name-as-sort-order="all"/>
                            </names>
                            <text macro="edition"/>
                        </if>
                        <else>
                            <!-- Handbuch o.ä. -->
                            <text macro="author-note" suffix=", in: "/>
                            <names variable="editor" suffix=", ">
                                <name delimiter="/" name-as-sort-order="all" sort-separator=", " form="short"/>
                                <label form="short" prefix=" (" suffix=")"/>
                            </names>
                            <!-- BUG in citeproc? container-title is empty -->
                            <text variable="container-title" text-case="title" form="long" suffix=", "/>
                            <text macro="edition" suffix=", "/>
                            <choose>
                                <if variable="chapter-number">
                                    <text term="chapter" form="short" suffix=" "/>
                                    <text variable="chapter-number" suffix=": "/>
                                </if>
                            </choose>
                            <text variable="title" form="long" suffix=" "/>
                            <text value="(zit:" suffix=" "/>
                            <text macro="handbook-fn"/>
                            <text value=")"/>
                        </else>
                    </choose>
                </else-if>
                <else-if type="paper-conference">
                    <text macro="author-note" suffix=", in: "/>
                    <names variable="editor" suffix=", ">
                        <name delimiter="/" name-as-sort-order="all" sort-separator=", " form="short"/>
                        <label form="short" prefix=" (" suffix=")"/>
                    </names>
                    <text variable="container-title" text-case="title" form="long" suffix=", "/>
                    <text macro="edition" suffix=", "/>
                    <text term="page" form="short" suffix=" "/>
                    <text variable="page-first"/>
                </else-if>
                <else-if type="webpage">
                    <text macro="author-note"/>
                    <text variable="title" prefix=", "/>
                    <date date-parts="year-month-day" form="text" variable="issued" prefix=", "/>
                    <text variable="URL" prefix=", "/>
                </else-if>
            </choose>
            <!-- Append any arbitary bibliographical notes, if any -->
            <choose>
                <if variable="note">
                    <text variable="note" prefix=" (" suffix=")"/>
                </if>
            </choose>
        </layout>
    </bibliography>
</style>
andras-simonyi commented 2 years ago

Thanks for the report! Prima facie it looks like a bug in the parsebib library, which citeproc-el uses for parsing BibTeX and biblatex bibliographies (parsebib seems to parse everything according to BibTeX inheritance rules disregarding even expicit requests to use biblatex inheritance). I will either submit a bugreport or a PR concerning this shortly.

Quintus commented 2 years ago

parsebib seems to parse everything according to BibTeX inheritance rules disregarding even expicit requests to use biblatex inheritance

Oh, I did not even know there are differences. To be fair, I have not even ever thought about inheritence rules proper; I just assumed crossref does the right thing. Maybe my initial example is actually invalid Biblatex? I will have to read up how Biblatex actually implements inheritance and fix my DB accordingly if required.

Sorry for my bad research. I will follow up here once I have read up what the correct inheritance rules are for Biblatex and whether I am in error here or not.

denismaier commented 2 years ago

Oh, I did not even know there are differences.

Yes, there are differences. In fact, BibTeX inheritance rules make bibtex's crossref mechanism actually unusable for most tasks. (With BibTeX, a title field in the parent entry will end up in the title field of the child entry. With BibLaTeX, it will end up as `booktitle.)

andras-simonyi commented 2 years ago

I've submitted a parsebib PR (see https://github.com/joostkremers/parsebib/pull/17) to improve/fix biblatex inheritance.

andras-simonyi commented 2 years ago

The PRs were merged so I think this particular problem has been solved.

Quintus commented 2 years ago

Thanks! As soon as there’s a new release of parsebib out I’ll report if this problem has disappeared (I’m already running citeproc-el and org from Git, I’d rather not want to do the same with parsebib and then by extension Ebib). For the time being, I work around this issue by simply providing the affected entries directly as CSL-JSON directly.

andras-simonyi commented 2 years ago

I think the version with the changes is already available in MELPA.

joostkremers commented 2 years ago

I think the version with the changes is already available in MELPA.

It is, so updating your packages should do the trick.

Quintus commented 2 years ago

Hmmm. I updated my packages and now have parsebib 3.1 and Ebib 2.34. Revisiting the example in the OP, it does not appear to propagate the title entry in breidenbach-glatz2021lt to booktitle in breidenbach2021indurecht. At least, if I open a .bib file with exactly the content from the OP in Ebib, selecting breidenbach2021indurecht shows booktitle empty, while e.g. editor and publisher are inherited as expected. When exporting the org document, container-title in CSL appears to be empty still as well. I took a look at the Biblatex documentation, and in fact § 2.4.1 actually uses title -> booktitle propagation as an example. The larger table in section B also includes said propagation for book to inbook (p. 329, last row in the table).

andras-simonyi commented 2 years ago

It seems your are using the parsebib package from MELPA stable, which doesn't contain the changes yet. The version with the updates is in MELPA (with version number 20220116.2336).

Quintus commented 2 years ago

I changed from melpa-stable to melpa now. Ebib is now at version 20220121.2236 and parsebib at 20220116.2336, but the result remains the same: booktitle is empty in Ebib and exporting shows that container-title also is.

andras-simonyi commented 2 years ago

Strange, using the latest parsebib in MELPA and citeproc-el with your CSL style I get the seemingly correct

This is a test.[1]

/Breidenbach/, in: Breidenbach/Glatz (Hrsg.), Rechtshandbuch Legal Tech,
2. Aufl. 2021, Kap. 2.1: Industrielle Rechtsdienstleistungen –
Standardisierung von Recht auf hohem Niveau (zit:
Breidenbach/Glatz/​/Breidenbach/ Rechtshandbuch Legal Tech Kap. 2.1)

Fußnoten
────────

[1] Breidenbach/Glatz/​/Breidenbach/ Rechtshandbuch Legal Tech Kap. 2.1
Rn. 22.

(With ebib I'm not sure how it's supposed to treat cross-references by default.)

Quintus commented 2 years ago

facepalm You are right. I looked at the wrong HTML file. It now is correct.

(With ebib I'm not sure how it's supposed to treat cross-references by default.)

It does, as it properly shows e.g. editor and publisher as inherited from breidenbach-glatz2021lt. The inheritance seems broken for booktitle, though, but that doesn’t belong here.

joostkremers commented 2 years ago

facepalm You are right. I looked at the wrong HTML file. It now is correct.

(With ebib I'm not sure how it's supposed to treat cross-references by default.)

It does, as it properly shows e.g. editor and publisher as inherited from breidenbach-glatz2021lt. The inheritance seems broken for booktitle, though, but that doesn’t belong here.

Ebib doesn't use parsebib to resolve cross-references, so the fix that was applied to parsebib needs to be applied separately to Ebib. I'll try to do that ASAP.

Quintus commented 2 years ago

Thanks!