summaryrefslogtreecommitdiff
path: root/paper/lua-filters/multiple-bibliographies/README.md
blob: 0111ee6dfaf5665128e273868ca92df1dff4c03e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# multiple-bibliographies

This filter allows to create multiple bibliographies using
`pandoc-citeproc`. The content of each bibliography is controlled
via YAML values and the file in which a bibliographic entry is
specified.

## Usage

Instead of using the usual *bibliography* metadata field, all
bibliographies must be defined via a separate field of the scheme
*bibliographyX*, e.g.

    ---
    bibliography_main: main-bibliography.bib
    bibliography_software: software.bib
    ---

The placement of bibliographies is controlled via special divs.

    # References
    
    ::: {#refs_main}
    :::
    
    # Software
    
    ::: {#refs_software}
    :::

Each refsX div should have a matching bibliographyX entry in the
header. These divs are filled with citations from the respective
bib-file.