Coder Social home page Coder Social logo

Comments (14)

plk avatar plk commented on August 18, 2024 1

I will implement for CROSSREF too and update here.

from biblatex.

larsgw avatar larsgw commented on August 18, 2024

I was just about to open the same issue! My use case is ORCIDs of authors being transferred to bookauthor.

from biblatex.

plk avatar plk commented on August 18, 2024

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.

from biblatex.

moewew avatar moewew commented on August 18, 2024

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

from biblatex.

vjeffcott avatar vjeffcott commented on August 18, 2024

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.

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.

  1. For each parent entry, provide a parallel XDATA entry to redundantly specify the data annotations. For each child entry, inherit from both using both inheritance mechanisms.
  2. For each parent entry, create a parent 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.
  3. Modify the data model so that fields that would be remapped by CROSSREF instead remain constant; e.g., replace title in the @book type with booktitle. Do option 1 or 2 with less redundancy.
  4. Modify the data model to turn every data annotation name I want to use into its own field and define an appropriate inheritance setup. This is what I was doing before my current project.
  5. Simply specify data annotations redundantly in both parent and child entries. This is probably what I'll actually do.
  6. Alternatively, it could be possible to implement the desired inheritance behavior using sourcemaps, but there's no mention of data annotations in the relevant section of the manual, so I assume that's not supported.

from biblatex.

plk avatar plk commented on August 18, 2024

Please try biber 2.20 from the development folder on SourceForge.

from biblatex.

vjeffcott avatar vjeffcott commented on August 18, 2024

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.

biber-test-1.zip

biblatex-test3.blg.txt

from biblatex.

vjeffcott avatar vjeffcott commented on August 18, 2024

...and here's the bbl file that biber generates when I run it manually: 
biblatex-test3.bbl.txt

from biblatex.

plk avatar plk commented on August 18, 2024

Are you running from perl source or a DEV binary? If the latter, which platform?

from biblatex.

vjeffcott avatar vjeffcott commented on August 18, 2024

from biblatex.

plk avatar plk commented on August 18, 2024

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.

from biblatex.

vjeffcott avatar vjeffcott commented on August 18, 2024

I decided to try installing biber from the perl source since you mentioned it, and it works. Thank you!

from biblatex.

plk avatar plk commented on August 18, 2024

Build and binary should be fixed now for linux x64 - I uploaded a fixed binary for DEV 2.20.

from biblatex.

moewew avatar moewew commented on August 18, 2024

The MWE works fine with biblatex v3.20 and Biber 2.20 that were released a couple of days ago.

from biblatex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.