[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41216] epslatexstandalone not working for flt
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend |
Date: |
Tue, 14 Jan 2014 13:19:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #3, bug #41216 (project octave):
Take a look at the file private/__fltk_print__.m at the bottom near line 170.
There is the following:
for n = 1:numel (pipeline)
if (opts.debug)
fprintf ("fltk-pipeline: '%s'\n", pipeline{n});
endif
drawnow (gl2ps_device{n}, strcat ('|',pipeline{n}));
endfor
if (! isempty (strfind (opts.devopt, "standalone")))
opts.latex_standalone (opts);
endif
The intermittent failure seems to point to a race condition. The drawnow call
actually uses gl2ps to create the output and then pipes it through a command
that might include ghostscript or epstool.
To confirm that it is a race condition you might want to add a 'sleep (1)'
call just before opts.latex_standalone (opts). If that works repeatedly then
we can sort out a better solution.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41216>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Marco Caliari, 2014/01/13
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Rik, 2014/01/13
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Marco Caliari, 2014/01/14
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend,
Rik <=
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Marco Caliari, 2014/01/14
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Rik, 2014/01/14
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Marco Caliari, 2014/01/15
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Rik, 2014/01/15
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend, Marco Caliari, 2014/01/16
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend with 'visible' = 'off', Rik, 2014/01/16
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend with 'visible' = 'off', Rik, 2014/01/16
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend with 'visible' = 'off', Marco Caliari, 2014/01/17
- [Octave-bug-tracker] [bug #41216] epslatexstandalone not working for fltk backend with 'visible' = 'off', Rik, 2014/01/17