Debian Codegraph @

src/run-examples

raw
1 #!/bin/sh -e
2 #
3 # Copyright (C) 2010-2026 by Thomas Dreibholz
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #
18 # Contact: [email protected]
19
20 DOWNLOAD="${HOME}/tmp/BibTeXConv"
21 mkdir -p "$DOWNLOAD"
22
23
24 bibtexconv ExampleReferences.bib --export-to-bibtex=UpdatedReferences.bib --check-urls --only-check-new-urls --non-interactive
25
26 bibtexconv ExampleReferences.bib <web-example1.export >MyPublications1.html
27
28 bibtexconv ExampleReferences.bib --mapping=author-url:authors.list:Name:URL <web-example2.export >MyPublications2.html
29
30 bibtexconv ExampleReferences.bib <text-example.export >MyPublications.txt
31
32 bibtexconv ExampleReferences.bib <yaml-example.export >MyPublications.yaml
33
34 bibtexconv ExampleReferences.bib --mapping=author-url:authors.list:Name:URL <md-example.export >MyPublications.md
35
36 bibtexconv ExampleReferences.bib --export-to-separate-xmls="$DOWNLOAD/reference." --non-interactive
37
38 bibtexconv ExampleReferences.bib --export-to-separate-bibtexs="$DOWNLOAD/" --non-interactive
39
40 bibtexconv ExampleReferences.bib --export-to-bibtex=UpdatedReferences.bib --check-urls --store-downloads="$DOWNLOAD" --non-interactive
41
42 bibtexconv-odt ODT-Template.odt MyPublications.odt ExampleReferences.bib odt-example.export
43
44 soffice --convert-to docx MyPublications.odt