help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in print latex standalone


From: Joao Rodrigues
Subject: Re: Error in print latex standalone
Date: Thu, 13 Sep 2018 22:55:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0



On 13-09-18 21:06, Dmitri A. Sergatskov wrote:


On Thu, Sep 13, 2018 at 8:51 AM Joao Rodrigues <address@hidden> wrote:

print (hf, "plot15_7.pdf", "-dpdflatexstandalone");

yields:

error: print.m: error opening file 'plot15_7.tex'
error: called from
    print>latex_standalone at line 686 column 5
    __opengl_print__ at line 176 column 5
    print at line 434 column 14

The version is GNU Octave, version 4.0.0 and the operating system is Ubuntu 16.04.5 LTS.

Any suggestion is appreciated.


It looks to me it is a file write permission problem.

Make sure you have write permission to the working directory, and if this directory has
the plot15_7.tex file already you have write permission to it as well.

Dmitri.
--

I want to thank Dmitri and Pantxo for their suggestions. I do have write permission for the directory and the 'toto' script did work on the original machine.

I tried running the manual example and the 'toto' simplified version in a computer with Ubuntu 18.04 and Octave 4.4 (or 4.2, perhaps) and both scripts worked fine.

I then ran them in yet another machine with Ubuntu 16.04 and Octave 4.0 and that worked fine but there it was pdflatex that yielded an error...

I will just upgrade all machines to the latest version of Octave and pdflatex.

Joao

reply via email to

[Prev in Thread] Current Thread [Next in Thread]