utilities: fixed name2tex regexprep for octave

time-shift
Houtan Bastani 2013-11-25 06:37:15 +01:00
parent 27181a26d5
commit dd1a9aaee6
1 changed files with 5 additions and 1 deletions

View File

@ -31,7 +31,11 @@ if info
end
end
tex = regexprep(name, '_', '\\_');
if isoctave
tex = regexprep(name, '_', '\_');
else
tex = regexprep(name, '_', '\\_');
end
if info
for i=1:nn