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

First page header (--header1) does not work (header is blank) #515

Closed
ArtikusHG opened this issue Nov 24, 2023 · 4 comments
Closed

First page header (--header1) does not work (header is blank) #515

ArtikusHG opened this issue Nov 24, 2023 · 4 comments
Assignees
Labels
bug Something isn't working priority-low
Milestone

Comments

@ArtikusHG
Copy link

The --header1 option does not work - the only thing it does is add empty space on top of the page. --header works fine, but --header has no effect besides adding empty space. I am able to reproduce this both in the command line and the GUI.

@michaelrsweet michaelrsweet self-assigned this Nov 24, 2023
@michaelrsweet michaelrsweet added the investigating Investigating the issue label Nov 24, 2023
@michaelrsweet
Copy link
Owner

What other options are you using?

@ArtikusHG
Copy link
Author

htmldoc --webpage --charset utf-8 --left 0.50in --left 0.50in --top 0in pdfs/tmp.html --letterhead doc_header.png --footer ... --header .L. -f pdfs/tmp.pdf

When I change header to header1 the header does not show up.

@michaelrsweet
Copy link
Owner

michaelrsweet commented Feb 11, 2024

OK, I think I know what is going "wrong". When converting web pages (unstructured documents), the HTMLDOC output engine doesn't use the first-page-header because it doesn't think there is one for the current section.

@michaelrsweet michaelrsweet added bug Something isn't working priority-low and removed investigating Investigating the issue labels Feb 11, 2024
@michaelrsweet michaelrsweet added this to the Stable milestone Feb 11, 2024
@michaelrsweet
Copy link
Owner

[master 8003be2] Fix --header1 support for web pages (Issue #515)

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

No branches or pull requests

2 participants