Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider xdata in preview #10865

Open
jspitz opened this issue Feb 8, 2024 · 2 comments
Open

consider xdata in preview #10865

jspitz opened this issue Feb 8, 2024 · 2 comments

Comments

@jspitz
Copy link

jspitz commented Feb 8, 2024

This is a spin-off of #7378.

Consider the following entries:

@XData{CAT,
  publisher = {Addison-Wesley},
  address   = {Reading, MA},
  series    = {Computers and Typesetting},
}

@Book{Knuth,
  title     = {The {\TeX} Book},
  year      = {1984},
  author    = {Knuth, Donald E.},
  xdata     = {CAT},
  number    = {1}
}

The @xdata content is inherited by any entry that links to it (and comma-separated multiple @xdata entries can be employed as well). This is very useful for recurring multi-field entities such as location/publisher/series.

It would be cool if the preview (both customized entry preview and CSL styles) would take this into account, as they do for crossref fields and @string. Note that for @xdata, all fields are taken as is, so no mapping (title->booktitle etc.) is done.

@jspitz
Copy link
Author

jspitz commented Feb 8, 2024

Note also that sub-inheritance is possible. Xdata can itself inherit xdata (to infinite degree), so you could have different series xdata entries all linking to a publisher xdata entry, and of course a cross-ref'ed entry could inherit xdata as well.

@Siedlerchr
Copy link
Member

Siedlerchr commented Feb 8, 2024

Thanks for the suggestion. This also refs the old issue #1044
The field is desribe in http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf at section 3.14.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Normal priority
Development

No branches or pull requests

2 participants