![]() |
Multiple extractions | ![]() |
TeXmacs allows users to create multiple bibliographies, tables of contents, indexes, etc. inside the same document. Let us explain how to do this for bibliographies; the procedure is similar for other types of automatically generated content.
First of all, every separate bibliography is identified by a “name”. The default name of the bibliography is bib. Using Insert\(\rightarrow\)Link\(\rightarrow\)Alternate\(\rightarrow\)Bibliography, it is possible to specify a different bibliography (than the default one) for a certain region of text.
For instance, to specify that a given citation should appear in a second bibliography with name bib2, you should proceed as follows:
Click on Insert\(\rightarrow\)Link\(\rightarrow\)Alternate\(\rightarrow\)Bibliography and enter bib2 on the prompt. This will insert an empty with-bib tag into your document, with the cursor inside.
Inside this with-bib tag, enter your citation, using Insert\(\rightarrow\)Link\(\rightarrow\)Citation\(\rightarrow\)Visible (or another kind of citation).
If needed, the with-bib tag can be made to span over a large portion of text. All citations inside this span will be be put into the bibliography with name bib2.
The bibliography bib2 itself should be created in a similar way: first click on Insert\(\rightarrow\)Link\(\rightarrow\)Alternate\(\rightarrow\)Bibliography and enter bib2 on the prompt. Next insert the bibliography as usual, via Insert\(\rightarrow\)Automatic\(\rightarrow\)Bibliography. Now do Document\(\rightarrow\)Update\(\rightarrow\)All as many times as need in order to generate the bibliography and get all links right.