BCcampus / pressbooks-mpdf

[UNMAINTAINED] open source HTML to PDF conversion
GNU General Public License v2.0
7 stars 7 forks source link

Request for the ability to set what text appears in the mPDF running headers #72

Open pbstudent opened 5 years ago

pbstudent commented 5 years ago

See later comment for a description of the feature request

Description

PDF displays full title in running head rather than Chapter Short Title (appears in the PDF running header).

Expected behaviour

PDF displays Chapter Short Title (appears in the PDF running header)

Actual behaviour

PDF displays full title in running head which creates text collision mpdf long title

Steps to reproduce the problem

Create chapters and export to mPDF

System Information

FYI 1 I did not encounter this issue with another site with the following system specs:


FYI 2 Textbooks for Pressbooks 4.2.0 in WordPress but Github states latest release as 4.2.1

josieg commented 5 years ago

I can't reproduce this one because my mPDF book is only showing the Book title in the mPDF running head, and there are no mPDF theme options that allow me to control what appears in the running head.

@pbstudent can you describe to me how you were able to get the chapter titles to appear in the running head in mPDF?

pbstudent commented 5 years ago

The mPDF running header is the full title of the text rather than the short title: screenshot_2018-11-17 edit chapter a reflective exploration of the integration of an open source e-publishing system for

The metadata field data is not being displayed in the PDF export.

josieg commented 5 years ago

Thanks for the clarification. From what I can tell, there is no way to get a chapter title to appear in the mPDF running header, and as such, there is no way to get the chapter short title to appear.

However, we can leave this issue here as a feature request.

I do see that when a book title is long, mPDF will not use the short book title that is set on the Book Info page in the mPDF running head. I will open a new issue for this.

Description

Request for the ability to set what text appears in the mPDF running head, similar to the options available for Prince PDF (see below screenshot), which allows you to select what appears in the right and left page running head for front matter, chapters, and back matter: runninghead

pbstudent commented 5 years ago

Thanks Josie,

That would be very helpful to have a short running head title, when dissertation titles are very long.

Cheers, Steve

On Nov 19, 2018, at 17:45, Josie Gray <notifications@github.com mailto:notifications@github.com> wrote:

Thanks for the clarification. From what I can tell, there is no way to get a chapter title to appear in the mPDF running header, and as such, there is no way to get the chapter short title to appear.

However, we can leave this issue here as a feature request.

I do see that when a book title is long, mPDF will not use the short book title that is set on the Book Info page in the mPDF running head. I will open a new issue for this.

Description

Request for the ability to set what text appears in the mPDF running head, similar to the options available for Prince PDF (see below screenshot), which allows you to select what appears in the right and left page running head for front matter, chapters, and back matter: https://user-images.githubusercontent.com/23706762/48721227-51a38600-ebd6-11e8-91a6-52b2e86f4208.JPG — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BCcampus/pressbooks-mpdf/issues/72#issuecomment-439960546, or mute the thread https://github.com/notifications/unsubscribe-auth/AXJy-xnG2cjWCFCDMy_bfGhRgZ30QqYWks5uwuA6gaJpZM4Yl4Qi.