Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated PDF is missing page #251

Closed
michaelrsweet opened this issue Aug 17, 2011 · 5 comments
Closed

Generated PDF is missing page #251

michaelrsweet opened this issue Aug 17, 2011 · 5 comments
Labels
bug Something isn't working
Milestone

Comments

@michaelrsweet
Copy link
Owner

michaelrsweet commented Aug 17, 2011

Version: 1.8.27
Original reporter:

When running the following command the first input file specified is not included in the output PDF.

htmldoc --footer ... --format pdf --left 0.75in --outfile output.pdf --right 0.75in --webpage input_file1.html input_file2.html input_file3.html input_file4.html

(input files and output PDF file attached)

The PDF has 4 book marks created (one for each file), however there are only 3 pages in the PDF. From experimentation it appears that that it is always the first file that is dropped.

htmldoc --version
1.8.27

Tested on two separate MacBook Pro
sw_vers
ProductName: Mac OS X
ProductVersion: 10.6.8
BuildVersion: 10K549

The problem is also occurring on a server running
Gentoo Base System release 1.12.11.1

@michaelrsweet
Copy link
Owner Author

michaelrsweet commented Aug 17, 2011

Original reporter:

After additional testing it appears that the
<!-- PAGE BREAK -->

Appears to be causing the issue. Removing this comment seems to solve the issue.
Is this expected?

@michaelrsweet
Copy link
Owner Author

Original reporter: Michael Sweet

No, this is not expected.

@michaelrsweet
Copy link
Owner Author

Original reporter: Michael Sweet

Holding for a later 1.8.x release or 1.9.0...

@michaelrsweet michaelrsweet added the bug Something isn't working label Mar 3, 2017
@michaelrsweet michaelrsweet added this to the Stable milestone Mar 3, 2017
@michaelrsweet
Copy link
Owner Author

michaelrsweet added a commit that referenced this issue Mar 18, 2017
…the first page (Issue #251)

Also fix the producer and procset version strings.
@michaelrsweet
Copy link
Owner Author

[master d1e62f0] PAGE BREAK comments at the end of a file in web page mode would lose the first page (Issue #251)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant