bugGNU Octave - Bugs: bug #55916, pdfTeX warnings in build: found...

 
 

bug #55916: pdfTeX warnings in build: found PDF version <1.7>, but at most version <1.5> allowed

Submitted by:  Andrew Janke <apjanke>
Submitted on:  Thu 14 Mar 2019 09:37:10 AM UTC  
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

( Jump to the original submission)

Tue 19 Mar 2019 10:03:06 PM UTC, comment #8:

A quick fix is to set

GS_OPTIONS="-dCompatibilityLevel=1.4"

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 19 Mar 2019 09:48:50 PM UTC, comment #7:

I am pretty sure it is ghostscript that writes "1.7" ext level into file, though as far as I know it does not use any features past 1.5 (or may be even 1.4). I guess we can sneak in
"-dCompatibilityLevel=1.4" if that helps.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 19 Mar 2019 09:20:42 PM UTC, comment #6:

@Andrew: What version of gl2ps are you using? That might be relevant.

Also, if you just create a file using Octave, what is the PDF level?

I think running make with "V=1" and saving the output would be a good step as Mike suggested so that we can see what actual tools are being run.

Rik <rik5>
Project Administrator
Thu 14 Mar 2019 07:36:31 PM UTC, comment #5:

I have ghostscript 9.26. I've also now tried building the pdf doc images with gl2ps and with gnuplot (forced with 'env DISPLAY= make all').

With gl2ps 1.4.0:

With gnuplot 5.2.6:

You can do a verbose build with 'make all V=1' and see if /usr/bin/texi show up in the build log.

The error or warning messages that this bug is about, about inclusion of these PDF images, can only occur in the texi2pdf build command for producing octave.pdf. If you're not getting octave.pdf, then that's probably related to this bug.

Octave crashing in bug #55268 is about creating these plot image files. Once the plot images exist, Octave isn't run anymore.

You could try copying the images from the 5.1.0 official release tarball into your build tree, and see if texi2pdf builds octave.pdf successfully.

Mike Miller <mtmiller>
Project Administrator
Thu 14 Mar 2019 06:57:23 PM UTC, comment #4:

> This is odd. It seems like there is a possible mismatch between the TexInfo tools on your computer and the PDF files generated by gl2ps and ghostscript.


I've got recent TeXLive (MacTeX 2018), Texinfo (6.6), and Ghostscript (9.23) installed on my machine. I think those are the most recent versions of each.

But that Ghostscript-generated PDF file is indeed PDF 1.5 for me, unlike your 1.7 version.

The Mac situation is a little weird: macOS ships with an ancient (4.8) version of Texinfo. So I have an additional Homebrewed installation of the new 6.6 Texinfo in /usr/local/opt. I have my $PATH set up to pull in the new Texinfo (confirmed by `which` in output above). I wonder if maybe some tool here is ignoring the path and calling /usr/bin/texi* tools directly?

Andrew Janke <apjanke>
Thu 14 Mar 2019 06:50:09 PM UTC, comment #3:

> look at doc/interpreter/octave.pdf


I don't even have an octave.pdf file there. I think this is due to bug #55268 (octave crashes during doc generation stage of build on macOS).

Andrew Janke <apjanke>
Thu 14 Mar 2019 06:03:22 PM UTC, comment #2:

I also don't see these warnings, I have pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian).

@apjanke If you want to see whether the result looks good despite the warnings, look at doc/interpreter/octave.pdf. The simplest plot image is in section 15.2.1, Figure 15.1: Simple Two-Dimensional Plot, which is page 296 in my octave.pdf. If you don't see the image, or just see an empty axes, then something's not right.

Mike Miller <mtmiller>
Project Administrator
Thu 14 Mar 2019 03:24:44 PM UTC, comment #1:

This is odd. It seems like there is a possible mismatch between the TexInfo tools on your computer and the PDF files generated by gl2ps and ghostscript.

Taking the first example form your logfile: splinefit6.pdf.

This is created by Octave itself by the code in doc/interpreter/splineimages.m. If I run pdfinf on the file on my Linux machine I get:

So, it is true that the PDF version is 1.7.

The inclusion into the output is in poly.txi

The .txi is munged to form a .texi file (Texinfo format) and later made a pdf file with pdfetex. Versions on my computer are

Maybe your texlive installation is too old?

Rik <rik5>
Project Administrator
Thu 14 Mar 2019 09:37:10 AM UTC, original submission:

When building default, I'm getting lots of warnings about a too-new version of an included PDF.

Example:

Full build logs: https://gist.github.com/0abf93cef8ac9caf7ca80f7db6008e1

I can't tell where these PDFs are ending up in the final generated documentation, so I can't tell if something is actually going wrong. I examined the doc/interpreter/*.pdf files in the build directory, and most of them look like plots that are missing the actual plot graphics (only axes labels are visible), but I don't know if that's expected.

Andrew Janke <apjanke>

 

(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 dasergatskov (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by apjanke (Submitted the item)
  •  

    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.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.4