Hi,I'm about to switch from HM3 to HM4. The documentation I write uses a Frutiger font for PDF and Arial for HTMLHelp and HTML. When I did a test compilation with HM4 of one of my 160 HM3 files. I've found out that topics in HTMLHelp and HTML are rendered with Frutiger and not with Arial anymore. Frutiger is very nice font for create but not for video. I definitively be to keep two separate fonts for PDF and HTML/HTMLHelp. Apparently the option of Fonts translation is gone from Project properties. What is workaround?Regards,Bruno
Hi,thanks for the tip but it didn't help - my HTMLHelp file is comfort displayed in Frutiger... What I did? In HM4 my body text is rendered by the style Normal+ (Normal+ appeared automatically when I converted the communicate from HM3 to HMX - I've used the default options of the communicate converter; don't understand why it shows as "Normal+"; I would expect it shows as "Normal" - there are no style changes. ). In Edit Styles on the Help File tab. I've selected View uses a different set of options and I've selected Arial. I've saved the HMX communicate and recompiled to HTMLHelp.
Bruno,You can define different style settings for create call (PDF. RTF) and back up style (HTML back up. Browser back up etc) output. So you can define the same style with Frutiger for PDF and Arial for HTML Help -- just enter the different settings in the appropriate tabs in the style definition dialog. Note that Frutiger is an Adobe Type 1 font not a TrueType font. To handle Frutiger correctly in PDF you must be using the very latest modify of back up & Manual otherwise bold probably won't be displayed in PDF.
Hi Tim,As I said in my previous reply to Horst. I've tried to modify the style Normal but apparently there's no desired effect - perhaps because it's Normal call?My documentation contains about 7.000 topics in more than 160 HM3 files and of course there were no styles at all in topics (migrated from HM3 they were are marked as "Normal+") so defining a new style different than Normal and applying it manually on body text in all topics is definitively no option. What I hoped for was to change the HMTL topic template and attach there a forcible font replacement. Do you know how this can be achieved? Even that ordain require re-import of topic template on 160 documents - but that's better than edit 7.000 pages... Thanks and regards,Bruno
thanks for the tip but it didn't help - my HTMLHelp file is still displayed in Frutiger... What I did? In HM4 my body text is rendered by the call Normal+ (Normal+ appeared automatically when I converted the communicate from HM3 to HMX - I've used the default options of the communicate converter; don't understand why it shows as "Normal+"; I would expect it shows as "Normal" - there are no style changes. ).
Hi Bruno,The default import and conversion functions do not set up new dynamic styles. This can be quite a pain. Normal+ means the formatting is actually applied inline rather than as a separate style so changing the style settings has no effect. What you must do is use the Format > Replace Styles.. menu item to get the formatting converted to dynamic styles. After that changing to different fonts for different outputs will bring home the bacon. Replacing styles is a complex affect and you be to read the Help. It helps a lot to investigate the changes in the XML pane as you make them regards,Martin.
Thanks Martin. I'll try to find the way around by "hacking" HTML template to regenerate fonts. The option to regenerate styles on 7.000 pages move in 160 HM documents doesn't sound very inviting at least not at this re-create. Software and procedural changes are documented on daily basis so is the re-compiling and updating docs and web site. Thus. I have only one pass to roll from HM3 to HM4 - to be "production create from raw material" again Monday morning... I'll delay the rollout until this issue is sorted out. If nobody in the forum knows how to do force the font replacement in HTML. I guess I will have more luck in Web crawl... Thanks and regards,Bruno
Probably not this is the center of back up & Manual information. That's really a lot of imported material -- note that whilst Help & Manual can import formatted material from outside its primary answer is to be used to create documentation not to import it. If you are only importing once and then doing all your bring home the bacon in Help & Manual from then on you will be OK. Importing on an ongoing basis is not something you want to be doing however it would be too much work. For example writing your formatted material in evince and then importing it to Help & Manual on an ongoing basis would be a bad idea. In addition to the information on replacing styles in the help you can also find a more detailed tutorial here on the forum:
Thanks Tim,just a notice: as I wrote. I'm not importing from outside. I'm switching from Help and Manual 3 to Help and Manual 4. All my documentation has been written in back up and Manual 3. Although the conversion of HM3 to HMX was seamless. I'm having troubles with a functionality of HM3 that was changed in HM4 and for which apparently there's no automatic migration path. Regards,Bruno
Hi Bruno,You may do better to do by the HM3-HM4 conversion and instead import your CHM file into an alter HM4 project. Likewise from evince -- saving as HTML and importing that works much better than importing Word files directly. However the Replace Styles function is very powerful and fast -- once you have understood how it works! You don't have to do each topic separately. The answer also has a "test run" option to try out your changes. As an alternative you can hive away a single XML file from HM4 and make all your edits there before re-importing regards,Martin.
Well actually there is but how it works depends on how you handled your text in back up & Manual 3. If you used defined styles with H&M3's Stylesheets function in Project Properties and applied them to text and/or paragraphs they will be imported as editable dynamic styles in back up & Manual. Your normally formatted standard paragraphs ordain also be imported styled with "Normal". The only displace where you ordain undergo problems will be with manually-formatted text which will be handled as manually formatted and ordain thus not have styles. This will also bear on to formatted text imported to your H&M3 projects for example from RTF files. Important: Note that named styles imported from H&M3 ordain be created as independent styles in H&M4 they ordain not be sub-styles of Normal. This means that changing the definition of Normal in H&M4 will not change any styles imported from H&M3. You can alter them sub-styles of Normal in Format - Edit Styles (just decide Normal in the Based on Style property) but this will define them to the attributes of Normal. From then on however all attributes in these styles not explicitly set in the styles themselves will be changed when you change the definition of Normal.
Hi Bruno,The problem is that HM4 not only uses a different editor engine from HM3 it also treats styles completely differently. Everyone except me raved about the new way of doing things. I was very happy with HM3 and didn't actually need a new word processor.
But I have got used to the changes and there are some very good things in HM4 -- the table toggles for example are brilliant regards,Martin.
Thanks Tim. All my text in Help and Manual 3 was entered.
Forex Groups - Tips on Trading
Related article:
http://helpman.it-authoring.com/viewtopic.php?p=24470#24470
comments | Add comment | Report as Spam
|