Package: matlab2tikz
Version: 1.1.0-5
Severity: important

Dear Maintainer,

The README.Debian says:

  If you are using Octave, matlab2tikz() is already available in the
  path. See README.md for more details on usage.

However calling matlab2tikz in Octave fails with the following error:

  octave:1> figure
  octave:2> matlab2tikz test.tex
  error: 'getEnvironment' undefined near line 6730 column 23
  error: called from
      matlab2tikz>checkDeprecatedEnvironment at line 6730 column 21
          matlab2tikz at line 144 column 5

Here Octave finds /usr/share/octave/site/m/matlab2tikz.m which is a
symlink to /usr/share/matlab2tikz/matlab2tikz.m . Note that it works
when the call doesn't go through the symlink:

  octave:1> addpath /usr/share/matlab2tikz
  warning: function /usr/share/matlab2tikz/matlab2tikz.m shadows a core
  library function
  octave:2> figure
  octave:3> matlab2tikz test.tex


-- System Information:
Debian Release: 9.6
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.74-07776-gac52e5f750c8 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages matlab2tikz depends on:
ii  octave  4.4.1-2~bpo9+1

Versions of packages matlab2tikz recommends:
ii  texlive-latex-extra  2016.20170123-5
ii  texlive-pictures     2016.20170123-5

matlab2tikz suggests no packages.

-- no debconf information

Reply via email to