Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Numbered and bulleted lists carriage returns not the same size with WebHelp and PDF Rendering

New Here ,
Oct 01, 2009 Oct 01, 2009

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

Capture.JPG

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:

Capture3.JPG

PDF Screen Shot after Generation from above source:

Capture2.JPG

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.

1.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 02, 2009 Oct 02, 2009

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

...
Translate
LEGEND ,
Oct 02, 2009 Oct 02, 2009

Hi, can you post your style sheet, as wel as this topic so we can have a look?

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2009 Oct 02, 2009

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2009 Oct 02, 2009

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2009 Oct 02, 2009

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2009 Oct 02, 2009

AHH, YOU DA MAN! Thanks much.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2009 Oct 02, 2009

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:

  1. I created a new project and a single topic, NOT linked to a master sheet and set to use NONE for the Style Sheet.
  2. I clicked the number list icon in the tool bar

    Capture1.JPG
  3. I get my first numbered line item, I type some words and hit SHIFT + ENTER at the end of the line.
  4. I get to the next line without a new number, then I hit ENTER, get to the next line with the number 2, type some more words and hit SHIFT + ENTER at the end of that line.
  5. I get to the next line without a new number, then I hit ENTER, get to the next line with the number 3, type some more words and stop there as I'm done typing.
  6. The RH editor now looks like this:

    Capture2.JPG
  7. I generate WebHelp and it looks like this:

    Capture3.JPG
  8. I generate a PDF and it looks like this:

    Capture4.JPG
  9. I generate Word and it looks like this:

    Capture5.JPG
  10. The three different outputs look the same, they do NOT look like the source I just edited.
  11. The raw HTML looks like this:

    <?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>&#160;</p>

    </body>

    </html>


  12. Seems to me the editor should have inserted a couple of more <BR /> in the code like this:

    <body>

    <ol type="1">

          <li>Line one<br />

          <br />

          </li>

          <li>Line Two<br />

          <br />

          </li>

          <li>Line Three</li>

    </ol>

    </body>

  13. 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:

    Capture6.JPG

  14. 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2009 Oct 02, 2009

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 02, 2009 Oct 02, 2009
LATEST

Ahhh, okay, I'll give that a shot then.

Thanks again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp