Closed vjeffcott closed 8 months ago
I was just about to open the same issue! My use case is ORCIDs of authors being transferred to bookauthor
.
This is implemented already in biber 2.20 DEV but for XDATA
rather then CROSSREF
. You might want to look at that method since it's more extensible than the older CROSSREF
mechanism.
It's true that XDATA
is more versatile than crossref
, but crossref
is an extremely useful (and commonly used) feature, so it would be great if field annotations could be inherited here as well.
Just for bookkeeping: https://tex.stackexchange.com/q/712131/35864
This is implemented already in biber 2.20 DEV but for
XDATA
rather thenCROSSREF
. You might want to look at that method since it's more extensible than the olderCROSSREF
mechanism.
I do use XDATA
for most cases of inheritance, and the new feature is very useful. But there remain some cases where CROSSREF
is preferable to XDATA
, such as the core use case of @in-
type entries and their parents.
I can think of a few potential workarounds.
XDATA
entry to redundantly specify the data annotations. For each child entry, inherit from both using both inheritance mechanisms.XDATA
entry with title
and booktitle
fields and corresponding annotations redundantly specified. For child entries, inherit from the XDATA
entry and use xref
for cross-reference tracking. This might require providing vacuous annotations in the child entries to override a title
annotation intended for the parent.CROSSREF
instead remain constant; e.g., replace title
in the @book
type with booktitle
. Do option 1 or 2 with less redundancy.I will implement for CROSSREF
too and update here.
Please try biber
2.20 from the development folder on SourceForge.
It doesn't seem to work. I've installed the development versions of biblatex
and biber
from sourceforge to my texmf
. The example code from above now returns an empty bibliography and prompts to rerun biber
, which doesn't seem to help. I've attached an archive with all the output from trying to build the file, as well as the .blg
file that results from running biber
alone.
...and here's the bbl
file that biber generates when I run it manually:
biblatex-test3.bbl.txt
Are you running from perl source or a DEV binary? If the latter, which platform?
DEV binary, on x86_64-linux.
I thought so. I just updated the build server for that platform and I think I have some issues. Will check and get back to you.
I decided to try installing biber
from the perl source since you mentioned it, and it works. Thank you!
Build and binary should be fixed now for linux x64 - I uploaded a fixed binary for DEV 2.20.
The MWE works fine with biblatex
v3.20 and Biber 2.20 that were released a couple of days ago.
I would like to be able to inherit data annotations by the
crossref
mechanism. This would be useful for cases in which, e.g., acollection
and relatedincollection
have titles in different languages.An MWE (not related to my use case) is given below:
...where the desired behavior is to print 'Publisher Annotation' in both entries.