diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-01-22 20:23:11 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-01-26 07:10:29 -0800 |
commit | 08b679eacb5018871adc526e7f1d3607cf4b63f7 (patch) | |
tree | 98ea6d2182eb1efd64d12b6b83ac70fee735dfa6 | |
parent | 676e17a57f3d832a15ba387f969c969dcd816120 (diff) | |
download | subsurface-08b679eacb5018871adc526e7f1d3607cf4b63f7.tar.gz |
Rememove centrigade/celsius confusion in TeX export
Signed-off-by: Robert C. Helling <helling@atdotde.de>
-rw-r--r-- | desktop-widgets/divelogexportdialog.cpp | 2 | ||||
-rw-r--r-- | subsurfacetemplate.tex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp index 0ffffb9f7..15dd7d99f 100644 --- a/desktop-widgets/divelogexportdialog.cpp +++ b/desktop-widgets/divelogexportdialog.cpp @@ -276,7 +276,7 @@ void DiveLogExportDialog::export_TeX(const char *filename, const bool selected_o put_format(&buf, "\\def\\%sdepthunit{\\%sunit%s}", ssrf, ssrf, units->length == units::METERS ? "meter" : "ft"); put_format(&buf, "\\def\\%sweightunit{\\%sunit%s}",ssrf, ssrf, units->weight == units::KG ? "kg" : "lb"); put_format(&buf, "\\def\\%spressureunit{\\%sunit%s}", ssrf, ssrf, units->pressure == units::BAR ? "bar" : "psi"); - put_format(&buf, "\\def\\%stemperatureunit{\\%sunit%s}", ssrf, ssrf, units->temperature == units::CELSIUS ? "celsius" : "fahrenheit"); + put_format(&buf, "\\def\\%stemperatureunit{\\%sunit%s}", ssrf, ssrf, units->temperature == units::CELSIUS ? "centigrade" : "fahrenheit"); put_format(&buf, "\\def\\%svolumeunit{\\%sunit%s}", ssrf, ssrf, units->volume == units::LITER ? "liter" : "cuft"); put_format(&buf, "\\def\\%sverticalspeedunit{\\%sunit%s}", ssrf, ssrf, units->length == units::METERS ? "meterpermin" : "ftpermin"); diff --git a/subsurfacetemplate.tex b/subsurfacetemplate.tex index 09de1f6db..1d120d3d6 100644 --- a/subsurfacetemplate.tex +++ b/subsurfacetemplate.tex @@ -17,7 +17,7 @@ \def\unitlb{lb} \def\unitbar{bar} \def\unitpsi{psi} -\def\unitcentigrate{${}^\circ$C} +\def\unitcentigrade{${}^\circ$C} \def\unitfahrenheit{${}^\circ$F} \def\unitliter{$\ell$} \def\unitcuft{cuft} |