[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44463] Print command for "pdflatexstandalone"
From: |
Fernando Pujaico Rivera |
Subject: |
[Octave-bug-tracker] [bug #44463] Print command for "pdflatexstandalone" device produces output that doesn't compile |
Date: |
Tue, 28 Jul 2015 03:36:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:38.0) Gecko/20100101 Firefox/38.0 |
Follow-up Comment #8, bug #44463 (project octave):
I fix the problem add this modification at end of __opengl_print__.m file
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
while_no_exist(opts.name,10);
if (! isempty (strfind (opts.devopt, "standalone")))
opts.latex_standalone (opts);
endif
endfunction
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% white time in seconds or existence of filename
function h=while_no_exist(FILENAME,TIME)
timeinit=100*cputime;
timecurrent=100*cputime;
do
pause(1);
timecurrent=100*cputime;
fd=fopen(FILENAME,'r+');
if(fd>=0)
tmp=fscanf(fd,'%c',inf);
estatus=fclose(fd);
if((length(tmp)>12)&&(estatus==0))
LECTURAOK=1;
else
LECTURAOK=0;
end
else
LECTURAOK=0;
end
until ( ( (timecurrent-timeinit)>TIME )||(LECTURAOK==1) )
end
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44463>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #44463] Print command for "pdflatexstandalone" device produces output that doesn't compile,
Fernando Pujaico Rivera <=