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

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

[Octave-bug-tracker] [bug #46517] Missing $ inserted for pdflatexstandal


From: Ben Abbott
Subject: [Octave-bug-tracker] [bug #46517] Missing $ inserted for pdflatexstandalone
Date: Thu, 17 Dec 2015 23:15:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9

Follow-up Comment #4, bug #46517 (project octave):

@Ederag,

The patch doesn't include pdflatex, Is that intentional?


diff -r c4cbc41fb208 -r e270423953ee
scripts/plot/util/private/__gnuplot_draw_axes__.m
--- a/scripts/plot/util/private/__gnuplot_draw_axes__.m Sun Nov 22 15:51:12
2015 +0100
+++ b/scripts/plot/util/private/__gnuplot_draw_axes__.m Tue Nov 24 20:04:08
2015 +0100
@@ -2163,7 +2163,7 @@
   endif
   if (strcmp (scale, "log"))
     num_mtics = 10;
-    if (any (strcmp (gnuplot_term, {"tikz", "pstex", "pslatex",
"epslatex"})))
+    if (strcmp (gnuplot_term, "tikz") || strfind(gnuplot_term, "tex"))
       fmt = "$10^{%T}$";
     else
       fmt = "10^{%T}";


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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