Changes, starting with version 1.0.
===================================

Version 1.1:
============
-- udcf2latex.pl records GF values only if their maximum is >= $GFmin.
   $GFmin defaults to 50%.
-- ostc2udcf.pl & udcf2latex.pl: introduced new variable $mbarpermeter
   (depths might be increased by +1cm due to rounding errors).
-- ostc2udcf.pl & udcf2latex.pl: "stampFILE" changed, the OSTC serial number
   is appended to the filename (in case you have more than one OSTC ;-).
   This means that ostc2udcf.pl will dump all dives again when switching
   from version 1.0 to 1.1 except if you rename first your "stampFILE" from
   ".lastdive" to ".lastdive<your_serial_number>".
-- ostc2udcf.pl & udcf2latex.pl: added "FirstDive=" and "LastDive=" to
   the "stampFILE" so that the command \DiveNr{} is filled automatically
   for the 1rst dive.
-- logbook.dtx: Xtic (1, 5 or 10 min) and Ytic (1, 2, 5 or 10 m).

Version 1.2:
============
-- ostc2udcf.pl, ostc_dump.pl & ostc_cf.pl: $firmware is wrong with 2.0,
   split into $firmware1, $firmware2.
-- ostc_dump.pl: script patched for spurious return code sometimes received
   as first byte.
-- udcf2latex.pl: bug correction in GFprofile.

Version 1.3:
============
-- ostc_dump.pl, ostc_cf.pl: moved "$i+=1" into "eval{}" and increased
   $timeout from 2 to 3 sec.
-- ostc2udcf.pl: extract some more information from the .DMP file and
   correct $avgdepth.

Version 1.4:
============
-- ostc_cf.pl changed: read BANK0 and BANK1 to a string (no autoflush).
-- ostc2udcf.pl: gaz and SP switches are now handled by subroutine
   "sample_extended_info" (cleaner).
-- udcf2latex.pl: \MaxDepth changed. 'BO' tags added to \SPswitches
   (oxygen consumption now takes care of time spent on bailout).
   First setpoint switch now occurs at t=0 instead of t=1 in the .tex file.
   Added subroutine "strip_braces()" to delete braces around \dlAIR
   and \dlOXY in \Gas<n>{<gasname>}{}, needed for \pathcolor.
-- logbook.dtx: oxygen consumption in CCR mode corrected.
   Dive profile changed: the color changes when gas or setpoint changes,
   gas/setpoints names printed in the lower right corner of the graph.

Version 1.4b:
============
-- logbook.dtx: option [smooth] removed when drawing profile (it makes the
   PDF files *much* smaller).
-- jdl2udcf.pl:
   * added two lines to pick up deco information from the .jlb file
   in a format suitable for udcf2latex.pl.
   * added one line to pick up SPSWITCH information in CCR mode.
-- udcf2latex.pl: now SP switches coming from .jlb files are processed.

Version 1.4c:
============
-- udcf2latex.pl: Flag \ifCCRmode now set automatically
   Bug correction in \GASswitches and \SPswitches ($indexd -> $indexd-1).
-- logbook.dtx: Flag \ifCCRmode set automatically in \PrintData.
-- jdl2latex.pl and ostc2latex.pl scripts rewritten for the Win32 OS (no pipe).
-- ostc2udcf.pl and udcf2latex.pl: force definition of $ENV{HOME} on Win32.

Version 1.5:
============
-- ostc_dump.pl and ostc_cf.pl made more robust.
-- ostc_cf.pl now reads Bank III if firmware >= 2.50.
-- logbook.dtx:
   * sanity checks added (in case some CS are emty).
   * command \UserTag added to allow personnal tags on the profile graph.
-- udcf2latex.pl: added a line showing the \UserTag syntax.

Version 1.6:
============
-- ostc_dump.pl and ostc_cf.pl now require a extra CPAN module. They should
   now work also on Windows and Mac (testers welcome!).
-- ostc2udcf.pl, udcf2latex.pl, logbook.dtx changed to decode the decostops
   list added in firmware 2.52.
-- udcf2latex.pl didn't detect switches to GAS6 (bug corrected).

Version 2.0 (June 2013)
=======================
Adaptation to OSTC firmware 2.70:
-- several diluents can be used in CCR-mode, this leads to a redesign of the
   profile graph: each gas or diluent is represented by it's color, each
   setpoint is represented by it's line style (solid, dashed, etc.) and
   bailout is represented by a special style (dotted by default).
-- logbook.cls can process older .tex files (i.e made by ostc2udcf.pl and
   udcf2latex.pl prior to 2.0), representation of setpoint's changes or
   switches to bailout are done by color changes (same as before).
-- handling of bailout events has changed (in fact switches to bailout where
   not logged into the OSTC.DMP before firmaware 2.70).
-- ostc2udcf.pl writes new tags to .tex files: \MainDiluentNR{}, events logged
   differently in the .tex files (see "BO=" or "SP= tags in command
   \GasSwitches{}).
-- ostc2udcf.pl: \TimeStart{} corrected to match what is dispalayed on OSTC's
   screen.

Version 2.1 (November 2013)
===========================
-- bug correction in ostc2udcf.pl: fill the @mixname completely, not just for
   active gases.
-- ostc2udcf.pl: print the saved hexa string in $STAMPfile to console and
   save $STAMPfile before overwriting it in case something goes wrong.
-- udcf2latex.pl: strip last values of @alarm and @ceiling arrays as done
   for @dprofile. This is usefull only for dives ending badly (HW test dive).

Version 2.2 (May 2014)
======================
-- udcf2latex.pl: compute and print OTUs for both CC and OC modes.
-- logbook.dtx: print OTUs (next to CNS).

Version 2.2b (Sept/Oct 2014)
============================
-- udcf2latex.pl: some code added for the Suunto Vyper

Version 3.0 (May 2015)
======================
-- The "Subsurface" software (http://subsurface-divelog.org) is used to read
   the diving computer data: "Subsurface" runs on many systems (Linux,
   Windows, MacOS) and can read data from most existing dive computers.

-- New script sub2latex.pl (version 1.0).
   deviceid in hex, alias possible in the menu.

Version 3.1 (Nov 2015)
======================
-- Adaptation to Subsurface v 4.5 : add GPS site coordinates if available,
   sub2latex.pl v. 1.1, logbook.dtx v3.1.

Version 3.2a (Jan 2016)
======================
-- sub2latex.pl: compute ascending speed using depth increments.
   The new command \Ascent{} prints (in the .tex file only) the list of
   (negative) ascending offending the $ASClim value (default = 11 m/min).
   These alarms are added to the \Alarm{} command and are flagged on the
   dive profile graph. The highest ascent speed is printed.

Version 3.2b (Mai 2016)
======================
-- sub2latex.pl: bug correction (West/East longitude inverted).

Version 3.2d (Nov 2016)
======================
-- sub2latex.pl: deal with empty profiles, computing of ceiling reworked,
   general clean up of Perl code.

Version 3.3b (Aug 2019)
======================
-- New environment "nodive" in logbook.dtx to print a page of comments,
   possibly with a title (see \Title{} command).
-- Corrections to salinity.
-- Printing manually entered diving profiles is now possible.
