[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special|backslash (\) characters are not interpreted when printing t
From: |
Ben Abbott |
Subject: |
Re: Special|backslash (\) characters are not interpreted when printing to PDF |
Date: |
Thu, 24 Apr 2014 08:50:36 -0400 |
On Apr 24, 2014, at 2:57 AM, tomdylan <address@hidden> wrote:
> I want to save results from my computations:
>
> figure(iH)
> subplot(3,2,iv);
> plot((1-press(:,nstep)/gamma/dh),x(1:2:nnode)/H,
> 'k-','linewidth', 2); hold on;
> % further plot commands
> grid on; %box on;
> xlabel('dp/({\gamma}dh) [-]','fontsize',11, 'fontangle',
> 'italic');
> ylabel('depth/H [-]','fontsize',11, 'fontangle',
> 'italic');
> title(['dh/H=',num2str(dh/H),'; v/k=',num2str(v_k),'; B=0
> - 1'],...
> 'fontsize',12, 'fontangle', 'italic');% ,'position', [0.5
> .95])
> % sizefig(1146,888);% DIN A4 bei 72 dpi
> xlim([0 1]) % set limits
> ylim([ 0 1]) % set limits
>
> as a PDF for insertion into a report.
>
> However the backslash codes are not converted into the corresponding fonts
> (greek letters, subscripts etc.):
>
> sufx2.pdf <http://octave.1599824.n4.nabble.com/file/n4663738/sufx2.pdf>
>
> It looks like octave needed some links to some PDF-fonts in order to
> correctly interpret the backslash codes. I am sure that octave permits a
> quit high level printing.
>
> Any hints on how to make octave print PDF correctly warmla appreciated!
Your PDF looks to be produced using the gnuplot graphics_toolkit, correct?
Please also tell us which version of Octave you are running.
If so, then either (1) the "interpreter" isn't set to "TeX", or (2) Gnuplot
isn't working correctly. Try ...
set (findall (gcf (), "-property", "interpreter"), "interpreter", "TeX")
... and then try creating the PDF.
Ben
- Special|backslash (\) characters are not interpreted when printing to PDF, tomdylan, 2014/04/24
- Re: Special|backslash (\) characters are not interpreted when printing to PDF,
Ben Abbott <=
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, tomdylan, 2014/04/26
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, Benjamin Abbott, 2014/04/26
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, tomdylan, 2014/04/27
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, tomdylan, 2014/04/27
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, Ben Abbott, 2014/04/27
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, tomdylan, 2014/04/28
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, Ben Abbott, 2014/04/28
- Re: Special|backslash (\) characters are not interpreted when printing to PDF, tomdylan, 2014/04/29