| 1 |
#!/usr/bin/env bash |
| 2 |
# ========================================================================== |
| 3 |
# ____ _ _ _____ __ ______ |
| 4 |
# | __ )(_) |_|_ _|__\ \/ / ___|___ _ ____ __ |
| 5 |
# | _ \| | '_ \| |/ _ \ / | / _ \| '_ \ \ / / |
| 6 |
# | |_) | | |_) | | __// \ |__| (_) | | | \ V / |
| 7 |
# |____/|_|_.__/|_|\___/_/\_\____\___/|_| |_|\_/ |
| 8 |
# |
| 9 |
# --- BibTeX Converter --- |
| 10 |
# https://www.nntb.no/~dreibh/bibtexconv/ |
| 11 |
# ========================================================================== |
| 12 |
# |
| 13 |
# BibTeXConv |
| 14 |
# Copyright (C) 2014-2026 by Thomas Dreibholz |
| 15 |
# |
| 16 |
# This program is free software: you can redistribute it and/or modify |
| 17 |
# it under the terms of the GNU General Public License as published by |
| 18 |
# the Free Software Foundation, either version 3 of the License, or |
| 19 |
# (at your option) any later version. |
| 20 |
|
| 21 |
# This program is distributed in the hope that it will be useful, |
| 22 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 23 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 24 |
# GNU General Public License for more details. |
| 25 |
# |
| 26 |
# You should have received a copy of the GNU General Public License |
| 27 |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 28 |
# |
| 29 |
# Contact: [email protected] |
| 30 |
|
| 31 |
# Bash options: |
| 32 |
set -eu |
| 33 |
|
| 34 |
cd /usr/share/doc/bibtexconv/examples |
| 35 |
bibtexconv /usr/share/doc/bibtexconv/examples/ExampleReferences.bib \ |
| 36 |
<web-example1.export \ |
| 37 |
>/tmp/ExampleReferences.html |
| 38 |
tidy -q -o /dev/null /tmp/ExampleReferences.html |
| 39 |
|
| 40 |
echo "Test passed!" |