Single source-PDF output images not fitting page[FIXED]

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.

Single source-PDF output images not fitting page[FIXED]

Postby M33R4 on Mon May 17, 2021 2:00 am

My project is single source with 2 outputs:
    HTML5
    PDF

I use 1 stylesheet for both.

Images in my topics are so large that I have programmed them, via the Stylesheet, to display as thumbnails for my HTML5 output.

In order for those thumbnails to print full size in my PDF, within the stylesheet window, I have edited the Medium:PDF as follows:
stylesheet medium HTML and PDF.PNG


The body in the stylesheet is as follows:
stylesheet body HTML and PDF.PNG


The PDF target settings are as follows:
General tab
PDF target general tab.png

Advanced tab:
PDF target advanced tab.PNG

PDF Options tab:
PDF target pdf options tab.PNG


The problem I'm having are:-

    a) the tables on my odd-nmbered pages are not fitting to the A4 page, as follows:see attachment below

    b) the margins are not consistent across the pages: there are lots of gaps on left or right side of the A4 pages (see attachment below).
How can I correct these errors, please :?:
You do not have the required permissions to view the files attached to this post.
Last edited by M33R4 on Fri May 28, 2021 2:16 am, edited 6 times in total.
Newbie to MadCap Flare
M33R4
Sr. Propeller Head
 
Posts: 103
Joined: Wed Oct 07, 2020 7:58 am
Location: UK

Re: Single source project - PDF output images not fitting pa

Postby M33R4 on Mon May 17, 2021 2:03 am

Contd...

Table not fitting to page:
PDF table not fitting on page.PNG


Gaps in margins as follows:
PDF gaps in margins.PNG
You do not have the required permissions to view the files attached to this post.
Newbie to MadCap Flare
M33R4
Sr. Propeller Head
 
Posts: 103
Joined: Wed Oct 07, 2020 7:58 am
Location: UK

Re: Single source project - PDF output images not fitting pa

Postby ChoccieMuffin on Mon May 17, 2021 8:54 am

For your graphics, in your PDF medium you could try setting a maximum width, for example "max-width: 98%" or "max-width: 12cm". DON'T set both max width AND max height, or you could end up with your graphics being distorted.

For your tables, we'd need a bit more information. Have you set a total width on your tables, or set a width for all of your columns? Are you using a table stylesheet or just what you get from the regular stylesheet?
Started as a newbie with Flare 6.1, now using Flare 2019r1 and 2020.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2475
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Single source project - PDF output images not fitting pa

Postby M33R4 on Tue May 18, 2021 12:45 am

ChoccieMuffin wrote:For your graphics, in your PDF medium you could try setting a maximum width, for example "max-width: 98%" or "max-width: 12cm". DON'T set both max width AND max height, or you could end up with your graphics being distorted....

I've now set the max width in % but still having the same problem with my images :cry:

ChoccieMuffin wrote:...For your tables, we'd need a bit more information. Have you set a total width on your tables, or set a width for all of your columns? Are you using a table stylesheet or just what you get from the regular stylesheet?

I've used a TableStyles of NewStyle.css but having same problem.
Newbie to MadCap Flare
M33R4
Sr. Propeller Head
 
Posts: 103
Joined: Wed Oct 07, 2020 7:58 am
Location: UK

Re: Single source-PDF output images not fitting page[FIXED]

Postby M33R4 on Fri May 28, 2021 2:17 am

See this post for the fix: viewtopic.php?f=10&t=33267
Newbie to MadCap Flare
M33R4
Sr. Propeller Head
 
Posts: 103
Joined: Wed Oct 07, 2020 7:58 am
Location: UK


Return to Printed Documentation Targets

Who is online

Users browsing this forum: No registered users and 7 guests