bugGNU Octave - Bugs: bug #55945, Misleading print command in manual...

 
 

bug #55945: Misleading print command in manual section 15.2.9 for -dpdflatexstandalone

Submitted by:  None
Submitted on:  Mon 18 Mar 2019 11:12:07 AM UTC  
 
Category:  Documentation Severity:  2 - Minor
Priority:  3 - Low Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Karsten Trulsen Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  5.1.0
Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 20 Mar 2019 03:15:06 PM UTC, comment #2: 

I dropped the filename extension and fixed a small problem in the example code.  I checked the changes in here (https://hg.savannah.gnu.org/hgweb/octave/rev/86f439ba2d47).

Marking bug as fixed and closing report.

Rik <rik5>
Project Administrator
Mon 18 Mar 2019 03:56:47 PM UTC, comment #1: 

Because the printing device is specified with the "-d" option, the first argument is just a filename and the extension is not used to infer the device.

I think it might be clearer to leave off the extensions altogether, and just write

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

which will produce two files

plot15_7-inc.pdf
plot15_7.tex

Rik <rik5>
Project Administrator
Mon 18 Mar 2019 11:12:07 AM UTC, original submission:  

In the manual section 15.2.9
https://octave.org/doc/v5.1.0/Printing-and-Saving-Plots.html
it currently says:

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

It should have said:

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-20 rik5 StatusConfirmed => Fixed
        Open/ClosedOpen => Closed
    2019-03-18 rik5 Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Confirmed
        SummaryWrong print command in manual section 15.2.9 for -dpdflatexstandalone => Misleading print command in manual section 15.2.9 for -dpdflatexstandalone

    Back to the top


    Powered by Savane 3.5