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

 
 

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

Submitter:  None
Submitted:  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 Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-f8d8.
    Corresponding source code