publications-exporting.tex /size: 1031 b    last modification: 2020-07-01 14:35
1\environment publications-style
2
3\startcomponent publications-exporting
4
5\startchapter[title=Exporting datasets]
6
7A dataset can be much more complete than necessary. Furthermore, it may be
8desirable to isolate bibliography data by chapter, for example, or by any other
9structural element such as part. To achieve this, it is possible to export the
10entries of a dataset following certain criteria.
11
12\cindex{savebtxdataset}
13
14Take as an example, the bibliography of the present manual that was entered in
15the source as buffers for convenience. The entries can be saved to a legitimate
16\BIBTEX\ format file using:
17
18\startTEX
19\savebtxdataset
20  [default]
21  [mkvi-publications.bib]
22  [alternative=bib,
23   criterium=all]
24\stopTEX
25
26This can also be used to convert older bibliography source files (for example,
27kept in the \tindex {.bbl}\MKII\ format) into the \tindex {.bib}\type {bib},
28\tindex {.lua}\type {lua} or even \tindex {.xml}\type {xml} format that could be
29more convenient for future manipulation.
30
31\stopchapter
32
33\stopcomponent
34