[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: graphics_toolkit qt
From: |
Ben Abbott |
Subject: |
Re: graphics_toolkit qt |
Date: |
Sat, 16 Jul 2016 22:37:24 -0400 |
> On Jul 16, 2016, at 5:56 PM, Ben Abbott <address@hidden> wrote:
>
> On Jul 15, 2016, at 04:45, Clinton Winant <address@hidden> wrote:
>
>> BTW the .tex file produced by
>>
>> print("qt_greek.tex","-depslatexstandalone");
>> does not compile with current version of latex. The file requires the
>> preamble
>>
>> \documentclass{article}
>> \usepackage{graphicx,xcolor}
>> \begin{document}
>> and the closing statement
>> \end{document}
>
> That's a bug. Can you file a bug report?
>
> https://savannah.gnu.org/bugs/?group=octave
>
> Ben
opps! Maybe not a bug. I tried a simple example using the developer’s sources
(default branch).
graphics_toolkit qt
plot (rand (3))
text (0.5, 0.5, "\lambda is a greek letter", "horizontalalignment", "center")
print ("qt_greek.tex", "-depslatexstandalone”);
The tex output is below.
\documentclass{minimal}
\usepackage{epsfig,color}
\usepackage[papersize={576.00bp,432.00bp},text={576.00bp,432.00bp}]{geometry}
\begin{document}
\centering
% Title: gl2ps_renderer figure
% Creator: GL2PS 1.3.9, (C) 1999-2015 C. Geuzaine
% For: Octave
% CreationDate: Sat Jul 16 22:28:37 2016
\setlength{\unitlength}{1pt}
\begin{picture}(0,0)
\includegraphics{qt_greek-inc}
\end{picture}%
\begin{picture}(576,433)(0,0)
\fontsize{12}{0}
\selectfont\put(74.88,43.5189){\makebox(0,0)[t]{\textcolor[rgb]{0,0,0}{{1}}}}
\fontsize{12}{0}
\selectfont\put(186.48,43.5189){\makebox(0,0)[t]{\textcolor[rgb]{0,0,0}{{1.5}}}}
\fontsize{12}{0}
\selectfont\put(298.08,43.5189){\makebox(0,0)[t]{\textcolor[rgb]{0,0,0}{{2}}}}
\fontsize{12}{0}
\selectfont\put(409.68,43.5189){\makebox(0,0)[t]{\textcolor[rgb]{0,0,0}{{2.5}}}}
\fontsize{12}{0}
\selectfont\put(521.28,43.5189){\makebox(0,0)[t]{\textcolor[rgb]{0,0,0}{{3}}}}
\fontsize{12}{0}
\selectfont\put(69.8755,48.52){\makebox(0,0)[r]{\textcolor[rgb]{0,0,0}{{0}}}}
\fontsize{12}{0}
\selectfont\put(69.8755,118.936){\makebox(0,0)[r]{\textcolor[rgb]{0,0,0}{{0.2}}}}
\fontsize{12}{0}
\selectfont\put(69.8755,189.352){\makebox(0,0)[r]{\textcolor[rgb]{0,0,0}{{0.4}}}}
\fontsize{12}{0}
\selectfont\put(69.8755,259.768){\makebox(0,0)[r]{\textcolor[rgb]{0,0,0}{{0.6}}}}
\fontsize{12}{0}
\selectfont\put(69.8755,330.184){\makebox(0,0)[r]{\textcolor[rgb]{0,0,0}{{0.8}}}}
\fontsize{12}{0}
\selectfont\put(69.8755,400.6){\makebox(0,0)[r]{\textcolor[rgb]{0,0,0}{{1}}}}
\end{picture}
\end{document}
Ben