octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #33204] .tex file generated with print('-depsl


From: Simon Waid
Subject: [Octave-bug-tracker] [bug #33204] .tex file generated with print('-depslatex') lacks $ for tex fomulas
Date: Wed, 22 Jun 2011 09:37:34 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16

Follow-up Comment #1, bug #33204 (project octave):

I fixed this issue by myself. Would anyone please include this upstream? 

in the file __go_draw_axes__ function do_tics_1

the following lines:

if (strcmp (scale, "log"))
    fmt = "10^{%T}";
    num_mtics = 10;
else

should read:


if (strcmp (scale, "log"))
    fmt = "$10^{%T}$";
    num_mtics = 10;
else


The difference is only two $.

Thank you!

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33204>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]