[Top][All Lists]

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

Re: Error in print latex standalone

From: Mike Miller
Subject: Re: Error in print latex standalone
Date: Thu, 13 Sep 2018 14:08:43 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Thu, Sep 13, 2018 at 09:04:20 -0500, Pantxo wrote:
> Joao Rodrigues wrote
> > An example from the manual 
> > (
> > print (hf, "plot15_7.pdf", "-dpdflatexstandalone");
> This code works for me and I can compile the generated tex file from octave
> using 
> system "pdflatex plot15_7.tex"

Should we change this example in the user manual to make it clear that
the output file will have a .tex file extension rather than a .pdf
extension? When I read through the example script, it looks like Octave
prints directly to a file 'plot15_7.pdf', and a user might not
understand that the following 'pdflatex' command has to be run to build
the final pdf. This would be clearer IMHO:

    print (hf, "plot15_7.tex", "-dpdflatexstandalone");
    system ("pdflatex plot15_7.tex");
    open plot15_7.pdf

What do you think?


Attachment: signature.asc
Description: PGP signature

reply via email to

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