Two more test files below.
Note that an author field of book and mvbook needs to be inherited to both author and bookauthor of the child, and that a child should inherit fields from its *immediate* ancestor (in the example, the inbook entry should inherit "year: 1975" from its parent, not "year: 1970 [to] year: 1980" from its grandparent).
$ cat crossref-inbook-mvbook.biblatex
@comment{
crossref, directly from inbook to mvbook
}
@inbook{inbook-1,
Crossref = {mvbook-1},
Title = {Macbeth [title field of inbook-1]},
Date = {1975},
Volume = {3},
Chapter = {7},
Pages = {100-200},
}
@mvbook{mvbook-1,
Author = {Shakespeare},
Date = {1970/1980},
Title = {Collected Works [title field of mvbook-1]},
Location = {Location},
Publisher = {Publisher},
Volumes = {4},
}
---
references:
- type: chapter
id: inbook-1
title: Macbeth [title field of inbook-1]
container-title: Collected works [title field of mvbook-1]
author:
family: Shakespeare
container-author:
family: Shakespeare
issued:
year: 1975
volume: 3
chapter-number: 7
page: 100-200
number-of-volumes: 4
publisher: Publisher
publisher-place: Location
- type: book
id: mvbook-1
title: Collected works [title field of mvbook-1]
author:
family: Shakespeare
issued:
- year: 1970
- year: 1980
number-of-volumes: 4
publisher: Publisher
publisher-place: Location
...
$ cat crossref-nested.biblatex
@comment{
Nested crossreferences (see biber manual v 1.7)
}
@bookinbook{bookinbook-1,
Crossref = {book-1},
Title = {Macbeth [title field of bookinbook-1]},
Chapter = {7},
Pages = {100-200},
}
@inbook{inbook-1,
Crossref = {book-1},
Title = {Macbeth [title field of inbook-1]},
Chapter = {7},
Pages = {100-200},
}
@book{book-1,
Crossref = {mvbook-1},
Date = {1975},
Title = {Tragedies [title field of book-1]},
Volume = {3}
}
@mvbook{mvbook-1,
Author = {Shakespeare},
Date = {1970/1980},
Title = {Collected Works [title field of mvbook-1]},
Location = {Location},
Publisher = {Publisher},
Volumes = {4}
}
---
references:
- chapter-number: 7
page: 100-200
title: Macbeth [title field of bookinbook-1]
volume-title: Tragedies [title field of book-1]
container-title: Collected works [title field of mvbook-1]
volume: 3
id: bookinbook-1
issued:
- year: 1975
author:
family: Shakespeare
container-author:
family: Shakespeare
number-of-volumes: 4
publisher: Publisher
type: book
publisher-place: Location
- title: Macbeth [title field of inbook-1]
volume-title: Tragedies [title field of book-1]
container-title: Collected works [title field of mvbook-1]
author:
family: Shakespeare
container-author:
family: Shakespeare
volume: 3
chapter-number: 7
page: 100-200
id: inbook-1
issued:
- year: 1975
number-of-volumes: 4
publisher: Publisher
type: chapter
publisher-place: Location
- title: Tragedies [title field of book-1]
container-title: Collected works [title field of mvbook-1]
author:
family: Shakespeare
container-author:
family: Shakespeare
volume: 3
id: book-1
issued:
year: 1975
number-of-volumes: 4
publisher: Publisher
type: book
publisher-place: Location
- title: Collected works [title field of mvbook-1]
author:
family: Shakespeare
id: mvbook-1
issued:
- year: 1970
- year: 1980
number-of-volumes: 4
publisher: Publisher
type: book
publisher-place: Location
...
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/797dd21b-5a51-48aa-900e-12eb5cd59d79%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.