|
From: Daniel J S. <dan...@ie...> - 2014-10-25 06:04:38
|
On 10/24/2014 06:20 PM, Philipp K. Janert wrote: > > [snip] > >> >> One thing to be careful of is the fact that saving to PDF (which is >> certainly welcome in my opinion because the first word of PDF means >> "portable") in the Qt terminal isn't using the PDF terminal. There >> are no colors in the PDF output via Qt, whereas the PDF terminal >> creates a PDF output with colors. Do we want as setup in which the >> interactive terminals use the PDF terminal, or a setup in which the >> interactive terminals use their own custom PDF output? > > I thought one could use the native APIs of the > rendering library to handle the transformation > to the desired graphics format (in the spirit > of pngcairo and pdfcairo - both rendered, similarly, > using the same lib). I think Qt can do that, too. If it is easy. The alternative would--after getting the file name from the dialog box--simply do something like: set term push set term pdf set output 'file_name_from_gui_term_dialog_box' replot set term pop (A "set output push" might be useful, too.) Dan |