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: Tatsuro MATSUOKA
Subject: Re: Error in print latex standalone
Date: Fri, 14 Sep 2018 09:35:59 +0900 (JST)

----- Original Message -----
>From: Joao Rodrigues <address@hidden>
>To: address@hidden 
>Date: 2018/9/14, Fri 05:55
>Subject: Re: Error in print latex standalone
> 
>
>
>
>
>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

For Ubuntu 16.04 (for almost all linux distro), easiest way to install the 
latest octave is to use flatpak.

Instruction is here.

http://ubuntuhandbook.org/index.php/2018/07/install-latest-gnu-octave-4-4-ubuntu-18-04/
 


The above is for 18.04. But for 16.04, as written the above, you can install 
flatpak using ppa.
https://launchpad.net/~alexlarsson/+archive/ubuntu/flatpak


HTH

Tatsuro



reply via email to

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