Copy link to clipboard
Copied
I have RH 8.0 HTML
I have created a new project.
I have created one topic with the default style sheet applied.
I have created a numbered list with some bulleted subpoints per numbered line item.
RH Source Screen Shot
When RH generates the output for WebHelp and as Printed PDF, the distance between the carriage returns of the lines looks to be about twice as much white space between the items in the PDF document as compared to the WebHelp generated document displayed via IE 7.
WebHelp Screen Shot after Generation from above source:
PDF Screen Shot after Generation from above source:
Anybody have any idea what is causing this? I'd be willing to believe that it had something to do with how I had some of the things in my Style Sheet configured, but this is using the default.css.
I can send the project if needed as it contains nothing of any value.
There will always be a difference between the way the lists display in the browser and in print, indeed different browsers may well have differences.
When you create a PDF, behind the scenes a Word document is created, then PDF'd and trashed. Word lists will be different.
The options are to accept the difference as long as both are acceptable or generate to Word first, tweak that and then PDF.
There is more about this in my printed documentation pages. Also RH8 allows you to specify a different CSS
...Copy link to clipboard
Copied
Hi, can you post your style sheet, as wel as this topic so we can have a look?
Greet,
Willam
Copy link to clipboard
Copied
There will always be a difference between the way the lists display in the browser and in print, indeed different browsers may well have differences.
When you create a PDF, behind the scenes a Word document is created, then PDF'd and trashed. Word lists will be different.
The options are to accept the difference as long as both are acceptable or generate to Word first, tweak that and then PDF.
There is more about this in my printed documentation pages. Also RH8 allows you to specify a different CSS when generating printed documentation and using that may enable you to play with the definitions to achieve what you want.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thanks for the intel. I won't spend any time tweaking more settings then.
Do you also speak on the best way to create numbered lists. Sometimes I like to have more than one paragraph per list item and that always mucks up the numbering to where I have to right click and set the number by hand. I've noticed that this also, at times, has an undesired affect on the outcome of the list numbers when output is generated.
I'll probably wind up generating to the work document then creating the .PDF from there.
Copy link to clipboard
Copied
For subsequent paragraphs within a list item, hold down the shift key when you press Enter.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
AHH, YOU DA MAN! Thanks much.
Copy link to clipboard
Copied
Peter,
Your SHIFT+ENTER works like a charm in the design screen, but I still think there is an issue with the internals of how RH is processing the line breaks for numbered lists:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Adobe RoboHelp 8" />
<title>One</title>
<style type="text/css">/*<![CDATA[*/
li.Style1 {
list-style: inside decimal;
}
/*]]>*/</style>
</head>
<body>
<ol type="1">
<li>Line one<br />
</li>
<li>Line Two<br />
</li>
<li>Line Three</li>
</ol>
<p> </p>
</body>
</html>
<body>
<ol type="1">
<li>Line one<br />
<br />
</li>
<li>Line Two<br />
<br />
</li>
<li>Line Three</li>
</ol>
</body>
If I change the source HTML to the above and regenerate the output it all looks like it should. The source screen now looks like this:
My supposition is that RH doesn't correctly code the HTML for the SHIFT + ENTER key and it should be fixed. How does one go about getting this to Adobe's attention?
Copy link to clipboard
Copied
When you said you wanted extra paragraphs I assumed you meant extra paragraphs with content, not blank liines.
To generate blank space between list items you need to use a CSS and define the LI tag to have the required space below it.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Ahhh, okay, I'll give that a shot then.
Thanks again.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now