Coming soon: Normalize Imported Styles

This forum is for discussions on the Help & Manual Premium Pack and the Premium Pack Toolbox configuration utility introduced with Premium Pack 3

Moderators: Alexander Halser, Tim Green

Coming soon: Normalize Imported Styles

Unread postby Tim Green » Mon Feb 20, 2017 6:19 pm

When you import HTML or CHM to a Help+Manual project your formatting comes in as inline formatting. You then have to use the Create Style from Selection function to create a style from the imported formatting and manually apply it to all the appropriate paragraphs in your project. This can be a lot of work if you have a lot of text and formatting. A new function is coming to the Premium Pack Toolbox that is going to make this significantly easier, provided your imported HTML also used style names. You just need to create paragraph styles in the editor from model paragraphs, then the Normalize tool will convert all paragraphs in the project containing the imported style name to that style. Of course, this can also be used to strip manual formatting from existing projects as well, significantly reducing the tag count.

normalize_styles.png


What the new Normalize tool does:

  • Locates paragraphs containing any text tagged with the specified style. This can be either a <text> element in the paragraph or the paragraph itself.
  • Tag all the text in the paragraph and the paragraph with that style.
  • Remove all inline formatting from the text elements and paragraph (bold/italics/underlining can optionally be left in place).
  • Optionally set other styles for links and toggles in the paragraph (otherwise they are also set to the paragraph style).
  • Combine all consecutive text elements without additional formatting.
This new tool can already process the new Tidy XML format with reduced tags for easier translation coming in Help+Manual 7.3. I'd be interested to hear if anyone is interested in this. 8)
You do not have the required permissions to view the files attached to this post. This may mean that you can't view them at all, or it may just mean that you need to log into the forum to view them.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 19549
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Coming soon: Normalize Imported Styles

Unread postby Rebecca Harris » Wed Sep 20, 2017 4:41 pm

Hi Tim,

Is this function now available, or if not, when will it be?

Regards,
Rebecca
Rebecca Harris
 
Posts: 5
Joined: Thu Jul 13, 2017 3:13 pm

Re: Coming soon: Normalize Imported Styles

Unread postby Rebecca Harris » Wed Sep 20, 2017 8:32 pm

Never mind; I just found this in the user help.
Rebecca Harris
 
Posts: 5
Joined: Thu Jul 13, 2017 3:13 pm


Return to Premium Pack and PP Toolbox

Who is online

Users browsing this forum: No registered users and 1 guest