Helpman Manual
Helpman Manual
User
Manual
Version 4.31
Table of Contents
Part I Welcome to Help & Manual 4 16
Entering and
.........................................................................................................................................................
editing HTML code 62
Breadcrumb.........................................................................................................................................................
trail navigation 64
Long topic.........................................................................................................................................................
IDs and anchors 65
Various minor
.........................................................................................................................................................
improvements 65
Baggage .........................................................................................................................................................
files 65
Picture shortcuts
......................................................................................................................................................... 66
Using embedded
..........................................................................................................................................................
topics 222
Changing the..........................................................................................................................................................
topic icon 224
Changing the..........................................................................................................................................................
topic status 225
Organizing invisible
..........................................................................................................................................................
topics 225
Topic timestamps
.......................................................................................................................................................... 227
5 Text Formatting
...................................................................................................................................
and Styles 228
Styles introduction
..........................................................................................................................................................
for H&M3 users 229
Formatting text
..........................................................................................................................................................
manually 230
Using indents .......................................................................................................................................................... 232
Formatting text
..........................................................................................................................................................
with styles 234
Defining styles
.......................................................................................................................................................... 237
Editing styles.......................................................................................................................................................... 243
Style display..........................................................................................................................................................
in the Toolbar 245
Editor, help file
..........................................................................................................................................................
and print styles 247
Image caption ..........................................................................................................................................................
and comment styles 249
Copying styles..........................................................................................................................................................
from other projects 250
Styles and tables
.......................................................................................................................................................... 251
Numbered and ..........................................................................................................................................................
bulleted lists 252
Bulleted.........................................................................................................................................................
Lists 253
Numbered .........................................................................................................................................................
lists 255
Outline numbered
.........................................................................................................................................................
lists 259
Adjusting.........................................................................................................................................................
list indents 264
Formatting.........................................................................................................................................................
list numbers 265
HTML list .........................................................................................................................................................
output format 265
Formatting.........................................................................................................................................................
lists with styles 266
Formatting program
..........................................................................................................................................................
source code 267
Examples ......................................................................................................................................................... 269
Replacing Formatting
..........................................................................................................................................................
and Styles 271
Introduction
.........................................................................................................................................................
to style replacement 271
Font styles
.........................................................................................................................................................
and formatting 275
Paragraph .........................................................................................................................................................
styles and formatting 282
Styling imported
.........................................................................................................................................................
text 290
6 Links, Anchors,
...................................................................................................................................
Macros, Scripts and HTML 293
Inserting topic
..........................................................................................................................................................
links 294
Inserting Internet
..........................................................................................................................................................
links 298
Inserting file..........................................................................................................................................................
links 300
Inserting script
..........................................................................................................................................................
and macro links 302
Editing and formatting
..........................................................................................................................................................
links 304
Anchors - jump..........................................................................................................................................................
targets 305
Linking to other
..........................................................................................................................................................
projects and help files 308
Links and secondary
..........................................................................................................................................................
windows 310
Inserting plain
..........................................................................................................................................................
HTML code 311
7 Using Graphics
................................................................................................................................... 313
Inserting graphics
..........................................................................................................................................................
and screenshots 314
Positioning graphics
.......................................................................................................................................................... 316
Editing, resizing
..........................................................................................................................................................
and hi-res PDF printing 317
Using the Impict
..........................................................................................................................................................
graphics editor 320
Using the screen
..........................................................................................................................................................
capture function 320
Using graphics
..........................................................................................................................................................
as hyperlinks 320
Graphics with..........................................................................................................................................................
hotspots, macros and scripts 321
Finding and ..........................................................................................................................................................
replacing graphics 324
Managing your..........................................................................................................................................................
graphics 325
Shortcuts for..........................................................................................................................................................
frequently-used graphics 328
8 Working with
...................................................................................................................................
Tables 332
Inserting tables
.......................................................................................................................................................... 333
Controlling column
..........................................................................................................................................................
widths 334
Selecting and..........................................................................................................................................................
formatting cells and tables 336
Adding and deleting
..........................................................................................................................................................
rows and columns 338
Splitting, merging
..........................................................................................................................................................
and unmerging cells 339
Deleting the ..........................................................................................................................................................
contents of cells 339
Converting tables
..........................................................................................................................................................
to text 340
Indenting tables
.......................................................................................................................................................... 340
Applying styles
..........................................................................................................................................................
to tables 341
Nested tables.......................................................................................................................................................... 343
Using background
..........................................................................................................................................................
graphics 344
Handling table
..........................................................................................................................................................
borders 344
9 Toggles: Expanding
...................................................................................................................................
Text and Images 345
Expanding section
..........................................................................................................................................................
toggles 348
Expanding inline
..........................................................................................................................................................
text toggles 354
Expanding image
..........................................................................................................................................................
toggles 357
Toggle IDs .......................................................................................................................................................... 360
Editing and copying
..........................................................................................................................................................
toggles 360
Formatting toggles
..........................................................................................................................................................
with CSS 361
Expand All / ..........................................................................................................................................................
Collapse All 363
Toggle troubleshooting
.......................................................................................................................................................... 365
Updating old..........................................................................................................................................................
expanding sections 367
Printing topics
..........................................................................................................................................................
containing toggles 367
10 Keywords and
...................................................................................................................................
Indexes 369
Adding and editing
..........................................................................................................................................................
keywords 370
Editing the index
..........................................................................................................................................................
directly 373
Find and replace
..........................................................................................................................................................
keywords 376
Managing keywords
..........................................................................................................................................................
and indexes 377
Using keywords
..........................................................................................................................................................
with anchors 379
Using A-keywords
.......................................................................................................................................................... 382
Index section..........................................................................................................................................................
header separators 384
11 Testing Your
...................................................................................................................................
Project 387
Using the reporting
..........................................................................................................................................................
tool 388
Testing links..........................................................................................................................................................
and missing graphics 388
Searching for..........................................................................................................................................................
topics and referrers 390
Testing keywords
.......................................................................................................................................................... 391
12 Configuring
...................................................................................................................................
Your Output 392
Help Windows .......................................................................................................................................................... 393
HTML Help .......................................................................................................................................................... 394
Winhelp .......................................................................................................................................................... 397
Browser-based..........................................................................................................................................................
Help 398
Layout ......................................................................................................................................................... 401
Navigation
......................................................................................................................................................... 403
Full Text.........................................................................................................................................................
Search tricks 404
Adobe PDF and..........................................................................................................................................................
printed manuals 405
eBooks .......................................................................................................................................................... 407
XML .......................................................................................................................................................... 408
MS Word RTF .......................................................................................................................................................... 409
Visual Studio..........................................................................................................................................................
Help 409
13 Compiling ...................................................................................................................................
Your Project 410
Microsoft help
..........................................................................................................................................................
compilers 410
Publication checklist
.......................................................................................................................................................... 410
Compiling .......................................................................................................................................................... 411
Compiling to..........................................................................................................................................................
XML 415
Distribution ..........................................................................................................................................................
files 417
Changes since..........................................................................................................................................................
H&M 3 419
Insert OLE
.........................................................................................................................................................
Object 701
Insert Special
.........................................................................................................................................................
Character 703
Insert Comment
.........................................................................................................................................................
/ Bookmark 704
The Format Menu
.......................................................................................................................................................... 704
Format Font
......................................................................................................................................................... 705
Format Paragraph
......................................................................................................................................................... 706
Format Borders
.........................................................................................................................................................
and Background 708
Format Bullets
.........................................................................................................................................................
and Numbering 710
Edit Styles
......................................................................................................................................................... 713
Create Style
.........................................................................................................................................................
from Selection 714
Syntax Highlighting
......................................................................................................................................................... 715
The Table Menu
.......................................................................................................................................................... 717
New Table.........................................................................................................................................................
/ Table Properties 717
The Project Menu
.......................................................................................................................................................... 722
Project Properties
......................................................................................................................................................... 722
Bookmarks......................................................................................................................................................... 723
The Tools Menu
.......................................................................................................................................................... 723
Screen Capture
......................................................................................................................................................... 725
Reports ......................................................................................................................................................... 726
The Report Viewer ......................................................................................................................................... 728
Image Editor
......................................................................................................................................................... 729
Print Manual
.........................................................................................................................................................
Designer 730
Help Context
.........................................................................................................................................................
Tool 730
Spell Check
......................................................................................................................................................... 730
Repair and
.........................................................................................................................................................
Recover 730
Customize......................................................................................................................................................... 731
Customize - General ......................................................................................................................................... 731
Customize - Toolbars ......................................................................................................................................... 733
Customize - Shortcuts ......................................................................................................................................... 733
Customize - Editor ......................................................................................................................................... 734
Customize - Folders ......................................................................................................................................... 737
Customize - Compilers ......................................................................................................................................... 737
Customize - PDF .........................................................................................................................................
Export 738
The Help Menu
.......................................................................................................................................................... 739
2 The Help &...................................................................................................................................
Manual Editor 740
The paragraph..........................................................................................................................................................
end mark 741
The Table of..........................................................................................................................................................
Contents pane 742
Editing in the
..........................................................................................................................................................
Help Text tab 742
Topic Options..........................................................................................................................................................
tab 743
The Index tab.......................................................................................................................................................... 744
3 Formatting................................................................................................................................... 744
Tabs, indents
..........................................................................................................................................................
and HTML 744
4 Dynamic Styles
................................................................................................................................... 746
Why use dynamic
..........................................................................................................................................................
styles? 746
How do styles
..........................................................................................................................................................
work? 748
About inheritance
..........................................................................................................................................................
in styles 749
The standard..........................................................................................................................................................
styles 752
Paragraph and
..........................................................................................................................................................
text styles 753
Style organization
..........................................................................................................................................................
strategies 754
5 Scripts, HTML
...................................................................................................................................
and Macros 757
About JavaScript
..........................................................................................................................................................
links 758
About Winhelp
..........................................................................................................................................................
macro links 761
About inline..........................................................................................................................................................
HTML code 761
6 Help Formats
................................................................................................................................... 763
HTML Help .......................................................................................................................................................... 765
HTML Help
.........................................................................................................................................................
project files 767
Classic Winhelp
.......................................................................................................................................................... 768
Winhelp.........................................................................................................................................................
project files 770
Browser-based
..........................................................................................................................................................
Help 771
Browser.........................................................................................................................................................
compatibility 772
Help & Manual
..........................................................................................................................................................
eBooks 773
Adobe PDF .......................................................................................................................................................... 774
Printed manuals
.......................................................................................................................................................... 776
MS Word RTF .......................................................................................................................................................... 776
Visual Studio
..........................................................................................................................................................
Help 777
XML .......................................................................................................................................................... 778
Windows Vista
..........................................................................................................................................................
Help 779
7 International
...................................................................................................................................
Languages and Unicode 780
About H&M's..........................................................................................................................................................
Unicode support 780
About project
..........................................................................................................................................................
language settings 783
Language settings
..........................................................................................................................................................
and PDF 786
8 XML Export...................................................................................................................................
and Import 786
XML output ..........................................................................................................................................................
files and folders 787
XML output ..........................................................................................................................................................
file formats 792
Zipped XML ..........................................................................................................................................................
output 793
Importing XML..........................................................................................................................................................
files 793
Editing XML..........................................................................................................................................................
files in external programs 795
Instructions ..........................................................................................................................................................
for translators and editors 796
Editing XML..........................................................................................................................................................
files in Word 2003 799
9 Help Windows
................................................................................................................................... 800
Questions and
..........................................................................................................................................................
answers 801
Standard help
..........................................................................................................................................................
window types 805
External windows
..........................................................................................................................................................
and invisible topics 806
Help windows..........................................................................................................................................................
and popups 808
Help windows..........................................................................................................................................................
in HTML Help 809
Help windows..........................................................................................................................................................
in Winhelp 811
Help windows..........................................................................................................................................................
in HTML and eBooks 811
Help windows..........................................................................................................................................................
in RTF and PDF 813
10 About HTML
...................................................................................................................................
Templates 814
The default Topic
..........................................................................................................................................................
Pages template 816
The default Layout
..........................................................................................................................................................
template 818
The default TOC
..........................................................................................................................................................
template 818
The default Index
..........................................................................................................................................................
template 821
The default Search
..........................................................................................................................................................
template 823
HTML template..........................................................................................................................................................
variables 826
HTML template..........................................................................................................................................................
output conditions 830
Graphics in HTML
..........................................................................................................................................................
templates 832
11 Context-Sensitive
...................................................................................................................................
Help & Popups 834
Context-sensitive
..........................................................................................................................................................
help technologies 835
About popup..........................................................................................................................................................
topics 838
About context-sensitive
..........................................................................................................................................................
popups 840
About implementing
..........................................................................................................................................................
context help 843
Popups in Winhelp
..........................................................................................................................................................
and HTML Help 845
About map files
.......................................................................................................................................................... 846
About invisible
..........................................................................................................................................................
topics 848
Index 917
I
16 Help & Manual Online Help
II
18 Help & Manual Online Help
2 Latest Updates
2.1 Version 4.31 Update
Outwardly, this is a very minor update with just a few visible changes. However, we have
corrected a large number of issues that individual users have reported to us for specific
configurations and situations, some of them very rare. And there are also a number of
changes and improvements that we are sure many users will welcome:
Tables now allow page breaks inside rows
Version 4.31 includes an updated version of the editor that makes it possible for pages
to break inside table rows in PDF, RTF and printed manual output. This means that
you no longer need to be careful not to create rows with too much content in projects
you are going to output to PDF. Even very large cells will now break correctly.
Important: This does not work for nested tables. So if you are outputting to PDF you
should avoid tables inside other tables. This also means that when you are
using expanding section toggles you should not create additional tables
inside the toggles.
Improved CHM import and export for Asian and other languages
Importing and exporting HTML Help .CHM files has been significantly improved for
Asian languages, Russian and some other languages. Even CHMs with variant
encoding will now generally be imported correctly and problems some users have
experienced with full-text search in CHMs in these languages have been corrected.
(These problems were caused by the MS HTML Help viewer's inability to handle
Unicode encoding correctly.)
improved quite significantly. Among other things you can now create 3-frame layouts directly
for seamless integration in your own website.
In addition to this some welcome improvements have been made to Impict, Help & Manual's
integrated screenshot editor. You now have an Export As... function that allows you to
continue working on your .IPP images after exporting a version to your project folder. In
addition to this, Impict now supports Drag & Drop and performance for saving images with
reduced colors has been radically improved.
IMPORTANT: New directory structure for Samples and Templates:
Please note that the directory structure of the Samples and Templates folders has
changed in Help & Manual 4.3. In addition to this, the program installer now
automatically creates a folder for your Help & Manual projects inside your My
Documents folder if this does not already exist (Documents in Vista).
The new structure is tidier and it is also necessary for Windows Vista, which has much
stricter read and write permissions rules for folders and files inside the Program Files
directory.
\Templates: The Templates folder is still stored inside the Help &
Manual program directory but it now has separate sub-
folders for all the different template categories:
ebooks: eBook viewer skins and language files for the eBook user
interface.
hmx: Project templates (.HMX). Currently contains the project
template for Help & Manual's own help, complete with
instructions for using the template in your own projects.
html: HTML-related templates. Currently contains the language
files for the user-interface for full-text search 594 in
Browser-based Help.
pdf: Contains a selection of standard print manual templates
543 (.MNL) for PDFs and printed manuals. If you want to
By popular demand a new syntax highlighter has been added for C# code. You can
now automatically format your C# code examples in Help & Manual with a couple of
clicks.
See Formatting Program Source Code 267 for details on using syntax highlighting.
The option is activated with a new option in the PDF project properties. It allows you to
automatically embed all files with specific extensions that are referenced with file links
in your project.
For details see Embedding files in PDFs 544 in the PDF and Printed Manuals chapter.
When importing HTML Help .CHM files Help & Manual now correctly imports the
undocumented "MS-HKWD" and "MS-HAID" meta tags and converts them to K-
keywords and A-keywords, respectively.
These work as follows (in the source code of the CHM you are importing):
New PDF engine with support for Unicode and Asian languages:
Help & Manual 4.2 includes a completely new PDF engine with full support for Asian
CID fonts. While all other output formats of Help & Manual already had full support for
Unicode, the old PDF engine did not. This has now been corrected.
MojoPac is a program that allows you to store your entire Windows environment and
your most frequently-used programs on a USB 2.0 thumb drive, an iPod or an external
hard drive. When you plug the device into any Windows computer you can work on
your own Windows desktop with your own applications without affecting the computer
you are working on in any way.
Help & Manual 4.2 is now fully compatible with MojoPac so that you can take your
entire help authoring environment with you and use it on any Windows computer.
own. This is necessary for the functionality of the toggle. You can get around this
problem by entering your own ID for the table explicitly in the Insert Hotspot dialog.
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,Æ,Ø,Å
· Incorrect word breaks with some rare large fonts on Windows 2000 corrected.
· Image and movie filename case conversion corrected for Linux and Unix servers.
· Countless other minor corrections and cosmetic improvements.
a different language. The tool then updates the structure of project with the new
material so that a translator can produce a new version.
For more information see this section:
· Project Synchronization Tool 645
The question "What's new in Help & Manual 4" is not so easy to answer. The quickest
answer would be "everything" – this is the most radical and major upgrade of the program
that we have ever released. Virtually every single function of the program has undergone a
complete overhaul and many, many new features have been added, some of them
extremely powerful. We have listened to the feedback from our users and implemented all
the most frequently-requested functions, plus many that you never even thought of but will
not want to do without.
However, all these changes don't mean that the program has become unfamiliar – on the
contrary. Our top design priority was to maintain the "look and feel" of the program and its
highly-intuitive interface so that users upgrading will feel at home immediately.
This section outlines the main new features and improvements introduced in Help & Manual
.
can't see), which means that we can make it do whatever we want it to do – and we
have!
This section outlines just some of the many new features that have been made possible
by the new editor – including Unicode 31 for international languages, complex tables 33 ,
dynamic styles 36 , complex lists 38 with bullets and numbering, a real-time keyword index
42 and much more.
projects. A full-featured converter is included that turns your .HM3 projects into .HMX
projects, importing all your formatting, layout and structural elements.
Yes, Help & Manual 4 comes with full support for Unicode languages 149 ! This means that
you can now use Help & Manual to edit and generate help in virtually all languages,
including Japanese, Chinese, Thai and other languages requiring double-byte Unicode
character sets.
· Important Note:
Please note that Unicode support is only included in the Professional version of Help &
Manual 4.
See also:
International languages setup 149
International Languages and Unicode 780 (Reference)
Language Settings 551 (Project Properties)
2.5.1.3 Text formatting
A quick look at the text and paragraph options should be enough to demonstrate just how
radical the formatting improvements are between Help & Manual 3 and 4. Just select Font,
Paragraph, Borders and Backgrounds and Bullets and Numbering in the Format menu to see
for yourself!
This is just one example of the many powerful new formatting options introduced
in Help & Manual 4!
As of version 4.1 the Professional version of Help & Manual features full support for XML
Export/Import 50 , which includes a new editor tab for editing the XML source code version of
your topics directly.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
See also:
XML Export/Import 786 (Reference)
Editing XML source code 208
2.5.1.5 Tables
Along with dynamic styles 36 , improved table handling was probably one of the features
requested most frequently by Help & Manual 3 users. The new editor handles tables
directly – the OLE table implementation that had to be used in Help & Manual 3 has been
completely replaced. This means you now have full freedom to create complex and
Help & Manual 4 includes a new setting that lets you preview the effects of the Windows font
size setting on your help file. This enables you to make sure that your help file will also
display properly for users who have large fonts activated in their Windows settings:
This is nice for users who find larger text easier to read. Unfortunately, it also causes
problems for programmers because the rest of the Windows doesn't automatically adjust
itself to the larger fonts.
In addition to this the large fonts setting can also change the way the layout of help files
works. For example, a paragraph with a hanging indent that works with a small font
might look terrible for a user who has large fonts turned on:
Style features:
· Dynamic linking: Styles are dynamically linked to the text formatted with them.
Update the style and all the formatted text updates automatically.
· Dynamic inheritance: Styles inherit properties from their "parents". Change the
property in a parent and it changes in all its children. For example, this means that you
can change the font and other attributes in an entire style family or your entire project
just by editing the parent style.
· Formatting features: Styles can include all font and paragraph formatting attributes,
which can all be switched on and off individually. In addition to this they can also
include borders and background colors for text and colors.
· Text and paragraph styles: You can define text-only styles for text formatting and
paragraph styles that include both text and paragraph attributes.
· Separate Design, Print and Help definitions: For each style you can define different
sets of attribute definitions for Design (i.e. editing), Print (PDF and printed manuals)
and Help (electronic formats) output. For example, this means that you can use
different fonts in your online help (HTML Help or Winhelp) and your PDF versions – or
even a completely different appearance. Once you have set it up the whole process is
automatic.
The basic handling of graphics remains pretty much the same as in Help & Manual 3.
However, some significant improvements have also been introduced here:
· Image captions: Every image can now have a caption, which can be added and
edited directly in the Help & Manual editor. If you use the same image more than once
you can create different captions for each instance. In a future release we may also
add the ability to generate a "list of figures" using the image captions.
· GIF support: In addition to all the other image formats already supported Help &
Manual 4 adds native support for compressed GIF images with transparency, making
it much easier to add transparent images to your help files.
In addition to dynamic styles 36 the new editor also introduces much more advanced support
for bulleted and numbered lists. The lists are fully customizable and you can also create
complex numbered lists with multiple levels.
Inserting and editing hyperlinks has been significantly improved and a new hyperlink type,
file links, has been added:
The Help & Manual editor automatically highlights dead links, in so you can easily find
and check them. This is especially useful when you delete topics, because resulting dead
links are immediately visible. (You can also check links before deleting a topic – just click on
the topic's entry in the TOC and select Find Referrers.)
All objects in Help & Manual 4 (links, images, macros, TOC entries etc.) have mouseover
hints that display useful details about the object.
See also:
Mouseover hints in the TOC 57
2.5.1.13 Videos and animations
In Help & Manual 4 inserting videos and animations is as easy as inserting graphics. Several
different video formats are supported, including Macromedia Flash, Windows Media Player,
QuickTime and Real.
Preview images:
You can insert a preview image of the movie or animation in your topic. In compiled
output formats that support movies like HTML Help and Winhelp the image is displayed
before the movie starts playing if you do not configure it to play automatically. (Note that
preview image function is not available in Browser-based Help.) In other formats like
PDF and RTF the placeholder image will be displayed instead.
You can use your own image for the placeholder or take a snapshot from the movie
directly in Help & Manual. In the output the placeholder is displayed without the film reel
icon you can see in the screenshot, which is only shown in the editor to tell you that the
object is a movie and not a graphic.
Help & Manual 4 introduces a radically-improved keyword index editor that is updated in real
time while you are editing and entering keywords. You can see the finished index while you
are working, which makes it much easier to produce a high-quality index quickly and
efficiently.
Design time bookmarks and topic comments have been improved and combined and they
now integrate deeply in the help design process. They can be used both for design notes
and as bookmarks with which you can jump to specific positions in your project.
The many former RoboHelp® users looking for an alternative need look no longer. Help &
Manual 4 can convert and import RoboHelp® X5 for HTML projects, maintaining most of the
structure, formatting and features of the original projects.
· RoboHelp projects can be imported to a new project 144 or merged with an existing
.HMX project 167 .
· This should make the transition from RoboHelp to Help & Manual 4 quick and
painless.
Import capabilities
Help & Manual 4 can convert and import the following formats, preserving virtually all of
the original structure and formatting:
· RoboHelp® X5 for HTML projects
· HTML and plain text files
· Compiled HTML Help .CHM files
· Compiled Winhelp .HLP files and Winhelp project source files
· MS Word RTF files
You can also copy and paste text with complex formatting, graphics and tables to and
from Microsoft Word, also with virtually all formatting intact.
Support has been added XML export and import 48 for translation (as of Help & Manual
version 4.1) and for the MS Help 2.0 50 format (also known as Visual Studio Help).
In addition to this the Browser-based Help 49 output has been completely rewritten from the
ground up, introducing full-text search and radically improved navigation and browser
compatibility, both for all current platforms and for older and security-restricted browsers.
The new Browser-based Help "downgrades gracefully" when it encounters older browsers
with restricted capabilities – some of the more advanced dynamic features will then be
disabled, but the help will still be fully functional.
XML:
As of version 4.1 Help & Manual also supports XML. The XML Export/Import 786 function
allows you to export your entire project in an XML format that can be edited in XML
editors and XML-aware tools, for example for translation. Afterwards you can then
re-import the entire edited project back into Help & Manual with all its layout, formatting,
properties and settings intact.
In addition to exporting XML you can also view and edit the XML code of your topics
directly in Help & Manual with the new XML Source editor, which is integrated in the
main editor pane. Edits are automatically updated in your topic when you return to the
normal Page Editor tab.
links, graphics, formatted text and even videos and animations. They do require
JavaScript on the user's browser, however.
· Table of Contents flickering eliminated. The TOC does not have to be rebuilt every
time a branch is opened or closed so TOC flickering is a thing of the past.
· Synchronization between the TOC and the displayed topics is also very much
improved.
· Keyword index improvements: Clicking on single-link keywords takes the user
directly to the linked topic, multi-link keywords (i.e. keywords contained in more than
one topic) display a popup window for selection. The popup window stays open and
doesn't disappear when you move the mouse away.
· Code optimization for HTML: Help & Manual 4 automatically generates different
HTML code for Browser-based Help and HTML Help. The HTML Help .CHM files are
optimized for MS Internet Explorer (which is used to display HTML Help) and the
Browser-based Help code takes the quirks and requirements of the available Internet
browsers into account.
· UTF-8 and XHTML 1.1 compliant output: You can activate both UTF-8 coding for
Unicode languages and XHTML 1.1 compliant output. Both these features can be
switched on or off (UTF-8 is not always required and not all browsers are fully
compatible with XHTML – it's your choice.)
See also:
Browser-based Help 771 (Help Formats)
Visual Studio Help 777 (Help Formats)
2.5.2.4 Translation/localization support
Translation and localization support in Help & Manual consists of two functions, Project
Synchronization 645 and XML Export/Import 786 .
Both these functions are only supported in the Professional version of Help
& Manual 4. (XML Import is supported in the Standard version and can
only import XML conforming to the Help & Manual XML schema, which
normally means XML created with Help & Manual)
At least Windows 2000 or Windows XP are needed to read and process
the XML files generated by Help & Manual. Earlier versions of Windows
cannot handle the Unicode formatting required for XML.
Project Synchronization:
This function compares the latest version of the original language version of a Help &
Manual project with any previous translated version of the same project. It then updates
the translated version with changes in the new version so that the translator can
translate the changes. This is a structural comparison that works on the topic level. It is
not a content-level comparison because it is designed to compare projects in different
languages.
This function is designed primarily for those who are doing their translation work in Help
& Manual itself – i.e. the translator works on the translation in his or her own copy of
Help & Manual. However, if you wish you can also use Project Synch to generate an
updated version of the translated project and then use XML Export to output this version
for processing by a translator.
Please see the chapter on Project Synchronization 645 for full details.
XML Export/Import:
This function outputs the entire project in XML format, using Help & Manual's own XML
schema. In addition to the XML files containing all the data, XSL stylesheet files are also
generated to allow WYSIWYG previews in web browsers and XML editors that support
XSL. The schema is fully documented and anyone who wishes to is welcome to write
their own tools and transformers for it. For full details of the format please see the
separate help file (Helpman_XML_ref.chm in the program directory).
XML Export/Import is a round-trip function that allows you to export your project, edit or
translate it with an XML-aware editor or translation tool and then re-import it to Help &
Manual with all project properties, layout and settings intact.
For full details see XML Export/Import 786 in the Reference section.
See also:
Project Synchronization 645
XML Export/Import 786 (Reference)
Compiling Your Project 410
New project from an XML project file 142
Importing H&M XML projects 165
2.5.3 Menus & Toolbars
The menus and toolbars in Help & Manual have been redesigned with a new, more modern
look and they are now fully customizable. You can define which toolbar icons are displayed
and you can assign keyboard shortcuts to all available menu functions and edit the existing
standard keyboard shortcuts as well.
You can also choose the style of the menus and toolbars (classic, Office XP or Windows
XP).
Both the toolbars and the keyboard shortcuts are now fully customizable.
The popup context menus now source their content from the main menu entries. All the
functions available in the main menu – for instance the Insert menu – is also available in the
context menu:
In addition to this a number of other TOC capabilities have been improved and new features
have been added. For example, you can now copy and paste multiple TOC entries to the
editor pane to create lists of links.
The Table of Contents (TOC) now supports multiple selection. This means that you can
select multiple items in the TOC and cut, copy and move them, either with menu commands
or with drag and drop.
· You can also perform a number of other commands on multiple topics. For example,
you can use the commands in Topics > Change Item to change the status or icons of
multiple topics.
In addition to all the other features made possible by multiple selection in the TOC you can
also compile and print selected topics only. This is very useful in a number of situations. For
example, if you have a very large project you no longer need to compile the entire project
just to check the results of a formatting change – you can compile a single chapter or even
just a single topic.
This new function is selected in the Compile Help File dialog, in the same way that you
select the familiar Include Options and the new custom user-defined builds 58 .
In addition to multiple selections the TOC also has some new features that making Drag &
Drop easier to use:
· The new TOC Drag & Drop display makes positioning the drop target easier.
· Drag & copy 221 is now also supported by holding down the CTRL key while dragging.
(Doing this makes duplicate TOC entries that point to the same topics. The original
topics are not copied.
· Inserting the moved topic between two target topics (note insertion bar):
Even though many users have asked for it, it is still not possible to drag a TOC item from the
TOC to the editor to create a link. This is because selecting a TOC item automatically
selects the associated topic, and you then don't have a target to drag to. (You can still
create links by dragging selected text to a TOC item though!)
However, what now is possible is copying and pasting TOC items to the editor to create
links. You can use this neat new feature to create both individual and multiple links!
In HTML templates custom builds conditions are entered manually, using the build ID in
the standard condition syntax, for example <IF_ALEX>, <IFNOT_DEMO> and so on.
Help & Manual 3 only supported the popup topic technologies that were actually integrated
in the output formats. That meant that you had regular popup topics in Winhelp, plain-text
only popups in HTML Help and no popups at all in Browser-based Help. In addition to this
HM3 also supported "dual-mode help" for HTML Help, which generated a separate Winhelp
file for the popups. This made it possible to use popups containing formatted text (bold, italic
etc.) and graphics in HTML Help.
The Find & Replace function can now search for and replace the names of image files as
well, enabling you to quickly replace images in your entire project:
Help & Manual 4 still allows you to insert your own inline HTML code in your topics and to
edit the HTML templates that control the layout of your pages in HTML-based output
formats. However, both these functions and the other functions that edit HTML code directly
are now much easier to use: Help & Manual 4 now features an integrated HTML code editor
The new <%TOPIC_BREADCRUMBS%> 479 variable for use in HTML templates automatically
generates a "breadcrumb trail" of active links to the links above the current topic in the Table
of Contents tree. You can see this variable in action in the Navigation: entries displayed
above the topic headers in this help in the HTML Help and online Browser-based Help
versions. (This feature is not displayed in the PDF version, of course.)
Experienced authors often need to integrate a number of small external files in their projects,
for example files containing scripts and other files referenced in manually-entered code. In
Help & Manual 3 integrating files like this was a bit of a chore: You had to remember to
make entries in the Extended .HHP Settings to make sure the files were included in the
HTML Help output and you had to copy the files manually to your output folder for Browser-
based Help output.
Once you have added the files to the Baggage section you can refer to them with
confidence without need for any other settings because they will always be available.
You can even move or delete the original files on your hard disk because the Baggage
files are now physically stored in your .HMX project file.
See also:
Using Baggage Files 520
2.5.5.10 Picture shortcuts
Most projects contain a few graphics that are used over and over again – logos, graphical
bullets inserted in paragraphs with hanging indents, eye-catcher images and so on. Help &
Manual 4 introduces a new function called Picture Shortcuts that enables you to create your
own customized menu of images that you can then insert with a single click.
See also:
Shortcuts for frequently-used graphics 328
III
Introduction 69
3 Introduction
The topics in this section provide some basic information about Help & Manual, what it is for
and what you can do with it.
Learning more
Ø See the Basic Working Procedures 125 section for detailed instructions on using Help &
Manual.
Ø See More Advanced Procedures 422 for, you guessed it, instructions on more advanced
procedures!
The WYSIWYG (What You See Is What You Get) interface leaves out all cryptic
references for hyperlinks, macros and graphics. Instead of struggling with topic IDs,
footnotes and obscure commands you can concentrate on the work of designing your
help file.
Your projects are displayed and edited with the same hierarchical tree structure used by
all Windows help formats. The editor and content tree view are combined in a single
window. Editing topics and manipulating the structure of your projects is fast and
intuitive. This user interface has been copied by the competition but nobody has come
close to the speed and simplicity of Help & Manual.
Generate eBooks
Last but not least you can also produce eBooks, naturally from the same project files
that you use to generate all your other output formats. Help & Manual's eBooks are
executable .EXE files that include their own viewer. They run on all Windows versions
from Windows 95 to XP without any drivers or additional software.
See also:
What's new in version 4? 29
Quick Start Tutorial 88
Save time
Help & Manual helps you to create better documentation quicker. The time required
for producing the help for a medium-sized software project can be measured in days
or weeks instead of months.
Save money
Online help is a key feature of your software and cannot be over valued.
Professional, attractive and well-organized documentation can significantly decrease
your support costs. At the same time it will also increase user satisfaction, generating
a positive snowball effect.
2. The Project Converter 641 is opened automatically. Click on the Options button to
display the fine-tuning settings for optimizing import performance:
All the features from your .HM3 project are updated and converted to their .HMX
equivalents automatically. However, you may need to make some adjustments to styles
and tables. Also, if your HTML templates contained customized code you will need to re-
enter this manually in the templates of your new .HMX project.
· For full details see Converting .HM3 projects 126 in the Basic Working Procedures >
Creating Projects chapter and The Project Converter 641 in the Tools Included in
Help & Manual chapter.
See also:
Converting .HM3 projects 126
The Project Converter 641
Getting started
Start by studying the Introduction 69 , The User Interface 79 and Quick Start Tutorials
88 sections.
Context-sensitive help:
Ø Virtually every element and control in Help & Manual has a popup context-sensitive
help topic that describes what it is for. Just right-click on the control and select What's
This? from the popup menu.
Ø All dialogs have a button that displays the relevant section of the online
help.
Tutorials:
· See Quick Start Tutorials 88 in the help for some basic tutorials to get you started with
using Help & Manual 4.
· You can find some tutorial projects 118 in the MyHelpAndManaulProjects folder in your
My Documents directory (Documents in Vista). The tutorials are stored in the the
\Samples folder.
· You can also find the full source code of Help & Manual's own help in the \Samples
folder.
· The project template used for Help & Manual's own help can be found in the
\Templates\hmx folder in the Help & Manual program directory. Full instructions for
using the template in your own projects are included.
· A range of tutorials for programmers showing you how to integrate your help with your
application is available here on the EC Software website:
http://www.ec-software.com/tutorial.htm
See also:
Online information and links 75
Forum address:
This address takes you to the main forum portal page:
http://helpman.it-authoring.com
See also:
Getting help 73
Email support:
[email protected]
IV
The User Interface 79
The Help & Manual user interface emulates the appearance and structure of a
finished help file, making editing quick and intuitive.
The main program window with the Topic Editor and the TOC
pane selected. Click on the callouts balloons for more information.
Topic editor
The largest pane in the program window is the Topic Editor, which is like a built-in
word processor with special functions for creating help files and the other
documentation formats supported by Help & Manual. This is where you edit topics
selected in the Table of Contents and Invisible Topics panes. Clicking on a topic in
the TOC displays its contents for editing in the editor.
Topic Header
The Topic Header is actually part of the editor but it is displayed in a separate box.
This is where you edit the header of the current topic. The header is displayed at the
top of the topic page in electronic help formats like HTML Help and is used as the
chapter title in print-type formats like PDF. The header box is only displayed if the
topic you are editing actually has a header.
Style Selector
The Style Selector is a tool for selecting text styles and applying them to text in your
project. Help & Manual now supports dynamic styles, which give you very powerful
control over the formatting and layout of your text.
Toolbars
The Toolbars provide quick access to the most frequently-used functions. Just
position the mouse over a tool and wait for a second to display a brief text describing
what it is for. For a more detailed description right-click on a tool and select What's
This?
Main program window showing the Index and Topic Options panes:
Index Pane
The Index Pane displays the finished keyword index in real time. As soon as you add
keywords to a topic they appear in the index (save your project or select Topics >
Refresh Topic to update) . You can also edit the index directly in the Index Pane,
updating all topics where the keywords appear simultaneously.
Topic ID:
This is the alphanumeric identifier of the topic. It is the "address" of the topic that is
used to refer to it in hyperlinks, both from within your project and from application
programs. It must be unique. (Help & Manual will not allow you to enter duplicate
topic IDs.)
Keywords:
Keywords entered here will appear as a sorted list in the index of your compiled
project. In electronic help formats clicking on the index entries will display the topics
associated with the keywords.
A-keywords:
A-keywords are a special kind of keyword that are never displayed in an index or
seen by the user. They are used for creating what are known as "associative links"
and lists of related topics. This is a rather advanced subject and if you are just
getting started with Help & Manual it is probably better to leave it until later.
Anchor in topic:
The "anchor 305 " selected here defines the position in the topic to be displayed when
the user opens the topic in electronic help formats. The default is (Top of Page). If
you enter other named anchors in your topic they will be displayed here and you can
select them to make the topic open at a position other than the top of the page.
Help & Manual 4 introduces fully-customizable keyboard shortcuts. Unlike Help & Manual 3,
which had fixed shortcuts for a limited number of program functions, you can now define
your own key combinations for virtually all of the functions supported by Help & Manual.
Shortcuts for a number of frequently-used functions are predefined but you can also change
these to any key combinations you want. In addition to this you can also define keyboard
shortcuts for all your formatting styles 228 , making it possible for experienced users to control
the program almost entirely with the keyboard.
See also:
The Tools Menu 723
Customizing Help & Manual 84
You can configure the appearance and behavior of many functions and features in Help &
Manual to suit your needs and your own personal preferences.
for docking and undocking the Table of Contents (TOC) pane and the Topic Options
tab. (Undocking these components and placing them outside the main program
window can make working easier if you have a larger monitor or a dual-monitor
system.)
· To re-dock the TOC and Topic Options tabs just double-click on their title bars or
select the corresponding Dock options in the View menu.
· You can also customize the individual toolbars by selecting Customize Toolbars in the
View menu. (This opens the corresponding tab in the Customize menu, see below.)
· You can re-dock the toolbars by dragging them back into the main program window or
by double-clicking on their title bars. To re-dock the TOC pane you can double-click on
its title bar or select Dock Table of Contents in the View menu.
See also:
The Tools Menu 723
Keyboard Shortcuts 83
V
88 Help & Manual Online Help
2. Choose the name and location for your new project. It's best to create a project
in an empty directory.
4. The next screen presents a basic topic structure to get you started. You can edit
or add to these "quick start" topics here if you want.
5. Now you can start editing your project 91 in Help & Manual:
6. If you are creating a project in a language requiring a special character set you
must configure it correctly for your language:
Go to Project > Project Properties > Common Properties > Language Settings:
· See International languages setup 149 for full instructions on configuring your project
for special language requirements.
See also:
Creating Projects 125
MS Word users: The paragraph end mark doesn't contain any formatting!
If you're used to using word processors like MS Word you need to forget about the
power of the paragraph end mark. In Help & Manual formatting is associated directly with
the text and paragraphs, not with the paragraph end marks. The paragraph end mark is
just a carriage return marking the end of the paragraph, nothing more.
This means you can't select the paragraph end mark. You can't format the paragraph by
formatting the paragraph end mark and you can't delete a paragraph's formatting by
deleting the paragraph end mark.
If you combine two paragraphs the paragraph attributes of the upper (first) paragraph will
be applied because you can't have two sets of paragraph settings, but this has nothing
to do with the paragraph end mark. The formatting is associated with the entire
paragraph.
· For more information see The paragraph end mark 741 in the Reference > The Help
& Manual Editor chapter.
Editing overview:
· Just start typing in the Page Editor window on the right of the TOC:
· Select text and use the formatting tools in the Toolbar to format it:
· You can also format paragraphs by selecting styles (see Use Styles 94 for more
details):
· You can change this setting permanently in the program customization 734
settings.
· You can copy and paste text and other content just as you would in a word
processor:
See also:
Use Styles 94 (Quick Start Tutorial)
Creating and Editing Topics 171
Text Formatting and Styles 228
1. First, type at least two paragraphs of text in one of your new topics. Click in one
of the paragraphs, then select Edit Styles in the Format menu:
· Select to define a new style, then edit its default name in the
Style Name: field. You can change style names whenever you like!
· By default the style will be based on Normal. Don't change this until you
have learned more about styles.
· Select and to edit the settings for the
style.
· If you want you can also assign a Shortcut: key so that you can apply the
style quickly.
Applying styles:
To apply a style to a paragraph just click anywhere in the paragraph and select the
style in the Style Selector:
· If you included a keyboard shortcut in the style definition you can use the
keyboard shortcut instead of the Style Selector. You can also select and
apply styles in the Format menu.
· If you select text before applying a style the style's font attributes will only be
applied to the selected text.
See also:
Text Formatting and Styles 228
Dynamic Styles 746 (Reference)
2. In the pop-up menu, choose where you want to insert your topic relative to
the selected topic:
· Insert Before inserts the new topic above the selected topic.
· Insert After inserts the new topic below the selected topic.
· Insert Child inserts the new topic as a sub-topic of the selected topic, turning
the parent topic into a chapter (if it is not already a chapter).
These options are also available in the Topics menu.
· The Topic ID is a unique identifier that is the address of your topic in the project
and in your output help files. Use descriptive IDs 210 , they will make your project
much easier to manage!
4. After entering your settings select to create and insert the new
topic. It will be automatically selected in the TOC:
5. Once you have created a topic you can edit it 91 and move it around 100 in the
TOC.
See also:
Creating and Editing Topics 171
· Drag a topic onto another topic to make it the child (sub-topic) of the target
topic:
See also:
Managing Topics in the TOC 209
· You can also insert graphics with Insert > Picture or by pressing Ctrl+P.
2. This displays the Open Image dialog, which has a several options for
controlling how the graphics file is inserted:
· Note that if you set the Left of text or Right of text attributes text wrapping around
the image is not displayed in the editor. You can only see the results in your
compiled output! Text wrapping is not supported in PDF output.
2. Then just click on to save the graphics file. It will be inserted in topic at
the current cursor position automatically.
· After inserting you can then double-click on the image to display the insertion
options shown in Step 2 103 of the instructions above for inserting images from files.
See also:
Using Graphics 313
Graphics, Videos and OLE Objects 856
Insert a table:
1. Select New Table in the Table menu:
Most of the settings here should be self-explanatory. The tricky one is Table Size:
· Autosize Table initially fills the entire width of the page. However, you can adjust
the width of the table later by adjusting its columns and then its right border.
· Size to Fit on Page always fills the entire page.
· Size Table Manually creates a table of the defined width (100% is the same as
Size to Fit on Page ).
Manipulating tables:
You can manipulate tables with the mouse and the options in the Table menu.
· Manipulating tables with the mouse:
· The width of locked columns stays fixed. Unlocked columns resize automatically
when the user resizes the help viewer or browser window.
· Resizable tables must have at least one unlocked column, otherwise all column
widths will be undefined or resizable!
See also:
Working with Tables 332
How table sizing works 882
2. Drag the selected text to the TOC and drop it on the topic you want to link to:
3. That's it, your hyperlink is finished. You can edit it at any time:
Link to an anchor:
Sometimes you will want to link to a specific location in the middle of a topic instead of
just displaying the top of the topic. This is achieved with anchors 305 , which are named
"link targets" that you can insert anywhere in a topic.
1. Create an anchor in the topic you want to link to:
2. Create a link (see above 109 ) to the topic creating the anchor, then double-
click on the link to edit it:
· Click on to close the dialog. The link will then point to the anchor in the
target topic instead of the top of the topic.
See also:
Links, Anchors, Macros, Scripts and HTML 293
Topic IDs, Context Numbers and Keywords 849
When you compile to Browser-based Help 586 always use an empty folder
because this format can generate hundreds of output files. The program
will suggest creating a folder called \HTML inside your project directory,
which is a good choice.
The layout of your PDF output is controlled by separate template files.
See Adobe PDF 405 in the Configuring Your Output chapter for details.
3. Then just click on to compile. The project will be compiled (how long this
takes depends on the format and the size of your project) and then the finished
product will be displayed along with a window showing any compiler messages
and listing your output files.
This function automatically uses the last compile settings you used with when you
compiled with the compile dialog. It is thus advisable to compile to the selected format
with the File > Compile Help File option at least once before using Quick Launch.
1. Click on the arrow symbol next to the tool in the Toolbar to display the Quick
Launch output options:
2. Then just select the output format you want to output to. Your project will be
compiled and displayed automatically as soon as the compile process is finished.
See also:
Customize - Compilers 737
Testing Your Project 387
Configuring Your Output 392
Visual Studio Help 527
VI
118 Help & Manual Online Help
See also:
Quick Start Tutorials 88
Subjects covered:
This tutorial shows you how to edit your project's HTML templates to create some more
advanced formatting and effects. All the code required is included in the tutorial project,
which you can also use as a template for your own projects. Once you have worked
through all the lessons you will be able to:
· Program your own expanding and collapsing sections (if you don't have the
Professional version of Help & Manual, which can do this for you automatically).
· Create non-scrolling headers for your HTML Help and Browser-based Help output.
· Add graphical navigation buttons to your topic headers, with and without
mouseover effects.
· Add a Print link or button to your topic headers.
· Use CSS styles to change the appearance and behavior of all the hyperlinks in
your project.
· Add customized icons to the TOC (table of contents) of your Browser-based Help
projects.
· Add code to suppress underlined TOC entries in Browser-based Help in Firefox
and Mozilla browsers.
· Add a background to the TOC in Browser-based Help.
· Add background images to topics and headers.
See also:
Using HTML templates 475
Subjects covered:
This tutorial project walks you through using the conditional output capabilities of Help &
Manual. You will learn how to use build conditions to control the content included in your
output. When you have finished working through this tutorial you will be able to:
· Include and exclude topics, groups of topics and modules from your output on the
basis of output formats or your own defined build conditions.
· Include and exclude topic content (text, images etc.) on the basis of output formats
or user-defined build conditions.
· Define your own build conditions to create multiple versions of the same project for
different purposes.
· Exclude all the topics of a chapter while including the chapter topic (this is a trick
that is not normally possible directly).
See also:
Conditions and Customized Output 451
Systems
(in Windows Vista My Documents is called Documents)
Names: Master.hmx, Module_A.hmx, Module_B.hmx
Subjects covered:
This tutorial project is an example of a simple modular help system. It guides you
through all the steps of creating and using modular help systems for a variety of different
output formats. When you have completed the tutorial you will be able to:
· Create and manage modular projects for all types of output formats.
· Add project files to your TOC as modules.
· Create genuine modular help systems for HTML Help and Winhelp formats. This
allows you to create different versions of your help without recompiling, just by
adding or removing help files from your distribution.
· Create dynamic conditional hyperlinks between modules using A-Links.
See also:
Working with Modular Help Systems 492
See also:
Templates for projects 463
See also:
Using HTML templates 475
See also:
Templates for projects 463
own projects.
Note that the project template for this help project 121 for use in your own projects can be
found in the \Templates folder in the Help & Manual program directory.
See also:
Translating Your Projects 530
VII
Basic Working Procedures 125
See also:
Introduction 69
The User Interface 79
Quick Start Tutorial 88
Automatic backups:
You can set Help & Manual to make automatic backups of your project file at regular
intervals. Go to Tools > Customize > General and select the option Automatically back up
project file every xx minutes . This will automatically create a backup copy of your
project file with the extension .~HMX in your project directory at the specified intervals
(to make these files readable just rename them to .HMX).
See also:
Help Formats 763
The Help & Manual Editor 740
Security and Deployment Issues 886
7.1.1 Choosing your help format
Help & Manual can generate a total of seven different output formats (eight including
printed manuals), each of which has its advantages and disadvantages for specific
purposes.
However, since Help & Manual is a single-source, multiple output format tool you don't ever
need to make a final decision on which format you want to use. You can always generate
any of the supported formats from your project. You can also generate multiple formats from
the same project, for example HTML Help for your online help and PDF for your printable
manual.
For details on the help formats supported by Help & Manual and their individual advantages
and disadvantages see Help Formats 763 in the Reference section.
See also:
Help Formats 763
7.1.2 Converting .HM3 projects
IN THIS TOPIC:
How to convert .HM3 projects 126
Adjustments after conversion 127
If you are upgrading from Help & Manual 3 you will probably want to start by importing and
converting your existing .HM3 projects. This is very simple – basically you just need to open
the .HM3 project in Help & Manual 4 and the converter is started automatically.
· For more details on working with the Project Converter tool see The Project Converter
641 in the Tools Included with Help & Manual section.
3. Navigate to the .HM3 file you want to convert and click on , then confirm the
prompt asking you if you want to convert the project file. This will automatically start
the Project Converter with the selected project file:
Project Converter has options 643 for dealing with both of these issues but because of
the differences between the two table formats you may need to make some manual
corrections to your tables after importing.
See also:
The Project Converter 641
Text Formatting and Styles 228
Dynamic Styles 746
Working with Tables 332
7.1.3 Creating an empty new project
When you create a new project Help & Manual automatically generates a table of contents
(TOC) with a small set of topics that you can use as a starting-point.
· Select the first option, Create a new help project, and click on Next.
2. In the next screen you define the path and path and file name of the new Help &
Manual .HMX project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
Leave this option for later if you are just getting started with Help &
Manual.
3. The next screen is for entering the title and basic language settings for your project
(these can be changed later at any time):
· Enter a title for your help project and select your help project language and
character set.
· If your help project is in English or any ordinary western European language leave
these options set to English (United States) and ANSI_CHARSET. See
International languages setup 149 for details on settings for other languages.
· Click on Next to continue to the next screen.
4. In the Table of Contents screen the wizard then displays a small set of standard topics
that you can now edit and add to:
· You can edit, delete and add topics if you want to. Don't worry about getting
everything right now – you can change everything later very easily.
· Click to create and open your new project. All the topics whose titles you
entered in the previous step will automatically be created.
See also:
Importing Data into Existing Projects 155
7.1.4 New project from a compiled HTML Help file
Help & Manual can decompile HTML Help .CHM files. Help & Manual 3 could also do
this, but Help & Manual 4 now includes a full-featured HTML code parser and
translator. This means that it now recreates almost all formatting, in addition to the
structure of the help file with topics, links, TOC structure, keywords and help context
numbers.
· You can also import compiled .CHM files into existing projects. See Importing
compiled CHM files 155 in the Importing Data into Existing Projects section for
details.
· Select the Import existing documentation from... option and click the check box
for Compiled HTML Help file (*.CHM).
· In the Specify source file / folder: field click to locate the directory containing the .
CHM file you want to import and select the file. Then click on Next.
2. In the next screen you define the path and file name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, note that this will also import all the topics from this project. If
you use this option you may want to use an empty project template when
you are decompiling help files. Leave this option for later if you are just
getting started with Help & Manual.
3. Now you need to specify how the contents of the topics in the HTML Help file are to be
identified:
· What settings you will need depends on the internal structure of the .CHM file you
are decompiling. In most cases you should get reasonably good results with the
settings shown in the screenshot above.
For details on the settings and what they do right-click on the individual
settings in the dialog and select What's This?
To check the internal code of the HTML pages in the CHM open the CHM
in Windows, right-click in any page and select View Source.
· Click to decompile and import the file. After importing Help & Manual will
automatically open the new project for editing.
See also
Importing Data into Existing Projects 155
7.1.5 New project from HTML and plain text files
Help & Manual 4 has a full-featured HTML code parser and translator that can import
entire directories containing multiple HTML and plain text files and automatically turn
them into Help & Manual .HMX project files. Every file is converted into a separate
topic and the parser can recreate almost all formatting, including complex tables and
other features.
· You can also import HTML and plain text files into existing projects. See Importing
HTML and plain text files 157 in the Importing Data into Existing Projects section for
details.
· Select the Import existing documentation from... option and click the check box
for Regular HTML and text files .
· In the Specify source file / folder: field click to locate and select the directory
containing the HTML and/or text files you want to import. This directory can contain
subdirectories. (You can only select a directory at this point, not individual files.
You will select those in Step 3 below.) Then click on Next.
2. In the next screen you enter the path and file name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, this will also import all the topics from this project. If you use
this option you may want to use an empty project template when you are
creating a project with imported files. Leave this option for later if you are
just getting started with Help & Manual.
3. Help & Manual now parses the selected directory and any subdirectories it contains (if
you select the Include sub-folders option) and displays all the HTML and plain text
files it finds in the next screen:
Graphics files referenced in the HTML files will be located and imported to
the project directory automatically.
· If you don't want to include sub-folders (subdirectories) deselect the Include
sub-folders option. (Do this first, before making any other selections in the list.)
· Select any folders and/or files you don't want and click on to remove
them from the list. You can select multiple entries with Shift+Click and Ctrl+Click
.
· When you are ready click on Next to move to the next screen.
4. Enter a title for your help project and select your help project language and character
set. If your help project is in English or any ordinary western European language leave
these options set to English (United States) and ANSI_CHARSET. See International
languages setup 149 for details on settings for other languages. Then click on Next to
move to the next screen.
5. Now you need to specify how the contents of the topics in the HTML files are to be
identified:
What settings you will need depends on the internal structure of the HTML files you
are decompiling. In most cases you should get reasonably good results with the
settings shown in the screenshot above.
For details on the settings and what they do right-click on the individual
settings in the dialog and select What's This?
You may need to examine the code of the HTML files you are importing to
get the best possible results with the splitting and importing options in
this screen.
These settings don't apply to plain text files, of course, because they don't
contain any formatting that needs to be converted.
6. Click to convert and import the HTML files and create the new project. After
importing Help & Manual will automatically open the new project for editing.
See also
Importing Data into Existing Projects 155
7.1.6 New project from Winhelp project source files
If you have created Winhelp files before you may want to convert your existing
projects into the Help & Manual format rather than re-writing them from scratch. You
can decompile .HLP files 137 but for a full import of an existing Winhelp project, you
need the project source files.
· You can also import Winhelp project files into existing projects. See Importing Winhelp
project source files 160 in the Importing Data into Existing Projects section for details.
· Then select the Import existing documentation from... option and click the check
box for Winhelp source files (*.HPJ).
· In the Specify source file / folder: field click to locate the directory with the .HPJ
file you want to import and select the file. In addition to this file you will also need
the .RTF file or files containing the help text and the .BMP files containing the
images, if any. (All these files should be in the same source folder.) The .CNT file
containing the TOC can be regenerated and is not essential.
· Then click on Next to move to the next screen.
2. In the next screen you enter the path and file name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project. It is advisable to use a new, empty folder for
your new project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, this will also import all the topics from this project. If you use
this option you may want to use an empty project template when you are
creating a project from a decompiled file. Leave this option for later if you
are just getting started with Help & Manual.
· Click on to decompile the Winhelp source files and import them to a new
Help & Manual .HMX project. After importing Help & Manual will automatically open
the new project for editing.
See also
Importing Data into Existing Projects 155
7.1.7 New project from a compiled Winhelp file
Help & Manual can directly decompile classic Winhelp (.HLP) files if you do not have
access to the original project source files. The decompiler can import much of the
formatting and structure. However, some of the necessary project information cannot
be recovered because it is not included in the compiled .HLP file. If the original project
is available it is thus always better to import the Winhelp project source files 135 .
· You can also import compiled Winhelp .HLP files into existing projects. See Importing
compiled Winhelp files 161 in the Importing Data into Existing Projects section for
details.
· Select the Import existing documentation from... option and click the check box
for Compiled Winhelp file (*.HLP).
· In the Specify source file / folder: field click to locate the directory with the .HLP
file you want to decompile. If there is also an accompanying contents file (.CNT) it
must be located in the same directory. Click Next.
2. In the next screen you enter the path and the name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project. It is advisable to use a new, empty folder for
your new project.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, this will also import all the topics from this project. If you use
this option you may want to use an empty project template when you are
decompiling help files. Leave this option for later if you are just getting
started with Help & Manual.
· Click to import the file and generate the new project. After importing Help
& Manual will automatically open the new project for editing.
See also:
Importing Data into Existing Projects 155
7.1.8 New project from a Word RTF file
IN THIS TOPIC:
How to import an MS Word RTF file to a new project 139
Importing graphics from RTF files 141 (important for modular projects!)
You can also create a new project by importing a standard .RTF file created with MS
Word. Help & Manual imports almost all the formatting created in Word, including
tables, and automatically creates new topics at every hard page break.
· You can also import Word RTF files into existing projects. See Importing Word
RTF files 162 in the Importing Data into Existing Projects section for details.
click on the graphics and select Convert Embedded Picture... to convert them
to external files. (External files are always preferable because they use
much less memory and system resources.)
· Then select the Import existing documentation from... option and click the check
box for RTF document created with MS Word (*.HPJ) .
· In the Specify source file / folder: field click to locate the .RTF file you want to
import and select the file.
· Then click on Next to move to the next screen.
2. In the next screen you enter the path and file name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project. It is advisable to use a new, empty folder for
your new project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, this will also import all the topics from this project. If you use
this option you may want to use an empty project template when you are
creating a project from a decompiled file. Leave this option for later if you
are just getting started with Help & Manual.
· Click on to import the .RTF file and create a new Help & Manual .HMX
project. After importing Help & Manual will automatically open the new project for
editing.
You can safely ignore this message. It is just a general warning about handling
multiple projects in single folders and will not lead to file overwriting when you are
importing multiple RTFs to multiple projects in the same folder.
See also
Importing Data into Existing Projects 155
Managing your graphics 325
7.1.9 New project from a H&M XML project file
The Professional version of Help & Manual version 4.1 and above can export your
help projects to XML file packages 786 for editing and processing (for example for
translation) in external, XML-aware programs. After they have been processed you
can then re-import the edited XML files back to Help & Manual with all the original
formatting, layout and project settings intact.
You can also import XML file packages created with Help & Manual into
existing projects. This is normally the option you should choose when you
are re-importing an XML version of your project that has been edited
externally. See Importing H&M XML projects 165 for details.
You cannot import individual XML topic files with this method. See Exporting
and importing topics 202 for instructions on how to import individual XML
topic files.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
· Then select the Import existing documentation from... option and click the check
box for XML File.
· In the Specify source file / folder: field click to locate the directory containing the
main .XML project file in the XML file package generated by Help & Manual. This
file is located in the main directory of the XML package and has the the same
name as the project from which it was exported.
· Select the main XML project file. Don't try to select any individual XML topic files in
a \Topics directory if your package contains one – this will not work. (See Exporting
and importing topics 202 for details on importing individual XML topic files.)
· Then click on Next to move to the next screen.
2. In the next screen enter the path and file name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project. As always, it is advisable to use a new,
empty folder for your new project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, this will also import all the topics from this project. If you use
this option you may want to use an empty project template when you are
creating a project from an XML file package. Leave this option for later if
you are just getting started with Help & Manual.
3. In the next screen you can choose some options for the XML import process:
Overwrite existing topics: If there are topics in the current project with the same
topic IDs as topics in the XML package they will be
overwritten when you import. This is generally used
for updating a project with a new, edited version.
This setting is irrelevant when you are creating a new
project.
Import project Imports the project properties from the project stored
properties: in the XML file package, overwriting the settings in
the current project.
Import Baggage files: Imports any Baggage 520 files from the project stored
in the XML file package.
4. Then just click on to import the XML file package and create a new Help &
Manual .HMX project. After importing Help & Manual will automatically open the new
project for editing.
See also:
Importing Data into Existing Projects 155
XML Export and Import 786 (Reference)
7.1.10 New project from a RoboHelp® X5 project
Users switching to Help & Manual 4 from RoboHelp® X5 can import their RoboHelp® for
HTML projects directly into Help & Manual. The import is comprehensive, including the table
of contents, the keyword index, the HTML topic pages, A and K keywords, help context
numbers, text popups, custom build tags and topics with special build flags.
Conversion of the original layout and formatting in the RoboHelp® X5 topic pages should
also be largely complete and accurate, although you may have to do some minor editing and
tweaking after importing.
The graphics files from the original files are not imported to the new project directory.
Instead, Help & Manual adds the location(s) of the graphics files to the image folders list in
Project > Project Properties > Common Properties > Image Folders 553 . You can move the
image files after importing if you want – just change the folder entries in the Image Folders
list accordingly after doing so and Help & Manual will be able to find them.
· You can also import RoboHelp® X5 projects into existing projects. See Importing
RoboHelp X5 projects 167 in the Importing Data into Existing Projects section for details.
· Select the Import existing documentation from... option and click the check box
for RoboHelp® for HTML project file option.
· In the Specify source file / folder: field click to locate the directory containing the
RoboHelp® X5 HTML project you want to import and select the .XPJ project file.
Then click on Next.
2. In the next screen you define the path and file name of the new Help & Manual .HMX
project you want to create:
· Click on the button at the end of the Output file: entry field to locate the folder
where you want to create your project.
· Then enter a file name for your project and click on Next.
The option Use this Help & Manual project as a template enables you to
use an existing Help & Manual project as a template 463 for your project.
However, this will also import all the topics from this project. If you use
this option you may want to use an empty project template when you are
importing projects. Leave this option for later if you are just getting
started with Help & Manual.
3. Now you need to specify how the contents of the topics in the HTML topic files in your
RoboHelp® project are to be identified:
· What settings you will need depends on the code and structure of the HTML topic
files you are importing. In most cases you should get reasonably good results with
the settings shown in the screenshot above.
For details on the settings and what they do right-click on the individual
settings in the dialog and select What's This?
If you experience problems you may need to examine the source code of
the HTML topics
· Click to decompile and import the file. After importing Help & Manual will
automatically open the new project for editing.
See also
Importing Data into Existing Projects 155
7.1.11 Editing Project Properties
IN THIS TOPIC:
Entering the help title and copyright notice 147
After creating your project it's a good idea go through your Project Properties 548 and check
all your basic settings, which are initially set to default values by the program. You can
change these settings at any time, but some are easy to forget, like the help title, window
titles and copyright information and so it's a good idea to get into the habit of doing a check
whenever you start a new project.
This topic lists the basic settings in Project Properties that you should always check when
you create a new project. The other sections are also important but these generally contain
things that you will edit while working on or compiling your project. For full details see the
Project Properties 548 chapter.
See also:
Project Properties 548
Configuring your Output 392
Choosing a help window 177
Templates and Secondary Windows 462
· Important Note:
Please note that Unicode support is only included in the Professional version of Help &
Manual 4.
Help & Manual 4 introduces full support for Unicode, which means that it can now be used to
edit and compile help files in virtually all international languages, including double-byte
languages with more than 255 characters like Chinese, Thai and so on. In addition to
settings in Help & Manual these languages also have special Windows configuration
requirements. If you are producing help in one of these languages please study the
International Languages and Unicode 780 chapter in the Reference section before continuing.
Even if you are working in English or any other Western European language it is important
to check that the language settings of your project are correct to ensure that you will not
have any problems with your output, for example with the display of special characters and
sorting in the Keyword Index.
See Language Settings 551 in the Project Properties section of the help for more details on
configuration
help file: changed for English and Western European languages unless
you experience problems with sorting in the Keyword Index.
Default font: This is not the default font of your help project! This option only
defines the font used in the TOC and dialog boxes by Winhelp
and HTML Help.
Note that Winhelp and HTML Help are designed to work with the
default font and font size settings so please test thoroughly if you
use different fonts or sizes.
The default is MS Sans Serif,8,0. The value 8 defines the font
size and should generally not be changed. The value 0 defines
the character set. You do not need to change the character set
value – if it is necessary Help & Manual will do this for you
automatically when you compile your project.
Unicode mode on If you are working on Windows 2000 or XP you can use this
Windows 2000 setting to gain more control over how text is encoded in your
and XP: output. Since Unicode is becoming the general standard we now
recommend using Force Unicode for all projects.
See Language Settings 552 in the Reference section for more
details.
Font character This setting must be set to the correct character set to display the
set: language used in your help file.
Default font: This is not the default font of your help project! This option only
defines the font used in the TOC and dialog boxes by Winhelp
and HTML Help.
Note that Winhelp and HTML Help are designed to work with the
default font and font size settings so please test thoroughly if you
use different fonts or sizes.
The default is MS Sans Serif,8,0. The value 8 defines the font
size and should generally not be changed. The value 0 defines
the character set. You do not need to change the character set
value – Help & Manual does this for you automatically when you
compile your project.
Unicode mode on If you are working on Windows 2000, XP or later you can use this
Windows 2000 setting to gain more control over how text is encoded in your
and XP: output. Since Unicode is now becoming the general standard we
now recommend setting this to Force Unicode.
See Language Settings 552 in the Reference section for more
details.
Unicode-based languages:
This group includes all languages that require Unicode 780 , which means languages with
more than 255 characters requiring two bytes to store each character. For example, this
includes most Asian languages like Chinese, Japanese and Thai.
Font character This setting must be set to the correct character set to display the
set: language used in your help file. This too is particularly important
for proper handling of Unicode-based languages. You must have
the proper character set for your language installed for Help &
Manual to be able to process and compile the language correctly.
Default font: This is not the default font of your help project! This option only
defines the font used in the TOC and dialog boxes by Winhelp
and HTML Help. The default value is MS Sans Serif,8,0.
The default is MS Sans Serif,8,0, which is the font and size that
Winhelp and HTML Help are designed for. In Asian languages
and other Unicode-based languages you may need to choose an
appropriate font for your language instead of MS Sans Serif.
The value 8 defines the font size and should generally not be
changed. The value 0 defines the character set. You do not need
to change the character set value – Help & Manual does this for
you automatically when you compile your project.
Unicode mode This should generally be set to Force Unicode for all languages
on Windows requiring Unicode.
2000 and XP:
See Language Settings 552 for more details.
The resulting help file will contain errors if the languages of your Windows version and
the help file don't match but you will be able to complete the compilation, which is
sufficient for testing.
See also:
International Languages and Unicode 780 (Reference)
Language Settings 551 (Project Properties)
7.1.13 Defining the help viewer appearance
The appearance of the help viewers in which electronic help formats (Winhelp, HTML Help,
Browser-based Help, eBooks) are displayed is controlled by the definition of the Main help
window type in Project > Project Properties > Help Windows 557 .
How this works and the amount of control you have over the appearance of the viewer
depend on the output format. See Choosing a help window 178 in the Creating and Editing
Topics section for more information and instructions on how to control the help viewer
appearance.
See also:
Choosing a help window 177
Templates and Secondary Windows 462
Help Windows
See also:
Exporting and importing topics 202
Importing/exporting between projects 217
7.2.1 Importing compiled HTML Help files
Help & Manual can decompile HTML Help .CHM files and import them into existing
projects. The full-featured HTML code parser and translator recreates almost all
formatting and also imports topics, links, keywords and help context numbers.
· In the preselected Import existing documentation from... section click the check
box for Compiled HTML Help file (*.CHM).
· In the Specify source file / folder: field click to locate the directory containing the .
CHM file you want to import and select the file. Then click on Next.
3. Now you need to specify how the contents of the topics in the HTML Help file are to be
identified:
· What settings you will need depends on the internal structure of the .CHM file you
are decompiling. In most cases you should get reasonably good results with the
settings shown in the screenshot above.
For details on the settings and what they do right-click on the individual
settings in the dialog and select What's This?
To check the internal code of the HTML pages in the CHM open the CHM
in Windows, right-click in any page and select View Source.
· Click to decompile and import the file. The imported topics will be inserted
at the current position selected in the TOC of the open project.
See also
Creating Projects 125
Exporting and importing topics 202
7.2.2 Importing HTML and plain text files
Help & Manual 4 has a full-featured HTML code parser and translator that can import
entire directories containing multiple HTML and plain text files and insert them into
existing Help & Manual .HMX project files. Every file is converted into a separate
topic and the parser can recreate almost all formatting, including complex tables and
other features.
· In the preselected Import existing documentation from... section click the check
box for Regular HTML and text files .
· In the Specify source file / folder: field click to locate and select the directory
containing the HTML and/or text files you want to import. This directory can contain
subdirectories. (You can only select a directory at this point, not individual files.
You will select those in the next step.) Then click on Next.
3. Help & Manual now parses the selected directory and any subdirectories it contains
and displays all the HTML and plain text files it finds in the next screen:
Graphics files referenced in the HTML files will be located and imported
automatically. They are added to the first folder in your Image Folders list
(Project > Project Properties > Common Properties > Image Folders 553 ).
· If you don't want to include sub-folders (subdirectories) deselect the Include sub-
folders option. (Do this first, before making any other selections in the list.)
· Select any folders and/or files you don't want and click on to remove them
from the list. You can select multiple entries with Shift+Click and Ctrl+Click.
· When you are ready click on Next to move to the next screen.
4. Now you need to specify how the contents of the topics in the HTML files are to be
identified:
What settings you will need depends on the internal structure of the HTML files you
are decompiling. In most cases you should get reasonably good results with the
settings shown in the screenshot above.
For details on the settings and what they do right-click on the individual
settings in the dialog and select What's This?
You may need to examine the code of the HTML files you are importing to
get the best possible results with the splitting and importing options in
this screen.
These settings don't apply to plain text files, of course, because they don't
contain any formatting that needs to be converted.
5. Click to convert and import the HTML files to the current project. The topics
created will be inserted at the current position selected in the TOC.
See also:
Creating Projects 125
Exporting and importing topics 202
7.2.2.1 Merging HTML files into topics
IN THIS TOPIC:
Preparing the external HTML files for merging 159
In addition to importing HTML and text files Help & Manual also supports a special command
that enables you to merge external HTML files into existing topics at compile time. This can
be very useful if you have material that changes frequently – you can maintain it in an
external HTML file and automatically merge the latest version into your project when you
compile.
Note that this only works in HTML-based output formats. Merged HTML
files will be completely ignored in Winhelp, PDF, printed manuals and MS
Word RTF output files!
You can only insert the content of HTML files using this method
(everything between the <body> and </body> tags). Since your topic
pages already have their own head sections any references outside the
<body> tags in the merged files will not work and may even cause
conflicts.
#MERGE filename.htm
This assumes that the HTML file is in the project directory (i.e. the directory
containing the .HMX project file). You can use a path if you want.
Note that the files you import must be installed on your local file system.
You cannot import files from the Internet using http:// references with the
#MERGE command.
See also:
Inserting plain HTML code 311
7.2.3 Importing Winhelp project source files
Help & Manual can decompile the source files of Winhelp projects and insert them
into the current project. If you have all the original project files the entire project will
be imported with its original structure and merged with your current project. This
option is preferable to decompiling 161 Winhelp .HLP files because it preserves the
attributes and settings of the original project.
· In the preselected Import existing documentation from... section click the check
box for Winhelp source files (*.HPJ).
· In the Specify source file / folder: field click to locate the directory with the .HPJ
file you want to import and select the file. In addition to this file you will also need
the .RTF file or files containing the help text and the .BMP files containing the
images, if any. (All these files should be in the same source folder.) The .CNT file
containing the TOC can be regenerated and is not essential.
3. Click on to import the Winhelp project. The project's topics will be inserted at
the current position in the TOC.
See also:
Creating Projects 125
Exporting and importing topics 202
7.2.4 Importing compiled Winhelp files
Help & Manual can directly decompile classic Winhelp (.HLP) files and insert their
topics into a Help & Manual project. The decompiler can import much of the
formatting and structure. However, some of the necessary project information cannot
be recovered because it is not included in the compiled .HLP file. If the original project
is available it is thus always better to import the Winhelp project source files 160 .
· In the preselected Import existing documentation from... section click the check
box for Compiled Winhelp file (*.HLP).
· In the Specify source file / folder: field click to locate the directory with the .HLP
file you want to decompile. If there is also an accompanying contents file (.CNT) it
must be located in the same directory.
3. Click on to decompile and import the Winhelp file. The topics extracted from
the file will be inserted at the current position in the TOC.
See also:
Creating Projects 125
Exporting and importing topics 202
7.2.5 Importing Word RTF files
IN THIS TOPIC:
How to import an MS Word RTF file to an existing project 163
You can also import data from standard .RTF files created with MS Word to existing
projects. Help & Manual imports almost all the formatting created in Word, including
tables, and automatically creates new topics at every hard page break.
See also:
Creating Projects 125
Exporting and importing topics 202
You can also create new Help & Manual projects from XML file packages
created with Help & Manual. See New project from an XML project file 142 for
details.
You cannot import individual XML topic files with this method, you must
import the entire package with the XML project file. See Exporting and
importing topics 202 for instructions on how to import individual XML topic
files.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
· Then select the Import existing documentation from... option and click the check
box for XML File.
· In the Specify source file / folder: field click to locate the directory containing the
main .XML project file in the XML file package generated by Help & Manual. This
file is located in the main directory of the XML package and has the the same
name as the project from which it was exported.
· Select the main XML project file. Don't try to select any individual XML topic files in
a \Topics directory if your package contains one – this will not work. (See Exporting
and importing topics 202 for details on importing individual XML topic files.)
· Then click on Next to move to the next screen of the wizard.
3. In the next screen you can choose a number of options for the XML import process.
You can choose whether you want to import the project properties, pictures (graphics
file) and Baggage 520 files included in the original project. All these options can
overwrite data and settings in the current project!
Overwrite existing topics: If there are topics in the current project with the same
topic IDs as topics in the XML package they will be
overwritten when you import. This is generally used
for updating a project with a new, edited version. Use
with caution!
Import project Imports the project properties from the project stored
properties: in the XML file package, overwriting the settings in
the current project.
Import Baggage files: Imports any Baggage 520 files from the project stored
in the XML file package. If any of the Baggage files in
the current project have the same name they will be
overwritten.
Then just click on to import the XML file package. Any new topics will be
inserted in the current position in the TOC.
See also:
New project from an XML project file 142
XML Export and Import 786 (Reference)
7.2.7 Importing RoboHelp® X5 projects
Users switching to Help & Manual 4 from RoboHelp® X5 can import their RoboHelp® for
HTML projects directly into existing Help & Manual .HMX projects, merging the X5 project
topics with the existing TOC. The import is comprehensive, including the table of contents,
the keyword index, the HTML topic pages, A and K keywords, help context numbers, text
popups, custom build tags and topics with special build flags.
Conversion of the original layout and formatting in the RoboHelp® X5 topic pages should
also be largely complete and accurate, although you may have to do some minor editing and
tweaking after importing.
The graphics files from the original files are not imported to the new project directory.
Instead, Help & Manual adds the location(s) of the graphics files to the image folders list in
Project > Project Properties > Common Properties > Image Folders 553 . You can move the
image files after importing if you want - just change the folder entries in the Image Folders
list accordingly after doing so and Help & Manual will be able to find them.
position where you want to insert the topics generated from the imported RoboHelp®
X5 HTML project.
2. Select File > Import to display the Import wizard:
· In the preselected Import existing documentation from... section click the check
box for RoboHelp® for HTML project file option.
· In the Specify source file / folder: field click to locate the directory containing the
RoboHelp® X5 HTML project you want to import and select the .XPJ project file.
Then click on Next.
3. Now you need to specify how the contents of the topics in the HTML topic files in your
RoboHelp® project are to be identified:
· What settings you will need depends on the code and structure of the HTML topic
files you are importing. In most cases you should get reasonably good results with
the settings shown in the screenshot above.
For details on the settings and what they do right-click on the individual
settings in the dialog and select What's This?
If you experience problems you may need to examine the source code of
the HTML topics
· Click Finish! to decompile and import the file. The topics created will be inserted at
the current position selected in the TOC.
See also:
Creating Projects 125
Exporting and importing topics 202
7.2.8 Importing topics and merging projects
IN THIS TOPIC:
Copying topics and chapters between projects 169
Sometimes you will want to import topics from other Help & Manual projects or even merge
two entire projects completely. However, you will discover that there is no direct .HMX option
in the Import functions. To import topics from another project you just open Help & Manual a
second time and copy and paste between the two projects. In addition to this you can also
use XML to merge projects if you have the Professional version of Help & Manual.
See also:
Exporting and importing topics 202
Moving, cutting and pasting topics 217
· Study the topics in this chapter for more information on creating and working with
topics in Help & Manual.
See also:
Managing Topics in the TOC 209
7.3.1 Creating new topics
IN THIS TOPIC:
How to create a new topic 172
Creating multiple topics simultaneously 173
Linking to a topic in an external help file 173
Creating a topic containing a web page 174
Using templates for new topics 175
Merging external HTML files into topics 175
You create a new topic by adding an “entry” to the Table of Contents, or TOC. The
procedure is the same for adding entries to the normal TOC and to the Invisible Topics 193
· Select Topic or chapter with text to create a normal topic with content.
· The Chapter without text option creates a topic without content that is only used
as a chapter heading for a group of sub-topics.
Note that chapters with text are not supported in Winhelp. When you
compile to Winhelp a sub-topic with the same name as the chapter with
text will be generated containing the texts of the chapter.
· See below 173 for information on the Multiple topics option.
5. Type your title in the Topic Caption: field (this is the title that appears in the TOC). The
Topic ID is generated automatically and is initially based on the caption you enter. You
can edit the automatically-generated topic ID if you like – see Assigning topic IDs 210
for more details.
· This option only works in Winhelp and HTML Help output! Topic entries
created with Jump to an external help file will be empty or not present in all
other output formats.
· The entry created is really just a link. The external topic is not included
in your project or your help file!
· The .CHM or .HLP help file containing the linked topic must be present in
the same directory as the help file containing the link, otherwise the topic
will not be displayed.
3. Use the Browse button in the Help File: field to navigate to the external help file.
You can select topics in .HMX project files or in compiled .CHM or .HLP files. (Type *.
hlp or *.chm in the File name: field of the Open dialog to display these files.)
4. Then use the Browse button in the Topic ID: field to select the ID of the topic you
want to link to.
5. Then click on to create the new topic.
See also:
Insert New Item 673 (Reference)
Assigning topic IDs 210
Content templates for topics 466
Setting up your styles 746 for formatting your text is another thing you need to do to get your
project "working" for you. A good set of well-defined styles will give your project a uniform
appearance. In addition to this your styles will also handle your formatting for you once they
are set up, leaving you free to concentrate on the content of your project.
Help & Manual 4 includes powerful support for dynamic, inherited styles, which are similar to
the styles used in MS Word, OpenOffice and other major word processors. You don't have
to use styles, but if you don't you will be creating a lot of unnecessary extra work for
yourself.
If you want to be able to change your formatting in your entire project quickly and apply a
uniform appearance to your output you need to use styles. Once you get the hang of it they
are very simple to use and save you a huge amount of time and effort.
· Click in an ordinary paragraph and check that Normal is displayed in the styles
selector box in the Toolbar. If it isn't then select it from the list. This will
automatically format the current paragraph as Normal:
· Then select Format > Edit Styles. This will display the styles definition dialog with
Normal preselected.
· Now you can select and in the Edit
Styles dialog to adjust the definition of the Normal style. As soon as you click on
OK your current paragraph and all other paragraphs in your project formatted with
Normal will have the new formatting. If you have changed the font then all other
styles based on Normal will now also have this font.
See also:
Text Formatting and Styles 228
Dynamic Styles 746 (Reference)
Edit Styles 713 (dialog box reference)
7.3.3 Choosing a help window
IN THIS TOPIC:
How to change the background color of the topic and header 178
Each topic in your project is associated with a "help window type", which you can select and
change in the Topic Options tab. Help window types define the background color of the topic
page and the header. They also control the appearance and behavior of the viewer and
windows in which topics are displayed in electronic help formats.
By default all new topics inserted in the Table of Contents (TOC) are assigned the Main help
window type, which is the standard window for all normal topics. (Topics inserted in the
Invisible Topics 193 section are automatically assigned the Popup 194 help window type.)
For more details see Help Windows 800 in the Reference section and Using
external windows 473 in the Advanced Procedures section (this also explains
how to use external windows in HTML Help and Winhelp).
and Winhelp Options tabs in Project > Project Properties > Help Windows 557 .
HTML Help:
The definition of Main controls the appearance of the entire help viewer and the topic
window. The relevant settings are in the Color & Position and HTML Help Options
tabs in Project > Project Properties > Help Windows. However, the appearance of the
topic window is also defined by the HTML template 470 that is linked to the Main
window definition and accessed in the Browser-based Help 586 section (Topic Pages).
Browser-based help:
The settings in the Color & Position tab in Project > Project Properties > Help
Windows 557 only control the background color of the topic window and its header and
whether the topic window has a header. The position and size settings are ignored.
Everything else is controlled by the settings in Project > Project Properties > Browser-
based Help 586 (Navigation, Table of Contents, Keyword Index, Topic Pages ) and the
associated HTML templates 470 .
eBooks:
The settings in the Color & Position tab in Project > Project Properties > Help
Windows 557 only control the background color of the topic window and its header and
whether the topic window has a header. The position and size settings are ignored.
The appearance of the topic window is also controlled by the HTML template 470 that
is linked to the Main window definition and accessed in Project > Project Properties >
Browser-based Help 586 (Topic Pages). The appearance of the viewer is controlled by
the eBook template 471 selected for your project.
See also:
Help Windows 800
Using secondary windows 471
Using external windows 473
HTML templates 470
7.3.4 Writing and formatting text
IN THIS TOPIC:
Working in the Help & Manual editor 180
Editing and formatting 181
Formatting individual words and phrases 182
The Help & Manual editor is the large pane on the right of the Table of Contents (TOC). The
editor has two tabs: The Help Text tab, which is where you write and edit your topic content,
and the Topic Options tab, which contains the basic options and settings for each individual
topic.
For more details see The Help & Manual Editor 740 in the Reference section.
Also check Keyboard shortcuts 83 for editing and other shortcuts.
MS Word users: The paragraph end mark doesn't contain any formatting!
If you're used to using word processors like MS Word you need to forget about the
power of the paragraph end mark. In Help & Manual formatting is associated directly with
the text and paragraphs, not with the paragraph end marks. The paragraph end mark is
just a carriage return marking the end of the paragraph, nothing more.
This means you can't select the paragraph end mark. You can't format the paragraph by
formatting the paragraph end mark and you can't delete a paragraph's formatting by
deleting the paragraph end mark.
If you combine two paragraphs the paragraph attributes of the upper (first) paragraph will
be applied because you can't have two sets of paragraph settings, but this has nothing
to do with the paragraph end mark. The formatting is associated with the entire
paragraph.
· For more information see The paragraph end mark 741 in the Reference > The Help
& Manual Editor chapter.
Bold: Ctrl+B
Italic: Ctrl+I
Underline: Ctrl+U
For more details see Formatting text manually 230 in Basic Working
Procedures > Text Formatting and Styles.
For more details see Formatting text manually 230 in Basic Working
Procedures > Text Formatting and Styles.
Apply styles: Toolbar (styles selector box), keyboard shortcuts (you must
define these yourself in the styles definitions)
For full details on using styles see Setting up styles 176 in this section and the
Text Formatting and Styles 228 section.
See also
Topic options 81
Setting up styles 176
Formatting text and styles 228
Editing XML source code 208
7.3.5 Selecting text and content
IN THIS TOPIC:
Selecting with the mouse 183
Selecting with key combinations 184
Select a single Click to the left of the line in the margin of the editor.
line:
Select a Click and drag from the beginning of the paragraph to the end.
paragraph: Note:
There is currently no command for selecting a paragraph
automatically. This is a restriction of the Help & Manual editor.
Links, macros Click once to select and edit link text, double-click to edit link
etc: properties (Ctrl+Click navigates to the link target topic).
Selecting a Position the mouse pointer just to the left of the table and left-click. For
table: more details see Selecting and formatting cells and tables 336 .
See also:
Selecting and formatting cells and tables 336
7.3.6 Spell checking
IN THIS TOPIC:
How to select the spell checking language 185
How to use live spell checking 185
How to use manual spell checking 186
How to spell-check the TOC 186
Choosing the dictionary for Add and Auto-Correct 187
In addition to checking the spelling of individual topics and your entire project Help & Manual
4's new spell checker includes live spell checking (misspelled words are highlighted as you
type) and several other powerful new features that make working in Help & Manual just as
· You can spell check documents that contain multiple languages by selecting more
than one main dictionary.
· Click on Download dictionaries to download free dictionaries for additional languages.
See Spell Checker 629 in Tools Included with Help & Manual for full details
on configuring the spell checker.
Note that the live spell checker does not mark repeated words as errors. This
is only marked by the manual spell checker.
4. Click on and close the spell checker configuration dialog. The next time
you perform a manual spell check all the Auto-Correct terms will be replaced
automatically.
See Spell Checker 629 in the Tools Included with Help & Manual chapter for
full details on configuring the spell checker.
Project settings have priority over global settings. For example, if you
switch live spelling on in the global settings and off in the project settings
it will be switched off for the current project.
See Spell Checker 629 in the Tools Included with Help & Manual chapter for
full details on configuring the spell checker.
See also:
Spell Checker 629
7.3.7 Copying, cutting and pasting
IN THIS TOPIC:
How to cut, copy and paste text and content 189
Copying from MS Word and other Office applications 189
Copying, cutting and pasting text and other content in Help & Manual is exactly the same as
in a modern word processor. Just select what you want to copy and then use the standard
cut/copy and paste commands.
See Moving, cutting and pasting topics 217 in Managing the Table of
Contents for details on copying entire topics.
Copying, cutting and pasting text from MS Word and other Office
applications:
3. Click on at the bottom of the dialog and select the .HMX project file
containing the settings you want to copy.
Warning: This will overwrite your current project settings with the
settings that you copy!
4. In the dialog that appears choose This Page Only to copy only the settings of the
selected page (Title & Copyright in the example) or Copy Section to copy all the
settings in the current section (Common Properties in the example).
See also:
Moving, cutting and pasting topics 217
Project Properties 548
7.3.8 Searching for text, topics and referrers
IN THIS TOPIC:
How to find and replace text 192
How to find and replace graphics 192
How to find topics by ID or context number 192
The functions for finding and replacing text in Help & Manual are very similar to the
comparable functions in word processors, with some additional options for the special
requirements of help projects.
In addition to this the program also has powerful functions for locating individual topics by
their topic IDs and their context numbers, and for locating "referrers", i.e. topics containing
links to the current topic or topics.
Every topic you create in Help & Manual’s Table of Contents (TOC) section has a
corresponding entry in the TOC of your output. The Invisible Topics section (below the TOC)
is for topics that you do not want to include in the Contents of your output. Invisible topics
are most frequently used for context-sensitive popup topics 431 and other popups 194 and for
topics that you only want to link to without including them in the TOC.
See also:
Creating popup topics 194
About invisible topics 848
Organizing invisible topics 225
Using Context-Sensitive Help 431
7.3.10 Creating popup topics
IN THIS TOPIC:
How to create a popup topic 194
Configuring and editing popup topics 195
Creating formatted popups in HTML Help 196
Controlling the width of popup topics 196
Linking to a popup topic from your help 197
Linking to a popup topic from your application 197
Popups are mini-topics used to display a small amount of information in a small "popup”
window, which is normally displayed when the user clicks on a link. Popups are used both in
the help text itself and in applications, where they are referred to as "context-sensitive
popups".
The topics used for popups are all created in the Invisible Topics pane below the Table of
Contents pane. How these topics are presented and handled in your output depends on the
output format you are using and on your settings for that format, and also on how you link to
the popup topics. A link from an application displays the popup in the application, a link from
a topic in the help displays the popup in the help.
For more details on context-sensitive popups see Using Context-Sensitive
Help 431 and Context-Sensitive Help and Popups 834 .
When you create hyperlinks to popup topics 297 in your help they will automatically be
displayed as popups. See Using Context-Sensitive Help 431 for information on calling
HTML Help:
· Go to Project > Project Properties > HTML Help > Popup Topics 567 to select the
popup type used when you output HTML Help. The features of the various popup
styles available are described in the dialog displayed.
If you choose Text-only popups remember that you can only use plain text.
Formatted text (bold, italics, fonts), graphics, hyperlinks are all not supported and will
be ignored in the output even if you use them. Tables and all their contents will be
deleted.
You can create formatted popups in HTML Help with the Dual-mode Help and
JavaScript Popups options. See below 196 for details.
Winhelp:
Winhelp supports formatted text, fonts, graphics and hyperlinks in popups. There are
no configuration settings for popups in Winhelp – Winhelp popups are actually
normal Winhelp topics without headers.
Browser-based Help :
· Go to Project > Project Properties > Browser-based Help > Popup Topics 599 to
configure the settings for popups in Browser-based Help.
Help & Manual 4 introduces support for popups in Browser-based Help, generated
with JavaScript code. These popups are highly-configurable and support formatted
text, graphics, hyperlinks and even animations and videos. See Using JavaScript
popups 199 for full details.
eBooks:
Formatted popups with links and graphics are supported in eBooks but they are not
configurable. Links to popup topics in your project will be displayed automatically as
formatted popups in eBooks. They are sized automatically on the basis of their
content and they use the background color set for the Popup help window type in
Project > Project Properties > Help Windows 557 .
JavaScript popups:
· Go to Project > Project Properties > Browser-based Help > Popup Topics 599 and
select JavaScript Popups.
· Click on to configure your popups. (JavaScript popups are
highly customizable!)
For more details see Using JavaScript popups 199 .
See also:
Using JavaScript popups 199
Using Context-Sensitive Help 431
Context-Sensitive Help & Popups 834 (Reference)
JavaScript popups are a new technology introduced in Help & Manual 4. They make it
possible to create popups in Browser-based Help (this was not supported in Help & Manual
3 and earlier), and in HTML Help you can use them as an third popup alternative, in addition
to HTML Help's own native plain-text popups and Help & Manual 4's dual-mode popups in
which the popups are stored in an external Winhelp .HLP file.
Advantages: JavaScript popups create fully-formatted popups that can contain
formatted text (bold, italic, different fonts etc.), graphics, hyperlinks
(both topic and Internet links) and even video and animation files. In
addition to this they also support a range of cool graphical effects and
transitions (fade-in, transparency etc.) that are displayed in both
HTML Help and Browser-based Help. (In Browser-based Help these
effects are only displayed by Internet Explorer 5.5 and later.) In HTML
Help JavaScript popups are stored in the main help file so that you
only need to distribute one file.
Limitations: JavaScript popups cannot be used for context-sensitive popups 840
called from and displayed in applications. They can only be displayed
within the help file. Also, activating JavaScript popups is a global
setting for all the popup topics in your Invisible Topics section. If you
use JavaScript popups you cannot create formatted context-sensitive
popups in the same HTML Help project – you must then create a
second Winhelp project 437 for your formatted context-sensitive
popups.
Browser-based Help:
Go to Project > Project Properties > Browser-based Help > Popup Topics 599 and
select JavaScript Popups.
2. Click on to display the configuration dialog. This dialog is
exactly the same for both HTML Help and Browser-based Help:
Click/ Displays the popup on user click or mouseover (i.e. as soon as the
mouseover: user moves the mouse pointer over the link). Be careful with using the
mouseover option as many users find this intrusive and it may also
trigger popup blockers in some browsers.
Minimum Setting this to 0 makes the popup width automatic, on the basis of the
width: amount of text and/or other content.
Setting it to any other value (in pixels) explicitly defines the width of the
popup. If the popup only contains text it will have the width you specify.
If it contains other content (graphics, videos) it will be at least as wide
as the specified width and wider if required by the content.
Border width: Enter 0 for no border, any value above 0 (in pixels) to draw a border
around the popup box.
Border The distance between the popup content and the border or edge of the
padding: popup (if there is no border) in pixels.
Visual effects: These effects are only supported by MS Internet Explorer. This means
that they are available in HTML Help (which uses MSIE) and in
Browser-based Help when the user is using Internet Explorer. They
are ignored by all other browsers.
These effects are easier to see than to describe. Experiment! (Note
that the transition effects are only for opening the popup box. The
popups always close in the same way, no matter what effect you
select.)
See also:
Creating popup topics 194
You can export and import topics with the Topics > Load/Save Topic functions. Four different
export and import formats are supported: Word RTF, the Help & Manual XML Language
format and two versions of the Help & Manual editor's own internal format called .HMTOPIC
and .RVF.
Both .RVF and .HMTOPIC save all your topic content, including all formatting, tables,
references to graphics, links and so on. The only difference between the two is that the .
HMTOPIC format saves and loads the topic content and the topic header, whilst the .RVF
format only saves and loads the topic content. The XML format 778 also includes the entire
topic with the header and all other information, just like .HMTOPIC.
The .HMTOPIC format is also used for topic content templates 466 .
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
See also:
Importing an RTF file 138
Content templates for topics 466
Compiling your Project 410
XML Export and Import 786
Importing topics and merging projects 169
As its name suggests, the Insert > Comment/Bookmark feature has a double function: It
enables you to insert comments in your text and the comments also function as bookmarks,
which can be used to mark and find positions in your text while you are working.
To save space we are going to refer to comment/bookmarks as "C/Bs" in this topic.
3. Click on .
Note that When you jump to a C/B you are always jumping to the topic
containing the C/B, not to the C/B itself. No matter where the C/B is in the
topic the jump will always be executed to the top of the topic.
Tip:
You can also display the comment's text by dragging the size handles that are visible
when the comment pin icon is selected.
See also:
graphic caption and comment styles 249
7.3.14 Special characters, lines and breaks
IN THIS TOPIC:
How to insert special characters 206
How to insert horizontal lines 206
How to insert hard page breaks 207
Like most modern word processors Help & Manual can also insert special characters not
available on the keyboard, horizontal lines and hard page breaks. However, please note that
special characters and hard page breaks need to be used with consideration for the
limitations of your chosen output format – if the fonts required for the characters are not
available on the user's computer the characters will not be displayed.
always occupy the entire width of the page or table cell in which they are inserted.
1. Click in the editor in the position where you want to insert the horizontal line.
2. Select Insert > Horizontal Line to insert the line. A dialog will be displayed allowing
you to choose the line thickness and color.
To access this feature more quickly you can assign a keyboard shortcut to
it in Tools > Customize > Shortcuts.
See also:
Insert Special Character 703
7.3.15 Printing topics
You can print single and multiple topics with Topics > Print Topic. The advantage of this
over File > Print User Manual is that this function only prints the selected topic or topics.
Print User Manual uses a PDF print manual template, which always includes additional
elements like the cover and back page, table of contents, index and so on, even when you
only print one or more selected topics.
See PDF and Printed Manuals 538 for more details on using these other functions.
See also:
PDF and Printed Manuals 538
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
See also:
Exporting and importing topics 202
Compiling to XML 415
XML Export and Import 786 (Reference)
Editing XML files in Word 2003 799
The topic ID (look in the Topic Options tab of any topic to see its ID) is the unique
alphanumeric identifier of a topic. It must be unique because it is used to reference the topic,
both by the help viewer and by programmers accessing the topic from applications. All the
internal links 293 you create in your project refer to topics by their IDs, for example.
For more background information see IDs, Context Numbers and Keywords 849 in the
Reference section.
Avoid topic IDs with 31 characters:
Because of the way long topic names are handled you must avoid using topic
IDs with 31 characters or multiples of 31 characters (62, 93 etc). If you use
them you may experience errors. See here 911 for details.
You can edit the topic ID in (2) before clicking on to create the topic. (See the
note on special characters below.) You can also change the topic ID 214 later at any time.)
See also:
IDs, Context Numbers and Keywords 849 (Reference)
Assigning help context numbers 212
Changing topic IDs and context numbers 214
The help context number is a second unique identifier for topics. Like the topic ID 210 it must
be unique and it can also be viewed and edited in the Topic Options tab of every topic.
Unlike topic IDs help context numbers are optional – they are not required for normal help
and they are thus also not included in the Insert New Item 673 dialog.
Help context numbers are used by some programmers and programming languages to
access topics from applications, either on their own or in combination with topic IDs.
For more background information on topic IDs and context numbers see
IDs, Context Numbers and Keywords 849 in the Reference section.
17854,22395,339788
All the numbers must be unique – you cannot assign the same number to more than one
topic. This is not a problem within a single project because Help & Manual will not allow
you to enter duplicates in the same project. However, if you are creating modular
projects 492 you must make sure that you do not enter the duplicate context numbers.
See Managing IDs and context numbers 497 for more details on this.
self-explanatory. For more information see The Help Context Tool 624 .
See also:
IDs, Context Numbers and Keywords 849 (Reference)
The Help Context Tool 624
Planning modular projects 880
7.4.3 Changing topic IDs and context numbers
IN THIS TOPIC:
How to change a topic's ID 214
Don't edit anchor IDs 214
How to change a topic's help context number 214
What to check after changing the IDs and context numbers 215
Help & Manual allows you to change topic IDs 210 and help context numbers 212 whenever you
like. All links within your project are updated automatically when you do this. Internally this is
not a problem but there are still a couple of important points you need to consider when
changing IDs and context numbers, however – see below 215 for details.
For more background information on topic IDs and context numbers see
IDs, Context Numbers and Keywords 849 in the Reference section.
17854,22395,339788
Topic IDs:
As of Help & Manual 4 graphics containing links in hotspots 321 are also updated
automatically (this was not possible in Help & Manual 3 and earlier). However, you
still need to check the following items:
· Any other help files or .HMX help project files 125 containing links to the topic, for
example if you are using modular help systems 492 .
· Any software containing calls or links to the topic using the topic ID.
· Any macro code and scripts 302 or plain HTML code 311 containing references to
topic IDs that you have inserted yourself.
· Any references to the topic ID in HTML code that you have inserted manually in
your HTML templates 475 . (This is actually extremely unlikely, but you should always
remember that all code you enter in these templates is entirely your own
responsibility, it is not checked by Help & Manual!)
Context numbers:
Help context numbers are only used by external applications. They are not used for
links within or between help files. This means that any changes to help context
numbers are only relevant for calls to your help from applications.
· After (or better, before!) changing help context numbers you need to check with
the programmers to make sure that they have the right numbers for accessing all
your topics and anchors.
· If you are using modular help systems 492 you need to make absolutely sure that
you do not have duplicate help context numbers in your projects. See Managing
IDs and context numbers 498 in the chapter on working with modular help systems
for details.
You can generate lists for your programmers containing all your
topic IDs and help context numbers with the Help Context tool 624
and the Project Reports tool 618 .
See also:
IDs, Context Numbers and Keywords 849 (Reference)
Managing IDs and context numbers in modular help 497
The Help Context Tool 624
The Project Reports Tool 618
7.4.4 The TOC Toolbar
The Table of Contents (TOC) has its own special toolbar at the top of the TOC section. The
icons in this toolbar provide quick access to a number of TOC editing functions, two of which
(Promote and Demote) are only available here.
Add Inserts a new item 171 (a topic) in the TOC. When you click on it a menu
Item: is displayed with insertion options (before, after or as child of current
topic).
Edit Edit the caption 217 (title) of the current topic in the TOC.
caption:
Promote Moves the current topic to the left, shifting it up one level in the TOC
: hierarchy. If the item is the child/sub-topic of a topic this moves it up to
the same level as its parent topic. Not available for top-level topics.
Demote: Moves the current topic to the right, shifting it down one level in the TOC
hierarchy and making it a child/sub-topic of the topic directly above it.
Only available if there is a topic above the current topic. (See Promoting
and demoting topics 219 for details on using these functions.)
Move Moves the current item up one step in the TOC without changing its
up: status in the TOC hierarchy (i.e. without promoting or demoting it).
Move Moves the current item down one step in the TOC without changing its
down: status in the TOC hierarchy (i.e. without promoting or demoting it)
The topic caption is the title of the topic displayed in the TOC, both in Help & Manualand in
your output, for example the Contents pane of the HTML Help viewer and the Winhelp
viewer and the Contents page of a PDF file.
When you create a new topic the caption text is duplicated in the topic header, which is the
title displayed above the topic itself. The header is also displayed in your output, for example
above the topics in the HTML Help and Winhelp viewers.
About the "link" between the topic caption and the topic header:
When you create a new topic its caption is automatically duplicated in the topic header. If
you only edit the caption the header is also updated automatically so that the caption and
the header remain identical.
However, you may want the caption and the header to be different. For example, you
may want to have a short title in the TOC and a longer header displayed above the topic.
To switch this link off just click in the topic header and edit it.
As long as the topic caption and the topic header are different the "link" between them is
switched off and you can edit them separately. To re-establish the link just edit the topic
header so that it is identical to the caption in the TOC again. If you then edit the TOC
caption the header will once again change with it.
To change the structure of your project you need to be able to move topics around in the
Table of Contents (TOC). This is extremely easy in Help & Manual and can be accomplished
in seconds.
· Select a topic or chapter and drag it between two other topics (a blue line is displayed
between the target topics) to insert it before/after the target topic. Position the mouse
pointer to the right or left of the topic caption to display the blue line.
See also:
Promoting and demoting topics 219
Copying, cutting and pasting 189 (text and content)
Importing topics and merging projects 169
7.4.7 Promoting and demoting topics
IN THIS TOPIC:
How to promote and demote topics with the TOC toolbar 220
The Table of Contents (TOC) is organized in a hierarchical tree structure, similar to the
directory structure that Windows Explorer displays for the contents of a hard disk. "Top-
level" topics like the Welcome and Introduction topics in this help are the topics at the top
of this tree.
Any topic that has a sub-topic automatically becomes a "chapter" (book icon in the TOC). A
sub-topic of a top-level topic is a second-level topic, a sub-topic of a second-level topic is a
third-level topic, and so on.
In addition to moving topics up and down you can also restructure your TOC by promoting
and demoting topics to higher and lower levels. For example, if you promote a sub-topic of
the Introduction in this help it would become a top-level topic. If you move the Welcome
topic below the Introduction chapter and demote it, it will become the sub-topic (child) of
Introduction and a second-level topic.
· The Promote button (left arrow) promotes the current topic to the next level by
moving it one step to the left.
· The Demote button (right arrow) demotes the current topic to the next level by
moving it one step to the right.
See also:
Moving, cutting and pasting topics 217
7.4.8 Multiple TOC entries for one topic
IN THIS TOPIC:
Creating additional topic references with Add Item 221
Creating additional topic references with Drag & Drop 221
Inserting a new item 171 into the Table of Contents (TOC) or into the Invisible Topics 193
section automatically adds both a new entry to the TOC and creates a new topic. However,
there may be some situations where you want to use exactly the same topic in more than
one place in the TOC.
You can do this by creating multiple references to an single topic in the TOC. The result is a
single TOC topic that can be accessed from multiple positions in the TOC. There is still only
one topic, but it is displayed in several different positions within the TOC – for example in
different chapters.
See Embedded topics and multiple references 881 in the Reference section for
more background information.
See also:
Using embedded topics 222
Moving, cutting and pasting topics 217
7.4.9 Using embedded topics
IN THIS TOPIC:
How to insert an embedded topic 222
Using invisible topics as sources for embedded topics 222
The Insert > Embedded Topic function enables you to "inject" the contents of a topic into
another topic at any chosen point. This is a more flexible way of reusing topics in multiple
locations than creating multiple TOC references 220 for the same topic.
Embedded topics are copies of a "source" topic that are inserted in the "target" topic
together with their normal index keywords 370 but without their A-keywords 382 , topic IDs or
context numbers. The embedded topic is only actually inserted when you compile your
project. All editing changes in the source topic are reflected in all the target locations, both in
the Help & Manual editor and in your output.
See Embedded topics and multiple references 881 in the Reference section for
more background information.
If you are only using an invisible topic as a source for an embedded topic you
should exclude it from your output. If you don't do this it will be included
"invisibly" in electronic output formats like HTML Help and Browser-based Help.
This will increase the size of your help and the user may be able to find the topics
with Search. Invisible topics defined as popup topics will not be searchable if you
are using JavaScript popups 199 but they will still increase the size of your output.
To exclude the topic select the Topic Options tab and deselect all options in the
Builds which include this topic section.
If you want you can also enter keywords in the invisible source topic for your
embedded topics. This has the advantage that the keywords are exported to the
topics where the source topic is embedded, so you don't need to enter them again
there. (Only normal keywords, A-keywords are not exported.)
However, if you are exporting to HTML Help this also has a disadvantage: Topics
that contain keywords are always exported to the HTML Help .CHM file as invisible
topics, even if you turn off all their build options in their Topic Options tabs. This
means that the invisible version of the topic will also be found in the index and
with the full-text search function.
If you want to avoid this in HTML Help the only option is to insert the keywords in
the target topics, not in the source topics. (This behavior cannot be changed
because of the way the HTML Help compiler works.)
1. Create an invisible topic 193 . Don't worry about its help window type – you can leave
its help window type set to Popup (the default setting) because the source topic
itself will not be included in your output so its window type is irrelevant.
2. Select the new topic's Topic Options tab and deselect all the options in the Builds
which include this topic section (see above 222 for details on the reason for this).
3. Create the content of your topic. You can use all formatting, tables, graphics, links
etc. Again, don't worry about the topic being defined as a popup and not having a
header! You are only using it as the source for embedded topics, so its window
type and header are irrelevant.
4. Use the instructions above 222 for inserting embedded topics to embed the topic in
as many other topics as you want.
anchors directly. See Anchors - jump targets 307 for a solution to this problem.
See also:
Multiple TOC entries for one topic 220
Embedded topics and multiple references 881
Topic include options 457
7.4.10 Changing the topic icon
If you don't like the standard topic icons displayed in the TOC you can change them for
HTML Help, Browser-based Help (HTML) and Help & Manual eBooks. Help & Manual has
an integrated list of supported icons you can choose from.
Winhelp does not support custom icons. If you select custom icons they
will always be displayed in your TOC in Help & Manual but your Winhelp
output will still use the standard icons, which are the only ones it knows.
3. Choose the new icon from the list displayed and click on . To reset a topic to
its default icon select the first entry in the list (Auto).
When you change chapter icons it doesn't matter which version of the
closed/open icon pair you choose. They are always applied as a pair and
matched to the icon state automatically.
See also:
Changing the topic status 225
See also:
Changing the topic icon 224
7.4.12 Organizing invisible topics
IN THIS TOPIC:
Organizing invisible topics in chapters 225
Creating chapters without text 226
Using include options for invisible topics 226
The Invisible Topics section of the Table of Contents (TOC) tab can be organized into
"chapters" and "sub-chapters" in exactly the same way as the normal TOC area. Since the
topics in this section are invisible in your output this feature is only meaningful while you are
editing – it simply helps you to organize your invisible topics better.
Restrictions in the Invisible topics section:
Although the Invisible Topics section looks very similar to the TOC it is
actually a little different and there are a couple of restrictions: You cannot
change the icons of topics in this section and you cannot convert a chapter/
topic in this section to a chapter without text, or a chapter without text to a
chapter/topic with text.
See also:
Creating new topics 171
Promoting and demoting topics 219
There are many situations where you will want to check the time and date when a topic was
last changed or edited. Every topic in Help & Manual has two timestamps: One for the topic
itself and one for the topic's entry in the Table of Contents (TOC). The topic timestamp is
updated whenever you make any changes to the topic, the TOC timestamp is only updated
when you make changes to the topic's TOC entry.
See also:
Using Variables 440
Global predefined variables 863
Formatting text
Help & Manual 4 has much more powerful text formatting features than Help & Manual 3
and below. Font and paragraph formatting have both been radically improved and a new
formatting class, Borders and Backgrounds, has been introduced. Help & Manual's text
formatting is now just as powerful and flexible as in modern word processors.
Dynamic styles
A "style" is a defined, named set of text and/or paragraph formatting rules that you can
apply to text in the Help & Manual editor. Help & Manual 3 and below had styles, but they
were not dynamic – changing the definition of the style did not change the formatting of
text to which the style had already been applied.
Help & Manual 4 introduces true dynamic styles. Once you apply a style it is dynamically
linked to the paragraph or text to which you have applied it. When you change the style
definition the formatting changes automatically throughout your entire project.
If you are not familiar with styles please study the topics in the chapter
Dynamic Styles 746 in the Reference section before getting started. This will
make the whole process much easier for you!
See also:
Dynamic Styles 746 (Reference)
If you are upgrading from Help & Manual 3 you will probably need to spend a little time
getting used to the new dynamic styles, because they make a new way of working
necessary. Although Help & Manual 3 and earlier also had "styles" they were not dynamic –
all formatting was manual. You could apply styles to text and paragraphs, but they were
really just a quick way of applying several formatting commands at the same time. After
applying a style you couldn't change the formatting of the text by changing the definition of
the style. You had to go back and re-apply the changed style again.
All this has changed in Help & Manual 4. Dynamic styles give you full control over your
project, enabling you to change its entire formatting and layout in seconds at any time.
See also:
Dynamic Styles 746 (Reference)
7.5.2 Formatting text manually
IN THIS TOPIC:
Use styles instead of manual formatting! 230
How to apply manual formatting to text in the editor 230
Manual formatting in Help & Manual now works exactly as it does in a modern word
processor. You apply formatting to text manually with the tools in the Formatting Toolbars
(see below) and the Format menu, where you can select formatting options for Font,
Paragraph and Borders and Background.
See also:
Formatting text with styles 234
The Format Menu 704 (Reference)
Syntax highlighting for program code 267
7.5.3 Using indents
IN THIS TOPIC:
How to create an indented paragraph 232
How to create a paragraph with a hanging indent 233
Hanging indents with "overlong" text on the left: 232
Creating indents in a word processor is a trivial task that you hardly even need to think
about. If you've ever done any work with HTML you will know that indents in HTML are more
of a problem. The reason for this is that HTML doesn't know anything at all about tab stops,
and it also does not support multiple spaces.
You can use indented paragraphs in all Help & Manual's output formats – the program will
convert them to stable HTML structures when you compile to HTML-based formats.
However, you should avoid using tab stops and spaces on their own to create indented
effects, because these will not work in HTML-based outputs. You should always use the
paragraph indenting functions described below.
For some background information see Tabs, indents and HTML 744 in the Reference section.
OR:
· Select Format > Paragraph and set the indent values in the Indentation section.
OR:
· Select Format > Paragraph and set the indent values in the Indentation section.
See Tabs, indents and HTML 744 in the Reference section for more information on
hanging indents and how they are converted in HTML-based output.
However, this is OK if you are only outputting to HTML-based formats (HTML Help,
Browser-based HTML, eBooks and Visual Studio Help). Help & Manual automatically
converts the paragraph with a hanging indent into a table and the text on the left will then
wrap correctly, like this:
Don't use this trick for PDF, printed manuals or Word RTF!
You can't use this trick if you are also outputting to PDF, printed manuals or Word
RTF. It only works in HTML-based output!
See also:
Tabs, indents and HTML 744
7.5.4 Formatting text with styles
IN THIS TOPIC:
General instructions for selecting styles 234
The automatic standard styles 235
Applying a style to the current paragraph 236
Applying a style to multiple paragraphs 236
Resetting text attributes in a paragraph formatted with a style 236
Formatting text with styles couldn't be simpler: You just select your text and select a style,
and all the attributes of that style are applied to the text in one quick operation.
Help & Manual comes with a basic set of standard styles already predefined, so you can
start using styles right away, even without defining your own styles. Normally, however, you
will want to modify these styles and add styles of your own to create a customized layout
and appearance for your project.
See Defining styles 237 for information on defining and editing styles. If you are not yet
familiar with styles please study the chapter on Dynamic Styles 746 in the Reference section.
Method 1: Select the style with the style selector in the font formatting
toolbar
Method 2: Select the style from the Format with Style list in the Format
menu:
You can change the style that is automatically applied to the first paragraph
and the header in new topics by defining a new standard topic content
template 466 .
See also:
Defining styles 237
7.5.5 Defining styles
IN THIS TOPIC:
Defining a new paragraph style 238
Defining a new text-only style 239
Defining a new paragraph style from a selection 240
Defining a new text-only style from a selection 241
Adding imported styles to the current document 241
Importing styles from a another project 242
Help & Manual's dynamic styles are defined and edited by selecting Edit Styles in the Format
menu. The style at the cursor position is automatically selected for editing.
If you have not used dynamic styles in a word processor before please study the chapter on
Dynamic Styles 746 in the Reference section before proceeding. This will make using styles
much easier for you.
Note that you cannot create a text style based on a paragraph style. If you create a new
text style based on another style the parent style must also be a text style. If you base a
style on a paragraph style it will always also have paragraph attributes. For example,
this means that you cannot create text styles based on the Normal style because
Normal always has paragraph attributes.
This is very important! If you do not do this the new style may
accidentally be created as a paragraph style .
6. Select the button and set the attributes of the style.
Only set font attributes! Do not set any other attributes for text styles.
See Format Font 705 in the Reference section for details on the settings in
the Font Settings dialog.
7. If you want to create a hotkey combination for selecting the style click in the
Shortcut: field and press the key combination you want to use. You will be warned
if the key combination is already in use.
8. Click on to save the new style. It is then available immediately in all the
style lists (see Formatting text with styles 237 for details).
3. Select the option (this is the default) and enter a name for the new
style.
4. If you want the style to have a parent select a style in the Based on Style: list. The
new style will then be linked to this style in the inheritance tree and will inherit all
the attributes of the parent style that are not different from the current paragraph in
the editor. See About inheritance in styles 749 for more details on inheritance.
If you do not want the style to have a parent scroll to the top of the list and select
(None).
3. Select the option (this is the default) and enter a name for the new
style. It is a good idea to enter a prefix to identify it as a text style, for example "T_
".
4. If you want the style to have a parent select a text style in the Based on Style: list. If
you use this option the parent style must be another text style – you cannot create
a text style based on a paragraph style.
If you do not want the style to have a parent scroll to the top of the list and select
(None).
5. Deselect the option, then click on to create the new
style.
See Editing styles 244 for details on using this function to modify existing
styles.
selector.
See also:
Formatting text with styles 234
Editing styles 243
Dynamic Styles 746 (Reference)
Whenever you edit a style in Help & Manual all the text in your project formatted with the
style is updated automatically and immediately. For example, if you change the font of a
heading style from Arial 12 bold to Times Roman 14 bold/italic all the headings formatted
with that style will be formatted with Times Roman 14 bold/italic as soon as you close the
style editing dialog.
In addition to this any changes you make to styles will automatically be inherited by any
other styles based on that style. This makes it possible to make changes to entire families of
styles very quickly and easily by editing the parent styles. For example, you can normally
change the base font in your entire document by changing the font of the Normal style.
· See About inheritance in styles 749 for more details on the background to this.
1. In the Help & Manual editor use the manual formatting options 230 to change a
paragraph or some text formatted with the style you want to change.
2. Make sure that the cursor is inside the formatted text, then select Create Style
from Selection in the Format menu.
You don't need to select any text, the cursor must only be inside the
formatted text you want to use as a model. If you do select text it should
all be formatted in the same way – don't try to create a style based on
text with some words formatted in one way and some in another!
See also:
Paragraph and text styles 753
7.5.7 Style display in the Toolbar
IN THIS TOPIC:
Display for manually-formatted text 246
Display for text styles 246
Display for no style 246
Display for an unknown imported style 247
The style selector in the Font Formatting Toolbar also functions as an indicator to identify
the style of the current text or paragraph. It displays the paragraph and/or text style at the
current cursor position or of the currently selected text. For example, in the screenshot
below the cursor is in a paragraph formatted with the Normal style, with no additional
manual formatting or text styles 239 :
The style display is also empty when you paste text from Word or another word
processor that uses styles. The formatting of the text is imported but the styles with
· See Defining styles 241 for instructions on how to add styles from pasted text like
this to the current document.
See also:
Dynamic Styles 746 (Reference)
Formatting text with styles 234
Defining styles 237
7.5.8 Editor, help file and print styles
IN THIS TOPIC:
How to use different fonts for electronic and print output 247
Completely different styles for electronic and print output 248
Different styles for the editor view 248
Help & Manual can maintain up to three different versions of all your styles: One for the Help
& Manual editor, one for electronic help files (Winhelp, HTML Help, Browser-based Help,
Visual Studio Help / MS Help 2.0, and eBooks) and one for printed output (PDF, manuals
printed with File > Print User Manual and Word RTF).
This means that you can automatically use different fonts and formatting styles for electronic
help and printed manuals. If you want you can also use a different font and style setup for
editing in Help & Manual, although you will normally want the editor layout to look like one of
your output formats.
3. Select the tab for the output format you want to change (Help File View or Print
Manual View) and check the option. The tab where this
option is not selected will have the same style settings as the editor view.
4. Select in this tab and change the font. For example, to
change the font to Times Roman for PDF and printed manuals select Times
Roman for the Normal style in the Print Manual View tab.
Only change the font face, don't make any changes to any other attributes unless
you want these changes to propagate through all the styles in your entire project.
5. Repeat for any other styles that use a font different from the font in Normal and for
any styles that are not based on Normal.
See About inheritance in styles 749 for some important background
information on how inheritance works in Help & Manual's dynamic styles.
This is particularly relevant for this function.
See also:
About inheritance in styles 749
Defining styles 237
Editing styles 243
The Format Menu 704 (Reference)
Image captions 314 and comments/bookmarks 204 are formatted with two standard styles
called Image Caption and Comment. These styles are applied automatically to all image
captions and comments and they are the only styles that these elements can use.
This means that all image captions and all comments/bookmarks in your project will have
the same style, although you can change the formatting of individual captions and
comments by applying manual formatting (see below).
Restrictions:
Unlike all the other styles in Help & Manual the Image Caption and Comment styles have
a number of restrictions:
Ø These styles only have font attributes. Even if you set paragraph attributes in the
style definition they will simply be ignored.
Ø All the text in captions and comments has same font attributes. For example, if
bold or underlined are selected all the text will be bold and/or underlined. You
cannot format individual words differently from the rest of the text.
Ø Image captions are always centered, comments are always left-aligned. Since the
styles do not have paragraph attributes you cannot change these settings.
See also:
Defining and editing styles 237
Inserting graphics and screenshots 314
Once you have created styles in one project you don't need to redefine them when you
create a new project. You can copy styles between projects, both individually and as
complete collections, which are referred to as "stylesheets".
Note that unlike many word processors Help & Manual does not store its project stylesheets
in separate files. Instead, they are stored in the project files along with all the other project
settings. This is why it is necessary to import them from the project file when you want to
copy them, instead of selecting a different stylesheet.
styles) formatted with the style you want to copy. Copy this paragraph or text to an
empty paragraph in Project A. If you now click in this text the name of its style will
be displayed in red in the style selector, like this:
4. Click anywhere in the copied text and select Format > Create Style from Selection.
5. Select the option (this is the default) and enter a name for the new
style. You can use the name shown in the style selector or another name.
See also:
Templates for projects 463
Defining styles 240
7.5.11 Styles and tables
IN THIS TOPIC:
How to apply a style to the table paragraph 252
How to apply styles to the contents of tables 252
When applying styles 228 to tables it is important to understand how tables are inserted in
your project. A table is basically an object in a paragraph of its own (you can't insert anything
else in the paragraph). For formatting purposes you can think of a table as a paragraph
containing a single character.
This means that can you can apply styles to both the paragraph containing the table and to
the content paragraphs inside the table cells. When doing this it is important to understand
how it works:
See also:
Working with Tables 332
7.5.12 Numbered and bulleted lists
In Help & Manual the system for handling and formatting numbered and bulleted lists is
separate from the dynamic styles. You have extensive control over list formatting and
appearance and you can customize your list definitions, but you cannot create style
definitions for lists and include them in the styles accessed with Format > Edit Styles.
This chapter describes how to use numbered and bulleted lists and how to change their
appearance.
of Help & Manual's dynamic styles 234 system. This means you cannot create dynamic
list styles that change all linked lists when you change the style definition.
This is much less of a restriction than it sounds, however. List definitions only define the
bullet character, the numbering format and the levels for numbered lists using outline
numbering. The appearance of the text in a list paragraph is still fully controlled by the
dynamic style attached to the text or paragraph that is part of the list.
List indents are a special case. See Adjusting list indents 264 for more details.
See also:
Formatting text with styles 234
7.5.12.1 Bulleted Lists
IN THIS TOPIC:
How to make a quick bulleted list 253
Changing the bulleted list style 253
Customizing a bulleted list definition 254
3. Select one of the predefined bulleted lists from the Gallery and click on .
OR:
Select one of the definitions and click on to modify the definition (in bulleted
lists you can only select a different bullet with this option).
See also:
Adjusting list indents 264
7.5.12.2 Numbered lists
IN THIS TOPIC:
How to make a quick numbered list 255
Choosing the numbered list format 255
Restarting list numbering 256
Inserting un-numbered paragraphs in a numbered list 257
Just select them and click on to switch the numbering off again.
3. Select one of the predefined numbered lists from the Gallery and click on OK.
4. OR select one of the definitions and click on to modify the definition.
Note that Levels and Start numbering at: only apply to Outline numbered
lists 259 (start numbering at is for sub-levels). Their settings are grayed out
for normal numbered lists.
Number style:
· You can choose a variety of numbering styles. Just select the style from the list, it
will be displayed automatically in the preview on the right.
Number format:
This field allows you to enter characters to be displayed to the left and the right of the
number.
· <L1> is the variable that enters the number in the list. Don't change or delete this
entry!
"L" stands for "level" and since there is only one level in a normal
numbered list <L1> is the only variable you can use here. You can use
other level variables (<L2>, <L3> and so on) in Outline numbered lists
259 .
1. Enter the characters you want to display with the list number to the left and right of
the <L1> variable.
Examples:
(<L1>) for (1), (2), (3)
[<L1>] for [1], [2], [3]
<L1>. for 1., 2., 3.
2. Click on OK to save your changed definition to the Gallery. This overwrites the
existing Gallery definition.
See Adjusting list indents 264 for information on changing the list indent.
See also:
Adjusting list indents 264
Formatting list numbers 265
7.5.12.3 Outline numbered lists
IN THIS TOPIC:
How to make an outline numbered list 259
Creating lower-level items 260
Restarting list numbering 260
Changing outline numbered list appearance 261
Customizing outline numbered list definitions 262
Outline numbered lists are pretty much the same as normal numbered lists except that they
also support multiple numbering levels and each level can have a different style. This is
much easier to demonstrate than to describe.
3. Select one of the predefined outline numbered lists from the Gallery and click on OK.
4. OR select one of the definitions and click on to modify the definition.
2. Edit the list definitions for each level of your list that you want to change. The results
for each level are displayed in the Preview box on the right.
Note that there is a separate definition for each level of your outline
numbered list! You must edit all the values for every list level that you want
to change.
3. Click on OK to save your new outline numbered list definition to the Gallery. This will
overwrite the current definition.
The button in the Gallery resets the predefined lists to the default
values.
See Adjusting list indents 264 for information on changing the list indent.
Number style:
You can choose a different numbering style for each level. Select the level from the
list on the left, then select the numbering style. The selected style will be displayed
automatically in the preview on the right.
Number format:
This field allows you to enter characters to be displayed to the left and the right of the
number for each level.
· <L1>, <L2>, <L3> and so on are the variables that enters the numbers in the list
for each level. Don't change or delete these entries! Also note that the number of
each variable must correspond to the level number. For example, <L1> is for level
1, <L6> for level 6, and so on.
· For each level, enter the characters you want to display with the list number to the
left and right of the <Lx> variable.
Examples:
(<L1>) for (1), (2), (3)
· You cannot have different indent sizes for individual levels in outline numbered
lists. Because of this the legal numbering style is preferable for lists with large
numbers of levels otherwise you would have a very large indent for the top level
and smaller indents for the lower levels, which does not look so harmonious.
Level reset:
When this is selected the numbering of sub-levels in outline numbered lists always
re-starts with 1 or the equivalent. Otherwise the numbering continues from one sub-
level to the next. Must be selected separately for each level of the outline numbered
list!
See also:
Numbered lists 255
Adjusting list indents 264
IN THIS TOPIC:
How list indents are handled 264
How to adjust the indent of a list 264
Turning indented paragraphs into lists 264
Indent problems in outline numbered lists 265
In most cases you will not need to change the standard indent that is applied to your bulleted
and numbered lists. If you do want to change the indent you need to understand how Help &
Manual handles these indents.
See also:
Formatting list numbers 265
7.5.12.5 Formatting list numbers
Numbered lists and outline numbered lists take the formatting of their numbers from the last
character in the first item of the list. For example, if the last character in this is bold the
numbers in the entire list will also be bold. You can make use of this fact to apply different
formatting to the numbering of your lists to make the lists more attractive.
See also:
Adjusting list indents 264
7.5.12.6 HTML list output format
By default Help & Manual outputs numbered and bulleted lists as tables in HTML-based
output formats (HTML Help, Browser-based Help, eBooks, Visual Studio Help). This is
necessary to obtain accurate formatting because the rendering of lists varies very
considerably from one browser to another.
Even HTML Help, which uses Internet Explorer for HTML rendering, will frequently produce
very unsatisfactory list formatting if you do not use tables. This applies particularly to more
complex lists and the indents used in lists.
See also:
HTML Export Options 601
7.5.12.7 Formatting lists with styles
IN THIS TOPIC:
Lists must have at least two entries 266
Applying paragraph styles to lists 266
Using indented styles with lists 267
Turning indented paragraphs into lists 267
You can apply styles to bulleted and numbered lists but there are a couple of things you
need to bear in mind when doing this.
See also:
Adjusting list indents 264
Formatting list numbers 265
7.5.13 Formatting program source code
IN THIS TOPIC:
How to format program code 267
Editing the syntax highlighting style 268
Customizing the syntax highlighter 268
Examples of program source code are much easier to read if reserved words, comments,
identifiers and so on are highlighted as they are in a modern programming editor. Help &
Manual's Syntax Highlighting function does this for you. It understands the syntax of Pascal,
C++, C#, Visual Basic, ANSI SQL and Visual Objects. It knows the reserved words of
these languages and can distinguish between plain text, comments, strings, numbers and
even compiler directives, where they are supported. You can also add your own reserved
words.
2. Select Syntax Highlighting in the Format menu or click on the drop-down arrow next
to in the Toolbar, then select the language parser you want to use from the list.
Once you have chosen a language parser once it is set as the default until
you select a different language. You can then select it directly by clicking on
the icon in the toolbar.
2. Select the button in the Load reserved words from file: field and select your
reserved words text file.
3. Select to merge your list of words with the syntax
highlighter's list for the current programming language. Deselect this option to
replace the highlighter's list with your list.
See also:
Editing styles 243
7.5.13.1 Examples
Pascal code:
{ Syntax Highlighting }
for I := 0 to Number do
begin
Inc(X);
ListBox1.Items.Add(IntToStr(X));
end;
asm
MOV AX, 1234H
MOV Number, AX
end;
end;
C++ code:
// Syntax Highlighting
void __fastcall TForm1::Button1Click(TObject *Sender)
{
Caption = "The number is " + IntToStr(i);
int i = 123456;
double d = 123.45;
char c = 'a';
#ifdef FULLMOON
asm
{
ASM MOV AX, 0x1234
ASM MOV i, AX
}
#endif
SQL code:
Select BUYERID, max(PRICE)
from ANTIQUES
group by BUYERID
having PRICE 1000;
Select BUYERID
from ANTIQUES
where PRICE > (Select avg(PRICE) + 100 from ANTIQUES);
update ANTIQUES
Set PRICE = 500.00
where ITEM = 'Chair';
See also:
Importing Data into Existing Projects 155
Text Formatting and Styles 228
Dynamic Styles 746
7.5.14.1 Introduction to style replacement
Before you start using this function, please read through the following explanations carefully.
They will make it much easier to use this function effectively and get the most out of it. Since
formatting is complex the options must also be quite complex. However, once you
understand how the system works you will find that using the function is really quite
straightforward.
If you are an experienced computer user you will probably find that you will be able to use
the function after reading this section only. If you require more information continue to the
next chapters and follow the instructions provided there.
See also:
Importing Data into Existing Projects 155
Text Formatting and Styles 228
Dynamic Styles 746
7.5.14.2 Font styles and formatting
IN THIS TOPIC:
Replacing one existing font style with another - exact search 275
Replacing one existing font style with another - fuzzy search 276
Applying styles to imported and other unstyled text 279
Reformatting manually-formatted text with styles 279
Reformatting manually-formatted text without using styles 281
Turning styles into manually-formatted text 282
Before you try to follow these instructions, please study the Introduction to style replacement
271 for an explanation of how the Replace Styles function works. This will make it much
select .
5. Adjust the inline formatting settings for the desired result:
As soon as you have activated fuzzy options in the search can also start to find
manually-applied formatting within your texts, i.e. formatting that does not match
the standard style settings. This makes the Inline Formatting: options relevant.
"Remove inline formatting" resets all matching texts
· This option will reset all inline-formatted texts that match the search settings in
the left-hand column to the settings of the target style selected.
· Any texts that don't match the search settings will not be reset. This means
that you can "protect" texts formatted in certain ways by choosing your search
settings carefully. The best way to learn how to do this is to experiment with
some test texts.
6. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
Click here for some examples of fuzzy searches
Replace one style with · Font Style Name set to · Font Style Name set to
another. Change manually- the name of the source target style.
formatted text with a style · Inline Formatting set to
different font to the target · Font Face, Font Styles, Remove except B/I/
font, leaving all manually- Underline and Text U/Color
applied bold, italics, Color set to (Any)
underlining and text color · All other attributes
within the target text intact. unchanged
Replace one style with · Font Style Name set to · Font Style Name set to
another and reset all the name of the source target style
manually-applied formatting, style · Inline Formatting set to
including bold, italics, · All other attributes set Remove inline
underlining and color. to (Any) formatting
The style selector looks like this when the cursor is on unstyled text
Basically you proceed exactly as you would for performing an exact or fuzzy search (see
above). When you click in styleless text before selecting the Replace Styles function the
Font Style Name field in the left column of the dialog automatically displays (Unstyled
text only).
Of course, you can also select (Unstyled text only) in the Font Style Name
field manually, no matter where the cursor was when you selected Replace
Styles.
All the other settings and procedures are exactly the same. This is because the only
difference between styled and unstyled text is that styled text has a style name assigned
to it. Remember: the style name is just one attribute among many.
For more details see the example in Styling imported text 290 .
Step 2: Apply the style to all the texts with matching formatting
1. Select multiple topics if you want to replace only in some topics.
If you only want to replace styles in specific topics select those topics in the TOC
first, using Shift+Click or Ctrl+Click. Select the topic containing the example of the
style you want to replace last, so that you can select the style example in the next
step.
2. Select a style in the editor, then select Replace Styles and Font mode.
Click inside the example of the text you want to style, then select Format > Replace
Styles. Then select the mode at the top of the dialog that appears.
3. Select (Any text) for the Font Style Name.
If a style name is displayed in the Font Style Name: field in the left column change
it to (Any text). This is particularly important if you have selected the text with
which you just created the new style: Since the text you want to style does not yet
have the style name it will not be found unless you make this change.
Leave all other settings in the left column unchanged!
4. Select the name of the style you created in the right column.
Select the name of the new style you just created in the Change to Format/Style
column. Leave all other settings in this column unchanged. The inline formatting
settings are irrelevant because you are performing an exact search.
5. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
3. Change the Font Style Name: setting in the left column to (Any text).
This will find all instances of the text formatted in exactly this way. You can also
use the option (Unstyled text only) if you only want to find text that has no style
applied to it. You may need to perform the search twice, once with each option, to
get all the matching paragraphs.)
4. Select the target style name setting.
In the Font Style Name: field in the right column select either (Keep style name) or
(Remove style name) . The first option will keep any style name explicitly
assigned to the reformatted text. The second option will remove any explicit style
name, so that the text is manually formatted only – it will then have the style name
of the paragraph surrounding it.
5. Select Custom Settings: in the right column.
Then manually select all the attributes that you want to apply to the text. All the
attributes you leave set to (Use style attributes) will remain unchanged.
6. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
See also:
Importing Data into Existing Projects 155
Text Formatting and Styles 228
Dynamic Styles 746
7.5.14.3 Paragraph styles and formatting
IN THIS TOPIC:
Replacing one existing paragraph style with another - exact search 282
Replacing one existing paragraph style with another - fuzzy search 284
6. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
to (Any)
· For example, suppose you know that you have manually changed the indent of
some of the paragraphs formatted with the current style. To include these
paragraphs in the search set the Left Indent and/or Right Indent attributes to
(Any) .
· The same applies for all the other settings. It is the same principle: If you know
that you have manually changed any settings in paragraphs formatted with the
current style you must set those settings to (Any) to include the paragraphs in
the search.
6. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
Click here for some examples of fuzzy searches
The style selector looks like this when the cursor is on unstyled text
Basically you proceed exactly as you would for performing an exact or fuzzy search (see
above). When you click in styleless text before selecting the Replace Styles function the
Font Style Name field in the left column of the Replace Styles dialog displays (Unstyled
text only).
Of course, you can also select (Unstyled text only) in the Font Style Name
field manually, no matter where the cursor was when you selected Replace
Styles. You must then select all the attributes in the left column manually.
All the other settings and procedures are exactly the same. This is because the only
difference between styled and unstyled text is that styled text has a style name assigned
to it. Remember: the style name is just one attribute among many.
For more details see the example in Styling imported text 290 .
Step 2: Apply the style to all the texts with matching formatting
1. Select multiple topics if you want to replace only in some topics.
If you only want to replace styles in specific topics select those topics in the TOC
first, using Shift+Click or Ctrl+Click. Select the topic containing the example of the
style you want to replace last, so that you can select the style example in the next
step.
2. Select a style in the editor, then select Replace Styles and Paragraph mode.
Click inside the example of the paragraph you want to style, then select Format >
Replace Styles. Then select the mode at the top of the dialog that
appears.
3. Select (Any text) for the Para Style Name.
If a style name is displayed in the Para Style Name: field in the left column change
it to (Any text). This will ensure that all paragraphs with matching attributes will be
found, including paragraphs that have no style applied. Of course, it also means
that you may also apply the style to some other paragraphs that happen to have
matching attributes.
Leave all other settings in the left column unchanged!
4. Select the name of the paragraph style you just created in the right column.
Select the name of the new style you just created in the Change to Format/Style
column. Leave all other settings in this column unchanged. The inline formatting
settings are irrelevant because you are performing an exact search.
5. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
3. Change the Para Style Name: setting in the left column to (Any text).
This will find all instances of the paragraph formatted in exactly this way. You can
also use the option (Unstyled text only) if you only want to find paragraphs that
has no style applied to it. (You may need to perform the search twice, once with
each option, to get all the matching paragraphs.)
4. Select the target style name setting.
In the Para Style Name: field in the right column select either (Keep style name) or
(Remove style name). The first option will keep any style name explicitly assigned
to the reformatted paragraph. The second option will remove any explicit style
name, so that the resulting paragraph is manually formatted only.
5. Select Custom Settings: in the right column.
Then manually select all the attributes that you want to apply to the text. All the
attributes you leave set to (Use style attributes) will remain unchanged.
6. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In the
entire project, the main topics, the invisible topics or selected topics only. You can
also perform a test run to check how many styles would be found and replaced
before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
See also:
Importing Data into Existing Projects 155
Text Formatting and Styles 228
Dynamic Styles 746
7.5.14.4 Styling imported text
When you import formatted text from other sources the formatting is retained but the text
does not have any styles. Effectively, it is all manually formatted. You can use the Replace
Styles function to integrate this formatting into the stylesheet of your project, either by
applying existing styles or by creating new styles and applying them.
This topic illustrates this by walking you through the steps of a typical example. For details
on how to perform the individual operations see the Font styles and formatting 275 and
Paragraph styles and formatting 282 topics earlier in this chapter.
Step 2: Apply the Normal font attributes to the main body text
Next you want to apply the modified Normal font style attributes to the text of the
body paragraphs in your imported text.
1. Select multiple topics if you want to replace only in some topics.
If you only want to replace styles in specific topics select those topics in the TOC
first, using Shift+Click or Ctrl+Click. Select the topic containing the example of
the style you want to replace last, so that you can select the style example in the
next step.
2. Select an example of the body text in the editor, then select Replace Styles
and Font mode.
Click inside one of the body text paragraphs, then select Format > Replace
Styles. Then select the mode at the top of the dialog that appears.
3. Set the Font Style Name to (Unstyled text only) and leave all other
attributes unchanged.
This will find all text with the attributes of the current paragraph and will make
sure that any paragraphs in your project that already have named styles remain
unaffected.
4. Select Normal in the right column.
Select Normal in the drop-down list directly below the Change to Format/Style:
heading on the right.
5. Leave the inline formatting settings unchanged.
The exact settings in the left column will only match the unchanged body text, so
all your differently-formatted sub-texts will be ignored. This makes the Inline
Formatting: options irrelevant – you can leave the default setting of Remove
inline formatting.
6. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In
the entire project, the main topics, the invisible topics or selected topics only.
You can also perform a test run to check how many styles would be found and
replaced before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
Step 3: Apply the text styles to the sub-texts within the body text
Now you want to apply the text styles created in step 1 to the sub-texts within the
body text. This must be repeated for each sub-text type.
2. Click in a body paragraph editor, then select Replace Styles and Paragraph
mode.
Click in one of your body text paragraphs, then select Format > Replace Styles.
Then select the mode at the top of the dialog that appears.
3. Select (Unstyled text only) for the Para Style Name.
If a style name is displayed in the Para Style Name: field in the left column
change it to (Unstyled text only). This will ensure that only paragraphs that do
not yet have styles applied to them will be found. This will reduce the possibility
of errors and will protect any styled paragraphs in your project with the same
settings. Leave all other settings in the left column unchanged!
4. Select Normal in the right column.
Select the Normal style in the Change to Format/Style column. Leave all other
settings in this column unchanged. The inline formatting settings are irrelevant
because you are performing an exact search.
5. Click on to execute.
A dialog will be displayed allowing you to choose where you want to replace: In
the entire project, the main topics, the invisible topics or selected topics only.
You can also perform a test run to check how many styles would be found and
replaced before actually applying the changes.
Note that any changes in the current topic will only be visible in the editor after
you close the Replace Styles dialog.
See also:
Importing Data into Existing Projects 155
Text Formatting and Styles 228
Dynamic Styles 746
Topic Anchors are not really links in their own right – they are "targets" for
anchors: topic links. They allow you to create a links that go to specific positions
in a topic instead of to the top of the topic.
Internet links: Links to HTML pages on the World Wide Web or email addresses.
Script/macro These are not really hyperlinks in the real sense of the word. Instead of
links: taking the user to another page or topic clicking on them executes
JavaScript code or a macro (which may actually link to something, but it
doesn't have to).
The easiest way to create a topic link within your current project is with Drag & Drop. For this
method you don't need to edit anything in the Hyperlink 686 dialog box. For more control over
your links use the manual method 295 described further down in this topic or create the link
with Drag & Drop and then double-click on it to edit it 304 .
You can navigate to the targets of your links within your project by
holding down Ctrl and clicking on the link.
This will create a simple hyperlink to the top of the target topic. To change the link
settings double-click on the link to display the Hyperlink 686 dialog box.
To quickly create a link to an anchor 305 in the current or another topic just
create the link with Drag & Drop and then double-click on the link to select
the target anchor in the dialog. The anchor is selected in the Anchor in
Topic: field.
2. Open the Insert Hyperlink dialog box. There are several different ways to do this:
· Press Ctrl+L
· Select the Insert Hyperlink button in the Toolbar
· Select Hyperlink... in the Insert menu
3. Edit the Caption: if necessary and select the link Style:
4. Select the ID of the topic you want to link to from the Topic ID: list. If the topic
contains anchors 305 you can also select an anchor in the Anchor in Topic: field to jump
directly to the position of the anchor.
See The Hyperlink dialog 686 for details of the other settings in the dialog.
See Linking to other projects and help files 308 for details on creating external
links.
· The procedure is the same when you are creating a new link. Just select the
This function inserts Internet URLs and email links in your help. Internet links are supported
in all compiled help formats. See below 299 for details.
When inserting weblinks it is always advisable to always include the http://
protocol prefix. Links without this prefix will not always work in all
formats.
Notes:
· If you want to display the web page in the same window as the help in Browser-
based Help (HTML) select the Same as referring topic option in the Target
Window: field. This will make sure that the TOC of your help remains visible when
the web page is displayed. If you use Top frame the TOC will be cleared and the
page will fill the entire browser window.
· You can add subject and other standard parameters to email addresses. Always
use %20 instead of spaces to ensure this works in all email programs.
Example:
[email protected]?subject=Support%20Request&body=Dear%20Support%Crew,
A file link is a link to an executable file (e.g. notepad.exe) or to a data file associated with an
application (e.g. .DOC word processing files or .PDF files). Clicking on the link in the help is
just like double-clicking on an executable or .DOC or .PDF file on your desktop or in
Windows Explorer. It either starts the executable file or opens the .DOC or .PDF or other file
with the associated application.
File links are not supported in all output formats! See below 301 for details.
PDF file when you export your project to PDF. This makes it possible to distribute
additional files with your PDF document without having to use multiple files.
When the user clicks on the link the file will be displayed with the application with which it
is associated in Windows. This works for most file types, including other PDF files,
documents and images of all kinds and even executable EXE files.
1. Go to Project > Project Properties > Adobe PDF > PDF Layout and activate the
option File links - embed linked files with the following extensions .
2. Make sure that the files you want to link to are stored in one of the folders
referenced in your Image Folders 553 list in Project Properties. If you have many
folder references place the files in one of the first few folders in the list.
3. Create your file links using the normal procedure 300 .
When you compile your project to the files referenced with file links will be physically
embedded in the PDF file. This will increase the size of the PDF accordingly, of course.
HTML Help: Supported with execution parameters but do not use paths. All
external files must be in the same directory as the HTML Help .
CHM file.
Also, note that links to some types of external files in HTML Help
are now restricted on Windows XP with Service Pack 2 or later.
This is a security feature implemented by Microsoft so you should
test all links on properly-configured XP systems before distributing.
Even more severe restrictions apply to HTML Help files accessed
across network drives. Here file links will not work at all on
Windows XP and HTML Help itself is also severely restricted. See
this topic on the Help & Manual user forum for more details and
a fix.
Browser- Exported, but support depends entirely on the user's browser. Will
based Help: work in Internet Explorer but often not in other browsers. Paths are
not recommended. No execution parameters (for example, "
wordpad.exe" on its own is OK but "wordpad.exe myfile.doc"
will not work).
eBooks: Supported, do not use paths. Simple file links only, no execution
parameters.
Visual Studio Not supported. External file links are explicitly forbidden in Visual
Help: Studio Help / MS Help 2.0.
Adobe PDF: Simple file links only, no execution parameters. Links must be
activated in Project > Project Properties > Adobe PDF > PDF Layout
604 .
Word RTF: Supported but not recommended – users are very likely to move
Word RTF documents around and the links will then be dead. No
execution parameters.
This function inserts a piece of JavaScript code or a Winhelp macro that is executed when
the user clicks on the link in your help file. Note that scripts and macros are not supported in
all output formats – see below 304 for details.
See Scripts, HTML and Macros 757 in the Reference section for some more background
information on scripts and macros and how they are implemented and handled.
5. Select HTML JavaScript or Winhelp Macro and enter your script or macro in the editing
field.
See The Hyperlink dialog 686 for full details on the settings in the dialog.
See Scripts, HTML and Macros 757 in the Reference section for full details on
how scripts and macros are implemented and handled.
Macro implementation:
Macros can be typed and used just as you would use them manually in Winhelp. Note
that Winhelp macros only work in Winhelp. If you are also generating other formats you
need to create alternatives for the other formats using conditional output 451 .
See the help included with Microsoft Help Workshop (the Winhelp compiler package) for
documentation of the macro functions available in Winhelp.
· Note that only keywords are supported as arguments in the ALink and KLink macros
when they are used in HTML Help. All other arguments are ignored.
· If you have upgraded from Help & Manual 3 you may be wondering what has
happened to the ExecFile() Winhelp macro, which used to be translated in HTML
Help. This is no longer necessary because you can use file links 300 instead, which
produce the same result much more efficiently.
Script implementation:
Help & Manual creates script links by inserting the code you type between <a href=" and
">. For example, if you type:
javascript:alert('Hello World!');
This is just a simple example of course, you can place as much code in the script as you
want.
If you are familiar with JavaScript and HTML you can use this knowledge to
create quite complex scripts! You just have to remember that everything
you write is inserted between <a href=" and ">. See Scripts, HTML and
Macros 757 in the Reference section for more details.
HTML Help: JavaScript is broadly supported in CHMs. See the MS HTML Help
Workshop documentation for details. Four standard Winhelp
macros (see above 303 ) are translated to their HTML Help
equivalents. Do not use paths.
Browser- Scripts are supported but support depends to a great extent on the
based Help: user's browser, so use the same caution as when using scripting in
any HTML pages.
See also:
Scripts, HTML and Macros 757
Inserting plain HTML code 311
Using HTML templates 475
Browser-based Help 586 (Project Properties)
7.6.5 Editing and formatting links
IN THIS TOPIC:
How to edit link captions 305
Link captions at the beginning of a paragraph 305
In earlier versions of Help & Manual you always had to double-click on a link and open the
editing dialog just to edit the caption (the link text). Now you can edit the caption directly just
by clicking inside it and typing. You also have great freedom to format the appearance of
your links.
Hold down Ctrl and click on a link to navigate to the link target in your
project.
Double-click on a link to display its editing dialog.
Normally, topic links 294 execute jumps to the top of the target topic. However, often you will
also want to create jumps to some point inside a topic. This is done with anchors
(sometimes also referred to as "bookmarks" in books on help), which are named "targets"
that you insert at any position within a topic so that you can jump to them with a link.
Anchors no longer have the captions they had in Help & Manual 3.
Instead, they are identified by an anchor icon in the editor.
3. Type in a descriptive ID for the anchor in the Anchor ID: field. This will be displayed in
the link dialog when you are creating links so it should be easy to identify. You cannot
use spaces or special characters (Help & Manual will not allow you to use illegal
characters).
Like topic IDs, anchor IDs can be up to 256 characters long. However, since
you need to view anchor IDs in dialog boxes in Help & Manual it is advisable
to keep them relatively short.
4. If you want to use a help context number 212 you can type it in manually. You can also
set Help & Manual to assign help context numbers to anchors automatically in Project
> Project Properties > Common Properties > Topic IDs & Help Context 553 .
5. Type in any keywords 369 you want to associate with the anchor (see below 307 for
details).
2. Open the Edit Hyperlink 686 dialog box. Just double-click on the link to open the dialog
if it is not already open. The anchor is selected in the Edit Hyperlink 686 dialog.
3. Select the anchor ID from the drop-down list in the Anchor in Topic: field and click on
.
To quickly create a link to an anchor in the current or another topic just
create the link with Drag & Drop and then double-click on the link to select
the target anchor in the dialog.
index.html?topicname.htm#anchorname
· Note that this is different from the syntax required in Help & Manual 3. There a
comma was required instead of the # character between the topic name and the
anchor name.
· The topic name is simply the Topic ID of the topic, plus the extension .htm. The
entire URL must be written in lower case because Help & Manual automatically
converts all file names to lower case in HTML output for compatibility with Unix and
Linux servers.
See Context calls to Browser-based Help 438 for some more details on this.
· Type the keywords into the Keywords: field of the Anchor dialog. You can enter
both main keywords and sub-keywords. Use the TAB key to enter sub-keywords
(an indented keyword automatically becomes the sub-keyword of the keyword
above it).
· Typing a space or tab in front of a keyword automatically makes it a sub-keyword
of the entry directly above it. (Only one level of sub-keywords is allowed.)
It is possible to have the same keywords in both the topic's Topic Options
and in one or more anchors in the same topic. However, if you want your
index entries to enable jumps to the anchor without confusing the user it
is better to avoid this.
See also:
Inserting topic links 294
Using embedded topics 222
7.6.7 Linking to other projects and help files
IN THIS TOPIC:
How to link to an external project or help file 308
Linking to topics in other browser-based projects 309
By default the ID list in the Hyperlink dialog 686 displays the IDs of the current project, but you
can also link to topics in other projects and in other help files. When you distribute your help
these files must be present in the same directory as the help file containing the link.
3. If you choose a project (.HMX) or HTML Help (.CHM) file the topic IDs of the external
project or help file will now be displayed in the Topic ID list. Choose the topic (and
anchor 305 if applicable) you want to link to and click on OK.
Links to Winhelp .HLP files only work from other Winhelp files. Also, you can
only open the external Winhelp file at its default topic with this method, you
cannot access its topics directly. To link to individual topics in an external
Winhelp file you must use the .HMX project and here too only links between
Winhelp files are possible, you cannot link from other formats.
See Modular Projects 873 for more details on links between projects.
Relative address:
../subdirectory/index.html?topicname.htm#anchorname
Here index.html is the index file of your project (this is the default, you can change
it in the Compile Help File 663 dialog when you compile), topicname.htm is the name
of the topic (topic ID 214 plus .htm) and anchorname (optional) is an anchor 305 in the
topic you want to link to.
It is important to use the syntax shown above for the links, including the
index.html part, otherwise the user will not be able to return to the
calling project with the browser's Back button.
Note that Help & Manual 4 now uses the standard # character between
the topic file name and the anchor name, instead of the comma that was
required in Help & Manual 3.
· If you want to display the TOC of the target project in the current browser window
select the Top Frame option in the Target Window: field. If you don't do this the
topic will overwrite the TOC in a single browser window. Selecting New Window
opens the topic in a new browser window together with its TOC.
See also:
Working with Modular Help Systems 492
Every topic is associated with a help window type 177 . In addition to defining the appearance
of the topic and the features of the help viewer the help window type also controls how the
topic behaves when you link to it. If the help window type is Main (the default for all normal
topics) a link to the topic will open it in the main help viewer in all electronic output formats. If
the help window type is Popup (the default for all topics in the Invisible Topics section) a link
will open the topic as a popup window in all electronic output formats that support popups.
If you define your own additional help window types you can assign them to individual topics
177 to give them a different appearance. In addition to this you can also use them to make
links open topics in external windows 473 in HTML Help and Winhelp. This is useful if you
want to display both the information in the current topic and the target topic at the same
time.
In addition to assigning a secondary help window type to a topic permanently you can also
define a link to open a topic with a different window type than the one that is actually
assigned to it. This makes it possible to open topics that are normally displayed in the main
help viewer in an external window instead. This functionality is only available in Winhelp and
HTML Help.
To be able to open topics in different window types you must first define
one or more additional window types. 178
Window types are only supported in electronic help formats ( Winhelp 768 ,
HTML Help 765 and eBooks 773 ).
Opening the target topic in an external window (Winhelp & HTML Help
only):
Whether or not a topic opens in the main help viewer or an external window is
determined by the definition of the window type assigned to the topic or specified in a
link.
If you define an external window type 473 and assign it to a topic 177 that topic the topic will
always open in an external window when you link to it in Winhelp. In HTML Help it will
open in an external window if this functionality is activated in the help window settings.
You can also open any topic in an external window by selecting the appropriate window
type in the link definition 310 .
Or assign an external window type 178 to the topic in its Topic Options tab, then it
will always be opened in an external window when you link to it.
Activating secondary HTML Help windows is a global option that makes
all window types except Main external.
See also:
Choosing a help window 177
Help Windows 557 (settings in Project Properties)
Help windows and external windows 473
Help Windows 800 (Reference)
7.6.9 Inserting plain HTML code
IN THIS TOPIC:
How to insert plain HTML code in a topic 312
Referencing external files in plain HTML code 312
Help & Manual 4 supports so many powerful formatting features that you will normally not
need to make additions of your own. However, if you do need to add special features or
formatting with HTML code or scripts you can do it with this function. For example, you can
write dynamic HTML code with JavaScript to add expandable sections or other dynamic
features to your topics.
This function "injects" HTML code into your topic at the point where you insert it. The code
is entirely your responsibility and is not checked or parsed by Help & Manual in any way, so
you need to be familiar with HTML coding.
Plain HTML Code is only supported in HTML Help 765 (.CHM), Browser-based Help 771 (HTML)
and Visual Studio Help (MS Help 2.0). It is completely ignored in all other formats, including
Help & Manual eBooks 609 (eBooks are formatted with HTML but do not include full browser
functionality).
· Note that if you want to use this feature in projects that will also be compiled to formats
where it is not supported you need to use Help & Manual's conditional output 451
features to create alternative text for those versions.
2. Type your code in the editing window displayed. You can resize the window for easier
editing by dragging on the lower right corner.
The and functions allow you to save blocks of code in text files for
reuse.
You can resize the HTML code object in the Help & Manual editor by
dragging its corners. This allows you to see more of the object's content in
the editor without actually opening it.
[FILES]
..\donald.js
..\mickey.asp
· Don't add a second [FILES] header if one already exist. Enter each external
filename on its own line below the [FILES] header and precede it with the ..\
relative path reference. (This is necessary because the project is compiled from a
temporary subdirectory in the project directory, so files in the project directory are
one level up.)
See also:
Inserting script and macro links 302
Using HTML templates 475
Scripts, HTML and Macros 757
Browser-based Help 586 (Project Properties)
Using Baggage Files 520
Graphics References 489
Hotspots in old .IPP graphics can only be imported with their project:
Hotspots in .IPP graphics created with Help & Manual 3 cannot be imported to Help &
Manual 4 projects on their own because they are linked to specific projects. The
hotspots will only be imported if the .IPP images are imported together with the .HM3
project for which they were created.
See also:
Inserting graphics and screenshots 314
About Graphics in Help & Manual 856
7.7.1 Inserting graphics and screenshots
IN THIS TOPIC:
How to insert a graphic from a file 314
How to insert a graphic with Cut & Paste 315
You can insert graphics in your projects from files or with Cut & Paste. Drag & Drop from the
desktop or Windows Explorer is not supported.
Note that although Cut & Paste may be more convenient you may get slightly better image
quality when you insert graphics directly from files. This applies particularly to pasting from
programs like Word, which generally resize the image very slightly (just a couple of percent)
when you copy it via the Windows clipboard.
from Word make sure that you only select and copy the graphic (just click on it once).
If text is included the graphic will be embedded in your project file, which will make the
file much larger.
You can convert embedded graphics to external graphics files by right-
clicking on the graphic in the editor and selecting Convert Embedded Picture.
2. Click in the editor at the position where you want to insert the graphic and press Ctrl
+V or select Edit > Paste.
3. To edit the graphic properties double-click on the graphic to reopen the Open Image
dialog 690 .
Pasted graphics are automatically stored in files named clipxxxx.bmp and
stored in your project directory. The xxxx in the name is an
automatically-assigned consecutive number (clip0001.bmp, clip0002.bmp
etc).
See also:
Graphics, Videos and OLE 856 (Reference)
7.7.2 Positioning graphics
IN THIS TOPIC:
How to align a graphic without wrapping text around it 317
Formatting options:
Select Format > Paragraph or use the paragraph settings in the Toolbar:
See also:
About Graphics in Help & Manual 856
Working with Tables 332 Help & Manual 856
7.7.3 Editing, resizing and hi-res PDF printing
IN THIS TOPIC:
Editing graphics properties and captions 318
Resizing graphics in the Help & Manual editor 318
Using high-resolution graphics for PDF and printing 319
Resizing graphics with the Impict graphics editor 319
In addition to positioning 316 the graphics in your Help & Manual project you can also resize
them and edit their properties at any time.
Help & Manual now allows you to resize graphics directly in the editor by dragging with the
mouse. Although this function is primarily designed for high-resolution printing with PDF files
you can use it for all your output formats whenever you need a quick resize. You may obtain
slightly better quality if you resize in a graphics program, but the algorithm used is still pretty
good, and can be a great time-saver when you are working on a tight deadline.
· You can also edit the properties and hotspots by right-clicking on a graphic and
selecting from the Picture... options in the context menu.
This function does not actually change the size of the graphic, it resizes the graphic on
the screen and leaves the original file stored on your disk unchanged. Nothing actually
happens until you compile your output. In all output formats except PDF (see below) the
graphic is physically scaled and resized when you compile.
See Formats, Compression and File Size 856 in the Reference section for
important information on how file formats affect (and don't affect) the file
sizes of your help.
See also:
About Graphics in Help & Manual 856
Conditions and Customized Output 451
7.7.4 Using the Impict graphics editor
Help & Manual comes with its own powerful graphics program for editing and enhancing
screenshots and other graphics. This editor has a wide range of powerful features for
making professional help graphics and screenshots and it stores all the objects you create
on separate layers so that you can re-edit them easily at any time.
See also:
Screen Capture 615
About Graphics in Help & Manual 856
The Impict Screenshot Editor 621
7.7.6 Using graphics as hyperlinks
In addition to standard text links you can also use graphics as links 293 in your help project,
for all the different supported link types. You can use this feature to turn entire illustrations
into clickable links, or to use your own graphical buttons as links.
In addition to this you can also add hotspots to your graphics, clickable regions that can
have all the properties that any other link in a Help & Manual can have. See Graphics with
hotspots, macros and scripts 321 for details.
Hotspots are active, clickable areas in graphics. Help & Manual now stores all your graphic
hotspot information in your project file, allowing you to edit your hotspots directly instead of
switching to an external graphics program. This new method also makes it possible to create
hotspots for all graphics types supported by Help & Manual.
All the link types supported in the editor are also supported in hotspots (topic links, Internet
links, file links and script/macro links).
Since the link types are identical to those used in normal topics their settings are only
described briefly here. You should familiarize yourself with the link types described in the
Links, Anchors, Macros, Scripts and HTML 293 section before working with hotspots. Only the
method of inserting the links is different, everything else is the same – including the
restrictions on the individual hyperlink types in some output formats.
Note that hotspots in graphics are only supported in electronic output
formats (HTML Help, Winhelp, Browser-based Help, eBooks, Visual Studio
Help / Help 2.0 and electronic PDF with hyperlinks activated).
OR
· Right-click on the graphic and select Picture > Edit Hotspots in the context menu.
3. Click on one of the Insert Hotspot icons (this will insert a new hotspot in the top left
corner of the graphic):
inserts a topic link hotspot.
inserts an Internet link
hotspot.
inserts a file link hotspot.
inserts a script link hotspot.
4. Move and resize the hotspot with the mouse and select the hotspot style (Rectangle or
Ellipse). You can also enter the precise size and position of your hotspot as pixel
values.
5. Select and enter the hotspot details. These are exactly the same as for ordinary links
in topics, so for details please see the chapter Links, Anchors, Macros, Scripts and
HTML 293 .
Topic link Select the topic ID of the topic you want to link to and any anchor
settings: 305 you want to link to in the topic. You can also create links to
Internet link Enter the link URL or email address in the Address: field. For web
settings: pages select how you want to open the page in the Target
Window: field. (In Browser-based Help use Top frame instead of
Same frame as referring topic to keep the TOC visible.)
File link Enter the name of the file or use the button to select it. Don't use
settings: paths, the file should be in the same directory as your help file at
runtime. You can enter execution parameters just as you can for
file links in your topics.
Script link Enter your script or Winhelp macro in the editing window. See
settings: Inserting script and macro links 303 and Scripts, HTML and Macros
757 for more details on syntax and implementation.
· To delete a hotspot click on it and select or just press the Delete key on your
keyboard.
Visual Studio Same as HTML Help but all external file links are explicitly
Help: forbidden in Visual Studio Help / MS Help 2.0.
Adobe PDF: Hotspot topic links are supported, no support for script or
macro links
See also:
Links, Anchors, Macros, Scripts and HTML 293
IDs, Context Numbers and Keywords 849
7.7.8 Finding and replacing graphics
IN THIS TOPIC:
How to find and replace graphics with Find & Replace 324
Help & Manual's find and replace function can also locate and replace graphics files in your
entire project. This can be very useful if a graphic that you have used over and over again in
your entire project needs to be replaced quickly!
3. Select the In Images option in the Find Where section of the dialog.
4. Use the other options in the dialog to define the scope of your search. See Find &
Replace Text 680 in the Reference section for details.
This function only searches for entire graphics file names. Wildcard
characters are not supported. This means you must enter the entire
name, including the dot and the file extension.
· When you are replacing it is advisable to select the Match case option and enter
the file names with upper and lower case characters exactly as they are used to
make sure that they match the graphics files on your disk. If you are only searching
to locate files you can ignore the case.
See also:
Searching for text, topics and referrers 191
Find & Replace Text 680
Find Topic 676
Find Referrers 676
7.7.9 Managing your graphics
IN THIS TOPIC:
Adding and removing image folder references 326
When you add graphics to a project Help & Manual does not actually physically store the
graphic file in your project (that would make your project files much too big). Instead, it
inserts a reference to the graphic that only contains the name of the file, without any path
information. When you open the topic again later or generate your output Help & Manual
finds the file by looking in the list of image folders in Project > Project Properties > Common
Properties > Image Folders 553 .
Although the full paths are displayed in the Image Folders list for your
information the references are actually relative paths, which tell Help &
Manual where the image folders are in relation to your project folder.
Help & Manual searches the image folders in the order they are displayed in the list and it
always uses the first file with a matching name that it finds. This means that it is very
important to make sure that you do not have graphics files with duplicate names in different
image folders. If you do the wrong images may be inserted in your project because Help &
Manual will never be able to find the versions in the folders lower down in the list.
This strategy is used to ensure that you can easily move your projects, images and image
folders to different locations without "breaking" the links to the images in your project. This
topic explains how to use these functions efficiently.
· Placing your image folders inside your project folder is also much more practical,
because it keeps all the files associated with your project in one place.
internal path references to the image folders are all relative to your project folder they
will all also be found in the new location.
· If your image folders are stored outside your project folder you may need to refresh
the Image Folders List after moving your project folder: Go to Project > Project
Properties > Common Properties > Image Folders 553 , delete the old references to the
image folders and add the new image folders locations.
See also:
Image Folders 553 (Project Properties)
New project from a Word RTF file 141 (importing RTF files containing graphics)
7.7.10 Shortcuts for frequently-used graphics
IN THIS TOPIC:
Displaying the Picture Shortcuts list 328
Adding graphics to the Picture Shortcuts list 334
Inserting Picture Shortcuts graphics in your project 328
If you are like most help authors you will probably have a number of graphics files that you
use again and again in your project. These can include logos, little callout images used in
indented lists and so on. Help & Manual 4 introduces a new function called "Picture
Shortcuts" that makes accessing images like these much easier.
· You can add as many graphic images to the Picture Shortcuts list as you want.
Thumbnail images of the images are generated automatically and displayed in the list.
You can also organize the list in categories to make it easier to manage. In the
example above the categories "Logos" and "Screenshots" have been created.
You can add multiple images simultaneously by selecting them with Ctrl
+A, Ctrl+Click and Shift+Click. in the Open Image dialog.
3. Click on to close the dialog. The images you have added will now be
displayed in the Picture Shortcuts list.
· Note that categories like "Logos" and "Screenshots" shown in the example will only be
displayed if you create them.
· Use and to adjust the order of your image links. Just select a
link and then click on the buttons. You can also use these buttons to adjust the display
order of the category headings (see below).
· Use to create a new category. All image links moved directly below the
category heading will automatically be listed in the submenu displayed for the
category.
Note that this button is disabled when a category is selected. You must
select an image instead of a category to display the button.
Note that you can only create one category level. Categories cannot contain
other categories.
· Use to remove images and categories from the list.
See also:
Using Baggage Files 520
Graphics References 489
Help & Manual 4 introduces full, integrated support for fully-formatted complex tables. If you
are new to Help & Manual this may seem normal but for everyone upgrading from Help &
Manual 3.x working in tables in Help & Manual 4 will feel like your birthday, Christmas,
Easter and Chinese New Year all rolled into one. Table editing is now smooth, powerful and
easy, with all the features familiar from modern word processors and HTML.
For details please see Classic Winhelp 768 in the Help Formats chapter in the Reference
section.
See also:
Classic Winhelp 768
7.8.1 Inserting tables
IN THIS TOPIC:
How to create a new table 333
Choosing the table size option 333
Setting column widths 334
Setting up tables for printing 334
2. Enter the number of rows and columns and choose your formatting options.
For full details see New Table/Table Properties 717 in the Reference section.
with the mouse. (You may need to adjust the size of two of the rightmost
columns in the table first before you can do this.)
Size table to Creates a table that is permanently maximized to the width of the current
fit on page: paragraph (if the paragraph has indents the table will be narrower than
the page). This is exactly the same as sizing manually and setting a width
of 100%.
Size table Creates a table with a fixed width in percent or pixels. Percentage values
manually: are relative to the width of the current paragraph. Setting a value of 100%
is exactly the same as Size table to fit on page.
For full details see New Table/Table Properties 717 in the Reference section.
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
7.8.2 Controlling column widths
IN THIS TOPIC:
Setting and adjusting column widths 335
Locking and unlocking column widths 335
In Help & Manual the widths of columns in tables are initially calculated automatically. After
you create a table you can adjust the widths of columns by adding content to them, by
dragging their borders with the mouse and by setting their widths to absolute or percentage
values in the Table Properties dialog.
You can also "lock" the widths of columns. This can be necessary if you are using tables as
a layout tool and want to have column widths that do not change dynamically when the users
adjusts the size of the help viewer window.
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
7.8.3 Selecting and formatting cells and tables
IN THIS TOPIC:
Selecting and resizing tables with the mouse 336
Resizing tables and cells with Table Properties 337
Formatting tables and individual cells 337
Select single Just click in the cell. Even though it is not highlighted it is selected for
cell: formatting the cell properties (see below). This does not select any
text that the cell contains, however – this must be selected, formatted
and edited just like text in the editor.
Select row: Position mouse over left border of table ( mouse pointer) and click.
Or click and drag through row. Using the click method takes a little
practice, the mouse pointer only appears in a very narrow area.
Select Position mouse over top border of table ( mouse pointer) and click. Or
column: click and drag through column. Using the click method takes a little
practice, the mouse pointer only appears in a very narrow area.
You cannot select a column if the cursor is currently in the top cell of
the column. Click in a cell to the left or right of the top cell before
selecting using this method!
Resize table: Drag the right and bottom borders of the table.
Formatting Place the cursor in the cell and select Table Properties, then click on
single cells: the Selected Cells tab.
Formatting Select the cells, rows or columns and select Table Properties, then
multiple cells: click on the Selected Cells tab.
For full details on all formatting options see The Table Properties dialog 717 in
the Reference section.
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
Adding and deleting rows and columns with Table Properties 338
Deleting rows, columns and entire tables with the menu options:
1. Select 336 the rows or columns you want to delete or click in a cell to delete only the
row or column containing that cell.
2. Select Table > Delete or right-click and select Table > Delete and then select what you
want to delete (Rows, Columns or Table).
You can also delete an entire table by placing the cursor directly before
or after the table and pressing Delete or Backspace.
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
Help & Manual now allows you to create complex tables by splitting and merging cells both
vertically and horizontally. In addition to this you can also nest tables 343 inside one another to
create even more complex structures.
See also:
Nested tables 343
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
7.8.6 Deleting the contents of cells
Selecting cells and pressing Delete just deletes the contents (i.e. text, graphics etc.) of the
cells, not the cells themselves. The only exception to this is when you select the entire table.
If you do this and press Delete it will delete both the contents and the entire table!
See Adding and deleting rows and columns 338 for instructions on how to delete cells entirely.
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
7.8.7 Converting tables to text
You can convert a table to ordinary text in the same way that you convert hyperlinks to text.
See also:
Selecting and formatting cells and tables 336
Exporting and importing topics 202
Importing Data into Existing Projects 155
7.8.8 Indenting tables
In Help & Manual, a table is handled as a single object in a paragraph that is not allowed to
contain any other objects. The formatting of the table itself is handled by the table properties
but the position of the table on the page is controlled by the paragraph properties of the
paragraph containing the table.
This means that to indent a table you need to adjust the indent settings of the paragraph
containing the table. This can be done either with a style or by adjusting the paragraph
formatting manually.
· To adjust the settings manually position the cursor and then select Format >
Paragraph and adjust the paragraph settings.
See also:
Selecting and formatting cells and tables 336
Applying styles to tables 341
7.8.9 Applying styles to tables
IN THIS TOPIC:
How to apply a style to the table paragraph 342
How to apply styles to the contents of tables 342
When applying styles 228 to tables it is important to understand how tables are inserted in
your project. A table is basically an object in a paragraph of its own (you can't insert anything
else in the paragraph). For formatting purposes you can think of a table as a paragraph
containing a single character.
This means that can you can apply styles to both the paragraph containing the table and to
the content paragraphs inside the table cells. When doing this it is important to understand
how it works:
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
Text Formatting and Styles 228
The table formatting functions of Help & Manual 4 are powerful but they do have some
limitations. For example, you can't set cell borders (or different cell borders) for just a
defined range of cells, and you can only set a background picture 344 for the entire table, not
for a single cell or group of cells.
There are also limits to the kind of complexity you can achieve by merging cells. You can
encounter difficulties if you want to apply any of the properties in the Table Layout 718 tab
(which apply to the entire table) to single cells or a range of cells.
Some of these problems can be solved by using nested tables, i.e. by inserting a second
table inside the first table. Then you can apply different table properties to the second table,
which can be a single cell, row or column in the "parent" table.
Don't go overboard with nested tables. It's tempting to use them but it can
get very complicated very quickly!
Nested tables are not supported by Winhelp and will cause compiler errors if
you try to use them for Winhelp output.
Page breaks 343 are not possible inside table rows containing nested tables.
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
See also:
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
7.8.12 Handling table borders
IN THIS TOPIC:
The relationship between table and cell borders 344
When you are defining borders around tables it is important to remember that there are two
different "objects" in tables for which you can define borders: The table itself and the cell.
Cell borders and table borders are separate definitions.
· If you want to create a table with borders that are the same as the cell borders just set
a width for the cell borders and leave the table border set to 0.
· The following example does the opposite. Here the table border width is set to 3 pixels
and the cell border width is set to 0 pixels. The grid lines are visible to show that it is
the same table:
See also:
Nested tables 343
New Table / Table Properties 717 (Reference)
How table sizing works 882 (Reference)
Creating
expandin
g image
toggles is
very
easy.
You just
select the
image
you want
to use
and Help
& Manual
generate
Click on the image to switch back to the smaller version! s the
smaller
version
for you
automatic
ally,
using the
zoom
factor
that you
choose.
HTML Help, Browser-based Help and Visual Studio Help / MS Help 2.0.
Toggles are fully functional in all these formats. In Browser-based Help JavaScript
must be turned on for the toggles to be operational. If JavaScript is turned off the
toggles are automatically displayed in their expanded state.
PDF, MS Word RTF and Printed Manuals
In all these static formats toggles are automatically displayed in their expanded
state. This is the default setting – however, you can also choose to have them
displayed in their collapsed state (option in Insert Toggle 697 dialog).
WinHelp and eBooks
Winhelp and eBooks do not support JavaScript and so all text toggles are
displayed as static text and in their expanded state. Image toggles will display the
target version of the toggle image in a separate page when the user clicks on it.
Expanding sections enable you to insert entire blocks of text and other content – as much as
you like – that expand and collapse when the user clicks on the header. See the introduction
topic 345 in this section for some examples.
If you plan to output your project to PDF it is advisable not to insert
additional tables inside your expanding section toggles ( nested tables 343 ).
If you do, page breaks will not work correctly inside the rows containing
additional tables!
A word of warning:
Expanding sections are so useful that it's very tempting to over-use them. If you want to
keep your topics accessible, they should be used with care. Don't try to use them for
everything and don't make them too large, that will make your topics confusing and
difficult to handle for the user.
As a general rule of thumb, expanding sections should be used for small, manageable
chunks of material. If you find that you have to scroll more than a single screen to see
the entire contents of an expanding section then you should be using a link to another
topic, not an expanding section toggle.
4. Click on to insert the toggle. This will insert the toggle header and an
empty, single-cell table into which you can insert the content of your expanding
section:
5. Enter or copy the text and other content you want to include in your expanding
section in the table. See further below for details on using existing text for
expanding sections 350 and expanding existing tables 351 .
6. Format the header 351 of your expanding section if you want.
Manual formatting:
Select the entire header text and apply formatting 230 using Format - Font... or the
formatting tools in the Toolbar.
Styles:
Click inside the header apply a text style or a paragraph style 234 . If you apply a
paragraph style you must make sure that the indents match your requirements for the
toggle, of course.
Using CSS styles for formatting the header in your HTML-based output:
Help & Manual exports individual CSS classes for all three toggle types. (The name of
the class used for expanding sections is dropdown-toggle.)
This means that you can define CSS styles in your HTML template to control both the
appearance and behaviour of your toggle links. See the Formatting toggle links 361
topic for details.
CSS formatting only works on links when the Link Style option is
selected in the Insert/Edit Toggle dialog! If it is not selected you
must format the link in the eidtor with a style or manual formatting
using Format > Font.
the Icon: field when you are defining or editing your toggle. Then select your icon files for
the Collapsed: and Expanded: icon states in the fields directly below.
· It is best to store your icon files in your project folder or your standard graphics
folder.
· You will have to adjust the indents 352 of your toggle and its table manually when
you use your own icons.
Standard Filenames
Icons
Plus/Minus Closed state:
Symbol hmtoggle_plus0.
gif
Open state: hmtoggle_plus1.
gif
Standard Filenames
Icons
Arrow Closed state:
hmtoggle_arrow0.
gif
Open state: hmtoggle_arrow1.
gif
See also:
Text Formatting and Styles 228
Working with Tables 332
Indenting tables 340
Using indents 232
Formatting toggles with CSS 357
Toggle IDs 360
Editing and copying toggles 360
7.9.2 Expanding inline text toggles
IN THIS TOPIC:
How to create an inline text toggle 354
Formatting the text of inline text toggles 356
When you click on an expanding inline text toggle its text is "inserted" in the topic directly
after the link, as though it had been pasted into the paragraph. This is ideal for short
explanations and definitions that would otherwise disturb the flow of the topic. It is also much
better and simpler than using a popup topic.
5. Choose a style for the inline text in the Format text with style: field. It is best to define
a style that makes the text stand out against the normal text in your topic. See Text
Formatting and Styles 228 for more information on working with styles.
Insert Toggle dialog options for inline text
6. Click on to insert the toggle, which will be displayed in your topic in the
same way as other hyperlinks.
This means that you can define CSS styles in your HTML template to control both the
appearance and behaviour of your toggle links. See the Formatting toggle links 361
topic for details.
See also:
Text Formatting and Styles 228
Formatting toggles with CSS 357
Toggle IDs 360
Editing and copying toggles 360
7.9.3 Expanding image toggles
IN THIS TOPIC:
How to create an expanding image toggle 357
Using a different collapsed state image 359
Converting existing images into toggles 359
Formatting the image with CSS 360
Expanding image
toggles like the one on
the right use a small
"display version" of the
image that the user can
click on to display the
full version. This can
make your topic pages
much easier to read
because the larger
versions of the image
are only displayed when
needed.
Help & Manual does all Click on the image to collapse it!
the work for you. You
just select the full-size
image you want to
display and the smaller
version is generated
automatically.
2. Select Insert > Toggle and then select Screenshot Toggle at the top of the dialog.
3. Select the full-sized image you want to toggle by clicking on the browse button in
the Picture file name: field. This file should be stored in your graphics folder or project
folder, just like all the other graphics in your project.
4. Select a zoom factor for the thumbnail version and enter tooltips and captions for the
expanded and collapsed versions.
Insert Toggle dialog options for expanding images
tooltip or caption.
Picture: Select this option to use a different image 359 in the collapsed
state.
Alternatively you can use your own image for the thumbnail
version. If you do this you must create this version yourself with
Impict 621 or your favorite graphics program. You must create the
image with the correct size you want to display – Help & Manual
will not zoom the image for you.
Tooltip: Select these options to enter a different tooltip and/or caption for
Caption: the collapsed state.
See also:
Formatting toggles with CSS 361
Toggle IDs 360
Editing and copying toggles 360
7.9.4 Toggle IDs
The toggle ID is optional and we recommend that you leave this field blank in the Insert
Toggle dialog. Then Help & Manual will automatically assign a unique ID to each toggle
when you compile your help.
See also:
Editing and copying toggles 360
7.9.5 Editing and copying toggles
Toggles are stored in your topics as hyperlinks so editing toggles is basically just the same
as editing any other kind of hyperlink. They can also be copied and moved in the same way
as normal text.
Editing toggles:
To edit a toggle just double-click on its link in the editor (it looks just like an ordinary
hyperlink), or right-click on it and select Edit in the context menu. This opens the Edit
Toggle dialog in which you can change all the settings of the toggle.
Editing the contents of expanding section toggles is exactly the same as editing
normal text in the editor. You just have to be careful that all the text is inside the table
and that you never insert more than one empty paragraph between the expanding
section's table and its header.
See also:
Toggle IDs 360
7.9.6 Formatting toggles with CSS
IN THIS TOPIC:
CSS classes for toggle link types 361
Example of CSS class definitions for toggles 362
When your help is exported to HTML-based formats the <a> link tags for the text toggles
and the <img> tag for the image toggles are exported with CSS classes, which makes it
possible to change the appearance and behavior of your toggle links by adding CSS style
definitions for these classes to the HTML template for your topic pages.
<style type="text/css">
<!-- These are the normal hyperlink styles -->
a { color: #0000FF; text-decoration: none }
</head>
<body style="margin: 0px 0px 0px 0px; background: <%TOPIC_TEXT_BGCOLOR%>;">
....
See also:
Tutorial on User Forum
Using HTML Templates 475
About HTML Templates 814
7.9.7 Expand All / Collapse All
IN THIS TOPIC:
How to create Expand All / Collapse All links 363
Adding Expand All / Collapse All links to all pages 364
Expand All / Collapse All only in topics containing toggles 364
You can create special links with which you can allow the user to expand and collapse all the
toggles in the current topic with a single click. There are a number of very useful things you
can do with this feature. For example, it allows you to write help for both novice and
experienced users on the same page. You could then create More Detail / Less Detail links
in the topic header for switching between the two versions. You can also use it to create a
Print button that will pre-expand all the toggles in the current topic before it is printed.
See also:
Using HTML Templates 475
The topic page templates 477
About HTML Templates 814
The default topic page template 816
7.9.8 Toggle troubleshooting
IN THIS TOPIC:
Problems with IDs 365
Problems with expanding section toggles 365
Problems with formatting in toggle links 366
Larger output files 366
Page breaks in PDFs and printed manuals 366
Toggles are generally stable and reliable but since they are based on HTML and JavaScript
there are a few things you need to keep in mind when you are using them.
If you don't have duplicate IDs (see above) you have probably entered more than one
empty paragraph between the toggle header and the toggle table. You can have one
empty paragraph between the two but not more.
Unwanted interaction with other images in the same line as the header:
The toggle header icon is a normal image. If you insert other images directly next to it
the toggle may also attempt to toggle those images. You can usually solve these
problems by editing the toggle (double-click on the header link) and saving it again
with OK.
See also:
Formatting toggles with CSS 361
Working with Tables 332
1. Check through your HTML template and remove all the code that you added to
create your expanding sections.
2. Open Project Properties and check the Baggage Files (in Common Properties) and
Extended .HHP Settings (in HTML Help) for any files and references added for
your expanding sections and delete them.
3. For each expanding section in your project delete any plain HTML code blocks
added with Insert > Plain HTML Code, so that only the content of your expanding
sections remains.
1. Create a table for each expanding section and cut and paste the contents of your
expanding section into the table. Create multiple rows if you have a lot of text and
plan to output your project to PDF (see troubleshooting 366 ).
2. Position the cursor in an empty paragraph directly above the table.
3. Select Insert > Toggle, then select the Expanding Text option (default setting) and
Toggle a Table: (default setting).
4. In the drop-down box below the Toggle a Table option select Toggle the table below
this link so that the toggle uses the table containing your old expanding section text.
See also:
Expanding section toggles 348
7.9.10 Printing topics containing toggles
IN THIS TOPIC:
Including Expand All / Collapse All links 368
You need to do a little planning to make it possible for your users to print topics containing
toggles. Of course, this is only necessary in the formats where toggles are "active" – toggle
printing is not a problem in formats like PDF and Word RTF because the toggles are always
static and fully-expanded in these formats, so their entire contents are always printed.
In all formats where dynamic toggles are supported (Browser-based Help, HTML Help, MS
Help 2.0) the toggles are always printed exactly as they are currently displayed. Expanded
toggles are printed expanded, collapsed toggles are printed collapsed.
Generally, your users will want to print out the entire contents of the topic, including the
contents of all toggles.
See Expand All/Collapse All 365 for more detailed instructions on creating
Print links and buttons.
If you want you can also use a graphical button instead of a text link:
Add your button images to the Baggage Files 520 section and replace the image names
in the above code with the filenames of your own images.
For more details on how to implement this kind of thing see the tutorials Using icons
and mouseover buttons in your topic headers and Detailed instructions for
mouseovers on the user forum.
You can also use an image with a mouseover function:
This is the code used in the print button in Help & Manual's own help.
<a href="javascript: HMToggleExpandAll(true); print();" onmouseover="document.
images.printbutton.src='print1.gif'" onmouseout="document.images.printbutton.
src='print2.gif'">
<img name="printbutton" border="0" alt="Print this Topic" title="Print this
Topic" src="print2.gif"></a>
Add your button images to the Baggage Files 520 section and replace the image names
in the above code with the filenames of your own images.
For more details on how to implement this kind of thing see the tutorials Using icons
and mouseover buttons in your topic headers and Detailed instructions for
mouseovers on the user forum.
It's not possible to "auto-collapse" after printing!
You might think it's a good idea to add an HMToggleExpandAll(false); command
after the print(); command, but unfortunately this doesn't work. The command
would be executed as soon as the Print dialog is displayed, collapsing all the text
again before the user has a chance to print it.
If you also plan to generate eBooks from your project you must exclude the Print link
there because toggles and JavaScript are not supported in eBooks (toggles are
always displayed as static text, fully expanded).
· If you use script links enclose the links in conditional text 454 conditions to make
sure that they are only included in the output formats where dynamic toggles are
supported (HTML Help, Browser-based Help and MS Help 2.0).
· If you use links in your HTML templates enclose the link code in a pair of
<IFNOT_EBOOK> </IFNOT_EBOOK> build conditions 462 to make sure that they
are excluded from eBooks.
See also:
Expand All / Collapse All 363
Using HTML Templates 475
The topic page templates 477
About HTML Templates 814
The default topic page template 816
you can also navigate directly to the topics associated with index entries by clicking on
the entries in the Index tab.
See also:
IDs, Context Numbers and Keywords 849 (Reference)
7.10.1 Adding and editing keywords
IN THIS TOPIC:
How to add keywords from the topic editor 371
How to add and edit keywords in the Topic Options tab 371
How to add and edit sub-keywords in the Topic Options tab 372
Each topic in your project can have its own list of "keywords", each of which will create an
index entry in your output. You can add both simple keywords (master keywords) and
keywords with sub-entries (child keywords). Please note that only one level of child
keywords is supported (this is a restriction imposed by the output formats, not by Help &
Manual).
Index generation is automatic – an index will be generated when you compile as soon as
you have added one or more keywords to any topic in your project.
1. Select the topic you want to add a keyword to and select its Topic Options tab.
2. Select the Index tab in the Table of Contents (TOC) pane on the left so that you can
also see the finished index.
3. Type your index entries in the Keywords: field. Enter one keyword per line and press
Enter after each keyword to create a new line.
4. To view the entries in the index save your project (File > Save, or Ctrl+S) or refresh
the current topic (Topics > Refresh Topic or Shift+Ctrl+R). This will update the index in
the Index tab so that you can see the "finished product" immediately.
See also:
Editing the index directly 373
IDs, Context Numbers and Keywords 849 (Reference)
7.10.2 Editing the index directly
IN THIS TOPIC:
Editing keywords 373
Other editing functions 374
Adding a new master keyword 374
Adding a new child keyword 375
Deleting keywords 376
In addition to entering adding and entering keywords in the Topic Options tab you can also
edit the real-time index directly in the Index tab. When you use this editing mode you can
edit keywords in all the topics where they occur simultaneously. You can also add keywords
to multiple topics and delete keywords from multiple topics at the same time, in one quick
operation.
Editing keywords:
This method allows you to edit keywords in all the topics where they occur
simultaneously. Any changes you make to the keyword in this editing dialog updates all
the topics containing the keyword. You can also use this dialog to add keywords to
additional topics and to delete keywords from selected topics (see below).
1. Select the Index tab in the TOC pane.
2. Right-click on the keyword you want to edit and select Edit Caption in the popup
menu. You can select a master keyword or a child keyword (the example below
shows a master keyword).
3. Edit the keyword in the keyword field, then click on to save your
changes. This will save the modified keyword in all the topics whose IDs are listed
in the Topic: box
3. Select the topic ID of the topic you want to add the keyword to in the Available
Topics: list in the dialog and click on to add the ID to the list on the left.
4. If you want to assign the keyword to an anchor 379 in the topic you can select the
anchor in the Anchor: field. The anchor ID will then be added to the topic ID in the
Topic: list. Repeat for all the topics you want to add the keyword to.
5. Type the keyword in the Keyword: field and click on .
This adds the keyword to all the topics whose IDs you have selected.
The IDs of the topics that already contain the master keyword are added
to the Topic: list automatically. If you add more topics to the list both the
master keyword and the new child keyword will be added to the
additional topics.
3. If you want to add the new child keyword to additional topics not already included
in the list:
· Select topic IDs in the list on the right and use to add them to the Topic:
list.
· If you want to assign the keyword to an anchor 379 in the topic you can select
the anchor in the Anchor: field. The anchor ID will then be added to the topic
ID in the Topic: list.
4. Type the keyword in the Keyword: field and click on .
Deleting keywords:
Warning!
This method deletes keywords from all the topics in which they occur! If you only want to
remove keywords from individual topics use Edit Keyword 373 or edit the keywords for the
topics directly in the Topic Options tab.
1. Select the Index tab in the TOC pane.
2. Right-click on the keyword you wish to delete and select Delete Item from the
popup menu.
See also:
IDs, Context Numbers and Keywords 849 (Reference)
7.10.3 Find and replace keywords
You can also perform search and replace operations in all the keywords in your project. This
is a very useful Help & Manual function that is very easy to overlook!
See also:
Searching for text, topics and referrers 191
IDs, Context Numbers and Keywords 849 (Reference)
The index features introduced in Help & Manual 4 make entering keywords and managing
indexes much easier than ever before. The new Index tab in the Table of Contents pane
shows the finished index in real time, so that you can immediately evaluate your work and
identify and correct "near duplicates" with slightly different wording or spelling.
· Setting the Help & Manual program screen up like this makes it possible to enter
keywords for the topic on the right and simultaneously view the results in the
finished index on the left.
· You need to save your project or refresh the current topic to update the Index tab
after entering or editing keywords in the Topic Options tab. Just press Ctrl+S to
save or Shift+Ctrl+R to refresh. (These are the standard keyboard shortcuts,
which you can change if you like. See Keyboard shortcuts 83 for details.)
· Double-clicking on an entry in the Index tab takes you to the topic containing the
keyword. If a keyword is found in more than one topic a dialog is displayed
showing the topic IDs of the topics:
· Clicking on the links takes you directly to the corresponding topics. No dialog
needs to be displayed because in this mode all the instances of the keywords are
displayed in the Topics column, with one link for each instance.
Undocking the Topic Options tab (View menu) makes it easier to work on index
keywords.
This makes working on the index much easier because it allows you to see both the
keywords entry fields and the contents of the current topic at the same time.
· To redock the Topic Options tab just double-click on its title bar or select Dock
Topic Options in the View menu.
See also:
IDs, Context Numbers and Keywords 849 (Reference)
7.10.5 Using keywords with anchors
IN THIS TOPIC:
Adding keywords to an anchor 379
Displaying anchor keywords in the Index 380
Normally, clicking on an entry in the index of a help file executes a jump to the top of the
topic containing the keyword. The user then has to scan through the topic to find the
relevant passage of text. This is usually adequate for most purposes but there are also
situations where you will want the index entry to take the user directly to a specific position in
a topic.
With Help & Manualyou can achieve this by adding keywords to anchors 305 , which are "jump
targets" in your topic that can also be used to create hyperlinks to a specific location in a
topic. When you add a keyword to an anchor instead of in the Topic Options tab clicking on
the corresponding index entry in the help will take the user to the anchor instead of the top
of the topic.
2. Type the keywords into the Keywords: field of the Anchor dialog. You can enter
both main keywords and sub-keywords. Use the TAB key to enter sub-keywords
(an indented keyword automatically becomes the sub-keyword of the keyword
above it).
· Typing a space or tab in front of a keyword automatically makes it a sub-
keyword of the entry directly above it. (Only one level of sub-keywords is
allowed.)
· It is possible to have the same keywords in both the topic's Topic Options and in
one or more anchors in the same topic. However, if you want your index entries
to enable jumps to the anchor without confusing the user it is better to avoid this.
· The links to anchor keywords are shown with the syntax Topic ID + # + Anchor ID
in the Topics column.
See also:
Editing the Index directly 373
Managing keywords and indexes 377
IDs, Context Numbers and Keywords 849 (Reference)
A-keywords, also known as "A-link keywords", are quite similar to normal keywords but they
not displayed in the index, they are always "hidden". What use is a keyword that isn't
displayed in the index? There are two major uses for A-keywords: To create "See also" lists
of related topics and to create links between help files in modular help systems 492 .
See About A-keywords 854 for more background information on A-keywords.
3. Enter Alink() in the Script: field and type the keywords you want to link to
between the parentheses. If you enter more than one keyword separate them with
semicolon (;) characters, like this:
This example will create a link that displays a list of all topics that contain
either "troubleshooting" or "solutions" or both in their A-keywords lists.
You can use all the normal options available the Hyperlink dialog 686 for
formatting your link.
Note that when you are working in HTML Help you can only enter
keywords as the argument for the Winhelp macro. You cannot enter the
other parameters for the Winhelp A-Link macro because they are not
translated into HTML Help code!
If the target help file is not present when the user clicks on the link the alternative
topic will be displayed automatically. If the target topic is present a dialog will be
displayed in which the user can select either the target topic or the alternative topic.
This is just a very simple example to show you how this solution works in principle. In
practice you can also make more complex solutions, using more alternative topics
and more keywords. If you use multiple keywords remember to separate them with
semicolons, like this:
Note that when you are working in HTML Help you can only enter
keywords as the argument for the Winhelp macro. You cannot enter the
other parameters for the Winhelp A-Link macro because they are not
translated into HTML Help code!
See also:
IDs, Context Numbers and Keywords 849 (Reference)
7.10.7 Index section header separators
IN THIS TOPIC:
Editing the separators for Browser Help and PDF 385
Adding "letter links" to the separators for Browser Help 386
When Help & Manual generates keyword indexes in Browser-based Help and PDF, it
automatically adds section headers corresponding to the letter of the alphabet. The
keywords are then organized beneath the section headers by letter, which makes them
easier for the user to find quickly:
You can edit the index section header separators if necessary, for example to add letters for
non-English languages.
· Go to Project > Project Properties > Browser-based Help > Keyword Index.
· Add your own separators to the list at the bottom of the page.
· Open the print manual template 543 for your project in the Print Manual Designer
and select the Keyword Index section.
· Select File > Page Options and then choose the Keyword Index Section tab.
2. Then edit the list of separators for your own requirements. For example, for German
you would enter:
A,Ä,B,C,D,E,F,G,H,I,J,K,L,M,N,O,Ö,P,Q,R,S,T,U,Ü,V,W,X,Y,Z
Note that you don't need to enter separators for non-alphabetic characters
like "#" and ".". If there are keywords starting with characters like these
Help & Manual will generate these automatically.
You can create links like these for your own help by adding some code to the HTML
template for the Browser-based Help index. You need some experience with editing
HTML manually to do this.
1. Go to Project Properties > Browser-based Help > Keyword Index and select Let me
edit HTML code directly.
2. Locate the <%KEYWORD_INDEX%> variable. This variable inserts the content of
your keyword index, so you want to insert your link list directly above it.
3. Insert one or two <br /> codes, then insert one link for each letter in your link list,
using the following syntax:
<a href="#A">A</a>
If you want links to keywords beginning with non-alphabetic characters you must also
enter lines for them yourself.
The result will look something like this:
...
<a href="<%HREF_CONTENT_PAGE%>">Contents</a>
<IF_INDEX_PAGE> | <b>Index</b></IF_INDEX_PAGE>
<IF_SEARCH_PAGE> | <a href="<%HREF_SEARCH_PAGE%>">Search</a></
IF_SEARCH_PAGE>
</p><hr size="1" />
<br><a href="#.">-.-</a>
<a href="#A">A</a>
<a href="#B">B</a>
<a href="#C">C</a>
<a href="#D">D</a>
<a href="#E">E</a>
<a href="#F">F</a>
<a href="#H">H</a>
<a href="#I">I</a>
<a href="#J">J</a>
<a href="#K">K</a>
<a href="#L">L</a>
<a href="#M">M</a>
<a href="#N">N</a>
<a href="#O">O</a>
<a href="#P">P</a>
<a href="#R">R</a>
<a href="#S">S</a>
<a href="#T">T</a>
<a href="#U">U</a>
<a href="#V">V</a>
<a href="#W">W</a>
<a href="#X">X</a>
<a href="#Y">Y</a>
<a href="#Z">Z</a>
<!-- Placeholder for the keyword index - this variable is REQUIRED! -->
<%KEYWORD_INDEX%>
...
See also:
Using HTML templates 475
About HTML templates 814
The default Index template 821
Help & Manual's tools and features for finding help bugs:
Project reports
The project report tool 388 gives you a comprehensive overview of the current state of
your project, allowing you to check topics, links, graphics and other elements.
Checking keywords
The new Index tab 373 in the Table of Contents is an extremely powerful tool for
checking and managing the keywords in your project. Among other things, it enables
you to immediately see and eliminate duplicate keywords with variant spellings and
formats.
See also:
The Project Reports Tool 618
7.11.2 Testing links and missing graphics
IN THIS TOPIC:
How to test links in the editor 389
Dead links and images in the editor 389
Locating dead links and images with the reporting tool 389
All links and graphics inserted in your projects incorporate dynamic validity checking
features. Dead links are automatically highlighted in red and a mouseover explanation is
displayed if the mouseover hints feature is enabled in Tools > Customize > General. Missing
pictures are clearly indicated by a square graphic with a red X in the middle.
See also:
The Project Reports Tool 618
When you are testing your project you will often want to find topics and check links to and
from your topics. Help & Manual includes several tools that make this a quick and easy
process. In addition to the search functions described here you can also use the Project
Reports Tool 618 to generate detailed reports on your project with full lists of topics, links,
graphics and other details.
The functions for finding and replacing text in Help & Manual are very similar to the
comparable functions in word processors, with some additional options for the special
requirements of help projects.
In addition to this the program also has powerful functions for locating individual topics by
their topic IDs and their context numbers, and for locating "referrers", i.e. topics containing
links to the current topic or topics.
See also:
The Project Reports Tool 618
7.11.4 Testing keywords
Help & Manual 4 introduces a whole package of powerful keyword and index management
tools that make it very much easier to check your keywords and indexes while you are
working:
· The new Index tab in the Table of Contents (TOC) pane of the editor provides real-
time access to your finished index, and it is also fully editable, allowing you to edit and
correct keywords in all the topics where they occur at the same time. For details see
Editing the index directly 373 .
· The Edit > Find and Replace Text function also works on keywords. You can locate
and replace keywords in your entire project in a just a few seconds. For details see
Find and replace keywords 376 .
See also:
Keywords and Indexes 369
Searching for text, topics and referrers 191
See also:
Project Properties 548
Help Formats 763
In HTML Help, Winhelp, Browser-based Help and eBooks the appearance and functions of
the help viewer are controlled by the help window definitions in Project > Project Properties
> Help Windows 557 .
Every topic is associated with a help window type, which can be selected in
the Help Window: field in each topic's Topic Options tab.
If you use external windows user-defined window types also define the
appearance and behavior of the external windows.
See also:
Choosing a help window 177
Templates and Secondary Windows 462
Help Windows 557 (Project Properties)
Help Windows 800 (Reference)
7.12.2 HTML Help
IN THIS TOPIC:
Settings in the Help Windows section 394
This topic lists the settings that control your HTML Help output. The appearance and
functionality of HTML Help output is controlled by the settings in two Project Properties 548
sections:
· Project > Project Properties > Help Windows 557
· Project > Project Properties > HTML Help 565
For more information on this format see HTML Help 765 in the Reference > Output Formats
chapter.
Topic Pages:
This section 565 provides access to the HTML templates used in all HTML-based output
formats. These templates define the layout of the HTML pages into which the text from
your topics is inserted.
Editing HTML templates directly requires experience with editing HTML code. If you are
just getting started with Help & Manual it is recommended that you leave the option Let
me edit HTML code directly unchecked. This allows you to use the default template
while you are getting used to using the program.
· For full details on all the settings in this section see Topic Pages 565 in the HTML
Help section of the Project Properties chapter.
· For information on using and editing HTML templates see the Templates and
Secondary Windows 462 and Using HTML Templates 475 chapters in the Reference
section.
This is a shared section! The templates in Topic Pages are used for all
HTML-based output formats. In addition to HTML Help this also includes
Browser-based Help, eBooks and Visual Studio Help / MS Help 2.0. The
same templates are used for all output formats. You cannot create
different templates for the individual formats.
Popup Topics:
The options in this section 567 control how popup topics 194 are handled and exported in
HTML Help. These settings are important if you are using popups because the modes
are all very different and they all have different advantages and disadvantages. For
example, if you use JavaScript popups you will have to create a separate project for
context-sensitive popups called from your application.
· For full details on all the settings in this section see Popup Topics 567 in the HTML
Help section of the Project Properties chapter.
· For information on creating and using popup topics see Creating popup topics 194
and Using JavaScript popups 199 in the Creating and Editing Topics chapter and
Using Context-Sensitive Help 431 in the More Advanced Procedures section.
See also:
Project Properties - HTML Help 565
Output Formats - HTML Help 765
7.12.3 Winhelp
IN THIS TOPIC:
Settings in the Help Windows section 397
This topic lists the settings that control your Winhelp output. The appearance and
functionality of Winhelp output is controlled by the settings in two Project Properties
sections:
· Project > Project Properties > Help Windows 557
· Project > Project Properties > Winhelp 575
For more information on this format see Winhelp 768 in the Reference > Output Formats
chapter.
Miscellaneous settings:
These options 575 include settings for configuring Winhelp's full-text search function and
some other functions of the Winhelp format. The full-text search index is no longer
necessary on modern computers. It is generated automatically almost instantly on the
user's computer and it can be left out if you want to make your help more compact.
· The only setting that is really important here is Limit images to 256 colors ,which
will prevent the Winhelp viewer from crashing on computers with screen
resolutions of less than 256 colors.
· See Miscellaneous Settings 575 in Project Properties > Winhelp for more details.
See also:
Project Properties - Winhelp 575
Help Formats - Winhelp 768
7.12.4 Browser-based Help
IN THIS TOPIC:
Different appearance in different browsers 398
Settings in the Help Windows section 399
Settings in the Browser-Based Help section 399
The appearance and functionality of Browser-based Help output is controlled by the options
in two Project Properties sections:
· Project > Project Properties > Help Windows 557
· Project > Project Properties > Browser-Based Help 586
For more information on this format see Browser-based Help 771 in the Reference > Output
Formats chapter.
This is not possible in Browser-based Help. The HTML code generated is the best
possible compromise between the many quirks of all the browsers now in use and
compliance with the W3C specifications for XHTML 1.1, HTML 4.01 and CSS1.
Unfortunately, no browser is really compliant with all the standards. In addition to this,
individual browsers often interpret the same rules and formatting tags differently.
Ø Whether (and how) you want the TOC to be expanded automatically when the
help is opened
Ø TOC indentation
Ø Custom TOC icons
Ø Add TOC ordering numbers
· See Navigation 403 in this chapter for more detailed instructions on configuring the
options in this section.
· For full details on all the settings in this section see Navigation 589 in the Browser-
based Help section of the Project Properties chapter.
The Table of Contents, Keyword Index and Full Text Search sections:
These sections allow you to edit the HTML templates for the Table of Contents 591 ,
Keyword Index 593 and Full-Text Search 594 features of your Browser-based Help. The
pages using these templates are loaded into the corresponding frames in Dynamic
HTML mode and generated as separate, stand-alone pages in Simple HTML mode
(see Navigation 589 ).
Note that the Full-text Search feature for Browser-based Help is
only available in the Professional version of Help & Manual. The
Search template is locked in the Standard edition.
Editing HTML templates directly requires experience with editing HTML code. If you
are just getting started with Help & Manual it is recommended that you leave the
option Let me edit HTML code directly unchecked in these sections. This allows you to
use the default templates while you are getting used to the program.
· For full details on all the settings in these sections see Browser-Based Help 586 in
the Project Properties chapter.
· For full details on using and editing HTML templates see Using HTML Templates
475 and Templates and Secondary Windows 462 .
· See Compiling 413 for an important note on compiling Browser-based Help with
full-text search.
· For full details on all the settings in this section see Topic Pages 597 in the Browser-
based Help section of the Project Properties chapter.
· For information on using and editing HTML templates see the Templates and
Secondary Windows 462 and Using HTML Templates 475 chapters in the Reference
section.
This is a shared section! The templates in Topic Pages are used for
all HTML-based output formats and can be accessed in the several
sections of Project Properties. However, the same templates are
used for all output formats.
See also:
Project Properties - Browser-based Help 586
Output Formats - Browser-based Help 771
7.12.4.1 Layout
IN THIS TOPIC:
Settings that used to be in the Navigation section 402
The options in this section define the layout of your Browser-based Help. This is a new
section introduced in Help & Manual 4.3 and it includes some of the settings that used to be
in the Navigation 403 section.
You can now choose a three-pane layout and load your own header HTML file into the top
frame for seamless integration in your own website.
provide a reference to your own external HTML file that you want
to load into the top frame.
See also:
Layout 587 (Reference)
HTML template variables 829 (Reference)
Using HTML Templates 475
Templates and Secondary Windows 462
7.12.4.2 Navigation
This section defines how the navigation of your project functions. The main choice of an
dynamic or static navigation is made with the layout type choice in the Layout 401 section. The
settings you make in the Navigation section control how the layout that you have chosen
behaves when the user interacts with it.
Most of the settings in this section should be self-explanatory. You can find detailed
descriptions of all the settings in Navigation 589 in the Project Properties section.
See also:
Navigation 589 (Reference)
7.12.4.3 Full Text Search tricks
There are a couple of manual settings and switches you can use to change the way that full-
text search works in Browser-based Help. These aren't absolutely essential but they can be
useful for advanced users to fine-tune search performance.
For full details on all the standard search configuration settings please refer to Full Text
Search 594 in the Project Properties section.
Excluding topics and files from the search index:
HTML files with names beginning with an underscore (_myfile.htm) are not indexed for
searching. You can use this knowledge to exclude both topics and other files from
your Browser Help search index (i.e. files not generated by Help & Manual).
· To exclude topics from the search: Add an underscore to the beginning of the
topic's topic ID in the Topic Options tab. For example, to include a topic with the
ID Introduction from the search change the ID to _Introduction. (Note that you
will then also have to change the addresses of any existing calls to your topic
from your application!)
· To exclude additional files from the search: Just add an underscore to the
beginning of the file name. For example, change myfile.html to _myfile.html.
must repeat this for the other templates if you have created any other custom
templates.)
3. Enter <!--ZOOMSTOP--> on a single line of its own directly before the beginning
of the header code, (directly before the <IF_TOPIC_HEADER> switch), like this:
<!--ZOOMSTOP-->
<IF_TOPIC_HEADER>
4. Enter <!--ZOOMRESTART--> on a single line of its own directly before the <%
TOPIC_TEXT%> variable, like this:
<!--ZOOMRESTART-->
<%TOPIC_TEXT%>
That's it. When you recompile everything in the header will be excluded from the index
and the excerpts. You can also exclude parts of individual topics from the search
index. To do this just use the Insert - Plain HTML Code function to insert the stop and
start switches before and after the text you want to exclude.
See also:
The Search template for Browser Help 483 (Using HTML Templates)
Full Text Search 594 (Project Properties)
7.12.5 Adobe PDF and printed manuals
IN THIS TOPIC:
Settings for printed manuals 406
The Print Manual Designer 406
Settings in the Adobe PDF section 406
Printer driver for generating Adobe PDF 407
The appearance and functionality of Adobe PDF output is controlled by the settings and
tools in the following locations:
· Tools > Print Manual Designer 622 (for editing Print Manual Templates)
· Project > Project Properties > Adobe PDF 604
· Tools > Customize > PDF Export 738
PDF Layout:
These options 604 are critical for PDF output and should always be checked before
generating PDF from your project for the first time. This is where you select the Print
Manual Template, which defines the entire appearance and content of your PDF
document. The Output Style specifies whether you want to create an interactive PDF for
on-screen viewing or a document-style PDF for printing.
· For details see PDF Layout 604 in the Project Properties > Adobe PDF section and
PDF and Printed Manuals 538 .
PDF Options:
These options 606 are not quite so crucial but they can make a big difference to how your
PDF document functions. They should always be checked before publishing a PDF or
distributing it to your users.
· For details see PDF Options 606 in the Project Properties > Adobe PDF section.
Font Embedding:
The options in this section 606 can significantly effect the size of your PDF output file, and
whether your users see your files with the same fonts that you chose when you produced
the document.
· For details see Font Embedding 606 in the Project Properties > Adobe PDF section.
See also:
Output Formats - Adobe PDF 774
Customize - PDF Export 738
The Print Manual Designer 622
7.12.6 eBooks
IN THIS TOPIC:
Settings in the Help Windows section 408
The appearance and functionality of eBooks output is controlled by the settings in two
Project Properties sections:
· Project > Project Properties > Help Windows 557
· Project > Project Properties > eBooks 609
For more information on this format see Help & Manual eBooks 773 in the Reference > Help
Formats chapter.
Visual Appearance:
The only really important option here is Viewer template, which selects the "skin" that
controls the entire appearance of the eBook viewer, including whether or not it has a
Table of Contents pane. These skin templates are not user-editable.
· For full details see Visual Appearance 609 in the Project Properties > eBooks chapter.
See also:
Output Formats - eBooks 773
7.12.7 XML
Compiling to XML exports your project in its current state to a package of XML files.
Although this format is generated from the Compile dialog it is not really a help format. It is
basically just a different way of storing your project files, in a format that can be read and
edited with XML-aware programs like XML editors and some major translation support tools.
Since XML output stores your entire project and all its settings in their current state there are
no special options or settings for configuring XML output. All the settings you can make are
included in the Compile 415 dialogs.This is also why there is no XML section in the Project
Properties.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
See also:
XML Export and Import 786 (Reference)
Compiling to XML 415
7.12.8 MS Word RTF
The appearance and layout of your MS Word RTF output is controlled entirely by the options
in the following location:
· Project > Project Properties > MS Word RTF 608
All other settings are irrelevant for Word RTF output. Also, please note that Word RTF is a
deprecated and rather limited format that is only provided for backward compatibility. Adobe
PDF is always preferable unless you have a specific application for which RTF is an
absolute requirement.
· For details see Page Setup & Headings 608 in the Project Properties > Microsoft Word
RTF chapter.
See also:
Output Formats - Word RTF 776
7.12.9 Visual Studio Help
Visual Studio Help is also known as MS Help 2.0. Originally this help format was intended to
be the successor to HTML Help. However, Microsoft then postponed its release indefinitely
and it is now clear that it is never going to be released as a help format for normal user
applications.
Please note that this is a special help format that is only used for documenting third-party
programming components designed for integration into Visual Studio .NET. It is not suitable
for any other purpose and cannot be used for normal help projects for application programs!
components for Visual Studio .NET. If this does not apply to you please don't worry
about this help format. It cannot be used for any other purpose.
· Please refer to the special Visual Studio Help 527 chapter in the More Advanced
Procedures section for details on working with Visual Studio Help in Help & Manual.
See also:
Visual Studio Help 579 (Advanced Procedures)
Visual Studio Help 579 (Project Properties)
Visual Studio Help 777 (Reference)
See also:
Customize - Compilers 737
7.13.2 Publication checklist
Before actually distributing your files there are a few things you should check because they
are quite easy to forget:
Language settings:
· Have you set the correct language settings in Project > Project Properties >
Common Properties > Language Settings 551 ? This is particularly important if you are
using languages requiring special character sets or Unicode. See International
languages setup 149 for details.
Embedded topics:
· Are you using embedded topics? If you are and your source topics are stored in
the Invisible Topics section remember to exclude the source topics from your
output. (Select the Topic Options tab of the each source topic and deselect all the
options in Builds which include this topic.) If you don't do this your source topics will
also be exported with your output and they will appear in the search and possibly
also in the keyword index. See Using embedded topics 222 for details.
See also:
Configuring Your Output 392
7.13.3 Compiling
IN THIS TOPIC:
How to compile your project 411
Compiling Visual Studio Help 412
Compiling Browser Help 413
Compiling selected topics only 414
Using the "Include Options" 414
Quick-launching your project 411
Test-Compiling Asian languages 415
Once you have made all your preparations and set your configuration options 392 for the
output format you are using compiling is basically just a question of selecting the output
format and clicking on OK. Everything else is handled by Help & Manual.
Compiling to XML:
Note that generating XML 786 output us a special case with a number of
special settings unique to this output format. It is also not possible to
include or exclude individual topics or chapters in XML, the output always
contains your entire project. In this sense, it is really more a save format
than an output format. For detailed instructions see Compiling to XML 415 .
2. Select the output format in the Output Format: field. Some of the options displayed in
the dialog will change depending on the format you choose.
· For details on the options in the compile dialog see Compile Help File 663 in
Reference > Menus and Dialogs > The File Menu.
3. Check the Output File: field. In most cases the program will automatically compile to
the project folder, using the project name as the file name. You can change both the
output folder and the file name if you want and Help & Manual will remember this
change next time you compile.
4. Select the output options and click on to compile. This can take a couple of
minutes with very large projects.
5. A report on the compile process including any errors and a list of the files and/or
folders you need to include when you distribute your help 417 to your users is displayed
in an external viewer window. This window contains controls with which you can save
the report to an external HTML file if you want.
Visual Studio Help is a special help format that is only used for documenting third-party
programming components designed for integration in Visual Studio .NET. It cannot be
used for normal application programs and if you are not a VS.NET system programmer
you don't need to know anything about it!
important to understand that the search index is not generated from your .HMX project
file or from the files on your server. It is generated from the HTML files on your local
computer, after the HTML files have been generated.
· If the output directory contains any other HTML files these will be included in
the index.
To prevent this do not place any other files in the output directory. Since the index is
generated locally you can upload other files to your server separately, then they will
not be included in the index.
· Outdated HTML files will be included in the index if you don't delete them.
To ensure that the HTML files of outdated topics are not included in the index use
the option in the Compile dialog to delete the contents of the
output directory before compiling. This will not cause problems with the timestamps
of topic files that have not been changed – the HTML file timestamps are always set
to the last time the topic was edited, not the time when the project was compiled.
2. Then just select the output format you want to output to. Your project will be
compiled and displayed automatically as soon as the compile process is finished.
The resulting help file will contain errors if the languages of your Windows version and
the help file don't match but you will be able to complete the compilation, which is
sufficient for testing.
See also:
Compile Help File 663 (Reference)
Compiling to XML 415
Conditions and Customized Output 451
7.13.4 Compiling to XML
Compiling to XML exports your entire project in its current state to a package of XML files 786 .
Although this format is generated from the Compile dialog it is not really a help format. It is
basically just a different way of storing your project files, in a format that can be read and
edited with XML-aware programs like XML editors and some major translation support tools.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
For more details on Help & Manual's XML output and the files that are
generated please see XML Export and Import 786 in the Reference section.
You can also export and import individual topics in XML format. For details
see Exporting and importing topics 202 .
2. Select XML in the Output Format: field. This will display some special options for
generating XML output (see below for details).
3. Check the Output File: field. By default the program will automatically suggest
creating a new XML source folder in your project folder, using the project name as the
file name for the main XML project file. You can change both the output folder and the
file name if you want and Help & Manual will remember this change next time you
compile. However, you should always use an empty folder as your XML output folder
Click on to compile. This can take a couple of minutes with very large projects.
5. A report on the compile process including any errors and the name of the XML file
package folder are displayed in an external viewer window. This window contains
controls with which you can save the report to an external HTML file for
documentation purposes if you want.
See also:
XML Export and Import 786 (Reference)
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
7.13.5 Distribution files
When you compile your output a report is displayed in an external window listing the files
and/or folders that you need to distribute to your users. Here is a summary checklist of the
files you normally need to distribute for each output format supported by Help & Manual:
HTML Help:
HTML Help is compiled to a single .CHM file containing everything needed for the fully-
functional help. You will only need to distribute additional files if you are creating a
modular project 492 with multiple help files or if you are accessing additional external files
in your help, for example with file links 300 . If you do access and distribute external files
with HTML Help you must store them in the same directory as the .CHM file. Links to
external files with path information will fail on many (but not all) user's computers!
Classic Winhelp:
Winhelp always consists of two files: A .HLP file containing the main body of the help and
a .CNT file containing the Table of Contents (TOC).If you forget to include the .CNT file
your help will be functional but it will not have a TOC.
Browser-based help:
Browser-based Help is actually a self-contained website. Like any website it consists of a
large number of separate files, including HTML files, graphics files, JavaScript files and
other files. If you have a large help project your Browser-based Help can easily consist
of several hundred files. You must upload all the files in the output directory to your
server for Browser-based Help to work properly! Also, you must upload all the files to
the same directory! Do not make any changes to these files. For example, do not
change the case of file names.
If you are distributing any additional files with your Browser-based Help you must add
them to the directory manually.
Adobe PDF:
Adobe PDF output always consists of a single .PDF file.
MS Word RTF:
MS Word RTF is output to a single .RTF file. However, if the file contains images the
graphics files are external and need to be distributed with the .RTF file, otherwise the
user will not be able to see them.
need to distribute. However, you can also choose an option to create both an .HXS file
and a separate .HXL file in Project > Project Properties > Visual Studio Help > Namespace
& Options 580 .Please note that this format is not designed for general help for user
applications! Visual Studio Help is only used to document programming components
added to Visual Studio .NET and the compiler can only be used in combination with the
Visual Studio .NET package! This help format is completely irrelevant for normal help
and documentation applications!
See also:
Help Formats 763 (Reference)
7.13.6 Changes since H&M 3
From the user's point of view two changes have been made to how output is compiled since
Help & Manual 3. One change is trivial and the other is quite important:
See also:
Compile Help File 663 (dialog reference)
VIII
422 Help & Manual Online Help
See also:
About using media files 859
8.1.1 Inserting movies and animations
Inserting a movie or Flash animation file is now just as easy as inserting a graphic.
Please see About using media files 859 for important information on using
media files in your projects and support for media files in the various
output formats!
Note that movies must generally be in the same folder as your help to
run. If you want to be relatively sure that movies will run properly then
use the Flash SWF format. Other formats frequently cause problems
because
3. Click on the browse button in the File Name: field and select the movie file.
4. Select the Start options:
Start Starts the movie as soon as
automatica the topic is displayed.
lly:
See also:
About using media files 859
8.1.2 Inserting placeholder graphics
The "placeholder graphic" is a graphic that is displayed in your topic when the movie is not
running. This graphic is also displayed in the Help & Manual editor and in output formats that
do not support movies like, eBooks (Flash is supported in eBooks, other video formats are
not), PDF and printed user manuals. Alternatively you can also use Help & Manual's
conditional output 451 features to create alternative topics or topic content for formats that do
not support media files.
See also:
About using media files 859
8.1.3 Previewing and snapshots
You can preview inserted movies in Help & Manual and take snapshots from the movies to
use as placeholder graphics 423 in your topics.
If the preview function does not appear to be working see About using media
files 859 for more information.
3. Click on and select the Run movie and take snapshot option to
display the movie player window.
You can also load placeholder images from files or paste them from the
Windows clipboard after copying an image from another location.
4. Use the controls to play the movie and locate the graphic you want to use as your
placeholder graphic. The actual movie playback controls displayed here depend on
the individual player, which in turn depends on the format of the movie.
5. Click on to take the snapshot and insert it in the Edit Movie dialog.
6. Click on to close the dialog and insert the placeholder graphic in your topic.
See also:
About using media files 859
8.1.4 Editing the media HTML code
Help & Manual automatically generates the HTML code needed to display and play media
files in HTML-based output formats (HTML Help and Browser-based Help). Normally you will
not need to touch this code but there may be special circumstances where you want to
change or edit the code for your own purposes.
eBooks: Note that although you can now play Flash animations in Help &
Manual eBooks (videos are not supported) this is handled by special internal
routines. Editing the HTML code will not make any difference in your eBooks
output.
2. Click on the HTML Code tab and select the I want to enter the embedded HTML
code manually option.
3. This displays the code that would normally be entered by Help & Manual.
· If you enter additional file or image references in your code the compiler will not
know about the files you are referring to and will not automatically include them in
your output. To solve this problem add these external files to the Baggage Section
520 – then they will be included in your HTML output automatically.
See also:
About using media files 859
Browser- Flash animations and videos are supported. Here too, support for
based Help: playing the formats used must be installed on the user's computer.
Also, the degree and quality of the support also depends on the
support provided by the browser the user is using. So please test your
output on all relevant browsers before distributing!
eBooks: Flash animations are supported if support for playing Flash is installed
on the user's computer. Videos are not supported.
See also:
Help Formats 763 (Reference)
advantage of OLE over screenshots is that the objects remain editable – double-clicking on
an OLE object in the Help & Manual editor opens it for editing in its associated program.
Please see About using OLE objects 861 in the Reference section for some important
additional information.
See also:
Insert OLE Object 701
About using OLE objects 861
8.2.1 Inserting OLE objects
IN THIS TOPIC:
How to insert an external file as an OLE object 429
How to create a new OLE object and embed it in your project 430
Note that OLE objects are actually controlled by the OLE server of the associated
application, not by Help & Manual. Whether and how the object is editable depends on the
server and if the function fails it is due to the server, not to Help & Manual.
Please also note the restrictions 862 on using OLE. In particular, remember that you can only
use OLE objects that can be displayed as graphics. You cannot insert multimedia OLE
objects. If you want to insert media objects use the Insert Movie 422 or File Link 300 functions.
in your project! To edit the embedded OLE object you must double-click on the
object in the Help & Manual editor.
See also:
Insert OLE Object 701
About using OLE objects 861
Example 2 – an equation:
This example shows an equation created with the MS Equation Editor:
x+ y
n
Z
amount of time and money later because it will make your product much easier to
understand for your users. And that will translate into fewer support requests. Also,
applications with good context-sensitive help are more popular and sell better because they
are easier to use.
See also:
Context-Sensitive Help & Popups 834 (Reference)
IDs, Context Numbers and Keywords 849 (Reference)
Creating popup topics 194
Creating invisible topics 193
Organizing invisible topics 225
8.3.1 Creating context-sensitive topics
IN THIS TOPIC:
How to create a normal context-sensitive topic 433
How to create a context-sensitive popup topic 433
Creating "dual-mode" popups in HTML Help 434
Context-sensitive help can use both normal topics and popup topics. A "normal" context-
sensitive topic is just any topic in your TOC called directly by your application, and it is
always displayed together with the entire help. Context-sensitive popup topics are called
directly and displayed on their own in a little window that is closed after the user has read
the text.
As the help author you don't actually need to do anything special to create context-sensitive
topics. They are simply normal TOC topics and normal popup topics. They become "context-
sensitive" when they are called directly from the application.
What makes context-sensitive popup topics a little different is the fact that they can be called
on their own, without the help, but within the help they are still identical to any other popups.
For more background information see the Context-Sensitive Help & Popups 834 chapter in
the Reference section.
See also:
Creating popup topics 194
Auto-generating context-sensitive popups 435
Context-Sensitive Help & Popups 834
Organizing invisible topics 225
8.3.2 Application calls to context-sensitive topics
IN THIS TOPIC:
Calls to normal topics in the TOC 434
Calls to plain-text HTML Help popups 435
Calls to the dual-mode HTML Help popups 435
Making the calls to your context-sensitive topics is basically a job for the programmer, not
the help author (you may be both, of course). Again, in the help there is no difference
between context-sensitive topics and popups and normal topics and popups – the difference
is how they are called.
All the Microsoft help output formats generated by Help & Manual are fully standard-
compliant so you can use the standard procedures for linking to and calling context-sensitive
topics.
You will normally only use Winhelp or HTML Help for context-sensitive help but you can also
make limited context-sensitive calls to the Browser-based Help generated by Help & Manual
if you can make browser calls from your application. For details see Context calls to
Browser-based Help 438 .
See also:
Context-Sensitive Help & Popups 834 (Reference)
8.3.3 Auto-generating context-sensitive topics
Complex applications have a lot of components and controls and if you document them all
with context-sensitive popup topics this means you need to create a lot of popup topics. This
can be a very tedious task and it's also easy to make mistakes, because it means entering
hundreds of context numbers and topic IDs that may not have very descriptive names.
Help & Manual can do all this work for you with the help of map files 846 , which are simple text
files containing lists of the topic IDs and help context numbers to be used for documenting
the controls in the program. These files can be provided by the programmers (they can be
generated by most modern programming languages). They have a standard format and
syntax and Help & Manual can use them both to apply missing help context numbers to
existing topics and to generate missing topics with the necessary IDs and help context
numbers.
See also:
About map files 846
The Help Context Tool 624
8.3.4 Formatted context popups in HTML Help
IN THIS TOPIC:
Dual-mode help with Winhelp popups in HTML Help 437
Combining dual-mode context popups with JS popups 437
HTML Help popups are plain-text only, they do not support graphics or formatted text like
the popups in Winhelp. If you want formatted popups Help & Manual can solve this problem
for you by creating "dual-mode" help for HTML Help, with a .CHM file for the main help and
a .HLP Winhelp file for the popups. (Microsoft also uses this method in the help of a number
of their own applications.)
· Help & Manual 4's new JavaScript popups 199 cannot be used for context-sensitive help
because they cannot be called directly from applications. They can only be called from
links within your help.
See also:
Creating popup topics 194
Context-Sensitive Help & Popups 834
Using JavaScript Popups 199
Organizing invisible topics 225
8.3.5 Context calls to Browser-based Help
IN THIS TOPIC:
How to make calls to Browser-based Help topics 438
You can create context-sensitive calls to Browser-based Help 771 (web HTML) from your
application or web pages with normal URLs using the syntax explained below. These calls
can be made locally, across networks or across the Internet.
However, note that you cannot use context popups on their own as you would in Winhelp or
HTML Help, because these popups are a Microsoft technology that is an integral part of the
HTML Help and Winhelp help viewers. The JavaScript popups 199 supported in Browser-
based Help can only be used within your help, you cannot make calls to them from your
application or web pages.
Syntax:
index.html?topicname.htm#anchorname
· Note that Help & Manual 4 uses the standard # character to separate the topic file
name and the anchor name in links to anchors 305 (sometimes also known as
bookmarks). This is different from Help & Manual 3's Browser-based HTML output,
where a comma was required!
Examples:
This example uses the standard file names and extensions and accesses an anchor
in the referenced topic:
index.html?introduction.htm#gettingstarted
The following example shows a call to a project that was compiled with both a non-
standard index file name (see Compile Help File 663 ) and a non-standard extension for
the topic files (see below). There is no reference to an anchor in this example.
help.html?new_features.html
?topicname.htm This is the name of the topic you want to display. This is created by
combining the topic ID 210 with the extension .htm.
This is the default topic extension, you can change it in Project >
Project Properties > Browser-based Help > HTML Export Options 601
. (These settings are shared with the other HTML-based output
formats and can also be accessed in the HTML Help and Visual
Studio Help sections.)
#anchorname (optional) This is the name of an anchor 305 in the topic that you
want to jump to. Note that the standard # character is now used as
the separator instead of the comma required in Help & Manual 3!
index.html?introduction.htm#gettingstarted
See also:
Creating popup topics 194
Context-Sensitive Help & Popups 834
Organizing invisible topics 225
See also:
Variables and Conditional Output 862 (Reference)
8.4.1 Where you can use variables
The following table provides a quick reference showing where you can use which kinds of
variables:
Topic text and Global predefined variables and user-defined variables inserted
headers 441 with Insert > Text Variable 696 or typed manually.
Note that variables typed in manually are not highlighted in the
editor and double-clicking on them will not open the variable
selection list.
TOC, keywords, Global predefined variables and user-defined variables inserted
image captions, link manually by typing the variable names.
captions, macros
and scripts 442
HTML code objects Global predefined variables and user-defined variables inserted
311 manually by typing the variable names.
HTML templates 450 Global predefined variables, user-defined variables and special
HTML template variables inserted manually by typing the
variable names.
PDF templates 451 Global predefined variables, user-defined variables and special
PDF template variables inserted manually by typing the variable
names.
See also:
Variables and Conditional Output 862 (Reference)
8.4.2 Inserting variables in topics and headers
IN THIS TOPIC:
Using Insert Variable to insert variables in topics and headers 441
You can use both Help & Manual's predefined variables and your own user-defined variables
in your topics and topic headers. These are all displayed automatically in the Insert Text
Variable dialog so you don't need to refer to a list to use them.
Your user-defined variables are also displayed automatically in the list of
available variables in the Insert Text Variable dialog.
3. Select the variable you want to use from the list and click on OK (or just double-
click on the variable in the list).
Variable display:
Variables inserted with this method are displayed with a green highlight (like this:
). This is only to make the variable easier to see in the editor. Variables
typed in manually (see below) are also fully functional.
Example:
The following text contains manually-typed variables as they would appear in the
Help & Manual editor. To make them appear here they have been disabled,
otherwise you would only see the variable values here instead of the variables
themselves. See Editing, formatting and disabling variables 446 for details.
This text was published on <%DATELONG%> (the date in long format)
at
<%TIMELONG%> (the time in long format). It was written by <%MAIN
AUTHOR%> (a user-defined variable). It is included in the <%
DEMOVERSION%> (another user-defined variable) of the
documentation.
See also:
Variables and Conditional Output 862 (Reference)
Where you can use variables 440
Editing, formatting and disabling variables 444
8.4.3 Inserting variables in other project locations
IN THIS TOPIC:
How to use text variables in the TOC 443
How to use text variables in keywords 443
How to use text variables in link captions 443
How to use text variables in macros and scripts 444
In addition to topics and headers 441 you can use all the global predefined variables 448 and
your own user-defined variables 449 in the captions in the Table of Contents, keywords, image
Examples:
<%DATELONG%> A predefined variable (the date in long format)
<%MYPROJECT%> A user-defined variable
See also:
Variables and Conditional Output 862 (Reference)
8.4.4 Editing, formatting and disabling variables
IN THIS TOPIC:
How to edit variables in the editor 444
How to use formatting and styles with variables 445
How to disable variables to display their names 446
How to disable the variable highlight 447
This topic describes how to edit variables in the Help & Manual editor, how to format the
content of variables in your output (i.e. with bold text or text styles) and how to disable
variables so that the variable name is displayed in your output instead of the content of the
variable.
Insert > Text Variable function the variables are highlighted for easy identification and
you can double-click on them to display the variables list, but they are still really fully-
editable plain text. The highlight is just an editing convenience to make the variables
easier to see.
Examples:
To enter the backslash in highlighted variables just click
inside the variable and start typing.
<%\TIMELONG%> All the examples on the left were typed with two
<%\NOW%> backslashes inside the variable to show how they are
<%\AUTHOR%> entered in the editor. With a single backslash you would
simply see the variable name in the output.
<%TOPIC_TEXT%> These two examples were entered without backslashes.
<% They do not need to be disabled because they are not
FANTASY_VARIABLE% supported in normal topics – the first is a HTML template
> variable, the second is simply undefined.
See also:
Variables and Conditional Output 862 (Reference)
8.4.5 Find and replace variables
In Help & Manual 4 you can now find and replace text variables in exactly the same way as
you would find and replace normal text. You can replace variables with variables, normal
text with variables and variables with normal text.
· When you insert or replace variables with Find and Replace the variables are not
highlighted in the topic text. This is exactly the same as typing in variables manually 442
– the variables are still fully functional, they are just not highlighted in the text. (The
highlight is just an editing convenience to make the variables easier to see.)
<%DEMOBUILD%>
See also:
Variables and Conditional Output 862 (Reference)
8.4.6 Global predefined variables
IN THIS TOPIC:
Where you can use global predefined variables 448
Help & Manual has a number of global predefined variables that you can use to insert items
that you may want to change, for example the title of the project, the copyright note, the date
and time in various formats and the date and time at which the current topic was last edited.
· Click here to display a list of the available global variables. 863
<%VARIABLENAME%>
· Since you can now also type variables manually in topic text and topic headers it is
important to observe this syntax!
· The variable name VARIABLENAME must be in all upper case and it must be
enclosed between opening and closing <% and %> tags.
· Spaces are now allowed in variable names because the beginning and end of the
variable are clearly defined by the <% and %> tags. For example:
See also:
Variables and Conditional Output 862 (Reference)
Global predefined variables 863 (Reference)
8.4.7 User-defined variables
IN THIS TOPIC:
How to define a variable 449
How to edit user-defined variables 449
Importing and exporting your user-defined variables 450
You can define any number of your own variables to use in your project. These user-defined
variables are stored in your project file, which means that they are only available to the
project in which they are defined. However, you can transfer variables between projects with
the Export and Import functions (see below).
User-defined variables can be used everywhere in your projects where variables are
supported: In topics and headers, the Table of Contents, keywords, image captions, link
captions, macros, scripts, HTML code objects, HTML templates and PDF templates. See the
other topics in this section for details on using variables in these locations.
2. Select , enter the name for your variable and click on . (You don't
need to worry about case, the variable name will be converted to all upper case
automatically.)
3. Click in the Text Value column next to your new variable and enter the text. Only plain
text is supported and the maximum variable length is 256 characters.
4. Click on or Apply.
typed in manually are not highlighted and you cannot display the variables
list by double-clicking on them.
See also:
Variables and Conditional Output 862 (Reference)
8.4.8 Text variables in HTML templates
The HTML templates that generate the pages in Help & Manual's HTML-based output
formats (HTML Help, Browser-based Help and eBooks) make extensive use of variables.
You can use all global predefined variables and all your user-defined variables in your HTML
templates, plus a number of special predefined variables for use in these templates only.
For details on these variables and how to use them see Variables in HTML templates 485 .
See also:
Using HTML Templates 475
Variables in HTML templates 485
See also:
PDF and print manual templates 468
PDF and Printed Manuals 538
8.4.10 Redefining variables for conditional output
You can always change the definitions of your variables individually in Project > Project
Properties > Common Properties > Text Variables 555 . However, there are sometimes
situations where you may want to temporarily redefine multiple variables. For example, you
may want to produce two versions of your documentation using different names and
references for specific products or subjects.
This can be achieved with Help & Manual's command line compilation feature, which allows
you to specify a text file with a list of definitions of the variables you want to change. The
variables specified in this file will then be redefined in your compiled output, using the values
provided in the file.
· For details on using this feature see Redefining Variables 516 in the Command Line
Options chapter.
See also:
Variables and Conditional Output 862 (Reference)
Command Line Options 507
different versions.
It is also often necessary to change your content to adapt it to the output format – for
example, things that you can write in the electronic HTML Help version of the help might not
make sense or might need to be expressed or formatted differently in the PDF print version.
Include options
Help & Manual supports conditions called "include options" that give you very fine control
over what you include and exclude in your output. You can "tag" text, individual words or
entire topics and chapters with these options and the tagged items are only included in
the output if the condition evaluates as true when you compile. There are two types of
include options:
See also:
Using Variables 440
Variables and Conditional Output 862
Conditional output in HTML templates 487
8.5.1 Using conditional output
Conditional output works in the same way on all the levels where it is supported: You mark a
part of your project (text, graphic, topic, chapter etc.) with a condition, referred to as an
"include option", and then choose whether you want to apply the condition when you
compile.
See also:
Variables and Conditional Output 862 (Reference)
Compiling Your Project 410
8.5.2 Defining include options
There are two kinds of include options (also known as build conditions): Output format
include options and user-defined include options. Output format options are used to include
or exclude content in specific output formats (HTML Help, Winhelp, PDF etc). User-defined
options are used to include or exclude content on the basis of options that you define
yourself. In both cases you select or deselect the include options you want to apply when
you compile your project.
Both types of include options are displayed in the same lists and are accessed in the same
way. For details see the other topics in this chapter.
See also:
Conditions and Customized Output 451
Conditional text include options 454
Topic include options 457
8.5.3 Conditional text include options
IN THIS TOPIC:
How to set conditional text include options 455
Using the ELSE condition 455
How to edit text conditions 456
How to apply include options when you compile 456
Conditional text include options are used to include or exclude specific passages of text and
other items within a topic on the basis of one or more conditions.
See Command Line Options 507 for details on how to use these options from the command
line and in batch files.
When excluding text be careful not to exclude anchors 305 to which links
point!
Method 1, preselection:
1. Select 183 the text or items you want to include or exclude in the editor.
2. Select in the Toolbar or select Insert > Conditional Text.
3. In the Text Condition dialog select:
· IF to include the selection if the condition is fulfilled
· IFNOT to exclude the selection if the condition is fulfilled (the selection is
included if the condition is not fulfilled)
4. Select all the conditions you want to apply by checking the boxes next to their
names. You can apply multiple conditions in a single conditional text tag.
5. Click on . The beginning and end of the conditional text block are marked
by orange tags in your text.
main condition is not fulfilled. It is inserted as a single tag between a pair of IF/ENDIF or
IFNOT/ENDIF tags. The ELSE condition is not associated with any include options. It
simply provides an alternative block of content to be included if the previous conditions
do are not evaluate as true when you compile.
· Just click in the position in the text where you want to insert the ELSE condition,
select Insert > Conditional Text or , and then select ELSE.
· If the condition is fulfilled everything between the IF tag and the ELSE tag is output.
· If the condition is not fulfilled everything between the ELSE tag and the ENDIF tag
is output.
For example, the following condition will output TEXT 1 if the output format is HTML Help
(CHM), otherwise it will output TEXT 2:
If the selected Include Options evaluate as true when you compile items
tagged with IF will be included in the output, items tagged with IFNOT will
be excluded from the output.
2. Select the options you want to apply from the list by checking the boxes next to the
See also:
Conditions and Customized Output 451
Defining include options 453
Topic include options 457
Command Line Options 507
8.5.4 Topic include options
IN THIS TOPIC:
How to set topic include options 457
Checking for and correcting links from other topics 458
Topic include options are used to include or exclude entire topics or chapters from your
output on the basis of one or more conditions. When you apply topic includes to a chapter
you can include or exclude all the chapter's sub-topics with a single setting.
· See Command Line Options 507 for details on how to use these options from the
command line and in batch files.
2. If any links to the current topic are listed (Incoming Referrers) click on the links to
jump to the topics containing the links so that you can correct them.
All topics whose Include Options ( Builds which include this topic in the
Topic Options tab) match the Include Options selected here will be
included in your output.
2. Select the options you want to apply from the list by checking the boxes next to the
names in the Include Options section on the right.
3. Select your compile options 663 , then click on to compile.
select it using the browse button). This will create a second TOC entry for the
same topic, like a second door opening onto the same room. Make sure that the
new reference has the same name in the TOC as the original.
See Multiple TOC entries for one topic 220 for more information on this
technique.
2. Now select the new topic reference in the TOC and open its Topic Options tab. In
the Builds which include this topic: section select all the builds where you want
only the chapter topic to appear, without any subtopics. (You may have to define
some build conditions 453 to do this.)
3. In the original chapter topic with the sub-topics set the build options in Topic
Options tab so that this version is included in all those builds where the chapter
has sub-topics.
That's it. You just have to be careful that your conditions don't overlap, so that you don't
ever get both versions of the topic in the same output.
For a more detailed description of how to do this see the Conditional Output
tutorial project, which you can find in the \MyHelpAndManualProjects
\Samples folder in your My Documents directory (in Windows Vista My
Documents is called Documents).
See also:
Conditions and Customized Output 451
Defining include options 453
Topic include options 457
Command Line Options 507
8.5.5 Modular projects include options
IN THIS TOPIC:
How to set module include options 460
How to apply include options when you compile 461
Help & Manual's modular projects capabilities enable you to insert an entire Help & Manual
project in your TOC as a "child module". Since these modules are handled as topics in your
TOC you can include and exclude them with include options, just as if they were topics. We
refer to a topic include option applied to a module as a "module include option".
A module include option can include or exclude an entire project with its entire directory tree,
all its chapters, sub-chapters and topics and all its invisible topics as well. In fact, if the
module also has child modules a single module include option can include or exclude
multiple projects.
See Working with Modular Help Systems 492 for details on creating and using modular
projects.
1. Select the Topic Options tab above the editor (the editor pane is blank for
modules).
2. In the Builds which include this topic section select all the options you want to
apply by clicking in the boxes next to the options' names. You can select multiple
options.
Before excluding a module generate a project report 618 to make sure that excluding the
module will not create any dead links. (Links with targets in other help files and projects
are listed in the reports.) You can get around this problem by creating links between
modules with A-keywords 383 .
All modules whose Include Options ( Builds which include this topic in the
module's Topic Options tab) match the Include Options selected here will
be included in your output.
2. Select the options you want to apply from the list by checking the boxes next to the
names.
3. Select your compile options 663 , then click on to compile.
See also:
Working with Modular Help Systems 492
Defining include options 453
8.5.6 Redefining variables
Normally you change the values of your user-defined variables 449 by editing them in your
Project Properties 548 settings. Sometimes, however, you may want to temporarily redefine
multiple variables – for example for variant product versions. You can do this with Help &
Manual's command line compilation 507 functions, using an external file containing the new
values of the variables you want to redefine.
For instructions on how to do this see Redefining Variables 516 in the Command Line Options
chapter.
See also:
Command Line Options 507
Using Variables 440
8.5.7 HTML template conditions
Help & Manual also supports a number of conditional switches for HTML templates 475 with
which you can include and exclude blocks of code in the compiled output generated by the
templates. In addition to output format include options you can also use user-defined include
options 453 and a number of special predefined conditional switches that are only relevant for
templates.
For details see Conditional output 487 in the chapter on using HTML templates.
See also:
Using HTML Templates 475
Conditional output in HTML templates 487
HTML template output conditions 830 (reference list)
HTML templates 470 : These templates define the layout, general appearance and
features of your topic pages in Help & Manual's HTML-based
output formats (HTML Help 765 , Browser-based Help 771 and
eBooks 773 ).
eBook templates: 471 These templates control the layout and appearance of the
viewer used to display Help & Manual's proprietary eBook
format. They are not editable – you can think of them as "skins"
for the eBook viewer.
Secondary windows:
Secondary windows are used to define alternative layouts that can be applied to
individual topics and to display topics in external windows in HTML Help and Winhelp
projects.
See also:
Help Windows 800
8.6.1 Templates for projects
IN THIS TOPIC:
How to create a project template from an existing project 463
A help project template is simply an entire Help & Manual project with all its settings,
including all your text styles 228 , Project Properties 548 settings, help window definitions 800 ,
HTML templates 475 , variable definitions 440 and so on. A project template can include topics
with content but it does not have to. If you have topics that you always use (for example
terms and conditions, introductions and so on) you may want to include them.
Help project templates are useful if you have a standard or corporate layout that you always
use. If you often create similar projects you can also use project templates as a basis for
editing to save time when you create new projects.
2. Add and edit any topics you want to include in your template and edit all the
relevant settings.
3. Save the project in a safe place.
2. When the screen for defining the output file is displayed select the option Use this
Help & Manual project as a template and select the .HMX project file you want
to use as a template:
All the other steps are exactly the same as for creating a normal new project.
stylesheet from.
Note that this will overwrite all the styles in your existing project!
See also:
Creating Projects 125
Creating and Editing Topics 171
8.6.2 Content templates for topics
IN THIS TOPIC:
How to create a topic content template 466
How to automatically insert the TOC caption in the header 467
A topic content template is an external file containing an entire topic. It can contain
everything that a topic can contain, including tables, formatted text, graphics, links and so
on. You can create as many content templates as you like and load them as a "framework"
for new topics – for example to provide a standard layout that you use repeatedly. You can
also create content templates that are loaded automatically when you create new topics.
· You can also include other text and elements in the header, including graphics.
Only the variable is replaced when a new topic is created.
· This only works when you create a new topic 171 with a template. The %TEXT%
variable is not translated when you load the template into a empty topic with Topics
> Load/ Topic from File.
See also:
Creating new topics 171
Exporting and importing topics 202
8.6.3 PDF and print manual templates
IN THIS TOPIC:
How to find the standard print manual templates 469
The layout of Help & Manual's PDF and print manual output is controlled by special print
manual templates that do much more than just define the appearance of your pages. You
can use them to design entire manuals, with cover and back cover pages, multiple title
pages at the beginning, an introduction, a formatted table of contents, title pages for
individual chapters, graphics, headers and footers, a formatted index and multiple endnotes
pages.
Print manual templates have full support for Help & Manual's predefined variables and user-
defined variables, which they access from your project file. Since the templates are external
files you can use them in multiple projects.
The Print Manual Designer is a separate program. See the help in the
Designer for details on how to use it.
See also:
PDF and Printed Manuals 538
8.6.4 HTML templates
IN THIS TOPIC:
Where to access HTML templates 470
Doing more with HTML templates 470
HTML templates are used to define the layout of all Help & Manual's HTML-based output
formats (HTML Help 765 , Browser-based Help 771 and eBooks 773 ). What you enter in the editor
defines the content, the templates define the framework in which your content is presented.
The HTML templates are stored together with your project, in the internal database in the
main .HMX project file.
The same HTML templates are used for the topic pages in all three formats. In addition to
this there are also separate templates for the Table of Contents and Keyword Index frames
used in Browser-based Help, where they emulate the HTML Help viewer user interface.
See also:
Browser-based Help settings 586
Using HTML Templates 475
8.6.5 eBook templates
The layout of the topic pages in Help & Manual's own eBooks format 773 is defined by the
same HTML templates 470 that are used for the topic pages of HTML Help 765 and Browser-
based Help 771 .
In addition to this, however, eBooks also use a special kind of template that defines the
appearance and layout of the eBook viewer program, which is stored together with every
eBook you output. This program is part of every eBook, enabling the eBook to "display itself"
on any Windows computer without any other software.
See also:
eBooks settings 609
8.6.6 Using secondary windows
IN THIS TOPIC:
What you can do with secondary windows 471
Changing topic appearance with secondary windows 472
Secondary windows allow you to create topics with a different appearance in all electronic
help formats and to open topics in external windows in Winhelp and HTML Help.
· In the output formats that use HTML templates 470 selecting a secondary window for a
topic also applies a different HTML template to the topic. See Using HTML Templates
475 for full details on this.
· The help window type definitions also control the appearance of the entire help viewer
for both the primary window (the Main type) and secondary windows displayed in
external windows. For details see Choosing a help window 178 and Using external
windows 473 .
5. This applies the settings of the help window type to that topic and also links the HTML
template 470 of that help window type to the topic for the output formats that support
HTML templates.
See also:
Help Windows 800
Choosing a help window 178
Using external windows 473
HTML templates 470
Using HTML Templates 475
8.6.7 Using external windows
IN THIS TOPIC:
How to use external windows in HTML Help 473
How to display ordinary topics in external windows in HTML Help 474
Winhelp and HTML Help can both display topics in external windows. This makes it possible
for you to display a second topic with a link while leaving the first topic on the screen so that
the user can refer back to it. This can be very useful for lists of instructions, for example.
External windows are handled quite differently by Winhelp and HTML Help. You need to
take this into consideration when using them. External windows are not supported in
Browser-based Help or eBooks – in these formats you can only use secondary windows to
change the appearance of topics 471 .
HTML Help Options tabs. See Help Windows settings 557 in the reference section
for details.
In most external windows you will generally want to switch off the
navigation panel and all the normal control buttons.
3. Select a secondary window type 178 in the Window: field and click on .
In Winhelp window definitions are applied dynamically at runtime, so this
will apply all the properties of the secondary window to the link target topic,
including header, background color, position and size.
In HTML Help the target topic will be opened in an external window but it will
keep its own appearance attributes, which are defined by its HTML template
(the colors from the original help window definition are hard-coded in the
template).
See also:
Using secondary windows 471
Help Windows 800
External windows and invisible topics 806
HTML templates 470
See also:
HTML templates 814 (Reference)
Help Windows 800
Templates and Secondary Windows 462
Choosing a help window 177
8.7.1 Editing HTML templates
All the various HTML templates used in your projects are edited in the same way. For details
on the relationships between templates and help windows please study the Help Windows 800
and Templates and Secondary Windows 462 chapters before trying to edit your HTML
templates.
2. In the HTML template for help window type: field select the help window type whose
template you want to edit. This is Main for the standard window type that is applied to
all topics in the TOC by default (in the Topic Pages section).
3. Edit the template in the editor window displayed. The editor supports syntax
highlighting to make editing easier.
4. When you are finished click on . The changes will be applied immediately but
some of them may only be visible in your compiled output, not in the Help & Manual
editor.
Don't switch back to simple editing mode after editing a template! This
automatically overwrites the HTML template for the window type you were
editing with the standard template.
See also:
Templates and Secondary Windows 462
Help Windows 800 (Reference)
8.7.2 The Topic Page templates
IN THIS TOPIC:
Template locations 477
Editing the topic page template 478
Simple editing mode (default) 478
"Let me edit HTML code directly" 478
Structure of topic page templates 479
The default topic page template 479
Breadcrumb trail navigation links 479
Navigation links to parent chapter 480
The topic page templates are used to define the layout and behavior of topic pages in all
HTML-based output formats (HTML Help, Browser-based Help, eBooks and Visual Studio
Help / MS Help 2.0). Each help window type you define has its own copy of the default topic
page template that can be edited separately. To apply a different template to a topic you just
need to define a new window type, edit its template and assign the window type to the topic.
See Using secondary windows 471 for details.
Template locations:
Note that although the topic page HTML templates are available in several locations they
are always the same templates. They are shared by all the HTML-based output formats,
but they can be accessed in the following three locations:
· Project > Project Properties > HTML Help > Topic Pages
· Project > Project Properties > Browser-based Help > Topic Pages
· Project > Project Properties > Visual Studio Help > Topic Pages
Everything you enter in this box is inserted at the top of every topic, before your topic
text. Effectively, this adds a header to your topics (beneath the actual topic header
containing the topic title).
You can enter HTML tags here to format the text, including references to images.
This allows you to activate navigation links in your topic headers, either as simple text
links or is a graphical icons. To insert an icon click in the Image File column, click on
the Browse button and select the file.
· Image files must be located in one of the folders listed in your Image Folders
settings in Project Properties > Common Properties > Image Folders.
me edit HTML code directly unchecked. This allows you to use the default template
while you are getting used to the program.
· For full details on all the settings in this section see Topic Pages 597 in the Browser-
based Help section of the Project Properties chapter.
· For instructions on editing HTML templates see Editing HTML templates 476 .
Topic content:
The most important thing to know about topic page templates is that your final HTML
pages are made by combining code of the the template with the contents of the
topics edited in Help & Manual. In HTML terms, the content from the editor is
everything between the <body> and </body> tags, the HTML template provides
everything else.
The content of your topic is inserted in the template at compile time by the variable <
%TOPIC_TEXT%> in the template. When you compile, the HTML page is created by
replacing this variable in the template with the content of the current topic.
For example, if the current topic is The Editor in the sequence Introduction > About the
Program > User Interface > The Editor, inserting the <%TOPIC_BREADCRUMBS%> variable
would create this series of links in your output (note that the current topic is not
included):
Introduction > About the Program > User Interface
The links are active, i.e. clicking on them will take the user to the referenced topics.
· This feature is used to create the breadcrumb trail of links above the headers in
the HTML Help and Browser-based Help versions of this help.
taking the user rigidly to the default page of the help it automatically links to the parent
chapter of the current topic, if there is one. If the current topic doesn't have a parent
chapter (for example if its top chapter is a chapter without text 172 ) the link will
automatically take the user to the project's default topic.
· This is done using the new variable <%HREF_PARENT_CHAPTER%> 826 .
· Just use this variable instead of the <%HREF_DEFAULT_PAGE%> variable in your topic
page template. Everything is automatic – when you compile the correct links are
generated automatically to the parent chapter or the default topic, depending on
whether a parent chapter is available or not.
See also:
The default topic page template 816
Editing HTML templates 476
HTML template variables 826
HTML template output conditions 830
Variables 485
Conditional output 487
Help Windows 800
8.7.3 The Layout template for Browser Help
IN THIS TOPIC:
Template locations 481
Editing the Layout template 481
The default Layout template 482
The layout template is the "frameset" template that defines the frames containing the topic
pane and the navigation pane, and also the header frame if you are using a three-frame
layout. Basically it only provides the external framework and tells the browser which files to
load into which frames. This means that you should not normally have any reason to edit it.
This template is also highly specialized and should only be edited if you have advanced
HTML editing skills. It is essential for the proper functioning of the entire navigation system
in Browser-based Help and editing errors you make here can easily make your help
unusable.
Template location:
The layout template for Browser-based Help is accessed here:
· Project > Project Properties > HTML Help > Layout
See also:
The default topic page template 818
Editing HTML templates 476
HTML template variables 826
HTML template output conditions 830
Variables 485
Conditional output 487
8.7.4 The TOC template for Browser Help
IN THIS TOPIC:
Template location 482
The TOCs in HTML Help and eBooks 482
Editing the TOC template 483
The default TOC template 483
Script links to expand/collapse TOC 483
This HTML template is only used in Browser-based Help. It generates the Table of Contents
(TOC) pane in the frame layout that emulates the appearance and functionality of the HTML
Help viewer in a normal browser.
Template location:
The TOC template for Browser-based Help is accessed here:
Project > Project Properties > Browser-based Help > Table of Contents 591
See also:
The default TOC template 818
Editing HTML templates 476
Variables 485
Conditional output 487
Help Windows 800
8.7.5 The Search template for Browser Help
IN THIS TOPIC:
Template location 484
Editing the Search template 484
The default Search template 484
This HTML template is only used in Browser-based Help and is only active if you have the
Professional version of Help & Manual. It generates the full-text search 594 pane in the frame
layout that emulates the appearance and functionality of the HTML Help viewer in a normal
browser.
Template location:
The Search template for Browser-based Help is accessed here:
Project > Project Properties > Browser-based Help > Full Text Search 594
See also:
The default Search template 823
Editing HTML templates 476
Variables 485
Conditional output 487
Help Windows 800
8.7.6 The Index template for Browser Help
IN THIS TOPIC:
Template location 484
The indexes in HTML Help and eBooks 485
Editing the keyword index template 485
The default keyword index template 485
This HTML template is only used for Browser-based Help. It generates the keyword index
pane within the frame layout that emulates the appearance and functionality of the HTML
Help viewer in a normal browser. (The index in HTML Help cannot really be customized. The
index in the eBooks viewer is defined by eBook templates 471 .)
Template location:
The Index template for Browser-based Help is accessed here:
Project > Project Properties > Browser-based Help > Keyword Index 593
See also:
Editing HTML templates 476
Variables in HTML templates 485
Conditional output in HTML templates 487
8.7.7 Variables in HTML templates
IN THIS TOPIC:
Variables reference 485
Using user-defined variables 486
Using predefined variables 486
You can use all global predefined variables 448 and user-defined variables 449 in all HTML
templates. In addition to this there are a number of special HTML template variables 826 ,
which are only relevant in HTML templates.
In addition to these variables you can also use a number of conditional switches that allow
you to include or exclude content on the basis of conditions. This is particularly useful for
variables, which are often only relevant in certain contexts. For details see Conditional
output in HTML templates 487 .
Variables reference:
More information on the variables and conditions that you can use in HTML templates
can be found in the following locations:
· List of global predefined variables 863
· List of HTML template variables 826
· Creating user-defined variables 449
· List of HTML template output conditions 830
Example:
...
<br><br>
</IF_TOPIC_HEADER>
<br><hr>
By: <%HELPAUTHOR%>
<br><hr>
<%TOPIC_TEXT%>
</body>
</html>
The above example inserts the contents of the user-defined variable between horizontal
rules above the topic text on every page.
Example:
...
<%TOPIC_TEXT%>
<IF_HTML>
<br><br><hr><center>Page URL:
<a href="http://www.domain.com/help/index.html?
<%HREF_CURRENT_PAGE%>" target="top">http://www.domain.com/help/index.html?
<%HREF_CURRENT_PAGE%></a></center>
</IF_HTML>
...
The above example inserts the web URL of the current page at the bottom of every topic
page in Browser-based Help. (This makes it easy for support staff to give users the
address of specific help topics in the online version of your help.)
See also:
Editing HTML templates 476
Global predefined variables 863 (reference list)
HTML template variables 826 (reference list)
Conditional output in HTML templates 487
You can use all of Help & Manual's standard conditional output options in HTML templates,
both your user-defined include options 453 and options based on the current output format. In
addition to this there are a few special conditional switches which are only for use in Help &
Manual's Browser-based Help output, because they are only relevant there. See the lists
below for details.
You can think of these conditions as proprietary HTML tags. They are used to enclose
blocks of HTML code in your template that you want to include in the output only if the
condition is fulfilled.
Conditions based on the output format are only relevant in the topic page template 477 , which
is used in HTML Help, Browser-based Help, eBooks and Visual Studio Help / MS Help 2.0.
The TOC and keyword index templates are only used in Browser-based Help so it does not
make sense to use format-based conditions there.
Examples:
<IF_TOPIC_HEADER>
<font size="3">This text only appears in the topic if the topic has a
<b>header</b>.<br><br>
It will not be included in popup topics, which never have a header, or in
topics assigned
help window types defined without a header.</font>
</IF_TOPIC_HEADER>
<IF_NEXT_PAGE>
<a href="<%HREF_NEXT_PAGE%>">Click here to jump to the next topic</a>
</IF_NEXT_PAGE>
· Note that the last example only displays the link if there is a next topic to jump to.
Syntax:
Opening tag: < + IF_ + OPTION + >
Closing tag: </ + IF_ + OPTION + >
NOT version: < + IFNOT_ + OPTION + >
NOT closing tag: </ + IFNOT_ + OPTION + >
Example:
This example shows how to use the user-defined include options ALPHABUILD and
BETABUILD :
<IF_ALPHABUILD>
This text will be included if ALPHABUILD is selected in the Include Options
in the
Make Help File & Run dialog.
</IF_ALPHABUILD>
<IFNOT_BETABUILD>
This text will be excluded if BETABUILD is selected in the Include Options in
the
Make Help File & Run dialog.
</IFNOT_BETABUILD>
See also:
HTML template output conditions 830 (reference list)
Editing HTML templates 476
Variables in HTML templates 485
You can reference external graphics in HTML templates – Help & Manual parses the
template code for image references and automatically includes the graphics in your output.
In addition to this you can also embed graphics in your project by adding them to the
Baggage section 520 . Baggage graphics are always exported automatically when you compile
and they can be referenced without any path information in all HTML-based output formats.
See below 490 for details.
All other image tags and attributes are ignored. If you reference graphics in your
templates in any other way you must take steps yourself 490 to make sure they are
exported with your project. In particular, this also includes the variant images for
mouseover buttons as they are not referenced with the tags listed above!
For more details on using image references and an example see Graphics
in HTML templates 832 in the Reference section.
See also:
Graphics in HTML templates 832 (Reference)
Editing HTML templates 476
Variables in HTML templates 485
Conditional output in HTML templates 487
Using Baggage Files 520
8.7.10 Referencing external files
IN THIS TOPIC:
Adding files to the Baggage section 490
Manually integrating files in your output 490
With the exception of a limited number of graphics references 489 external files you reference
in your template code are not automatically exported with your project because Help &
Manual does not know about them. There are two ways to solve this problem:
1. Copy the external file(s) to your project directory (the directory containing your .
HMX project file).
2. Open Project > Project Properties > HTML Help > Extended .HHP Settings 571 .
3. In the Additional Settings editing box add the following entries:
[FILES]
..\functions.js
..\updatelist.txt
· Don't add a second [FILES] header if one already exists. Enter each external
filename on its own line below the [FILES] header and precede it with the ..\
relative path reference. (This relative path reference is necessary because the
project is compiled from a temporary subdirectory in the project directory, so files in
the project directory are one level up.)
See also:
Using Baggage Files 520
8.7.11 Troubleshooting
IN THIS TOPIC:
Backing up your template before editing 491
When you edit HTML templates manually (i.e. not with point-and-click interface of the
integrated simple style editor 470 ), Help & Manual does not verify the code in any way. You
are entirely responsible for the code you write and if it doesn't work it is not Help & Manual's
fault.
It is a always good idea to back up your template in an external text file before editing,
particularly if your template already contains editing changes. You can also test your output
by compiling before you save your project. If something doesn't work you can then revert to
the previous template version by closing the project and re-opening without saving.
· Edit your template but don't save your project (or use Save As.. in the File menu to
save in a project file with a different name).
· Compile your output. If everything looks OK you can save your project. If there are
problems select File > Recent Projects and reopen the saved version of your project
without saving your changes when the prompt is displayed. (Or just reopen the original
version if you used Save As..)
See also:
Editing HTML templates 476
See also:
Modular Projects 873 (Reference)
Creating a modular project is just as easy as adding a topic to a project. The child project is
displayed as a blue book icon in the TOC, just like a chapter, and in many ways it also
behaves like a chapter. When you compile the master project the entire TOC of the child
project is inserted in the master TOC at the point where you insert the child project in the
master TOC tree.
See Modular Projects 873 in the Reference section for detailed background
information on modular help systems and what you can do with them.
See also:
Modular Projects 873 (Reference)
8.8.2 Choosing the merge method
IN THIS TOPIC:
Choosing the merge method for HTML Help output 494
In Winhelp and HTML Help you can create genuine modular projects with separate help files
that are displayed in a single TOC. This is called runtime merging 876 .
Alternatively, you can also combine all your modules to one large help file, just like the
output from a single project. This is called compile time merging 875 .
Note that runtime merging with truly modular help systems is only supported by the Winhelp
and HTML Help formats. All other output formats merge all the modules in your project to
create output that is exactly the same as output generated from a single project.
See Runtime merging and compile time merging 875 in the Reference section
for full details of the capabilities of these two different output methods for
modular projects.
See also:
Modular Projects 873 (Reference)
8.8.3 Managing modules in the TOC
IN THIS TOPIC:
Moving, promoting, demoting and deleting module entries 495
You can manage module entries in the Table of Contents (TOC) in exactly the same way as
normal TOC items – they are normal TOC items. The only thing you cannot do is open the
TOC of a module inside the TOC of your master project. (To see the TOC of a child module
you must right-click on its entry and select Open Child Project.)
See also:
Modular Projects 873 (Reference)
8.8.4 Managing graphics in modules
It's always important to avoid duplicate filenames for your graphics because of the way Help
& Manual manages graphics and locates your graphics files 325 . This applies in particular for
modular projects, because you will often have separate graphics folders for each project.
Duplicate names are OK if you use runtime merging 876 because then each module is
compiled individually and the correct graphics will be used. However, if you use compile-time
merging 875 Help & Manual will only find the first instance of any duplicates as it searches
through the graphics folders to locate the correct files.
· The prefix should be short – two letters and an underline character are usually plenty –
and should identify the module.
See also:
Managing your graphics 325
8.8.5 Managing IDs and context numbers
IN THIS TOPIC:
When you need to avoid duplicates 497
How to avoid duplicate topic IDs 498
How to avoid duplicate help context numbers 498
How to set up existing projects to avoid conflicts 499
In modular projects you also have to devote some thought and planning to topic IDs and
context numbers 849 . Modules are completely separate projects and Help & Manual can only
prevent conflicts caused by duplicate IDs and context numbers within a single project. This
means you are responsible for making sure that you do not have duplicates in the modules
you are going to include in your help system.
cause link failures and other errors because they are all in the same output help file.
· Duplicate topic IDs and help context numbers are actually not a problem in projects
merged at runtime. Since the output consists of separate help files there are no
conflicts and all links will work normally. However, it is still a good idea to avoid
duplicates within projects because then you can always switch to compile time merging
without any problems if you need to.
See also:
Modular Projects 873 (Reference)
IDs, Context Numbers and Keywords 849 (Reference)
8.8.6 Creating links between modules
IN THIS TOPIC:
How to create normal links between modules 500
How to use A-links to link between modules 500
How you create links between modules depends to a great extent on whether you use
runtime merging 876 or compile time merging 875 . If you use compile time merging all the
modules are always present so you can use normal topic links. If you use runtime merging
you should use the A-link method (see below 500 ) for all links to modules which might not be
present at runtime.
Even with runtime merging links from child modules to the master module
are always OK because the master module is always present.
It is better to use A-links for all links from the master to child modules and
between child modules for runtime merging projects. Then you can always
be sure that you will not have problems if you ever need to leave a module
out.
External windows cannot be used across module boundaries in modular help
492 with HTML Help. You cannot make a link that opens a topic from another
If the target help file is not present when the user clicks on the link the alternative
topic will be displayed automatically. If the target topic is present a dialog will be
displayed in which the user can select either the target topic or the alternative topic.
This is just a very simple example to show you how this solution works in principle. In
practice you can also make more complex solutions, using more alternative topics
and more keywords. If you use multiple keywords remember to separate them with
semicolons, like this:
See also:
Using A-keywords 382
About A-keywords 854
Creating a modular project 493
Modular Projects 873 (Reference)
8.8.7 Merging invisible topics
IN THIS TOPIC:
How invisible topics are handled in modular projects 502
Merging invisible topics when you use runtime merging 502
Merging invisible topics when you use compile time merging 503
When you are working with modular projects you need to devote some thought to the
invisible topics 193 in your child projects. The invisible topics in the master project are always
included in your output but this does not always apply for the invisible topics in your child
projects.
Compile When you use compile time merging 875 the topics in the Invisible Topics
time sections of your child modules are not included automatically.
merging:
This merge method is supported in all output formats. In Winhelp and HTML
Help compile time merging is an option 494 . In all other output formats
compile time merging is always used.
· If you use dual-mode help 436 for popup topics in HTML Help the popups for each
module will be in a separate Winhelp .HLP file. You need to make sure that these
files are included with the distribution and that their names do not conflict with
those of the .HLP popup files for other modules. (You can change the .HLP file
name in Project > Project Properties > HTML Help > Popup Topics 567 .)
See also:
Modular Projects 873 (Reference)
8.8.8 Compiling modular projects
IN THIS TOPIC:
Compiling modular projects with compile time merging 503
Compiling modular projects with runtime merging 504
Settings controlled by the master project in compile time merging 504
The procedure for compiling modular projects depends on the merging method 494 you are
using for your output. In HTML Help and Winhelp you have a choice of two merging
methods so you must remember to use the correct compile procedure for the merge method
you have chosen. All other output formats only use compile time merging.
merging.
1. If you are outputting to Winhelp or HTML help you must select the merge method
494 before compiling.
2. Then compile 410 the master module project. All the child projects will be included
automatically.
· See Merging invisible topics 502 for some important information on including the
invisible topics of child modules when you are using compile-time merging.
User-defined The same applies to the definitions of the variables. If child projects
variables: contain user-defined variables with names that are not used in the
master project the definitions in the child projects will be used.
However, if the master project contains variables with identical names
Custom include If a child project contains user-defined include options 453 not defined in
options: the master project they are available in compile time merging.
HTML topic The HTML topic page templates 477 of the master project replace all
templates: child project templates that have the same names. For example, this
means that the master project template for Main is always used in all
child modules, replacing any template changes that may have been
made in the child projects.
If child projects contain window type definitions 178 with names not used
for window types in the master project then the HTML templates of
these window types will be used in the child projects.
For example, if you have defined a help window called SecWin in your
child module the HTML template of this window type will be used in the
child module if there is no window type called SecWin in the master
module.
However, if the master module contains a window type called SecWin
then the HTML template of the master module's version will be used in
the child module as well. (See Help Windows 800 for background
information.)
Baggage files: Baggage files in the master project have priority over Baggage files
with the same name in child projects. See Baggage handling 526 for
further details.
See also:
Merging invisible topics 502
Compiling Your Project 410
Modular Projects 873 (Reference)
Baggage file handling 526
8.8.9 Multiple browser-based projects
IN THIS TOPIC:
Restrictions with "modular" Browser-based Help projects 506
You cannot use runtime merging 876 for Browser-based Help 771 – it wouldn't make sense
because this output format always consists of multiple individual files, with one HTML file for
each topic. When you compile a project containing child modules to Browser-based Help all
the child projects are always compiled to a single HTML directory with a single index file and
Table of Contents (TOC).
However, sometimes you may still want to set up a larger Browser-based Help project with a
modular structure, using a separate directory and index file for each module. When you do
Top frame: to open the target topic in the current window with the TOC of
the target collection. The TOC of the current collection will no
longer be displayed.
New window: to open the target topic in a new window together with its own
TOC. The current window remains open.
index.html?topic_id.htm#anchor
Use lower The names and extensions of all the files generated for Browser-
case: based Help are all lower case, even if the topic IDs used to generate
the file names contain upper case characters (all file names are
automatically "down-cased" when you compile). This is very important
– if you use upper-case characters your links will fail on all Unix and
Linux servers and many other systems!
index.html This is the index file of the target project and it should always be
included in the links. Even though linking directly to the topic file may
seem to work the browser history may not be stored properly, making
it impossible for the user to return to the original topic by using the
browser's Back button.
By default the index file of Browser-based Help has the extension .htm
unless you enter a different extension in the Index Page: field of the
Compile Help File 663 dialog.
?topic_id.htm The ? character is necessary between the index file and the topic
filename. Each topic is stored in a separate file and the file name is
generated by adding .htm to the topic's topic ID 210 . For example, if the
topic ID is HM_Intro then the topic file name would be hm_intro.htm.
Always write the entire file name in lower case!
#anchor This is optional and links to an anchor 305 in the target topic. Note that
Help & Manual 4 now uses the standard # hash character as the
anchor separator instead of the comma that was required in Help &
Manual 3!
See also:
Browser-based help 771
/HLP (Winhelp)
/HTML (Browser-based Help)
/HXS (Visual Studio Help / MS Help 2.0)
/PDF (Adobe PDF)
/RTF (Word RTF)
/EBOOK (Help & Manual eBook)
/XML (XML file package)
Output file name and path:
You can also specify the output file name and path. If you
don't specify it the values used when you last compiled to the
specified format will be used.
Examples:
/CHM=testproject.chm
/HLP="F:\Final Build\widgethelp.hlp"
/XML="D:\XML Output\projectb.xml"
/I=<include options> Corresponds to the include options set in the Make Help File &
Run 663 dialog. User-defined options 453 are also supported. Use
upper case only, separate options with commas and don't type
any spaces between individual options.
If you don't specify the /I switch the program will use the last
include options used when you last compiled to the specified
format.
Important: These options do not select the output format!
Format include options:
ALL All builds and user-defined options "true".
CHM (HTML Help)
HLP (Winhelp)
HTML (Browser-based Help)
HXS (Visual Studio Help / MS Help 2.0)
PDF (Adobe PDF)
RTF (Word RTF)
EBOOK (Help & Manual eBook)
Note that there are no format include options for XML. XML
output always includes the entire project.
Examples:
/I=CHM,MYBUILD
/I=HTML,HXS,DEMOVERSION
If you use the /I switch you should also specify an include for
the current output format as shown in the examples above,
otherwise items specifically tagged for this format only will not
be included.
You can use your user-defined include options in exactly the
/ Specifies the name of the PDF template file. Include the path
Template=<filename and use quotes if the path or file name contain spaces. Only
> supported for PDF output. You do not need to enter a path if
the file is stored in the project directory.
If you don't specify this switch the program uses the template
selected for PDF in Project Properties 604 .
/noclose Leaves Help & Manual open after compiling is completed (it
normally exits automatically).
/keeptemp Don't delete the temporary source directories and files
generated when compiling HTML Help, Winhelp and Visual
Studio Help / MS Help 2.
/L=<compiler log Outputs the compiler log to the specified text file. If you don't
file> enter a path the file is stored in the project directory. Use
quotes if the path or filename contain spaces.
If you use multiple output format 514 options or .INI files 517 you
can enter this switch after the last output format switch to log
the error messages for all output formats.
/debug Display a message window before outputting showing the
batch commands and whether they have been recognized
properly. Use for troubleshooting if your command line doesn't
work as expected.
This topic describes the basic command line options available and how to use them by
entering the commands manually from a command line prompt. See INI and batch files 517 for
details on how to automate the process and for information on using more complex
sequences of commands.
See Syntax reference 508 for details of all the command line switches and arguments
available.
Basic syntax – opening an Help & Manual project from the command
line:
This is the simplest possible command. It just starts Help & Manual and loads the
specified project file. This is rather pointless but it illustrates how the command line is
used.
· Switch to the Help & Manual program directory and enter the following command,
replacing F:\My Projects\ with the path to your project file and projectfile.hmx with
your project file name:
· Note the use of quotes! Since the project path contains a space it must be
enclosed in quotes. The same applies for any file names in the command line that
contain spaces.
The output format switch must always be the first switch after the project
file name. All the other switches can come in any order but they must be
after the output format switch.
Note the use of quotes! All paths and file names that contain spaces must be enclosed
in quotes.
Note the use of quotes! All paths and file names that contain spaces must be enclosed
in quotes.
Example 1:
helpman.exe "D:\Help Project\MyHelp.hmx" /PDF=widget.pdf /
Template=a4_template.mnl
Example 2:
helpman.exe "D:\Help Project\MyHelp.hmx" /PDF=widget.pdf /Template="<%
PROGPATH>Templates\Pdf\widget.mnl"
You can use include options 451 in the command line. These options control what is included
in your compiled output on the basis of output format or user-defined include options 453 .
Setting them is equivalent to setting the include options in the Compile Help File 663 dialog
when you compile manually.
Specifying include options optional. If you don't specify this switch Help & Manual will use
the default include options, which are the options you used the last time you compiled to the
current output format.
· See the Syntax reference 508 for details on all the available switches and parameters.
Examples:
helpman.exe D:\Projects\widgethelp.hmx /CHM /I=CHM,FINALBUILD,USVERSION
Both these examples output to HTML Help files (/CHM). Note that the CHM include
option is included in both cases, to make sure that anything in the project tagged
specifically for CHM is included (otherwise only the items tagged for All Builds and
the other include options would be included.)
The second example also includes items specifically tagged for Winhelp (HLP) in the
HTML Help output, which would normally only be included when you compile to
Winhelp.
See also:
Conditions and Customized Output 451
Examples 515
You can generate output to more than one format with a single command line. The output
files are then generated one after another, in the order entered. This is OK if you want to do
a single multiple compile quickly but if you want to automate the process it is best to use INI
and batch files 517 .
Basic syntax:
helpman.exe <path>\projectfile.hmx /<format1> /<switches> /<format2> /<switches>
... /<formatX> /switches
Each format switch must be directly followed by all the switches you want to apply to that
format. Each format must have its own set of switches, they are not applied to multiple
formats.
Local switches:
The following switches are "local". They must be applied to each output
format individually by inserting them after the format switch for which they
should apply and before the next format switch.
/I=<include options> The include options you want to use for the output
format.
/Template=<PDF template> The PDF template to be used for PDF
output (only for PDF output).
/V=<filename> This switch specifies an external file to redefine the
values of variables in your project file.
Global switches:
These switches are "global". They apply for all output formats in the
command line and it is best to put them at the end of the command line,
after all the output format switches and their respective local switches.
/noclose Leaves Help & Manual open after compiling.
/keeptemp Doesn't delete the temporary directories and source
files generated for Winhelp and HTML Help output.
(Applies to Winhelp and HTML Help only.)
/E=<compiler log file> Outputs the compiler log to the specified file.
/debug Displays debug information for each output format
before compiling.
See Syntax reference 508 for more information on the individual switches and
parameters.
Examples:
Example 1:
The following example compiles a project file to HTML Help and PDF, using include
options 512 for the HTML Help file and selecting a specific PDF print manual template
468 for the PDF output file (see also Basic command line options 511 ). The template is
Example 2:
The following example compiles to Winhelp and Browser-based Help using include
options. The /noclose switch at the end of the command line leaves the program
See also:
.INI and batch files 517
8.9.5 Redefining variables
The /V switch allows you to redefine some or all of the variables 440 in your project with
values taken from an external text file. To use this feature you just need to create a plain
text file with a list of the variables you want to redefine together with their new definitions.
· You can redefine both the global predefined variables 448 and your user-defined
variables 449 .
When you are outputting to multiple formats you must enter a separate /V switch for each
output format for which you wish to redefine the variables. See Output to multiple formats 514
and .INI and batch files 517 for details.
Step 1: Create a text file with the new values for the variables
1. Create a new plain-text file with an editor like Notepad. (If you use a text processor
like Word make sure you save the file in text-only format.)
2. Enter each variable you want to redefine with its new value on a separate line using
the following syntax. You don't have to redefine all the variables. Only those included
in the file will be affected.
Don't enter the <% and %> tags for the variable names this file and don't
insert quotes around the variable value strings. Don't enter tabs or spaces to
the left or right of the = signs.
3. Save the file with the .TXT extension in your project directory.
Examples:
helpman.exe "D:\Project Files\Widget Help\Myproject.hmx" /V=variables.txt
Remember, if any paths or file names contain spaces you must enclose
them in quotes!
See also:
Using Variables 440
8.9.6 .INI and batch files
IN THIS TOPIC:
How to create an .INI file 517
Local and Global Switches 519
How to use the .INI file from the command line 519
As you have probably already realized, command lines can get quite long and complex,
particularly if you use them to generate multiple outputs 514 simultaneously. To solve this
problem Help & Manual allows you to create external files called .INI files that contain all the
parameters you want to process, including output to as many different formats as you want.
If you combine this with a batch file in the Help & Manual program directory and create a
shortcut to this file on your desktop you can automate the entire process and perform
multiple complex compiles with a single mouse click.
· The .INI file contains all the switches and parameters that come after the project
file name, with one switch or parameter per line. They must be entered in exactly
the same order as you would enter them on the command line. That means the
output format switch always comes first, followed by all the other switches.
· The rules for multiple output 514 are also the same as on the command line. First
the first output format switch followed by its switches, then the next output format
switch followed by its switches, and so on.
· The switches you can use in the .INI file are exactly the same as the command
line switches. However, they must all be entered on a single line and they are not
preceded by a slash.
· Also, you must not use quotes in .INI files, even if your arguments contain spaces!
This is very important!
Example:
CHM=F:\Project Files\Help Project\Help\WidgetHelp.chm
I=CHM,FINALBUILD
KEEPTEMP
PDF=F:\Project Files\Help Project\PDF\WidgetHelp.pdf
I=PDF,FINALBUILD
Template=usletter.mnl
L=F:\Project Files\Help Project\Logs\compilerlog.txt
Local switches:
The following switches are "local". They must be applied to each output
format individually by inserting them after the format switch for which they
should apply and before the next format switch.
I=<include options> The include options you want to use for the
output format.
TEMPLATE=<PDF template> The PDF template to be used for PDF
output (only for PDF output).
V=<filename> This switch specifies an external file to redefine
the values of variables in your project file.
Global switches:
These switches are "global". They apply for all output formats in the
command line and it is best to put them at the end of the command line,
after all the output format switches and their respective local switches.
NOCLOSE Leaves Help & Manual open after compiling.
KEEPTEMP Doesn't delete the temporary directories and
source files generated for Winhelp and HTML Help
output. (Applies to Winhelp and HTML Help only.)
E=<compiler log file> Outputs the compiler log to the specified file.
DEBUG Displays debug information for each output
format before compiling.
See Syntax reference 508 for more information on the individual switches and
parameters.
Example:
helpman.exe "D:\Help Project\Widget\WidgetHelp.hmx" batchcompile.ini
This starts Help & Manual, opens WidgetHelp.hmx and then executes all the
commands specified by the switches and parameters contained in batchcompile.ini.
Example:
@ECHO OFF
helpman.exe "D:\Help Project\Widget\WidgetHelp.hmx" batchcompile.ini
helpman.exe "D:\Help Project\Widget Two\WidgetTwoHelp.hmx" batchtwo.ini
· The @ECHO OFF command suppresses the output to the command console. It is not
really required, it is just customary to use it.
You will normally only want to use one command line with an .INI file per
batch file, but there is nothing to prevent you from including as many as
you like. They will all be processed one after another when you call the
batch file.
Remember to store each .INI file in its own project directory – i.e. in the
directory in which its associated .HMX Help & Manual project file is stored.
· Finally, create a shortcut to the batch file. The most convenient location for this is
normally on your desktop, but it can be anywhere you like. Then double-clicking on
the shortcut will execute the batch file, which will use the settings in the specified
.INI file (or files) to perform all the operations you have specified.
See also:
Output to multiple formats 514
Baggage files should not generally be used for this purpose, however, because
graphics files tend to be large and using more than a couple will bloat your project
file. It is much more efficient to use the picture shortcuts 328 feature, which adds
graphics files to the drop-down list without embedding them in your project file.
See also:
Shortcuts for frequently-used graphics 328
Graphics References 489
8.10.1 Adding and referencing files
IN THIS TOPIC:
Adding files to the Baggage section 522
Referencing Baggage files in your code 522
All files you add to the Baggage section are automatically included/exported in your HTML-
based output. This is the best way to include files referenced in manually-edited code in your
projects. You can reference all files in the Baggage section directly in your code. You don't
have to add any path information because the files are always available on the same
directory level as the other help files. All necessary copying and references are handled
automatically by Help & Manual.
· Note that non-graphics Baggage files are only exported in HTML-based formats
(HTML Help and Browser-based Help). They are ignored in all other formats.
You can use Baggage files for files referenced in the code entered with Insert > Plain HTML
Code 311 , the HTML code editing function in Insert > Movie 426 , all the HTML editing functions
for HTML templates 475 and the code you enter in scripts and macros 302 .
2. Click on Add File and select the appropriate file filter in the Files of type: field.
3. Select the file you want to add and click on . The file will be added to the
Baggage list and will become part of your project.
The names of Baggage files have a maximum length of 31 characters.
Longer file names will be shortened automatically by the program. When
you reference the file in your project you must then use the shortened file
name!
· Baggage files can be referenced directly without any path information because
they are always stored on the same directory level as the other help files. Just
enter the name of the file as it is shown in the list in the Baggage section.
See also:
Inserting plain HTML code 311
Flash Animations and Video 426
Using HTML Templates 475
Inserting script and macro links 302
8.10.2 Graphics files
IN THIS TOPIC:
Adding baggage graphics to the drop-down list 523
Graphics files included in the Baggage section can be added to the drop-down list of Picture
Shortcuts 328 in the Toolbar, with thumbnail images of the Baggage graphics:
However, please note that this function is only provided for quick access to graphics files
that need to be included in the Baggage because they are referenced by HTML code or
scripts. For general graphics it is more efficient to use the linking facility for the Picture
Shortcuts 328 feature, which adds graphics files to the drop-down list as references without
embedding them in your project file.
· For more details on the Picture Shortcuts function see Shortcuts for frequently-
used graphics 328 .
See also:
Shortcuts for frequently-used graphics 328
Using Graphics 313
Graphics References 489
8.10.3 Removing and renaming Baggage files
Removing, renaming and exporting files stored in the Baggage section are all generally quite
straightforward operations but there are a couple of points you need to bear in mind.
· To remove a Baggage file from your project just click on the image name in the
Baggage section and select .
· To rename a Baggage file click on the graphic file name and select .
You can only rename Baggage files that have not yet been used or
referenced in your project. The Rename function is automatically disabled for
files that are referenced.
· To export a Baggage file click on the file name and select . (Remember
that Baggage files are part of your project file, they are not stored externally.)
· Non-graphics files in the Baggage section are only relevant for HTML-based
formats. They are ignored in all other formats.
ignores all other Baggage files. This means that Baggage files in the master module
always have priority, followed by the child modules in the order in which they are
processed.
For example, if both the master module and the child modules contain Baggage files
called redarrow.gif and functions.js the versions of the files in the master will
project be used in the entire project, both in the master module's topics and in the
child module's topics. The versions in the child modules will be ignored.
If two child modules contain different versions of a file with the same name the first
version encountered will be used in the topics of both modules and the other version
will be ignored.
To make sure that Baggage files in child modules are used in the child module you
must make sure that their names are unique and not used in any other modules,
including the master module.
See also:
Working with Modular Help Systems 492
See also:
Visual Studio Help 777 (Help Formats)
Visual Studio Help 579 (Project Properties)
See also:
Visual Studio Help 777 (Reference)
8.11.2 About compiling VS Help
If you are not familiar with Visual Studio .NET you shouldn't really even think about working
with Visual Studio Help (Help 2.0). It is an extremely complex help system and the compiler
is both tricky and very picky.
Required settings:
The Help 2.0 compiler requires a "Namespace" and a "Unique Identifier" (also referred to
as a "Unique Title ID" in the documentation). Both must be entered otherwise the
compiler will quit with an error message. (The Namespace is used to call the help viewer,
the Unique Identifier is like a Topic ID for the entire help file.)
In Help & Manual you can enter these settings in Project > Project Properties > Visual
Studio Help > Namespace & Options 580 .
· If you select the option Do not compile, open help project with VStudio Help & Manual
generates a Visual Studio Help Project file with the extension .HWProj in the
temporary output directory. This is a small XML file that acts as a wrapper for VS.Net.
· When you select this option the temporary output directory (in your project directory) is
not deleted after you compile the project. After compiling you can then use the .
HWProj file to open and compile the project file directly in VS.Net, using the debugging
options available there.
Example calls:
The following two calls are just brief examples. For full details please refer to the
documentation of VS.NET and the VSHIK!
Manual registration of an .HXS file:
As you can see there is no file name in the call. In the above example
ECSoftware is the Namespace. The viewer will only find the file if it has
been registered correctly.
See also:
Visual Studio Help 777 (Reference)
Compiling Your Project 410
version. The topics in this chapter provide an introduction to the program's translation and
localization features show you where to find the information you need to use them.
Translation tutorials and Trados INI file:
You can find more detailed tutorials on translating and localizing your
projects in two parts at the Help & Manual user forum: Part 1 / Part 2.
You must register as a forum member (this is free) to access this section.
A customized INI file 122 for SDL Trados is included with Help & Manual for
proper display and editing of the XML output in Trados.
See also:
Translating in Help & Manual 531
Translating with external editors 533
XML Export and Import 786
Compiling to XML 415
The Project Synchronization Tool 645
8.12.1 Translating in Help & Manual
IN THIS TOPIC:
Procedure for translating projects in Help & Manual 532
Translating projects in Help & Manual is basically exactly the same as working on a project
in your own language. You just make a copy of the project, set up the language settings
appropriately for the target language and work you way through the project, translating as
you go. When a new version of your project becomes available you can then use the Project
Synchronization Tool 645 to create an updated version of the translated project containing all
See also:
The Project Synchronization Tool 645
International languages setup 149
International Languages and Unicode 780 (Reference)
8.12.2 Translating with external editors
IN THIS TOPIC:
Procedure for translating in an external editor with XML 534
will not need to send the translator anything else, unless you have any additional
external files that you are referencing.
4. Translate the XML files.
The physical procedure for translating will depend on the tool you use to edit the XML
files. However, there are some important instructions for translators that should always
be observed. See Instructions for translators and editors 796 for full details.
5. Import the translated XML file package to a new Help & Manual project.
It is possible to import XML files into an existing project, overwriting existing topics.
However, this is not necessary at this point. Since the XML file package contains
everything that the .HMX project file contains, plus the graphics, it makes much more
sense to create a new project. Keep the old version as a backup archive of the
previous version. Follow the instructions in Importing XML packages to existing
projects 165 .
6. Set up the language settings in your project for the new language.
This is very important and can lead to unexpected errors in your output if you forget it.
For details on the settings you need to make and the issues you need to consider
study International languages setup 149 and International Languages and Unicode 780 .
7. Check through the Project Properties to make sure that everything is OK.
Make sure that all the relevant texts 532 in Project Properties have been translated to
the new language.
8. Generate your output from the new project.
Generally you should then be able to generate the new version of your output in the
target language directly.
See also:
XML Export and Import 786
Configuring your XML output 408
Compiling to XML 415
Creating new projects from XML packages 142
Importing XML packages to existing projects 165
IX
538 Help & Manual Online Help
See also:
The Adobe PDF format 774
Before you print a user manual you will probably want to modify one of the standard print
manual templates 543 supplied with Help & Manual for your own needs. These standard
templates provide a basic framework for your user manuals and PDF documents but they
contain a number of elements which you will want to change, like the content of the cover
page and introduction and so on.
PgUp and PgDn Scroll through the preview document one page at a time.
This method will always generate any additional pages you have defined in
your print manual template (Cover, Introduction, Index etc.) as well as the
selected topics. To print the topics only select the topics you want to print
and choose Topics > Print Topic.
See also:
Printing topics 207
1. Open your project and go to Project > Project Properties > Adobe PDF 604 to set the
export settings for Adobe PDF. All these settings only need to be set once for your
project. Any changes you make are stored automatically, including the selection of a
print manual template to be used for PDF export.
2. In the PDF Layout 604 section select the print manual template you edited in Step 1.
Use the button to navigate to the template file, which has the extension .MNL. See
Adobe PDF settings 604 in the Reference section for details on the other available
settings.
See also:
Compiling Your Project 410
Using PDF templates 543
Conditions and Customized Output 451
PDF Questions 907 (FAQ)
The layout of Help & Manual's PDF and print manual output is controlled by special print
manual templates that do much more than just define the appearance of your pages. You
can use them to design entire manuals, with cover and back cover pages, multiple title
pages at the beginning, an introduction, a formatted table of contents, title pages for
individual chapters, graphics, headers and footers, a formatted index and multiple endnotes
pages.
Print manual templates have full support for Help & Manual's predefined variables and user-
defined variables, which they access from your project file. Since the templates are external
files you can use them in multiple projects.
In both these dialogs you can open the selected template for editing by
clicking on the button next to the template selection field.
See also:
Templates and Secondary Windows 462
See also:
Inserting file links 300
The original version of Help & Manual 4 did not support Unicode in PDF output. As of
version 4.2 the program now has a new PDF engine that includes full support for Unicode
and Asian languages in PDF output.
See also:
PDF and Printed Manuals 538
International Languages Setup 149
International Languages and Unicode 780 (Reference)
The CID Font Mode option is in the Adobe PDF > Font
Embedding settings
The CID Font Mode option can reduce the size of your PDF for projects written in Unicode-
based languages.
When you set CID Font Mode to Unicode only the characters actually used in the font are
embedded in the PDF file, in a special internal format.
This works correctly with most Asian languages. However, it may sometimes cause
problems with western languages like Russian or other European languages with special
characters.
See also:
International languages setup 149
Adobe PDF - Font Embedding 606 (Project Properties)
X
548 Help & Manual Online Help
There are three groups of settings in Project Properties: General settings, help window
settings and output format settings.
General settings:
These settings are stored in the Common Properties 548 section. They define things like
the name of your project displayed in help window title bars, copyright messages,
language settings, where images used in the project are stored, text variables used in
the project and so on.
It is always a good idea to check all the settings in this section when you create a new
project.
In addition to this section also includes three of Help & Manual's most powerful and useful
functions:
Baggage Files:
This is a new function that allows you to store small, frequently-used images and
other files in your project. This provides quick access to images and ensures that the
files are exported when you compile - for example in the case of files that are only
referenced in scripts or manually-inserted HTML code.
Text Variables:
This section allows you to define and store any number of variables for use in your
project. This is very useful for texts that may change after you create your project,
such as program names and so on. You can then change the texts in your entire
project just by editing the variables, and you are always sure that all instances have
been changed.
Custom Builds:
This section allows you to define your own include options 453 . Include options are like
tags that you use to include or exclude text, topics, chapters or entire modules from
your help output. You simply tag content with your include options in your project and
then select or deselect the corresponding options in the Compile Help File 663 dialog
when you compile.
Author: The author of your help project. This text is not used automatically by
Help & Manual. You can use it yourself anywhere in your project by
inserting the <%AUTHOR%> variable.
Summary: A short text describing your project. This text is not used automatically
by Help & Manual. You can use it yourself anywhere in your project by
inserting the <%SUMMARY%> variable.
Copyright: The copyright notice for your project. This text is not used automatically
by Help & Manual. You can use it yourself anywhere in your project by
inserting the <%COPYRIGHT%> variable.
Comment: Space for a comment about your project. This text is for information
and documentation only. There is no corresponding variable so you
cannot insert it in topics in your project.
Major These fields have four corresponding variables that can be used to
Version: generate three-part version numbers.
Minor
The variables corresponding to the individual components are <%
Version:
VERSION_MAJOR%>, <%VERSION_MINOR%> and <%VERSION_BUILD%>.
Build Version:
The fourth variable, <\%VERSION%>, combines the contents of the three
fields with dots between them, like this:
6.5.456
See also:
Creating Projects 125
Using Variables 440
Bi-directional This setting is for activating support for right-to-left languages like
Language Arabic, Hebrew and Farsi. The default is Left to Right and it should
Mode: only be changed if you are working with a right-to-left language like
Hebrew, Farsi or Arabic.
The setting makes radical changes in the way Help & Manual
operates, switching the direction of all the texts in the editor, TOC and
everywhere else, both in Help & Manual itself and in the compiled
output.
Font character Defines the character set to be used both in your compiled help file
set: and in the Help & Manual editor.
· The default setting (ANSI_CHARSET) should be used for English
and all other Western European languages.
· This option must be set to the correct, specific character set for
all Eastern European languages (including Greek and Turkish).
Furthermore, this setting must match the Language of the help
file setting.
· This option must also be set to the correct, specific character set
for all languages requiring Unicode 780 support (most Asian
languages and other languages with more than 255 characters).
In these languages too it is essential to set both this option and
the Help file language option to the correct, matching settings for
the language you are using.
Default font: This is not the default font for your help file! This option only sets the
font used by Winhelp and HTML Help for their dialog boxes and table
of contents entries. The default is MS Sans
© 1997 Serif,8,0
- 2007 by EC Software,
and both all rights reserved
Winhelp and HTML Help are optimized for this font. If you change this
font always test thoroughly before publishing your help.
Project Properties Reference 553
See also:
International Languages Setup 149 (Procedures)
International Languages and Unicode 780 (Reference)
Test-compiling Asian languages on non-Asian Windows 415
10.1.3 Topic IDs and Help Context
The settings in this section allow you to automatically generate help context numbers 213 and
prefixes for topic IDs 211 for new topics. Help context numbers are used to make direct calls
to help topics from application programs. Topic ID prefixes are useful for preventing
duplicate IDs in modular help systems 498 , and programmers sometimes also require them
for help calls.
Help Context If you activate this function help context numbers will be assigned to
Numbers: new topics automatically, starting with the Start with number. Each
new number will be generated by incrementing the last number
Start with:
assigned by the Increment by setting.
Increment by:
This function can only be used for new topics. You can add, delete
and change the context numbers of existing topics with the Help
Context Tool 624 .
Apply help This setting will also automatically generate help context numbers for
context new topic anchors 305 so that anchors can also be used for calls to help
numbers to topics from applications.
topic anchors:
See also:
Assigning topic IDs 210
Assigning help context numbers 212
IDs and context numbers in modular help 497
Anchors - jump targets 305
10.1.4 Image Folders
This section contains the list of folders containing the graphics files used in your project.
Although you can enter these folder paths manually you do not actually have to. Every time
you insert a graphic in your project from a folder not included in this list Help & Manual adds
the corresponding path automatically.
To delete an entry click on the entry to select it, then click on Remove
Entry.
The Move Up and Move Down buttons move entries up and down in the
list. This controls the order in which Help & Manual searches folders to
locate graphics files.
Remember that Help & Manual always inserts the first file with a
matching name that it finds with a matching name. If two folders in the
search list contain files with the same name the first file will always be
inserted. The second file will never be found.
See also:
Using Graphics 313
Managing your graphics 325
10.1.5 Baggage Files
This is a new function that allows you to store small, frequently-used images and other files
in your project. This provides quick access to images and ensures that the files are exported
when you compile - for example in the case of files that are only referenced in scripts or
manually-inserted HTML code.
See Using Baggage Files 520 for full details on using this function.
To delete a file from the Baggage section click on its entry to select it
and then click on Remove File. This physically deletes the file from your
.HMX project file.
You can only rename files in the Baggage if they have not yet been
referenced in your project. As soon as they are referenced this button is
grayed out and cannot be used.
Save File As can be used to export files from the Baggage and save
them as external files on your hard disk.
See also:
Using Baggage Files 520
10.1.6 Text Variables
This section allows you to define and store any number of variables for use in your project.
This is very useful for texts that may change after you create your project, such as program
names and so on. You can then change the texts in your entire project just by editing the
variables, and you are always sure that all instances have been changed.
Imports a list of variables and corresponding values from a plain text file,
adding them to the project's variable list.
Syntax: VARIABLENAME=Variable value
Enter one variable per line without spaces on either side of the = sign
and with a hard carriage return at the end of each line.
Example:
PRODNAME=Widget Confabulator 3
PRODUCT PATH=\Application\Widget\Program
CURRENT LOCATION=Bombay, India
This function exports the current variable list to a text file, using the same
format as shown above. (You can use this to get a full example of the
format if you like.)
This only includes user-defined variables. Help & Manual's own
predefined variables are not exported.
See also:
Using Variables 440
10.1.7 Custom Builds
This section allows you to define your own include options, which are also referred to as
Build IDs. These IDs are like tags that you use to include or exclude text, topics, chapters or
entire modules from your help output. You simply tag content with your include options in
your project and then select or deselect the corresponding options in the Compile Help File
dialog when you compile.
· See Conditions and Customized Output 451 for details on using this function in your
projects.
To delete an include option just select its Build ID in the list and click on
Delete.
Note that Help & Manual does not check whether you have used the
include option in your project when you do this!
Undefined include option tags used in your topics will still be functional and
since you cannot select them in the Compile Help File 663 dialog they will
always exclude the text they enclose.
See also:
Conditions and Customized Output 451
See also:
Choosing a help window 177
Configuring Your Output 392
Templates and Secondary Windows 462
Help Windows 800 (Reference)
Window name: This is the identifying name of your help window type, which is
displayed in the Help Window: field in each topic's Topic Options tab.
It is restricted to a maximum length of 8 characters. No spaces or
non-alphanumeric characters are allowed.
You can change the names of help window definitions even if they
are in use (i.e. assigned to topics in your project) but it is not
advisable. After doing so you should always check the Help Window:
field in the Topic Options tabs of all topics using the window to make
sure that the help window assignment is correct.
Title bar text: This is the text displayed in the title bar of the help window. The text
entered for the Main help window defines the title displayed in the
main window of your project. You can enter different texts for other
window definitions to display different titles in their title bars.
By default this field contains the <%TITLE%> variable, which
automatically displays the text entered in Help Title: field in the Title
& Copyright 550 section, so you only need to change this if you want to
display a different text.
See also:
Choosing a help window 177
10.2.2 Color & Position Tab
The settings here define the background colors, size and position of the help window
associated with the definition.
The Default Positions button resets all the position and size values
to -1 to let Windows handle the window sizing (see above).
Suppress window Activating this check box defines a window without a header. This
header: setting is applied both to external windows 471 and to secondary
windows 471 displayed in the main help viewer.
The header display is also turned off in the Help & Manual editor
for topics associated with window type definitions without headers.
See also:
External windows 473
Secondary windows 471
10.2.3 Winhelp Options Tab
The options in this tab only apply when you compile your project to Winhelp. They control
the appearance and behavior of the main Winhelp viewer window (Main help window type
definition) and the viewer window for secondary windows 471 (user-defined help window type
definitions).
Maximize Automatically maximizes the help viewer when it is opened to fill the
window: user's entire screen. Be careful with this setting, many users don't like
it!
Keep window Keeps the help window on top of all other windows on the user's
on top: screen. This is another setting that should be used with caution. Many
users still use small monitors with relatively low resolution and on
these systems keeping the help window on top makes it impossible to
see the application without closing the help, which users generally find
very annoying!
Window The Winhelp help viewer normally adjusts window sizes and positions
coordinates are you enter interactively on the basis of the user's monitor size and
absolute: screen resolution. If you activate this option the values you enter for
window position and size will be taken as absolute and will not be
adjusted by the help viewer on the user's computer.
It is better to leave this unchecked unless you have a very good
reason for using absolute values.
Visible buttons: These options define the help viewer control buttons to be displayed in
the window.
Defaults displays the standard set of controls in the main help viewer.
It does not have any effect in secondary (user-defined) windows.
The Browse option which displays Previous/Next browse buttons is
only available in secondary (user-defined) windows, not for the Main
window. This is because these buttons cannot be disabled for the
main help viewer window.
User-defined This section allows you to define and display additional buttons of your
buttons: own, which execute Winhelp macros when the user clicks on them.
You must type the macros manually in the Winhelp Macro field.
See the documentation of Microsoft Help Workshop for details of
Winhelp macros and how to use them.
See also:
Secondary windows 471
External windows 473
Allow If this is selected your secondary (user-defined) help window types will
secondary be displayed in external windows in HTML Help. Note that this is a
HTML Help global option: If it is selected all topics associated with user-defined
windows: help window types will be displayed in external windows (even topics
in the TOC), and only topics associated with the Main window type will
be displayed in the main help viewer.
If this option is not selected all the settings here are disabled for user-
defined help window type definitions. Then these secondary windows
will only define the background colors of the associated topics and
whether or not they have a header.
Save user- This option is only available for the Main help window type definition. If
defined it is activated the HTML Help viewer will save the user-defined help
positions after window size and position in the registry and use these values the next
first use: time the help is opened.
Leave this option activated unless you have a very good reason not to
use it. Most users hate it when programs reset windows that they have
resized!
Visible buttons: These options are used to choose which control buttons are displayed
in the help viewer. You may want to switch them all off for external
windows 473 .
Window has a This option activates or deactivates display of the help viewer's
navigation navigation panel containing the Table of Contents, keyword index and
panel: other tabs. You may want to disable this for external windows 473 . Note
that if you also disable the Hide/Show button (see above) the user will
not be able to activate the navigation panel at all!
Search tab: These options activate or deactivate the display of the Search and
Favorites tabs in the navigation panel. Note that if they are disabled it
Favorites tab:
will not be possible for the user to enable them.
User-defined Allows you to define two HTML links (i.e. URLs) as targets for the
buttons: Home button and two user-defined buttons. (These buttons must also
be activated in Visible buttons: to be displayed.)
You cannot enter links to topics in the help here. Note that you must
enter fully-qualified URLs including the protocol (i.e. http://, ftp:// etc).
Simple URLs without the protocol (e.g. www.domainname.com) will
not work on most users' machines.
You can edit the names of the Jump 1 and Jump 2 buttons but you
cannot change the name of the Home button.
See also:
Secondary windows 471
External windows 473
Shared settings:
The options in the following two sections are shared by all HTML-based output formats (
HTML Help, Browser-Based Help, eBooks and Visual Studio Help (MS Help 2.0).
Topic Pages: These are the HTML templates 475 that control the layout of your topic
pages. There is only one version of each template for all HTML-based
output formats. You cannot create separate templates for each output
format.
HTML Export These are the general settings for all HTML output formats, including
Options: image conversion and export options and the options for the CSS style
sheet used to export the style formatting information from your project.
Here too, there is only one CSS style sheet and one set of HTML
Export Options for all four output formats. You cannot enter different
settings for each output format.
· Note that not all the settings in this section are relevant for all
HTML-based output formats. See HTML Export Options 573 for
details.
See also:
HTML Help 765 (Help Formats)
HTML Help Options 563 (Help Windows)
10.3.1 Topic Pages
This section allows you to edit the HTML templates 470 that define the layout and general
appearance of your topic pages in all HTML-based output formats. See Using HTML
Templates 475 for full details.
Let me edit HTML Activate this check box to view and edit the HTML code of the
code directly: template. See below for details on direct HTML editing mode.
Text above topic: Any text you enter in these two editing boxes will be inserted on
Text below topic: every page above and below the main text of your topic.
Note that you can only use plain text. No formatting or
HTML tags are allowed.
Topics with headers Activating this option adds additional navigation links to the
have <Top>, headers of your topic. These links always point to the Top topic
<Previous> and (the home topic defined in Common Properties > Language
<Next> links: Settings 551 ) and the Next and Previous topics in your help.
You can edit the captions of the links in the Caption column but
you cannot change their functionality.
By default the links are text-only. You can create button links by
selecting graphics files for your buttons in the Image File
column. Use the browse button to locate the graphics files.
HTML template for Select the help window type whose template you want to edit
window type: here. Each help window type definition has its own template that
can be edited separately.
By default only Main and Popup are displayed. Other templates
will only be listed if you have defined additional help window
types in the Help Windows 557 section.
Note that the Popup template is only used when you output
popups as HTML-encoded topics. See Creating popup topics 193
for details.
Editing window: The editor provides full HTML syntax highlighting to make
editing easier. To enlarge the window for easier editing just
resize the Project Properties window.
See also:
Templates and Secondary Windows 462
Using HTML Templates 475
HTML Help Options 800 (Help Windows)
HTML Help 765 (Help Formats)
10.3.2 Popup Topics
These options define how popup topics are exported in HTML Help. For full details see
Creating popup topics 194 and Using JavaScript popups 199 .
HTML-encoded Selecting this option effectively turns your popups into normal topics
topics: without headers. When this mode is activated links to popup topics will
display the topics in the main help viewer.
This mode cannot be used for context-sensitive popups called from
applications.
Dual-mode This mode outputs popup topics to an external Winhelp .HLP file. This
help: allows you to use formatted text (bold, italics etc.), images, Internet
links and tables in your popups. When this mode is activated,
hyperlinks to popup topics in your help will display as popups
automatically.
Important notes:
· Borders around paragraphs and tables, table gridlines and nested
tables are not supported in Winhelp or Winhelp popups.
· You cannot create normal hyperlinks from Winhelp popups to
your main HTML Help .CHM file because the two help formats are
not compatible.
· When you use dual-mode help you must distribute two files with
your application, the main .CHM file and the .HLP file containing
the popups.
This mode can be used for context-sensitive popups called from
applications. The calls are made directly to the separate Winhelp .HLP
file using the Winhelp API.
JavaScript This mode outputs popup topics using JavaScript code that allows you
popups: to use formatted text (bold, italics etc.), images, Internet and topic
hyperlinks, tables (with gridlines and borders) and even video files in
your popups.
The popups are stored inside the main .CHM help file so you only
need to distribute one file with your application.
This mode cannot be used for context-sensitive popups called from
applications. If you want to use both JavaScript popups and context-
sensitive popups called from your application you must create a
separate project for your context popups. See Formatted context
popups in HTML Help 437 for details.
Click/ Displays the popup on user click or mouseover (i.e. as soon as the
mouseover: user moves the mouse pointer over the link). Be careful with using the
mouseover option as many users find this intrusive and it may also
trigger popup blockers in some browsers.
Minimum Setting this to 0 makes the popup width automatic, on the basis of the
width: amount of text and/or other content.
Setting it to any other value (in pixels) explicitly defines the width of the
popup. If the popup only contains text it will have the width you specify.
If it contains other content (graphics, videos) it will be at least as wide
as the specified width and wider if required by the content.
Border width: Enter 0 for no border, any value above 0 (in pixels) to draw a border
around the popup box.
Border The distance between the popup content and the border or edge of the
padding: popup (if there is no border) in pixels.
Visual effects: These effects are only supported by MS Internet Explorer. This means
that they are available in HTML Help (which uses MSIE) and in
Browser-based Help when the user is using Internet Explorer. They
are ignored by all other browsers.
These effects are easier to see than to describe. Experiment! (Note
that the transition effects are only for opening the popup box. The
popups always close in the same way, no matter what effect you
select.)
See also:
Creating popup topics 194
Child file TOC This setting is only relevant if the current project is a child project in
settings: your modular help system. It controls what happens when the user
tries to open the child .CHM module directly.
Its own table of contents
This makes the child file open with its own table of contents as a
separate help file in its own right.
Table of contents of the master file
This automatically opens the master .CHM and loads the child .CHM
into its TOC. This is effectively the same as opening the master .CHM
directly. Use the browse button to select the master .CHM file (this
must be present in the same directory on the user's computer at
runtime).
See also:
Working with Modular Help Systems 492
Modular Projects 873 (Reference)
HTML Help 765 (Help Formats)
HTML Help Options 563 (Help Windows)
10.3.4 Extended .HHP Settings
This section enables you to add or overwrite sections of the .HHP project file used to
generate your HTML Help output. (See HTML Help project files 767 for details). Normally you
will never need to use this feature but there may be situations where you want or need to
make changes to your HTML Help output by making changes or additions to the .HHP file.
Please only use these feature if you understand .HHP files and how to edit them. You can
find information on the sections and settings in the documentation distributed with
Microsoft HTML Help Workshop.
HHP Settings for graphics files and other files referenced in HTML and script code
entered manually (e.g. in your HTML Templates 814 or inserted with Insert > Plain HTML
Code 311 ). This was necessary to tell the compiler to include files referenced in your own
code in your .CHM output.
This is no longer necessary in Help & Manual 4. You can now use the Baggage 554
section in Project Properties > Common Properties to add external files to your project
and they will then be automatically included in your .CHM file when you compile to HTML
Help. See Using Baggage Files 520 for more information.
This example shows some of the Extended .HHP settings we used for the Help & Manual
3 help, before the Baggage section was available.
and then fed to the Microsoft HTML Help compiler. This directory is created in your
project directory, which is the directory containing your .HMX project file.
This means that all file paths entered in the Extended .HHP settings must be relative
to this directory, because that is where the .HHP file is located. In the example above,
for instance, the files referenced are located in the project directory, which is one
directory up from \~tmpchm. This is why ..\ must be prefixed to each file reference so
that the compiler can find the files.
If your files are stored in other locations you must adjust the relative paths
accordingly. Storing them in the project directory is usually the simplest solution,
however.
See also:
Using Baggage Files 520
Using HTML Templates 475
Inserting Plain HTML Code 311
HTML Help 765 (Help Formats)
HTML Help Options 563 (Help Windows)
CSS style sheet This setting allows you to change the name of the style sheet file
file name: exported with the CSS style information. The default file name is
default.css.
Since the stylesheet is not accessible in eBooks this setting is
irrelevant for eBooks.
Font size This setting allows you to choose how font sizes are defined in your
encoding: output. You can choose pt (points), px (pixels), % (percent) or ems
(where 1 em = 100%). Which setting you choose controls how fonts
are displayed on the user's screen and whether or not the user can
change the font size.
Choose Pixels to lock your font size and layout, Percent to
allow the user to change the font size.
Points:
When you export the font size in points the user cannot adjust the
font size. However, the size of the fonts displayed on the user's
computer screen will vary depending on the Windows screen DPI
setting and/or font size settings. For example, if you develop your
help on a machine with Windows set to 96dpi (the standard) your
text layout may be incorrect on computers set to 120dpi (fonts look
much too big, text in hanging indents may be wider than the indent
etc). This is because the size of the fonts changes but the size of the
other layout elements (indents, locked table cells etc.) doesn't.
Pixels:
This is the only setting that ensures that the fonts and your layout will
always be displayed exactly as you see them on your development
machine. The font size is always uses the same number of pixels, so
it is always the same size relative to other elements of your layout
like indents, graphics and so on.
Percent or Ems:
If you select percent or Ems the user will be able to adjust the font
size in the help, for example by holding down Ctrl and turning the
mouse scroll wheel. This may or may not be a good thing, because
the size of other layout elements (graphics, indents, locked table
cells etc.) will not change, so the user adjustments may "break" your
layout.
Font size of If you choose percent or ems for font size encoding (see above) you
Normal style: can also use this setting to define the size of the Normal style in
relation to the default font of the user's browser. The value is
© 1997 - 2007 by EC Software, all rights reserved
expressed in percent and the default is 100%. This is normally
preferable because most users will have set the default font in their
browsers to the size of font they prefer.
Project Properties Reference 575
See also:
Configuring Your Output 392
Compiling Your Project 392
HTML Help 765 (Help Formats)
HTML Help Options 563 (Help Windows)
10.4 Winhelp
The settings in this section control how your project is exported to Winhelp. Winhelp is now
an obsolete format that should not be used for modern applications but Help & Manual 4 still
includes full support for it for backward compatibility. However, support for the 16-bit
Winhelp format used in Windows 3.0 is no longer provided as this format is no longer
relevant or necessary for any purposes.
Since the introduction of Windows 98 HTML Help 765 has been the standard format for help
for Windows applications and it should be used for all new applications.
NEWS: Winhelp is no longer supported in Windows Vista!
Please note that support for the Winhelp format has been completely
discontinued in Microsoft Windows Vista. Even if your applications run under
Vista, any calls to Winhelp help will simply produce an error message. This
also applies to dual-mode popups in HTML Help. We thus strongly recommend
that you start transitioning to an alternative help format as soon as possible.
See here for details
See also:
Winhelp 768 (Help Formats)
Winhelp Options 560 (Help windows)
10.4.1 Miscellaneous Settings
These settings configure the basic features of Winhelp in your output file.
Citation: When users copy and paste text from a Winhelp help file this text is
automatically included at the top of the pasted text. You can use it for
a copyright notice or any other information you want to display when
Encoding of Winhelp treats anchors in topics as absolute IDs that have the same
topic anchors: status as topic IDs. If anchor IDs were used on their own it would
theoretically be possible to have an anchor ID that was identical to an
existing topic ID, and this would cause problems.
To ensure that an anchor is always unique Help & Manual generates a
new ID for anchors by combining the topic ID and the anchor ID,
separating the two with a colon (:) by default.
This is suitable for most situations. If you need a different encoding,
you may either select a different separator (an underscore or a dot).
Alternatively you can choose the last option: Use anchor ID without
topic ID. This option encodes the anchor IDs as they are and
assumes that they are unique and do not conflict with topic IDs. Note
that Help & Manual does not check for duplicates so you use this
option at your own risk.
Limit images to The Winhelp viewer has an uncorrected bug that can cause the
256 colors: viewer to hang or crash on computers with a display that has limited
color depth if the help file contains images with more than 256 colors.
This option automatically reduces all images to 256 colors to prevent
these crashes. Using it is strongly recommended since you have no
control over the display configuration on your users' computers!
See also:
Winhelp 768 (Help Formats)
Winhelp Options 560 (Help Windows)
Anchors - jump targets 305
Using Variables 440
Keywords and Indexes 369
10.4.2 Modular Help Options
These options define how modular help is handled in Winhelp projects. Please study
Working with Modular Help Systems 492 and Modular Projects 873 before using these features!
Table of This setting adjusts the indentation ("offset") of your child help
contents offset: modules Table of Contents entries when they are inserted in the TOC
of the parent (master) module. A value of 1 represents an offset of
one sub-topic level, a value of 2 represents an offset of two sub-topic
levels and so on.
You only need to adjust the setting for child modules in modular help
projects. Set it to 0 for non-modular projects and master modules.
See also:
Winhelp 768 (Help Formats)
Winhelp Options 560 (Help Windows)
Working with Modular Help Systems 492
Modular Projects 873 (Reference)
Choosing the merge method for Winhelp 495
10.4.3 Extended .HPJ Settings
This section enables you to add or overwrite sections of the .HPJ project file used to
generate your HTML Help output. (See Winhelp project files 770 for details). Normally you will
never need to use this feature but there may be situations when you want or need to make
changes to your Winhelp output by making changes or additions to the .HPJ file.
This feature is designed for advanced users familiar with manual Winhelp encoding! Please
do not make any entries here unless you understand .HPJ files and how to edit them. You
can find information on the sections and settings in the documentation distributed with
[FILES]
.\HELPMAN.rtf
[WINDOWS]
Another="Secondary window",(110,276,679,408),27904,(r16777088),(r12632256),1
Main="Main window",(204,3,592,743),28420,(r16777215),(r12632256),f3
There is no [MAP] section in this file because no help context numbers were defined in
any of the topics. Let's assume that you want to include another file that contains the
mappings for context sensitive help. You can achieve this by adding the appropriate
entry to the [MAP] section together with an #include statement to include the external
file containing the mappings.
In addition to this, let's also assume that you want to change the target path of the
compiled help file. This requires two lines in the [OPTIONS] section, one each for the
main help file and the contents file.
To make these changes you would enter the following lines in the edit box of the
Extended .HPJ Settings section:
[OPTIONS]
CNT=F:\data\common projects\help\helpman.cnt
HLP=F:\data\common projects\help\helpman.hlp
[MAP]
main_index=HID_MAIN
#include .\ProjektX.txt
The next time Help & Manual exports your project these lines will be merged with the
standard output and the result will look like this (the inserted items are shown in red):
[FILES]
.\HELPMAN.rtf
[WINDOWS]
Another="Secondary window",(110,276,679,408),27904,(r16777088),(r12632256),1
Main="Main window",(204,3,592,743),28420,(r16777215),(r12632256),f3
[MAP]
main_index=HID_MAIN
#include .\ProjektX.txt
· See the documentation distributed with Microsoft Help Workshop. for full details
on .HPJ files and their settings.
See also:
Winhelp 768 (Help Formats)
Winhelp Options 560 (Help Windows)
Since Visual Studio Help is an HTML-based format it shares several groups of settings with
the other HTML-based output formats supported by Help & Manual.
Shared settings:
The options in the following two sections are shared by all HTML-based output formats (
HTML Help, Browser-Based Help, eBooks and Visual Studio Help (MS Help 2.0).
Topic Pages: These are the HTML templates 475 that control the layout of your topic
pages. There is only one version of each template for all HTML-based
output formats. You cannot create separate templates for each output
format.
HTML Export These are the general settings for all HTML output formats, including
Options: image conversion and export options and the options for the CSS style
sheet used to export the style formatting information from your project.
Here too, there is only one CSS style sheet and one set of HTML
Export Options for all four output formats. You cannot enter different
settings for each output format.
· Note that not all the settings in this section are relevant for all
HTML-based output formats. See HTML Export Options 573 for
details.
See also:
Visual Studio Help 527 (Advanced Procedures)
Visual Studio Help 777 (Reference)
10.5.1 Namespace & Options
This section is where you enter the special settings required for compiling Visual Studio Help
(MS Help 2.0). Please refer to the documentation of Visual Studio .NET and the Visual
Studio Help Integration Kit for full details!
Unique The unique identifier (rather like a topic ID for an entire help file) required
Identifier: for Visual Studio Help files. See the VS.NET documentation for details.
Export options:
Output file You can output either a single .HXS file or an .HXS file with a separate .
type: HXL file. See the VS.NET documentation for details.
Indexes: Help & Manual can generate both full-text search and associative keyword
indexes using the A-keywords entered in the Topic Options tabs of your
topics.
See also:
Visual Studio Help 527 (Advanced Procedures)
Visual Studio Help 777 (Reference)
10.5.2 Topic Pages
This section allows you to edit the HTML templates 470 that define the layout and general
appearance of your topic pages in all HTML-based output formats. See Using HTML
Templates 475 for full details.
Let me edit HTML Activate this check box to view and edit the HTML code of the
code directly: template. See below for details on direct HTML editing mode.
Text above topic: Any text you enter in these two editing boxes will be inserted on
Text below topic: every page above and below the main text of your topic.
Note that you can only use plain text. No formatting or
HTML tags are allowed.
Topics with headers Activating this option adds additional navigation links to the
have <Top>, headers of your topic. These links always point to the Top topic
<Previous> and (the home topic defined in Common Properties > Language
<Next> links: Settings 551 ) and the Next and Previous topics in your help.
You can edit the captions of the links in the Caption column but
you cannot change their functionality.
By default the links are text-only. You can create button links by
selecting graphics files for your buttons in the Image File
column. Use the browse button to locate the graphics files.
HTML template for Select the help window type whose template you want to edit
window type: here. Each help window type definition has its own template that
can be edited separately.
By default only Main and Popup are displayed. Other templates
will only be listed if you have defined additional help window
types in the Help Windows 557 section.
Note that the Popup template is only used when you output
popups as HTML-encoded topics. See Creating popup topics 193
for details.
Editing window: The editor provides full HTML syntax highlighting to make
editing easier. To enlarge the window for easier editing just
resize the Project Properties window.
See also:
Templates and Secondary Windows 462
Using HTML Templates 475
Visual Studio Help 527 (Advanced Procedures)
Visual Studio Help 777 (Reference)
10.5.3 HTML Export Options
These options control many key aspects of how your project content is converted to HTML
code for all the HTML-based output formats, including how the styles used in your project
are exported to a CSS cascading style sheet file, how graphic images are converted and
exported and a number of other important settings.
CSS style sheet This setting allows you to change the name of the style sheet file
file name: exported with the CSS style information. The default file name is
default.css.
Since the stylesheet is not accessible in eBooks this setting is
irrelevant for eBooks.
Font size This setting allows you to choose how font sizes are defined in your
encoding: output. You can choose pt (points), px (pixels), % (percent) or ems
(where 1 em = 100%). Which setting you choose controls how fonts
are displayed on the user's screen and whether or not the user can
change the font size.
Choose Pixels to lock your font size and layout, Percent to
allow the user to change the font size.
Points:
When you export the font size in points the user cannot adjust the
font size. However, the size of the fonts displayed on the user's
computer screen will vary depending on the Windows screen DPI
setting and/or font size settings. For example, if you develop your
help on a machine with Windows set to 96dpi (the standard) your
text layout may be incorrect on computers set to 120dpi (fonts look
much too big, text in hanging indents may be wider than the indent
etc). This is because the size of the fonts changes but the size of the
other layout elements (indents, locked table cells etc.) doesn't.
Pixels:
This is the only setting that ensures that the fonts and your layout will
always be displayed exactly as you see them on your development
machine. The font size is always uses the same number of pixels, so
it is always the same size relative to other elements of your layout
like indents, graphics and so on.
Percent or Ems:
If you select percent or Ems the user will be able to adjust the font
size in the help, for example by holding down Ctrl and turning the
mouse scroll wheel. This may or may not be a good thing, because
the size of other layout elements (graphics, indents, locked table
cells etc.) will not change, so the user adjustments may "break" your
layout.
Font size of If you choose percent or ems for font size encoding (see above) you
Normal style: can also use this setting to define the size of the Normal style in
relation to the default font of the user's browser. The value is
expressed in percent and the default is 100%. This is normally
preferable because most users will have set the default font in their
browsers to the size of font they prefer.
Export style When this is selected Help & Manual uses the full names of your
names: styles in the style sheet. This makes the sheet much easier to read if
you ever want to view or edit it manually.
If you deselect this option the style names are converted to brief,
alphanumeric codes that are not so "human-friendly". This can make
your project a little bit smaller but not much.
Export UTF-8 When this option is selected Help & Manual uses UTF-8 encoding to
encoded HTML: export fully Unicode-compliant HTML. This is not normally necessary
for English and other Western European languages, even for special
characters. It is only needed for languages like Chinese and
Japanese that absolutely require Unicode to be displayed properly.
Since UTF-8 encoding uses multiple bytes per character activating
this option can increase the size of your output files. Only use it if
you really need it.
See Wikipedia for an excellent background discussion of UTF-8
and other Unicode encoding methods.
Export XHTML If you select this Help & Manual will generate HTML code that is
1.1 compliant compliant with the XHTML 1.1 specification.
HTML:
This is only used in Browser-based Help (the HTML Help compiler
cannot handle XHTML-compliant code and it is also not relevant for
eBooks).
Note that XHTML code is fine for modern browsers but the
specification contains a number of features that older browsers
cannot handle correctly. If you believe you have a significant number
of users still using old browsers it is better to deselect this. New
browsers will not have a problem with this because they can also
handle code that is not fully XHTML-compliant .
If an image has Images in HTML pages can have an ALT attribute that displays a
no caption export small text in a "tooltip" when the user positions the mouse pointer
file name as hint: over the image.
Selecting this option exports the image file name as the ALT attribute
if the image doesn't have a caption. Unless your graphics files have
very descriptive names it is normally advisable to switch this off.
Conversion This option controls how the images in your project are converted
options for and exported when you compile to HTML-based formats.
bitmaps and Which option provides the best results depends on the type of
Impict images: images in your project. GIF provides the smallest files with the best
quality for screenshots with 256 colors or less.
Screenshots of any resolution almost always look terrible when
converted to JPG so you should always choose your settings to
make sure that this doesn't happen. Always use GIF and no more
than 256 colors for screenshots.
JPG and true-color PNG are really only needed for photographs and
continuous-tone graphics. To minimize help file size make sure that
all other files have no more than 256 colors.
Note that Do not convert images at all completely
suppresses the output of all graphics in your output.
Output quality You can reduce file size by decreasing the quality but this will also
for JPEG images: make the images look less good. A value of between 80 and 90 is
normally acceptable.
Note that this quality setting is only applied to JPEG images actually
generated by the program on the basis of the conversion settings
(see above). JPEG images that you insert in your project directly are
not affected. They are use as they are, without any changes.
See also:
Configuring Your Output 392
Compiling Your Project 392
Visual Studio Help 527 (Advanced Procedures)
Visual Studio Help 777 (Reference)
Shared settings:
The options in the following two sections are shared by all HTML-based output formats (
HTML Help, Browser-Based Help, eBooks and Visual Studio Help (MS Help 2.0).
Topic Pages: These are the HTML templates 475 that control the layout of your topic
pages. There is only one version of each template for all HTML-based
output formats. You cannot create separate templates for each output
format.
HTML Export These are the general settings for all HTML output formats, including
Options: image conversion and export options and the options for the CSS style
sheet used to export the style formatting information from your project.
Here too, there is only one CSS style sheet and one set of HTML
Export Options for all four output formats. You cannot enter different
settings for each output format.
· Note that not all the settings in this section are relevant for all
HTML-based output formats. See HTML Export Options 573 for
details.
See also:
Browser-based Help 771 (Help Formats)
Browser-based Help 398 (Configuring Your Output)
10.6.1 Layout
These settings define the layout of your Browser-based Help output. The default setting is
Two Frames and you should leave this unchanged for most projects.
· For more background information see Browser-based Help 398 in the Configuring Your
Output chapter and Browser-based Help 771 and Browser compatibility 772 in the
Reference > Help Formats chapter.
· There are also some special variables you can use in the layout page's HTML
template. For details see HTML template variables 829 in the Reference section.
Layout settings:
Let me edit HTML Selecting this lets you edit the code of the frameset page
code directly: manually. Please only choose this option if you have experience
in editing HTML code manually and understand all the details of
the code you are changing. Errors made here can make your
help unusable.
returns you to the standard code if something goes
wrong.
Show borders Displays border lines between the two or three frames of your
between frames: layout. Turn off for a "seamless" look.
Width of the left Defines the width of the navigation frame containing your
frame: project's TOC. Only displayed if a frame mode is activated. You
can enter the values as either pixels or percent:
· Values under 100 are interpreted as percent.
· Values above 100 are interpreted as pixels.
Height of head Defines the height of the head frame in pixels. Only displayed if
frame: the Three Frame option is selected. The height of this frame is
always fixed so you must choose the right height to match the
layout of the file you are loading into the head frame.
Head frame has If you deselect this no scrollbars will be displayed, even if the
scrollbars: content does not fit in the head frame. Only displayed if the Three
Frame option is selected. Deactivate for a seamless appearance
(you must plan the height of your head frame content precisely
for this to work properly).
Head frame loads Select to load an existing HTML file into the top frame. Only
external file: displayed if the Three Frame option is selected.
Enter the name of the HTML file you want to load into your top
frame here. Filenames are case sensitive in most web servers so
be careful to enter the entire name correctly.
Enter the absolute or relative path to the file if is not going to be
in the same directory as your help (for example if you are going
to use the standard header file for your website).
Important: Help & Manual will not copy this file or any files that it
Examples:
File will be in help directory:
headframe.html
File will be in another directory two levels up from your help on
the server:
././headframe.htm
File will be on a different server:
http://www.servername.com/general/headframe.htm
Edit head frame Choose this option to create and edit the HTML code to be
HTML code: loaded into the head frame directly. Only displayed if the Three
Frame option is selected.
When you choose this option the head frame file is generated
automatically using the code you enter here when you compile
your help. You can reference graphics and other files in it in the
same way that you would in all other HTML template files.
Please study Using HTML Templates 475 first.
See also:
Browser-based Help 398 (Configuring your Output)
Browser-based Help 771 (Help Formats)
HTML template variables 829 (Reference)
Browser compatibility 772
10.6.2 Navigation
These settings control how the navigation is handled in your Browser-based Help output.
Like the settings in the Layout section they are essential for the functioning of your help. You
should always check them very carefully before publishing your Browser-based Help to
make absolutely sure that the help will behave as you want.
Navigation settings:
Include Keyword These features should be self-explanatory. They simply switch
Index individual features in your Browser-based Help on and off.
Include Full-text
Note that Full Text Search will only work if the user has
Search JavaScript enabled.
If you activate Full Text Search you should also configure the
search options in the Full Text Search 594 section.
Add ordering Adds topic/chapter numbering to the TOC in your output, using
numbers to Table of the standard legal format (1, 1.1, 1.2, 1.2.1 etc).
Contents:
Lazy content This is a specialized setting for advanced users that should be
synchronization: left turned off for all normal output. Activating it will slow down
synchronization between topics and the TOC, particularly in
menus with many entries.
Lazy synchronization activates a different method for
"synchronizing" the item highlighted in the TOC pane with the
topic displayed in the topic pane.
In normal mode, when lazy synchronization is deactivated, all
topics include information about where their entries are in the
TOC. When the user clicks on a topic hyperlink the entry for the
target topic in the TOC will be highlighted as soon as the topic is
displayed.
Activating lazy synchronization removes this TOC address
information from the individual topics. When the user clicks on a
link the browser must first search for the matching entry in the
TOC, and this can cause a small delay.
Automatically When you set this option all chapters except the chapter in which
collapse unfocused the user is currently browsing collapse (close) automatically. This
entries: can make navigation easier in large help projects because you do
not have a large number of chapters open at the same time.
Note:
Selecting this option will generally disable On load, expand... All
On load, expand: Allows you to expand the TOC automatically when the user
opens the help. You can expand either all entries or just top-level
entries (main chapters).
Note:
Expand All Entries is disabled when Automatically collapse
unfocused entries is selected (see above).
Icons in the TOC: If you want you can select your own icons to be used in the Table
of Contents here. If you select custom icons stored in folders
listed in your Image Folders 553 they will be copied to your output
directory automatically.
See also:
Browser-based Help 398 (Configuring your Output)
Browser-based Help 771 (Help Formats)
Browser compatibility 772
10.6.3 Table of Contents
This section allows you to edit the HTML template 470 that defines the layout and appearance
of the Table of Contents pane in your Browser-based Help output. See Using HTML
Templates 475 for full details.
Let me edit HTML Activate this check box to view and edit the HTML code of the
code directly: template. See below for details on direct HTML editing mode.
Text above TOC Any text you enter in these two editing boxes will be inserted
headings: above and below the TOC tree with the topic entries. For
example, you might want to enter the title of your project above
Text below TOC
the tree and a copyright notice below the tree. HTML tags are
headings:
allowed.
The default code inserts the title of your project and links to the
Keyword Index and Full-text Search panes (if activated in your
settings). Please do not change this code unless you really
understand how it works.
Format of TOC These settings define the formatting styles to be used for the
headings: headings in your TOC. You can use up to six levels. However,
note that users will normally find anything more than a maximum
of three levels generally and four in exceptional cases confusing
and difficult to navigate.
Here too, this button automatically clears the HTML template and
reloads the default template. Use with caution – this function
completely overwrites all your editing changes!
If you select the button accidentally just click .
Editing window: The editor provides full HTML syntax highlighting to make editing
easier. To enlarge the window for easier editing just resize the
Project Properties window.
See also:
Browser-based Help 771 (Help Formats)
Text above Keyword Any text you enter in this editing box will be inserted above the
Index: Keyword Index. HTML tags are allowed.
The default code inserts the title of the Keyword Index and
links to the TOC and Full-text Search (if activated in your
settings) panes. Please do not change this code unless you
really understand how it works.
Keyword Index Font: These settings define the font styles to be used for the
components of your Keyword Index.
Index Separators: These entries generate the headings for each letter group in
the Keyword Index. If your help is not in English you can add
appropriate letters for your language.
Editing window: The editor provides full HTML syntax highlighting to make
editing easier. To enlarge the window for easier editing just
resize the Project Properties window.
Index Separators: These entries generate the headings for each letter group in
the Keyword Index. If your help is not in English you can add
appropriate letters for your language.
See also:
Using HTML Templates 475
HTML Templates 814 (Reference)
Browser-based Help 771 (Help Formats)
10.6.5 Full Text Search
This section configures the Full-text Search function for Browser-based Help output. It
includes both the options for configuring the behavior of the search function and the HTML
template 470 that defines the layout and appearance of the Search pane in your Browser-
based Help output. See Using HTML Templates 475 for full details.
· See Compiling 413 for some important information using Browser-based Help with full-
text search.
· Professional version feature only:
Please note that the support for full-text search in Browser-based Help is only included
in the Professional version of Help & Manual 4.
Configuration options:
The configuration options for Full-text Search are quite simple but they are important
because they make a major difference to how search functions. The Accent and Single-
case options are particularly important for international languages.
String Constants / The String Constants table is a list of the texts that are used
Translation: in the user interface of the Search function. You can edit the
default texts in the Text column directly. HTML tags are not
permitted here, you can only enter plain text.
Exclude these words This list defines common words you don't want to include in
from search: the full-text search index to save space. This is an important
point because the JavaScript full-text index has to be
completely downloaded from your server by the user's
browser before a search can be executed.
In a reasonable-sized project this index file can easily be 300
to 400KB or larger, and excluding common words can help to
reduce its size.
You can add your own words and delete existing words. Just
click in the list and edit, and only enter one word per line.
Copy and paste is supported.
Note that this list must contain at least one word. If you delete
all the entries it will default to the standard entries when you
save your project.
Skip words with less This is another function that decreases the size of the index.
than ... characters: Words with less then 3 characters are usually not very
meaningful and excluding them from the search is strongly
recommended.
Enable "Sort results by When this is activated users can sort the search results by
date": score (relevance of the topic found) or date.
Search is Accent- This converts accents and umlauts to their base characters
Support for single-case This creates a case-insensitive search index. You don't need
languages: this for western languages but it is a requirement for Asian
languages. It is also helpful for languages like German in
which all common nouns are capitalized.
Text on top of Search The text here defines what appears at the top of the Search
page: pane in the Browser-based Help shown in the user's browser.
HTML tags are allowed.
The default code inserts the title of the Full-text Search and
links to TOC and Index. Please do not change this code
unless you really understand how it works.
Editing window: The editor provides full HTML syntax highlighting to make
editing easier. To enlarge the window for easier editing just
resize the Project Properties window.
See also:
Browser-based Help 771 (Help Formats)
Using HTML Templates 475
HTML Templates 814 (Reference)
10.6.6 Topic Pages
This section allows you to edit the HTML templates 470 that define the layout and general
appearance of your topic pages in all HTML-based output formats. See Using HTML
Templates 475 for full details.
Let me edit HTML Activate this check box to view and edit the HTML code of the
code directly: template. See below for details on direct HTML editing mode.
Text above topic: Any text you enter in these two editing boxes will be inserted on
Text below topic: every page above and below the main text of your topic.
Note that you can only use plain text. No formatting or
HTML tags are allowed.
Topics with headers Activating this option adds additional navigation links to the
have <Top>, headers of your topic. These links always point to the Top topic
<Previous> and (the home topic defined in Common Properties > Language
<Next> links: Settings 551 ) and the Next and Previous topics in your help.
You can edit the captions of the links in the Caption column but
you cannot change their functionality.
By default the links are text-only. You can create button links by
selecting graphics files for your buttons in the Image File
column. Use the browse button to locate the graphics files.
HTML template for Select the help window type whose template you want to edit
window type: here. Each help window type definition has its own template that
can be edited separately.
By default only Main and Popup are displayed. Other templates
will only be listed if you have defined additional help window
types in the Help Windows 557 section.
Note that the Popup template is only used when you output
popups as HTML-encoded topics. See Creating popup topics 193
for details.
Editing window: The editor provides full HTML syntax highlighting to make
editing easier. To enlarge the window for easier editing just
resize the Project Properties window.
See also:
Templates and Secondary Windows 462
Using HTML Templates 475
Browser-based Help 771 (Help Formats)
10.6.7 Popup Topics
These options define how popup topics are handled in Browser-based Help. Note that only
the JavaScript popups option will export popup topics that really function as popups.
For full details see Creating popup topics 194 and Using JavaScript popups 199 .
Popup mode:
HTML-encoded Selecting this option generates popup topics as normal topics
topics: without headers – i.e. they are no longer popup topics. When this
mode is activated links to popup topics will display the topics in
the main browser window in the topic pane.
JavaScript popups: This mode outputs popup topics using JavaScript code that
allows you to use formatted text (bold, italics etc.), images,
Internet and topic hyperlinks, tables (with grid lines and borders)
and even video files in your popups.
Click/ Displays the popup on user click or mouseover (i.e. as soon as the
mouseover: user moves the mouse pointer over the link). Be careful with using the
mouseover option as many users find this intrusive and it may also
trigger popup blockers in some browsers.
Minimum Setting this to 0 makes the popup width automatic, on the basis of the
width: amount of text and/or other content.
Setting it to any other value (in pixels) explicitly defines the width of the
popup. If the popup only contains text it will have the width you specify.
If it contains other content (graphics, videos) it will be at least as wide
as the specified width and wider if required by the content.
Border width: Enter 0 for no border, any value above 0 (in pixels) to draw a border
around the popup box.
Border The distance between the popup content and the border or edge of the
padding: popup (if there is no border) in pixels.
Visual effects: These effects are only supported by MS Internet Explorer. This means
that they are available in HTML Help (which uses MSIE) and in
Browser-based Help when the user is using Internet Explorer. They
are ignored by all other browsers.
These effects are easier to see than to describe. Experiment! (Note
that the transition effects are only for opening the popup box. The
popups always close in the same way, no matter what effect you
select.)
See also:
Creating popup topics 194
CSS style sheet This setting allows you to change the name of the style sheet file
file name: exported with the CSS style information. The default file name is
default.css.
Since the stylesheet is not accessible in eBooks this setting is
irrelevant for eBooks.
Font size This setting allows you to choose how font sizes are defined in your
encoding: output. You can choose pt (points), px (pixels), % (percent) or ems
(where 1 em = 100%). Which setting you choose controls how fonts
are displayed on the user's screen and whether or not the user can
change the font size.
Choose Pixels to lock your font size and layout, Percent to
allow the user to change the font size.
Points:
When you export the font size in points the user cannot adjust the
font size. However, the size of the fonts displayed on the user's
computer screen will vary depending on the Windows screen DPI
setting and/or font size settings. For example, if you develop your
help on a machine with Windows set to 96dpi (the standard) your
Font size of If you choose percent or ems for font size encoding (see above) you
Normal style: can also use this setting to define the size of the Normal style in
relation to the default font of the user's browser. The value is
expressed in percent and the default is 100%. This is normally
preferable because most users will have set the default font in their
browsers to the size of font they prefer.
Export style When this is selected Help & Manual uses the full names of your
names: styles in the style sheet. This makes the sheet much easier to read if
you ever want to view or edit it manually.
If you deselect this option the style names are converted to brief,
alphanumeric codes that are not so "human-friendly". This can make
your project a little bit smaller but not much.
Export UTF-8 When this option is selected Help & Manual uses UTF-8 encoding to
encoded HTML: export fully Unicode-compliant HTML. This is not normally necessary
for English and other Western European languages, even for special
characters. It is only needed for languages like Chinese and
Japanese that absolutely require Unicode to be displayed properly.
Export XHTML If you select this Help & Manual will generate HTML code that is
1.1 compliant compliant with the XHTML 1.1 specification.
HTML:
This is only used in Browser-based Help (the HTML Help compiler
cannot handle XHTML-compliant code and it is also not relevant for
eBooks).
Note that XHTML code is fine for modern browsers but the
specification contains a number of features that older browsers
cannot handle correctly. If you believe you have a significant number
of users still using old browsers it is better to deselect this. New
browsers will not have a problem with this because they can also
handle code that is not fully XHTML-compliant .
If an image has Images in HTML pages can have an ALT attribute that displays a
no caption export small text in a "tooltip" when the user positions the mouse pointer
file name as hint: over the image.
Selecting this option exports the image file name as the ALT attribute
if the image doesn't have a caption. Unless your graphics files have
very descriptive names it is normally advisable to switch this off.
Conversion This option controls how the images in your project are converted
options for and exported when you compile to HTML-based formats.
bitmaps and
Which option provides the best results depends on the type of
Impict images: images in your project. GIF provides the smallest files with the best
quality for screenshots with 256 colors or less.
Screenshots of any resolution almost always look terrible when
converted to JPG so you should always choose your settings to
make sure that this doesn't happen. Always use GIF and no more
than 256 colors for screenshots.
JPG and true-color PNG are really only needed for photographs and
continuous-tone graphics. To minimize help file size make sure that
all other files have no more than 256 colors.
Note that Do not convert images at all completely
suppresses the output of all graphics in your output.
Output quality You can reduce file size by decreasing the quality but this will also
for JPEG images: make the images look less good. A value of between 80 and 90 is
normally acceptable.
Note that this quality setting is only applied to JPEG images actually
generated by the program on the basis of the conversion settings
(see above). JPEG images that you insert in your project directly are
not affected. They are use as they are, without any changes.
See also:
Configuring Your Output 392
Compiling Your Project 392
Browser-based Help 771 (Help Formats)
See also:
Customize - PDF Export 738
PDF and Printed Manuals 538
Adobe PDF 774 (Help Formats)
10.7.1 PDF Layout
The settings in this section control the layout and appearance of your PDF output. The most
important setting is the link to the print manual template 543 which defines the appearance
and layout of your PDF output. See PDF and Printed Manuals 538 for details.
Similar to a printed Generates a static PDF designed for printing rather than on-
manual: screen viewing. Automatically disables all the other interactive
options in this section.
Create thumbnails of Generates the thumbnail views of all pages that can be displayed
pages: in Acrobat Reader. This is really just an "eye candy" feature and
you should switch it off if you want to minimize PDF file size.
PDF has active Makes all the hyperlinks in your PDF output active. Topic links,
hyperlinks: Internet links and file links (without parameters) are all supported.
See Links, Anchors, Macros, Scripts and HTML 293 . Only available
for interactive PDF documents.
Note that the active links will only be visible if you activate the
Underline topic links and paint in color option (see below).
File links - embed Activating this option physically embeds external files in the PDF
linked files with the file so that you can distribute additional files with your PDF
following extensions: document. Only files linked to in your document with file links 300
will be embedded.
Insert page Inserts a small icon containing the link target page number after
referrers: every hyperlink. Recommended for PDFs designed for printing.
Underline topic links This allows you to choose whether the links in your PDF are
and paint in color: visible and defines the color.
If you turn this off in a PDF document with active
hyperlinks the links will still be active but they will be
formatted as normal text and will not be visible!
Ignore blank pages If you configure your print manual template 543 to start chapters on
in PDF file: odd pages you will have blank pages in your PDF file. This is fine
for printing but not so good for on-screen viewing.
This option enables you to suppress the blank pages without
editing the print manual template. Don't forget to turn it off after
using it, however – otherwise it's easy to think that "Start on odd
page" isn't working!
See also:
Customize - PDF Export 738
PDF and Printed Manuals 538
Embedding files in PDFs 544
10.7.2 PDF Options
These options set the standard options for saving the PDF output file. These are identical
with the options that you can set in Acrobat and they should all be self-explanatory.
Using variables:
Note that you can use variables 440 in all the Document Information fields.
See also:
Customize - PDF Export 738
PDF and Printed Manuals 538
10.7.3 Font Embedding
If you use non-standard fonts in your project your PDF document will normally only be
displayed correctly on the user's computer if the fonts are also installed there. You can solve
this problem by embedding the fonts in your PDF document, but this can increase the size of
your document very considerably, particularly if you are using Unicode-based languages 152 .
If you need to keep your PDF files as small as possible it is advisable to only use standard
fonts like Arial and Times Roman that will be installed on all users' computers. You can then
reduce the PDF file size by adding these fonts to the exclusion list (see below).
Do not embed If you choose Embed TrueType fonts you can reduce the size of your
these fonts: output file by excluding all the common fonts that all users are likely to
have installed on their computers.
All the fonts you add to this list will not be embedded in your output
file.
CID Font The CID Font Mode option can reduce the size of your PDF for
Mode: projects written in Unicode-based languages.
When you set CID Font Mode to Unicode only the characters actually
used in the font are embedded in the PDF file, in a special internal
format.
This works correctly with most Asian languages. However, it may
sometimes cause problems with western languages like Russian or
other European languages with special characters.
For more details see CID mode for Unicode fonts 545 .
See also:
Customize - PDF Export 738
PDF and Printed Manuals 538
Texts for Header, The text and font settings for the headers, footers and page
Footer and "Page": numbering. You can use variables 440 in these fields.
Note that the page number is inserted after the "Page:" text. You
don't need to use a variable for this.
Level formats for Sets the fonts and settings for your topic headers. The levels are
topic headings: the levels in the TOC.
You can also activate heading chapter numbering and automatic
insertion of page breaks for the individual levels.
Export active Exports the hyperlinks supported by Word RTF so that they can
hyperlinks: be used for online viewing. (Not all link types are supported.
Unsupported links will be exported as plain text.)
Insert file name Images in your project are not embedded in the RTF file because
marker for linked this can make it impossible to open the file in projects with a lot of
images: images. Selecting this option inserts the name of the file after the
image, which makes it easier to identify the external image files.
See also:
MS Word RTF 776 (Help Formats)
10.9 eBooks
The settings in this section control how your project is exported to eBooks, a self-contained
format including your help project and a viewer program in a single file. Like Help & Manual's
Browser-based Help, the standard eBooks viewer provide a close approximation of the
HTML Help viewer layout so that it can be used intuitively by all Windows users. In addition
to a Table of Contents with expanding and collapsing sections it also includes a Keyword
Index, full-text search and supports fully-formatted popup topics with graphics, formatted text
and links.
In addition to the standard layout the eBooks viewer also has a number of alternative skin
files (viewer templates 609 ) with which you can create other layouts.
Since eBooks is an HTML-based format it shares some settings with the other HTML-based
output formats supported by Help & Manual:
Shared settings:
The options in the following two sections are shared by all HTML-based output formats (
HTML Help, Browser-Based Help, eBooks and Visual Studio Help (MS Help 2.0).
Topic Pages: These are the HTML templates 475 that control the layout of your topic
pages. There is only one version of each template for all HTML-based
output formats. You cannot create separate templates for each output
format.
HTML Export These are the general settings for all HTML output formats, including
Options: image conversion and export options and the options for the CSS style
sheet used to export the style formatting information from your project.
Here too, there is only one CSS style sheet and one set of HTML
Export Options for all four output formats. You cannot enter different
settings for each output format.
· Note that not all the settings in this section are relevant for all
HTML-based output formats. See HTML Export Options 573 for
details.
See also:
Help & Manual eBooks 773 (Help Formats)
10.9.1 Visual Appearance
As the name indicates, the settings in this section control the appearance of your eBooks
output. In addition to the template for the viewer and size and position of the viewer on the
screen you can also select a graphic for a splash screen, a file icon and two sound effects.
Form icon: This option allows you to select an icon file to be displayed in
Windows explorer for your eBook .EXE file. You can only select
standard .ICO icon files.
Startup screen: The graphic image you select here will be displayed briefly in an
external window as a "splash screen" when the user starts your
eBook.
The image must be in .BMP format. It will be converted to a
compressed format automatically by Help & Manual when you
compile your project.
Startup sound: You can use these options to add sound effects to your eBook.
Page turn sound: The startup sound is played when the eBook is opened and can
be a little longer. The page turn sound should be very brief,
otherwise users will be annoyed by the delay.
You can only use audio files in the standard Windows .WAV
format.
Default position and These values define the initial position and size of the eBook
size: viewer when it is first displayed if you are using a resizable
template. You can enter them manually as pixel values or use the
Position Wizard button.
The default values of -1 for all four settings leave the viewer size
and position undefined and let Windows choose the window size
and position automatically.
If you choose a fixed-size template only the position values are
used, the size values are ignored.
Viewer window is Maximizes the eBook viewer on the user's screen when it is
maximized: opened. This option is not supported for fixed-width viewer
templates.
The Default Positions button resets all the position and size
values to -1 to let Windows handle the window sizing (see
612 Help & Manual Online Help
See also:
Help & Manual eBooks 773 (Help Formats)
10.9.2 Functionality & Security
This section includes options that control how your eBook works, its interface language and
some useful security features to protect your content.
Enable keyword Include or exclude the keyword index and full-text search options
index: in the viewer.
Enable full text
search:
Compress viewer This reduces the size of the eBook by compressing the viewer
application: program. This can cause a slight delay when the program is
started so if you are distributing your eBook on a CD it is better
not to compress the application.
Text for About box: The text to be displayed when the user clicks on the About icon
in the viewer. You can use user-defined variables 449 to insert text
in this box.
Security: Here you can prevent users from being able to copy text from the
eBook to the clipboard and password-protect your eBook.
Copy protect viewer: If you select this option the viewer can only be run from a CD with
the specified serial number. If it is copied to a hard disk or
another CD it will not be functional.
Important:
Your CD burning program must be able to burn a specific serial
number to a CD for this function to work!
See also:
Help & Manual eBooks 773 (Help Formats)
10.9.3 Popups in eBooks
Formatted popups with links and graphics are supported in eBooks but they are not
configurable – that is why there are no settings for them in the eBooks section of Project
Properties. They are sized automatically on the basis of their content and they use the
background color set for the Popup help window type in Project > Project Properties > Help
Windows 557 .
See also:
Creating popup topics 194
Help & Manual eBooks 773 (Help Formats)
XI
Tools Included with Help & Manual 615
Help & Manual has a powerful integrated screen capture function that includes most of the
functionality you need to make attractive screenshots quickly and efficiently. The function
will automatically select windows, controls and menus and you can also select freely-defined
rectangular regions of applications or the desktop and fixed size regions.
In addition to simple screenshots you can also make screenshots with a wide variety of
different shapes, add shadows and background colors and automatically resize your
screenshots with a choice of high-quality scaling filters.
For more control over effects and appearance you can edit your screenshot
with Impict 320 , the screenshot editing and enhancement program included
with Help & Manual.
Dual-monitor displays:
If you have a dual-monitor display the program you are capturing and Help
& Manual must both be in the same display, otherwise capturing will not
work. You may also find that capturing only works well in the primary
display. To check which is the primary display right-click on your desktop
and select Properties and then the Settings tab.
2. Select the Screen Capture button in the Toolbar or select Tools > Screen Capture.
3. Select the A Window, Control or Menu option and click on Start Capture.
4. Help & Manual minimizes and now you can move the mouse to select what you want
to capture. The selected element is indicated by a red outline.
You can also click to select and deselect windows and elements and open
menus and dialogs, this will not activate the capture.
5. When you are ready to capture hold down Ctrl and click. This will display the Save
Image dialog, in which you can choose where you want to save the graphic, the
filename and the color depth (or greyscale).
When you select Save the screenshot file will be saved and simultaneously inserted in
your topic.
2. Select the Screen Capture button in the Toolbar or Tools > Screen Capture.
3. Select the A free region of the desktop and click on Start Capture. Help & Manual
minimizes and a cross-hair pointer is displayed along with a lens window that helps
you to see exactly what you are selecting.
4. Position the cross-hair pointer at the top left corner of the area you want to select.
Press the left mouse button and drag down and to the right to define the area to
select.
5. Release the mouse button and then click inside the selected area. This will display
the Save Image dialog, in which you can choose where you want to save the
2. Select the Screen Capture button in the Toolbar or Tools > Screen Capture.
3. Select the A fixed-size region option and set the size of the region you want to
capture (in pixels). Then click on Start Capture.
4. Help & Manual minimizes and now you can move the mouse to select what you
want to capture. A fixed-size red rectangle showing the area to be captured is
displayed.
You can also click to select and deselect windows and elements and open
menus and dialogs, this will not activate the capture.
5. When you are ready to capture hold down Ctrl and click. This will display the Save
Image dialog, in which you can choose where you want to save the graphic, the
filename and the color depth (or greyscale).
When you select Save the screenshot file will be saved and simultaneously inserted in
your topic.
· Before making your screenshot click on the button to display the available
options. All the options you select here are applied automatically when the screenshot
is made.
· For even more screenshot power try TNT, the combined screen capture and graphics
editor tool from EC Software: TNT Screen Capture Page
See also:
Screen Capture 725 (dialog reference)
About Graphics in Help & Manual 856
The Impict Screenshot Editor 621
This tool generates detailed reports on your project that can be used for a wide range of
purposes, including documentation, providing your programmers with lists of topic IDs for
their help calls, checking project status, locating dead links, finding missing images and
unused images and so on. Reports are displayed immediately in a special viewer but you
can also save them in HTML files for documentation and other purposes.
See the report dialog reference 726 in the Reference > Menus and Dialogs > Tools chapter for
details on the dialog options and the available report types 728 .
2. Use the browse button in the File name: field to select a location and name for
saving the report as an HTML file.
3. Click on to display the report.
Report types:
Short report: Simple list of all topics in your project with status, caption (i.e. the TOC
title), topic IDs, help context numbers, builds in which the topics are
included and date last edited. The report also includes a summary of
the number of topics and keywords in your project.
This is a practical format for providing your programmers with a list of
topic IDs and context numbers for their calls.
Extended Also includes each topic's keywords and help window and a more
report: detailed project summary with a list of the images used in the project.
Missing images are shown in red.
Long report: Also includes lists of the images used in each topic, lists of the links in
each topic with their targets (including topic links, Internet links, file
links and script links) and the first lines of the text with which the topic
begins.
Missing images and dead links are shown in red.
Full report Same as the Long Report but also includes an additional full list of
including image images used in the project with a lists of the topics in which each
references: image is used. In addition to this there is also a list of images in the
project's graphics folders that are not used in the project (useful for
tidying up your project folders).
Missing images and dead links are shown in red. Unused images are
listed at the end of the report.
See also:
Reports 726 (dialog reference)
Help & Manual comes with a fully-featured graphics editing program called Impict. This
program is designed specifically for editing and enhancing screenshots and other graphics
used in help and documentation projects. Since Impict comes with its own comprehensive
help this topic only explains how to start the program and how to open graphics files for
editing in Impict from the Help & Manual editor.
For full details on editing images with Impict see the program's own help.
See also:
Using Graphics 313
Screen Capture 615
The Print Manual Designer is another separate program included with Help & Manual. It is
used for editing the template files that define the layout and appearance of the PDF files
and printed manuals generated from your projects. (PDF output and the Print User Manual
function in the Files menu actually both generate a PDF file. The only difference is that the
file is automatically deleted after printing when you print a manual.)
This tool can be used to design entire manuals. In addition to defining the layout you can
also add additional pages and content not included in your project, including cover and back
cover pages, multiple title pages at the beginning, an introduction, a formatted table of
contents, title pages for individual chapters, headers and footers, a formatted index and
multiple endnotes pages.
The Print Manual Designer has its own help so this topic only describes the basic
procedures for opening templates for editing and selecting them in your projects.
Print manual template files have the extension .MNL.
See also:
PDF and Printed Manuals 538
PDF and print manual templates 468
Adobe PDF 774
Printed manuals 776
The Help Context Tool helps to manage the help context numbers 212 in your project. You
can use it to assign, delete, import and export help context numbers in batch mode for your
entire project. In addition to this you can also use the tool to automatically generate context
help topics from a map file containing a list of topic IDs and context numbers.
The help context number is a second unique identifier for topics. Like the topic ID 210 it must
be unique and it can also be viewed and edited in the Topic Options tab of every topic. Help
context numbers are used by some programmers and programming languages to access
topics from applications, either on their own or in combination with topic IDs.
3. Set the Start value to define the first help context number you want to assign and
the Increment to define the steps between each automatically-assigned number.
(It is a good idea to use an increment of around 10 to allow for the addition of
more topics later.)
The start value and increment are particularly important when you are
assigning numbers in modular projects 492 and you want each project to
use a defined range of context numbers.
4. Choose where you wish to assign context numbers:
To topics in the Assigns context numbers to all the topics in the Table of
TOC: Contents section.
To "invisible" Assigns context numbers to all the topics listed in the Invisible
topics: Topics section. These are normally your context help topics so
you can use this option to assign context numbers to context
help topics only.
To topic Assigns context numbers to all the anchors 305 in your project,
anchors: which makes it possible to make context calls to specific
locations inside topics. This option assigns numbers to all
anchors in both the TOC and the Invisible Topics section,
irrespective of whether these sections are selected above or not.
3. Choose whether you want to delete all the context numbers in the entire project or
only the numbers within a specific range. "All" is global and will delete all context
numbers everywhere in your entire project. The range option is useful when you are
working on modular projects and need to remove numbers outside a certain range
from individual modules.
4. Choose where you want to delete the context numbers:
From topics in Deletes the context numbers from all the topics in the Table of
the TOC: Contents section.
From Deletes the context numbers from all the topics listed in the
"invisible" Invisible Topics section. These are normally your context help
topics: topics so you can use this option to delete context numbers from
context help topics only.
From topic Deletes the context numbers from all the anchors 305 in your
anchors: project, which makes it possible to make context calls to specific
locations inside topics. This option deletes numbers from all
anchors in both the TOC and the Invisible Topics section,
irrespective of whether these sections are selected above or not.
In addition to importing missing context numbers to existing topics this function can also
auto-generate missing topics from a map file. Since context-sensitive help often consists
of hundreds of very short topics this capability can save you many hours of boring and
frustrating work. It creates the basic framework for your context help in seconds.
1. Obtain the map file from the programmers and make sure that it only contains the
topics you want to use. These files have a standard syntax – you can create an
example by using the Help Context Tool's export function (see below).
2. Open your project (you might want to make a backup first) and select Tools > Help
Context Tool.
3. Select the option in the first screen and click on
.
Context Tool.
2. Select the option in the first screen and click on .
3. Enter the name and path to the output file in the Output file: field. Use the
browse button to choose a directory. You can also append the output to an
existing file – if you do this you also need to deselect the Overwrite output file:
option.
4. Choose the Map File Syntax:
· #Define is the default and selects the standard #define syntax used in most map
files.
· INI Style selects the standard INI file format.
· Custom allows you to define your syntax yourself. To do this you can combine
the three map file variables with any text or additional characters of your own.
Variable syntax for custom map file output
v <%TOPICID%> inserts the Topic ID of the current topic. Unlike <%
HREF_CURRENT_PAGE%> this variable inserts the Topic ID exactly as it is
displayed in the Topic Options tab, including upper and lower case
characters.
v <%TOPIC_HELPCONTEXT%> inserts the help context number of the current
topic or anchor (if the anchor has a context number). Just inserting the
variable on its own generates a decimal number. You can also export the
context numbers in hexadecimal by adding a hex prefix:
o &<%TOPIC_HELPCONTEXT%> exports to hex in the format &000000FF
o 0x<%TOPIC_HELPCONTEXT%> exports to hex in the format 0x000000FF
v <%ANCHORID%> inserts the anchor ID of an anchor with a help context
number.
See also:
Assigning help context numbers 212
Changing topic IDs and context numbers 212
The spell checker included with Help & Manual supports both manual spell checking (check
topics or the entire project in a single session) and "live" spell checking, which highlights
incorrectly spelled words as you type.
Global These settings are stored with your other program settings and are
settings: used for all projects for which no individual Project Settings have been
configured.
Project These settings are stored with your project and have precedence over
Settings: the Global Settings. This makes it possible to use different spell
checker settings and dictionaries for specific projects.
All the settings in Global Settings and Project Settings are identical. The only difference
between the two sets of settings is where they are used.
2. Select the check boxes of all the styles you want to exclude from checking.
All text formatted with the selected styles will be ignored by the spell checker. These
settings are always global – unlike the other spell checker options you cannot apply them
on a per-project basis.
Do not store main dictionary files in any other location! For example,
please don't try to store main dictionary files in project folders as this may
cause conflicts and errors.
See also:
Using custom user dictionaries 631
Creating and editing custom user dictionaries 634
Spell checking 184
11.6.1 Using custom dictionaries
IN THIS TOPIC:
Selecting the current custom user dictionary 632
Help & Manual allows you to define and use as many custom user dictionaries as you want.
In addition to the standard function of storing words not contained in your main dictionaries
these dictionaries also have two more very useful functions:
Creating and Editing Topics chapter for details on using this function.
2. Select either Global Settings or Project Settings tab, depending on whether you
want to configure the dictionary to be used by all projects or by the current project
only.
If you select Project Settings the settings in the Global Settings tab will be
ignored for the current project.
3. Select the dictionary you want to use from the list in the Custom Dictionary: field.
2. Select either Global Settings or Project Settings tab, depending on whether you
want to configure the custom user dictionaries to be used by all projects or by the
current project only.
If you select Project Settings the settings in the Global Settings tab will be
ignored for the current project.
· To activate a dictionary select its check box in the Custom Dictionaries: box. All
custom dictionaries activated here will be used by the spell checker.
See also:
Creating and editing custom user dictionaries 634
Spell checking 184
11.6.2 Creating and editing custom dictionaries
IN THIS TOPIC:
Where custom user dictionaries are created 634
Creating a global custom user dictionary 634
Creating a project custom user dictionary 635
How to edit custom user dictionaries 636
Help & Manual can create both global custom user dictionaries which are used for all
projects and project-related custom user dictionaries that are only available to individual
projects. In every project you can configure the program to use the global dictionaries, the
project dictionaries, both or neither (see Using custom dictionaries 633 ).
tab.
3. Click on and enter a name for the dictionary. The new dictionary will be
stored in the \Dictionaries folder in the Help & Manual project directory, which is
normally C:\Program Files\HelpAndManual4. The dictionary will be available in both
the Global Settings and the Project Settings tabs.
1. Select Tools > Spell Check > Configure Spell Checker and select the Project Settings
tab.
3. Click on and enter a name for the dictionary. The new dictionary will be
stored in the project directory of the current project, which is the directory where the .
HMX project file is stored. The dictionary will only be available to the current project.
4. You can now check and edit the Added Words, Auto-Correct Pairs and Excluded
Words lists.
Added Words: All the words in this list are identified as correct by the spell
checker.
Auto-Correct The first word in each pair in this list will be automatically replaced
List: by the second word during manual spell checks. (This function is
not currently available in live spell checking.)
Excluded All the words in this list are identified as incorrect by the spell
Words: checker, even if they are contained in the main dictionary.
· For more details on using these features see Spell checking 184 in the Creating and
Editing Topics chapter.
See also:
Spell Checker 629
Using custom dictionaries 631
Spell checking 184
This tool analyzes help project files and repairs them if necessary. There are two situations
where this may be necessary: After a system crash or other event that forces Help & Manual
to close without saving the current project properly, and if the project file ever becomes
corrupted or damaged.
For more background information on system crashes and how to protect your project data
see Data security and crash recovery 886 in the Reference section.
1. Click on the blue file name link in the Temporary file: column to start the Repair
and Recover tool.
hmd*.tmp
You can then run the Repair and Recover tool on the files you find.
Changing the storage location for temporary files:
You can change the storage location for your temporary files in Tools > Customize >
Folders. This makes them easier to find when you need them.
3. Click on in the File Name: field to choose the file you want to check and
repair.
When you use the tool manually the Save Recovered File As: field is
grayed out because original file is overwritten by the repaired version.
4. Click on to repair and recover the file. Progress and reports are
displayed in the Messages: box. (If necessary you can copy the report text from this
box by selecting it with the mouse and right-clicking.)
5. When the repair is complete you can close the tool and open the repaired version
of the file with Help & Manual.
See also:
Customize 731 (setting automatic backups)
Data security and crash recovery 886
This tool is converts existing .HM3 Help & Manual 3.x project files to the .HMX format. It
makes upgrading from Help & Manual 3.x to Help & Manual 4 a transparent and
straightforward process – generally all you need to do is open an .HM3 project and select
Convert .
Dynamic styles:
If you select Convert Styles in the options (see below 643 ) the Project Converter will
try to identify the styles used in your .HM3 project and replace them with dynamic
styles. This is only possible with text explicitly formatted with styles in the .HM3
project – the formatting of manually-formatted text will be converted but it will not be
associated with a defined style.
If the style of a paragraph cannot be identified uniquely it will be assigned the Normal
style. Its text formatting will converted correctly but it will be applied manually. The
result will be a paragraph with the Normal style containing manually-formatted text.
Tables:
Tables in Help & Manual 3 were fixed-width only and they were often split into
multiple tables to handle page break problems in PDF and printed manuals. The
Project Converter has options for dealing with both of these issues (see below 643 ) but
because of the differences between the two table formats you may need to make
some manual corrections to your tables after importing.
imported – the risk of mangling the resulting code would be too great.
If you have entered custom code in your templates you will need to re-enter it
manually in the templates of your new .HMX project. Your code should continue to
work in the new templates, however. The templates are functionally the same as
before, they just contain some new tags and variables and their structure has been
changed.
3. Navigate to the .HM3 file you want to convert and click on , then confirm
the prompt asking you if you want to convert the project file. This will automatically
start the Project Converter with the selected project file:
4. Select Options to check and adjust your conversion options. This is important
because you may need to change your settings depending on the formatting and
content in your .HM3 project to obtain optimum results. See below for details and
explanations of the available settings.
5. then click on Start Conversion to convert the project file. See below 643 for details
on the available options.
The converted project is automatically saved in the same folder and with the same
name as the old Help & Manual 3 project, but with the extension .HMX instead of .
HM3.
After converting you can then open and edit the project normally in Help & Manual 4.
Operation is exactly the same as above. The only difference is that you must select
the project file to convert manually. Click on the browse button to locate the project
file.
Conversion settings:
When you click on the Options button in the Project Converter the following dialog is
displayed:
Conversion settings:
Convert tables to This converts the fixed-size Version 3 tables to dynamic tables
auto-size: that will automatically resize to fit the help viewer window.
Note that this option makes the widths of all columns in your
tables variable – they will adjust automatically on the basis of
their content.
Don't activate this option if your project contains tables with
explicitly defined column widths as it may cause formatting
problems! (For example if you use tables as a formatting tool.)
Convert only last This has the same effect as the previous option but it only makes
column to auto-size: the last (rightmost) column in the table variable. This is the most
flexible table conversion option.
Concatenate similar In Help & Manual 3 it was often necessary to split tables to
tables: control formatting properly. In PDF and printed manuals Help &
Manual 4 splits tables automatically at page boundaries and can
also automatically generate headers on each page so manual
table splitting is no longer necessary.
This option can identify similar tables in your topics and
automatically join them together to create a single table that is
more easy to handle in Help & Manual 4.
Tolerance for Defines how closely matched the columns of tables have to be to
column width be combined with the Concatenate function. Two tables will only
differences: be combined if all the widths of all their columns are within this
tolerance.
Increase this value if your tables contain manually-adjusted
column widths with slight variances.
Try to recognize If this is selected the Converter will attempt to identify styles
styles and format applied to the text in your .HM3 project. It will create new style
converted text with definitions for these styles and apply them to paragraphs
styles: formatted with these styles in the old project.
Please note that this process cannot be perfect because styles in
Help & Manual 3 projects did not have the same close
association with text and paragraphs that they have in Help &
Manual 4. All the formatting of your text will be converted
correctly but you may find that some paragraphs are associated
with the Normal style instead of a newly-defined style matching
the old formatting.
See also:
Creating Projects 125
Text Formatting and Styles 228
Project Synch (project synchronization) helps you produce and maintain translated versions
of your Help & Manual projects. Producing the initial translation is easy – you just make a
copy of your original .HMX project with Project Synch and give it to the translator, who
translates all the text in the project into a different language, using Help & Manual.
The real job of Project Synch begins when you need to update your documentation. When
the new version of the original project is ready you use Project Synch to compare the new
version of the original with the last translated version of the .HMX project delivered by the
translator.
The old translated version is then updated: New versions of topics containing changed text
are inserted for translation, completely new topics are inserted, deleted topics are removed,
stylesheets and project properties are updated and so on.
You then send the updated version to the translator, who translates the changes and new
content and returns it to you.
Because of this you shouldn't try to use Project Synch to compare and synchronize
ongoing changes made in two different versions of the same project in the same
language. If you do, all the changes in the target version (equivalent to the
translation version) will be eliminated when you synchronize!
· New topics: These are inserted in the translated version in the correct positions so
that they can be translated.
· Changed topics: These are highlighted in the translated version. The complete
new version of the content of the changed topic is inserted in the translated
version. This can either replace the old translated text or be inserted above the old
translated text.
· Deleted topics: These are removed from the TOC of the translated version and
moved to a Deleted Topics folder in the Invisible Topics section for checking and
manual deletion. Their topic options are automatically set so that they are not
included in compiled output.
· Moved topics: If their content has not changed they are simply moved to their new
positions in the translated project.
· Topics with changed IDs: Project Synch treats these as new topics. It "deletes"
the original topic and moves it to the Deleted Topics folder in the Invisible Topics
section. Then it inserts the "new" topic in the TOC.
See also:
Identifying changes 652
Interim updates 655
Problems and troubleshooting 658
IN THIS TOPIC:
1: Save the project and create the pair 647
2: Send the copy to the translator for translation 648
The first step of using Project Synch is creating a copy of your original project for the
translator to translate. If you want you can do this in Windows Explorer or any other file
manager. However, if you do this you must then link the two projects as a "language pair"
manually later. It is easier to use Project Synch to create the copy, then the two projects are
"paired" automatically.
IN THIS TOPIC:
Guidelines for the translator 648
Releasing the translated version 649
In this step the translator just works through his or her copy of the project in Help & Manual
and translates it into the target language. There is nothing special about this, but the
translator must observe the following important guidelines:
Text Variables: If the text contains variables go to Project > Project Properties >
Common Properties > Text Variables and translate their definitions.
Hyperlinks: Only translate the captions of hyperlinks. Do not make any
changes to the links themselves or their targets.
Keywords / Only translate the keywords in the upper Keywords: editing box in
Index: the Topic Options tab. Always use the Index tab behind the TOC to
help you find the other topics where the same keywords are used.
Do not translate the A-Keywords. These are never visible to the
user and should remain in the original language because they are
used in special links that must reference the original keyword
names!
Tools > Don't change the ruler units in the Editor tab. This should always
Customize: be left the same as in the original project, otherwise the layout
behavior may change slightly because of rounding differences.
This step must be performed on the original project file used to create the translation pair in
Step 1 647 . Only this file will have the correct Project GUID 646 that can be used for
synchronization in the next step 649 .
That is all you need to know about this step. Simply work on your project as you would
normally in Help & Manual, making any necessary changes, deletions and additions. There
are no restrictions on the changes you can make.
IN THIS TOPIC:
Synchronize the old translation with the updated original 650
This step is where the real work of the Project Synch function comes in. Now you want to
synchronize the new version of the original help with the translation of the original version.
The result will be an updated translation version in which all the topics containing changes
are marked, with the new versions of the updated topic contents inserted for translation.
· For this step you need the updated version of the original .HMX project edited in Step
3 649 and the original translation delivered by the translator in Step 2 648 .
· The same process can be used every time you update your original version. The date
of the last synchronization is stored automatically, so you can always synchronize the
last translated version with the current original version to produce an updated version
for the translator to translate.
Keep old and new Selecting this will insert the complete new version of topics
text in TOC and containing changes above the old translated version. The
topics: old and new versions will be separated by a header saying
-----OLD TEXT-----.
The same procedure is used for the TOC captions, the
headers and the keywords in the Topic Options tab.
Only turn this off if you want the translator to
get the new text from the original version of
your .HMX file by copy and paste!
Do not overwrite, This is the opposite of the previous option. It just highlights
just flag changes: changed topics in the TOC and does overwrite the
translated version or insert a new version.
The translator must then open the new version of the
original in a second instance of Help & Manual to obtain
the new versions of the topics and their keywords etc.
Note that even when this option is selected the following
changes will still be updated:
· Context numbers
· Topic IDs
· Help window settings
· TOC structure (new, moved and deleted topics)
Synchronizing 649 the new version of the original with the old translated version updates the
translated version with the changes that need to be made. You can then give the
synchronized translation file to the translator for review and translation of the changes.
The translator then needs to go through the project, locate the changes and translate them.
The actual translation work here is pretty much the same as the original translation, and the
same guidelines 648 should be followed. The main problem is identifying where the changes
are 652 .
See also:
Guidelines for translators 648
Identifying changes in the synch project 652
11.9.2 Identifying changes
IN THIS TOPIC:
New topics 652 Deleted topics 652
Moved topics 653 Changed topics 653
Changed topic captions 653 Changed Keywords 654
Changed topic options 654 Special case: Changed topic IDs 654
Remember that Project Synch doesn't compare content, it only identifies changed, new and
deleted topics and updates the structure of the translation project to match the new version
of the original project.
If possible, you should thus always document and explain your changes with comments 204
while you are working on the new version of the original project.
This is particularly important if you only make changes in the Topic Options, because then
the translator may waste a lot of time looking for changes in the text that are not there. It is
also very helpful for the translator if you systematically tag text changes with comments as
well, however.
New topics:
New topics are simply inserted in the translation project in the correct position in the
TOC. Since they are in a different language they are easy to identify and are thus not
highlighted.
Deleted topics:
Deleted topics are removed from the TOC but not deleted entirely. Instead, they are
moved to a folder called DELETED TOPICS in the Invisible Topics section and
highlighted in red (Out of Date). This allows you to check them before deleting them for
good.
Topics with changed topic IDs are also moved to the Deleted Topics folder
and replaced with the "new" version of the topic from the original project.
See Changed Topic ID 654 below for details.
Moved topics:
Moved topics are simply moved to their new position in the TOC. Since they have not
changed in any other way they are not flagged as changed.
Changed topics:
If you have selected highlighting 651 in the synchronization options every changed topic in
the TOC will be highlighted in aqua indicating that it needs review, like this:
Chapter 2
If you have selected Keep old and new text 651 in the synchronization options the entire
new version of the topic text in the original language is inserted in the editor above the
old translated version . The old and new text are separated by a line saying OLD TEXT,
like this:
end of new text...
--------------------OLD_TEXT---------------------
Beginning of translated old text...
The same is done with the topic header above the topic text: The new version is inserted
above the old version, and the two are separated by an OLD text line, like this:
New Heading
--------------------OLD_TEXT---------------------
Old Translated Heading
Changed Keywords:
When a topic is flagged as changed you should always also check the Keywords, as this
can also be the cause for the change flag. This can cause the entire topic to be flagged
as changed even if there are no changes in the topic text.
If you have selected Keep old and new text 651 in the synchronization options the old and
new keywords are separated by a divider (shown red here to make it easier to see):
styles
new features
dynamic styles
--OLD KEYWORDS--
Stilvorlagen
See also:
Guidelines for translators 648
Important settings:
· Always select Keep old and new text 651 option in the synchronization
options.
If you select Simply overwrite with new content the work that the translator has
done in the meantime may be lost!
· Always check the Synchronize all changes since date.
This will automatically be set to the date of the last synchronization of the language
pair and should not need to be changed. However, if you are making multiple or
complex changes it is still a good idea to check this date.
See also:
Project synchronization settings 650
Identifying changes 652
11.9.4 Synching existing projects
You may already have versions of your project in different languages. The question is, can
you synchronize these projects? The short answer is yes. However, there are some
important points you need to consider when you are turning two existing projects into a
"language pair".
problems.
In the case of a translated version this is only the case if you created the translated
version by making a copy of the original project and then translated its text. If you built
the translated version from scratch the internal numerical IDs may not match and you will
have a problem.
5. Then just click on to synchronize the two projects, which will turn them
into a language pair.
The first time you do this with existing projects you should check the flagged
changes carefully to make sure that everything is OK. After this the two projects are
a normal matched language pair and you can use the standard procedure 649 for
subsequent synchronizations.
See also:
Problems and troubleshooting 658
11.9.5 Problems and troubleshooting
If you work within its capabilities, remembering that it cannot be used to highlight changes in
topic text, Project Synch should work very reliably. However, you may still encounter some
problems in certain situations, particularly if you don't follow the instructions.
See also:
Synching existing projects 655
Translation guidelines 648
XII
Reference 661
12 Reference
This section contains documentation of all Help & Manual's menu options and the
associated dialogs (in Menus and Dialogs 661 ).
The other sections in Reference contain more detailed background information on a number
of key subjects that will help you to gain a better understanding of how Help & Manual
works. Studying these sections is not absolutely essential but it will make it much easier for
you to use Help & Manual efficiently and effectively.
There are extensive cross-references and links to the Procedures sections so that you can
always find the instructions you need to show you how to do what is being described in the
reference topics.
See also:
Creating Projects 125
Compiling Your Project 410
Printing user manuals 538
Keyboard Shortcuts 83
12.1.1.1 New
This option creates a new Help & Manual project file. The same function can be accessed
with in the Toolbar. Selecting the option starts a wizard with a series of screens that
guides you through the process of creating a new project.
For full details see Creating Projects 125 in the Basic Working Procedures
section.
Create a new Creates a new, empty project. Click on Next directly after selecting this
help project: option. For details see Creating an empty new project 128 in the Basic
Working Procedures section.
Import existing Imports help and documentation from a variety of different sources
documentation: and uses it to create a new Help & Manual .HMX project. For details on
importing the various formats see Creating Projects 125 in the Basic
Working Procedures section.
Specify source Click the browse button in this field to locate and select the file you
file / folder: want to import for the above import options, then click on Next to
display the next screen of the wizard.
See also:
Creating Projects 125
12.1.1.2 Compile Help File
This option outputs or "compiles" the current project to any of the seven help and
documentation formats supported by Help & Manual. It can also be selected with the tool
in the toolbar.
Some of the features of the Compile Help File and Run dialog change depending on the
output format you select.
Output file and Where you want to generate your output and the name of the output
path: file. By default Help & Manual uses your project directory and the
project name. You can change this here whenever you like, however.
When you do this the program makes all necessary internal changes
automatically.
You can use the browse button to navigate to a different output
directory.
Include These options can be used in combination with Help & Manual's
Options: conditional output features. Topics and content that don't match the
selections you make here will be excluded from your output. Please
study Conditions and Customized Output 451 before using!
If no options are selected the list is highlighted in red to
indicate that no output will be generated.
The Selected Topics option:
Selecting this only outputs the topics currently selected in the TOC.
This function is designed for testing only. Links to excluded topics are
converted to plain text.
When Selected Topics is activated the Include Options list
Display file: Automatically displays the output file as soon as it has been
generated, using the appropriate viewer.
Winhelp settings:
Delete temp Selected by default. Normally all the source files generated to compile
files: Winhelp are deleted. If you deselect this you can view the source files
in the \~tmprtf directory, which you can find in your project directory.
Test compile: Compiles the Winhelp output without compression. This produces a
larger file but it is much faster. User for testing, not for final output.
Delete temp Selected by default. Normally all the source files generated to compile
files: Visual Studio Help are deleted. If you deselect this you can view the
source files in the \~tmphxs directory, which you can find in your
project directory.
Export If you are looking for this option it is no longer available in Help &
invisibles: Manual 4 because it is no longer necessary. All topics in the Invisible
Topics section can now be included or excluded in your output
individually with the Builds which include this topic settings in the Topic
Options tab.
Enable local This setting allows you to test your Browser-based Help in Internet
testing for MS Explorer on your local machine without having to click away the
Internet annoying yellow security warning bar. Click here for further details.
Explorer:
DELETE all Clears all the files in the output folder before compiling. Use this when
files in target you are producing a distribution build to ensure that the folder only
folder: contains the files related to the current version of your project.
Otherwise the directory may contain HTML files for topics that you
have already deleted in your project, left over from previous compiles.
These files take up unnecessary space and are also indexed by the
indexer and included in the full-text search function, which is
something you want to avoid.
Always use this function if you change the title of your project as this
also changes the names of all the output files associated with the full-
text search 594 function. If the old files are present the indexer may
attempt to index them, which can cause errors.
See also:
Conditions and Customized Output 451
12.1.1.3 Print User Manual
This dialog is used for generating a printed user manual from your project. In addition to
normal printing it also supports booklet printing with multiple pages per sheet and fold/cut
options.
The dialog consists of two screens.
Print to file: Redirects output to a file in the format supported by your selected
printer. You can use this function to generate a file that can be used by
a print shop with a high-resolution printer, for example.
Template: The Print User Manual function uses the same templates 468 as the
PDF output function. Select to choose an .MNL print manual
template file and to open the selected template in the Print
Manual Designer. (This program has its own separate help.)
Colored text: Options for controlling how colored text and hyperlinks are to be
displayed in your output. Set accordingly for monochrome or color
printers.
Page referrers: Prints hyperlinks with "page referrers" – little icons showing the page
number of the referenced topic.
Include These options can be used in combination with Help & Manual's
Options: conditional output features. Topics and content that don't match the
selections you make here will be excluded from your output. Please
study Conditions and Customized Output 451 before using!
If no options are selected the Include Options list is
highlighted in red to indicate that no output will be
generated.
Print Style: Options for normal or booklet printing. Select Normal (1:1) for best
quality in normal printouts.
Print cutmarks: Prints professional printer-style cutmarks for trimming your output.
Page Range: Options for printing only individual pages or a range of pages.
Select page numbers:
Enter the numbers of the pages you want to print separated by
commas (example: 12,42,49).
Note that all page range numbers refer to the sequential
numbers of the sheets of paper in your output, not to the
numbers shown on the pages, which may be different.
Use Print Preview 669 to check the numbers of the pages to
output.
From range: Print all pages, only odd pages or only even pages.
Use for printing on both sides of the paper with a printer without duplex
printing (both sides of the sheet) capability.
See also:
Print Preview 669
Conditions and Customized Output 451
12.1.1.4 Print Preview
The Print Preview function previews your printout on the computer screen. The options are
exactly the same as in the first screen of the Print User Manual 666 dialog. Help & Manual's
Print Preview is extremely fast, you can use it for a quick preview of your project layout.
For more details please see Print User Manual 666 (Screen 1 options only).
Unsupported functions:
· The selection by page number and booklet printing options are not supported in
Print Preview mode. Selected Topics in the Include Options section works,
however.
· Please also note that the page numbers are not displayed in the page referrers in
Print Preview mode. The page referrer icons are shown, but they are empty. This
is not an error. The referrer numbers can only be generated when you actually
output to a printer.
See also:
Print User Manual 666
Delete item: Delete the current TOC item and its associated
topic.
Load/Save Topic: Save the current topic to an external file and load
a topic from an external file. Can also be used for
creating templates for topics. See Exporting and
importing topics 202 and Content templates for
topics 466 .
Sort Items Alphabetically: Sorts the current TOC branch or the entire TOC.
Really only intended for the Invisible Topics
section – use with caution!
Expand: Expands either the entire TOC tree and all its sub-
Expand All:
topics or just those topics whose status 672 is not
set to complete.
Expand Status <> Complete
Print topic: Outputs the current topic to the printer. Can also
be used for multiple topics.
See also:
Creating and Editing Topics 171
Managing Topics in the TOC 209
Keyboard Shortcuts 83
12.1.2.1 Change Item Options
This option provides several functions for changing the current topic item in the Table of
Contents (TOC).
Icon: Changes the icon used for the current topic. You can only select icons
from the standard set displayed in the dialog.
Edit Caption: Edit the caption (title) of the topic in the TOC. You can also do this by
clicking on the topic item in the TOC and pressing F2.
Convert to Converts a chapter with text to a chapter without text. Only available if
chapter without the current topic is a chapter with text (a topic with a book icon in TOC
text: with an active editing window in the Editor pane). This option is not
available for normal topics.
Note that doing this will delete any text in the topic along with its ID
and all other details in the Topic Options tab. You will no longer be
able to link to the topic, so use Find Referrers in the File menu to
make sure that there are no links to the topic before converting.
See also:
Managing Topics in the TOC 209
12.1.2.2 Insert Item Options
These menu items add new topic items to the Table of Contents (TOC). See Creating new
topics 171 .for more details.
Insert Item Inserts a new topic after the topic selected in the TOC.
After:
Insert Item as Inserts a new topic as a child item (sub-topic) of the topic selected in
Child: the TOC.
Item Position:
These settings are exactly the same as the Insert Item options described above:
Insert Item Inserts a new topic before the topic selected in the TOC.
Before:
Insert Item Inserts a new topic after the topic selected in the TOC.
After:
Insert Item as Inserts a new topic as a child item (sub-topic) of the topic selected in
Child: the TOC.
Item Type:
Chapter This is an “empty” chapter heading that is used to "contain" sub-topics.
without text: It cannot contain text and has no attributes of its own except include
options 457 . Effectively it is a chapter without a topic. The Help &
Manual editor is disabled when a chapter without text is selected.
Multiple topics: Allows you to enter multiple topics at the same time, for example by
pasting a list of topic titles that you want to use as captions. Each line
of text entered in the Item Captions: field will create a new topic with
that text as the caption in the TOC. The topic IDs 210 are generated
automatically from the caption texts.
Indented entries in the list will create sub-topics of the topic directly
above them.
You can indent entries with the and indent buttons or with the
TAB key.
Jump to an Only supported for HTML Help and Winhelp files! Topics created with
external help this method are ignored in all other output formats (eBooks, PDF,
file: Word RTF and Browser-based Help).
Inserts an entry in the TOC that jumps to (displays) a topic located in
another help file, which must be present in the same directory as the
calling help file at runtime. Use the browse buttons to locate the help
project and the topic you want to jump to.
You can create the link either by selecting a compiled help file (HTML
Help / .CHM or Winhelp / .HLP) or a Help & Manual .HMX project file.
However, specific topics can only be displayed and selected for .CHM
help files and .HMX project files.
Important:
Note that this only works with HTML Help and Winhelp, and only
between two files of the same type, which must both be in the same
directory. You cannot create jumps between different types of help
files.
Link to a Creates a topic that references a web page on the Internet. How the
WWW address: topic is handled depends on the output format:
In Winhelp and eBooks selecting the topic in the TOC opens the
referenced web page in an external browser window.
In HTML Help and Browser-based Help selecting the topic opens the
page inside the help viewer, as part of the help.
In PDF and Word RTF the topic is ignored and is not included in the
output.
Consider your target users before using this feature! In many countries
the majority of users still have dialup Internet connections with pay-by-
the-minute rates, and these users don't want help topics that force
them to go online.
Include another Inserts a placeholder for another .HMX project, turning the current
help file: project into a master/parent project. When you compile the master
project the TOC of the child project(s) will be added to the that of the
master project.
Use the button to locate and select the project file. Then enter a
caption in the Item Caption: field. This is the text that will be displayed
in the TOC.
Note that it is also possible to insert child projects as children of other
child projects.
For more details see Working with Modular Help Systems 492 .
Topic templates:
Use this This option allows you to choose a content template to be used for the
template: new topic. By default Help & Manual uses the template
Template_Main.hmtopic for topics created in the TOC and
Template_Popup.hmtopic for topics created in the Invisible Topics
section, if template files with these names are found in the project
directory.
A content template is actually a topic that you load when you create a
new topic. It can contain anything that a topic can contain. For details
see Content templates for topics 466 in the Templates and Secondary
Windows 462 section.
See also:
Creating new topics 171
Content templates for topics 466
12.1.2.3 Find Topic
This option allows you to locate topics in your project by topic ID or help context number.
The two option buttons at the top of the dialog display the available topic IDs or help context
numbers in a sorted list.
· Typing text in the Select Topic: field automatically takes you to the first topic in the list
matching the text you type. (This does not work for help context numbers.)
· The topic IDs and help context numbers of modular child projects in your TOC are not
shown in the list.
See also:
Searching for text, topics and referrers 191
Find Referrers
Find & Replace Text 680
12.1.2.4 Find Referrers
This option displays a list of all links to and from one or more selected topics. To use it click
in the Table of Contents (TOC) and select one or more topics, then select the option in the
menu. You can also right-click in the TOC and select Find Referrers from the popup context
menu.
The Find Referrers report includes both normal links and links in graphics hotspots 321 .
However, please note that the report does not include any references to topics that may be
contained in scripts, macros or plain HTML code 311 that you have entered yourself.
Dialog options:
Incoming All the topics in the current project that refer to the selected topic. Links to
referrers: the topic from other projects are not included, even if the projects are
included in the TOC of the current project as child modules.
Outgoing All the topics in the current project linked to by the current topic. Links to
referrers: topics in other projects are not listed, even if the projects are included in
the TOC of the current project as child modules.
This list also includes references to any topics in which the current topic
is embedded 222 .
You can click on the topic ID links in the list to visit the topics
and edit them without closing the Find Referrers report.
Dialog toolbar:
Returns you to the original topic after visiting other topics in the reports list.
Inactive for reports including results for more than one topic.
Increases the size of the text in the report window to make it more legible.
Selecting repeatedly continues to the largest available size and then switches
back to the smallest size.
Copies text from the report window to the clipboard. (This does not select all the
text in the report - you must select text with the mouse first.)
See also:
Searching for text, topics and referrers 191
Find Topic 676
Find & Replace Text 680
12.1.2.5 Refresh Topic
When you edit a topic the changes you make are not applied immediately. The editing
changes you have made since accessing the topic are stored in a temporary buffer until you
save the project or switch to a different topic.
The same applies to all other editable topic properties. For example, Help & Manual does
not constantly check whether graphics referenced in your topic have changed on the disk
while you are working. Also, if you edit the topic's ID or enter keywords in the Topic Options
tab the program does not update references to the ID or the project's index immediately.
This option displays the standard Windows Print dialog so that you can output one or more
topics to the printer. To print multiple topics select the topics in the TOC with Ctl+Click or
Shift+Click before selecting Print.
You cannot choose a print range because the function always prints the entire current
topic.
The topics are printed with all the formatting from the editor, including links, graphics
etc., but without any of the layout options provided by the print manual templates used
for printing PDF files and user manuals 538 . Headers and page numbers are not included
in the printout.
See also:
PDF and Printed Manuals 538
12.1.3 The Edit Menu
The Edit menu contains basic editing commands like Cut, Copy, Paste and Undo. All these
commands are also available via keyboard shortcuts (displayed in the menu), and most of
them also have tools in the Toolbar. You can assign shortcuts to the other options yourself
in Tools > Customize > Shortcuts.
Paste Text Paste the Clipboard contents as plain text. All formatting, tables,
Only: graphics etc are stripped and the text is pasted as plain ASCII.
Find and Search for and replace text, graphics file names and keywords.
Replace
Text:
See also:
Creating and Editing Topics 171
The Help & Manual Editor 740
Keyboard Shortcuts 83
12.1.3.1 Paste Text Only
Although this function is very simple it is worth mentioning here because it is easily
overlooked, and it is very useful.
See also:
Copying, cutting and pasting 189
12.1.3.2 Find & Replace Text
This is a pretty standard find and replace function but with a couple of extra features for
finding and replacing in Help & Manual projects. The dialog can be used both for simple
searches and for replacing text. Deselecting the Replace with: check box turns off the
replace function.
Please note that you cannot search for or replace text in the topic captions in
the Table of Contents (TOC).
Dialog options:
Find what: Enter the text you want to find here.
Find Where: The default is to search in topic headers and text, i.e. in the "content"
of your project. In addition to this you can also search and replace in
topic keywords (i.e. the index) and images (graphics). The images
option allows you to locate specific graphics files and also to replace
graphics files quickly in your entire project. (See Finding and replacing
graphics 324 .)
Search Options: The default setting is to search the entire project from the first topic.
You can also start the search at the current topic or search only the
current topic.
The Match case and Match whole word options function in the same
way as in a standard word processor.
Replace All: Replaces all instances of the search text. A prompt is displayed to
make sure that you want to do this before proceeding.
Note that the scope of Replace All is also defined by the selections you
make in Search Options!
See also:
Searching for text, topics and referrers 191
Find Topic 676
Find Referrers 676
12.1.4 The View Menu
The View menu contains options for showing and hiding the various Help & Manual toolbars
and for docking and undocking the Table of Contents (TOC) and Topic Options panes.
There is also a link to the Customize 731 dialog where you can configure which tools you wish
to display in the toolbars.
Customize Open the Customize dialog to choose the tools you want to
Toolbars: display in the individual toolbars.
See also:
Customize 731
Customizing Help & Manual 84
12.1.4.1 Undock / Dock Windows
Dock/Undock Table of Contents and Undock/Dock Topic Options enable you to work more
flexibly if you have a large monitor or a dual monitor configuration. Selecting the options
displays the TOC pane and the Topic Options tab in a separate window that you can
position anywhere you like on your desktop.
This is particularly useful for the Topic Options tab, as it allows you to see both the topic
options and the contents of the editor pane at the same time.
Undocking by dragging:
· You can also undock the TOC pane by dragging it onto the desktop with its handle bar
(at the top of the pane). However you cannot dock it by dragging, you must select the
Dock option in the View menu.
· The Topic Options tab can only be docked and undocked with the View menu options.
The toolbar display options simply show or hide individual toolbars in the main Toolbar. See
Customizing Help & Manual 84 and the section on the Customize 731 option in the Tools menu
for more details.
See also:
Customizing Help & Manual 84
Customize 731
12.1.4.3 Customize Toolbars
This option opens the Customize dialog at the Toolbars tab so that you can modify the
appearance and contents of the toolbars. You can choose all the individual tools you want to
display in each toolbar and also turn the display of entire toolbar categories on and off.
Please see Customize 731 in The Tools Menu for details.
See also:
Customizing Help & Manual 84
Customize 731
12.1.5 The Insert Menu
The Insert menu is particularly important. It contains options for inserting all kinds of
hyperlinks and all the objects that you can use in Help & Manual topics in addition to text.
Tables are the only major class of object not included here because they have their own
separate menu.
Here too, most of the options have corresponding tools in the toolbars, and several already
have keyboard shortcuts assigned to them. You can assign shortcuts to the other options
yourself in Tools > Customize > Shortcuts.
Movie: Displays the dialog for inserting a video or flash animation file in
your topic.
Topic Displays the dialog for inserting an anchor in your topic as a target
Anchor: for topic links and other references. (Anchors can also be used as
targets for HTML links in Browser-based Help.)
Text Displays the dialog for inserting a text variable in your topic.
Variable: Includes both the program's predefined variables and any
variables you have defined for your project.
Embedded Displays the dialog for inserting a copy of another topic at the
Topic: cursor position in the current topic. This copy is dynamic and is
updated automatically when you edit the other topic.
Plain HTML Displays the dialog for inserting inline HTML code in your topics
Code: for adding features and functionality in HTML-based output
formats. This code is ignored in all non-HTML based output
formats.
OLE Object: Displays the standard Windows dialog for inserting OLE (Object
Linking and Embedding) objects in your topics. OLE objects are
converted to graphics in your output.
Special Displays the character map dialog for inserting special characters
Character: that are not available on the keyboard in your topic.
Manual Page Inserts a hard page break at the cursor position. Page breaks are
Break: only used in PDF, Printed Manuals and Word RTF. They are
ignored in all other formats.
Comment/ Opens the dialog for entering a comment for yourself or others
Bookmark: working on the project. Comments can also be used as
bookmarks, with which you can find and jump to places in your
project quickly. Comments and bookmarks are not included in
your output.
See also:
Using Graphics 313
Flash Animations and Video 422
Using OLE Objects 428
Using Context-Sensitive Help 431
Using Variables 440
Conditions and Customized Output 451
12.1.5.1 Insert Hyperlink
This dialog contains all the options for inserting hyperlinks in your topics. For detailed
instructions see the Links, Anchors, Macros Scripts and HTML 293 chapter. The appearance
of the dialog changes depending on the kind of link you are inserting.
Caption / The caption displayed in the text for the link if you are creating a text
Picture: link. If you select text in the editor before invoking the Insert Link
function the selected text is displayed here.
If you select Picture in the Style section (see below) Picture: is
displayed above this field instead of Caption:. The browse button to
the right of the entry field is then activated so that you can select a
picture to use.
Style:
Text link (blue, The standard link format: text link, displayed in blue with an underline.
underlined):
Custom text Displays the link as plain text that you must format yourself in the
link editor. If you don't format the link it will be active but it will not look any
(formatted): different from the text around it, i.e. it will not be identifiable as a link.
Button: Displays the link as a standard Windows button. The caption in the
Caption: field is used as the label text on the button.
Picture: Uses a graphic as the link instead of a text caption. All graphics
formats supported by Help & Manual can be used (the supported file
extensions are displayed in the dialog displayed).
Use the browse button to the right of the entry field to select an
graphics file.
Help file: The file containing the topic you want to link to. By default this is the
current project file but you can also create links to other project files
and compiled Winhelp .HLP and HTML Help .CHM files.
Click on the browse button to select a different help file. Its topics
will then be displayed in the Topic ID list. (Topics are not displayed for
compiled Winhelp files.)
The target help file must be present in the same directory as the file
containing the link at runtime (i.e. on the user's computer). Also, the
target help file must have the same format as the help file containing
the link. You cannot create links between .CHM and .HLP files.
Links to compiled Winhelp files are very limited – you can only link to
the default topic of a Winhelp file, not to any selected topic within the
file.
Topic ID (target The topic you want to link to. Select the topic from the list or type its
of the link): name in the entry field. Each letter you type will automatically display
the first topic matching that letter.
Anchor in topic: Use to link to an anchor inside the selected topic, so that clicking on
the link takes the user directly to the position of the anchor. Anchors
are only displayed here if the target topic already contains anchors. If
you have just inserted an anchor in the target topic it is not displayed
until you save your project.
Address: The website URL or email address you want to link to. Always enter a
complete URL for websites, including the http:// protocol prefix.
Links without this prefix sometimes don't work in HTML Help.
File name: The name of the file you want to link to. You can use the browse
button to select a file but this will not enter any path information
because it is assumed that the file will be in the same directory as the
help file containing the link.
If you enter the file name manually always type the complete name of
the file, including the extension.
Execution Any parameters you want to add to the file link, for example switches
parameters: or a file name to follow an executable program.
Tests the file link with the execution parameters. If you use the
button in the File name: field to select the file this will access the file
wherever it is located.
Note that this doesn't test whether the file link is compatible with your
output format! It only tests how executing the external file behaves with
the execution parameters entered.
HTML Select this to enter JavaScript code. Only supported in HTML Help and
JavaScript: Browser-based Help output.
Winhelp macro: Select to enter a Winhelp macro. Only supported in Winhelp output.
However, four special Winhelp macros are automatically converted to
their ActiveX equivalents in HTML Help. See Inserting script and
macro links 303 for details.
Script: Enter your script or Winhelp macro here. See the documentation of
Microsoft Help Workshop for details on Winhelp macros.
Note on JavaScript:
Help & Manual generates JavaScript links by outputting:
<a href=" followed by what you enter in the Script: window,
followed by ">
If you are familiar with JavaScript you can use this information to enter
complex scripts. (See the links under See also: below for full details on
this.)
These buttons allow you to save and load blocks of script and macro
code that you want to reuse.
Save Snippet saves the entire contents of the script window to a text
file.
Load Snippet loads a text file to the current cursor position in the script
window.
See also:
Inserting script and macro links 302
Scripts, HTML and Macros 757 (Reference)
12.1.5.2 Insert Picture / Open Image
This dialog contains all the options for inserting graphics in your topics. For detailed
instructions see the Graphics 313 chapter in Basic Working Procedures. In addition to this
also see the The Impict Screenshot Editor 621 information on the screenshot enhancement
and graphics editing program included with Help & Manual.
Dialog options:
Open file The upper part of the window is a standard Windows file open dialog.
options:
File name: The image file you want to insert. You can select a file from the
directory above with the mouse or type the filename here. You can
also use wildcard characters (? and *) to filter the directory. For
example typing *.jpg will only display the JPG files in the current
folder and ???.gif will only display GIF files with 3-character names.
Files of type: This drop-down list filters all the graphics file formats supported by
Help & Manual. You can display all the supported files or only files of
specific types.
Picture: This box displays a thumbnail image of the currently selected graphics
file and the dimensions of the file. Click on the thumbnail to display a
full-size preview of the selected graphics file.
Picture ID: Text you add here is inserted in the <img> tag as an ID attribute in
HTML-based output formats. This is only relevant if you want to
manipulate your HTML code manually and need to reference your
Tooltip: Text you enter here is added to the <img> tag as the ALT attribute in
HTML-based output formats so that it will be displayed as a tooltip
when the user positions the mouse over the image.
Note:If you leave this field blank the image filename will be exported
as the tooltip unless you turn this off in Project Properties >
Browser-based Help / HTML Help > HTML Export Options.
Alignment: These options define how the graphic will be aligned in your output.
With text
The default setting. Treats the graphic as though it is a character in the
text. It flows with the text without any wrapping.
Left of text
Positions the graphic to the left of the text and wraps the text around it
to the right.
Right of text
Positions the graphic to the right of the text and wraps the text around
it to the left.
Note that the left/right of text formatting is not
displayed in the editor. It is only shown in the
output.
Left/right of text is an electronic help format
feature. It is not supported in PDF or Word RTF.
Use tables to position graphics in these formats.
Spacing: This defines an invisible margin around the edge of the graphic,
between the graphic and text and any other objects on the page. Enter
a value in pixels.
Zoom %: This setting allows you to resize graphics 317 precisely by percent. It
has the same effect as selecting the graphic in the editor and resizing
it by dragging with the mouse.
Graphics resized with this method are not physically altered until you
compile. When you compile to PDF the full original format is used so
that you get better quality printing. In all other formats the graphics are
physically scaled to the displayed size when you compile.
Caption: Text displayed as a caption beneath the graphic. This text is always
centered and automatically uses the standard style Image Caption.
You can format it manually by selecting the graphic in the editor
window and then selecting text formatting options.
Opens the Hotspot Editor 693 , with which you can add clickable areas
with hyperlinks to your graphics.
1. The hotspot editor enables you to define "clickable areas" in your graphics and associate
all the different types of hyperlinks with them that are supported by H&M. When the user
clicks on the hotspot area in the graphic it is exactly the same as clicking on a hyperlink of
the same type in the topic text.
The parameters of the different kinds of hotspot hyperlinks are exactly the same as those for
normal hyperlinks. For details see Links, Anchors, Macros, Scripts and HTML 293 and
Graphics with hotspots, macros and scripts 321 .
Dialog options:
Toolbar options:
Inserts a topic link hotspot.
Aligns the hotspots in a vertical row with the first hotspot selected.
Aligns the hotspots in a horizontal row with the first hotspot selected.
Selected Shows the properties of the selected hotspot. You can adjust the size
hotspot: and position of the hotspot by dragging with the mouse or by entering
values here.
Ellipse:
Hyperlink settings:
The settings of the various hyperlink types are exactly the same as those for normal
hyperlinks in the topic text. For details see Links, Anchors, Macros, Scripts and
HTML 293 and Graphics with hotspots, macros and scripts 321 .
See also:
Graphics with hotspots, macros and scripts 321
Links, Anchors, Macros, Scripts and HTML 293
12.1.5.3 Insert Movie
This option is used to insert movies in your topics for the output formats that support them.
See Flash Animations and Video 422 for details.
File name: Name and path of the movie file. Use the browse button to select a
movie file to insert.
Placeholder Preview of the graphic image that will be displayed in your topic to
image: represent the movie file.
Select Click here to insert a placeholder image. You can take a snapshot
Placeholder: from the movie or insert a an image from a graphics file or the
Windows clipboard.
Width / Height: Shows the dimensions of the movie as found by Help & Manual.
Sometimes movie files report these values incorrectly. If this happens
you can adjust the values here so that they match the real dimensions.
Don't try to adjust these values to scale movies! The
Start Play the movie automatically as soon as the page is displayed. If you
automatically: do not select this the movie may not play properly in the case of some
video formats and/or browsers.
Show controls: Display simple player controls for the user. You may need to activate
this option in the case of some video formats and/or browsers.
See also:
Flash Animations and Video 422
12.1.5.4 Insert Topic Anchor
Inserts and anchor in your topic. An anchor is a "jump target" within a topic that enables you
to define hyperlinks that jump to specific positions in topics.
Dialog options:
Anchor ID: An alphanumeric ID that is used as the address of the anchor. Use a
descriptive ID that is easy to identify. These IDs are displayed in the
Topic Options tab and in the Insert Hyperlink dialog.
You cannot use spaces or special characters. A warning will be
displayed if you try to use illegal characters.
Help Context: You can assign help context numbers to anchors so that you can
make context-sensitive calls to specific positions inside topics. If you
have activated the automatic generation 213 of context numbers for
anchors a number will be displayed here automatically.
Keywords: You can also assign index keywords to anchors (normal K-keywords
only, A-keywords 382 are not supported here). If you do this selecting
the keyword in the index will jump to the anchor instead of the top of
the topic.
See also:
Anchors - jump targets 305
12.1.5.5 Insert Text Variable
This simple dialog displays the list of available text variables for insertion in your topic. The
list includes both Help & Manual's predefined variables and any variables you have defined
for your project.
When you insert variables with this dialog they are highlighted in green in the editor, which
makes them easier to identify. This is only a convenience, however. You can also enter
variables by typing them directly in the editor. When you compile your output Help & Manual
will still identify them.
Selecting displays the Text Variables editing dialog from Project Properties so
that you can edit existing variables or add new ones.
See also:
Using Variables 440
12.1.5.6 Insert Toggle
This dialog is used to insert expanding sections, text and images, known as Toggles 345 , in
your topics. There are two versions of the dialog, depending on whether you choose the
Expanding Text or Screenshot Toggle option a the top of the dialog.
details.
Toggle Inline This option creates an expanding inline text toggle 354 .
Text:
Enter your text in the editing box. You cannot enter any formatting in
this box. You can enter hard returns with enter for easier editing but
they will be ignored in the generated toggle.
Format text with Applies a style to the expanding inline text, for example to make it
Style: stand out against the rest of the text in the paragraph.
See also:
Toggles: Expanding Text and Images 345
12.1.5.7 Insert Embedded Topic
This option inserts another topic in the current topic at the cursor position. The contents of
the embedded topic are displayed with a gray background but they cannot be edited directly
– you must open the source topic of the embedded topic to edit it.
When you compile your project a full copy of the content of the embedded topic is inserted
in the current topic. This means you can exclude the source topics from your output (for
example for HTML Help or Winhelp) if you want, because they are only needed when you
compile.
Just select the topic ID of the topic you want to embed from the list and click on
.
See also:
Using embedded topics 222
12.1.5.8 Insert Plain HTML Code
This function is designed for advanced users with a good knowledge of HTML. It is used to
insert your own inline HTML code to be included in HTML Help and Browser-based Help
output. Code you insert with this function is ignored in all other output formats.
The code you enter here is inserted directly in the output page at the point in the text where
you insert it. Your code will not be checked or parsed in any way by Help & Manual – you
are entirely responsible for making sure that it works yourself. If you include references to
files you must also make sure that they are accessible.
You don't need to insert any normal page tags like <HEAD> or
<BODY> and so on. these tags already exist in the output pages.
Dialog options:
Just type the code you want to insert in the editing window. You can increase the window
size by dragging the lower right corner.
Saves the contents of the editing window to a text file so that you can
reuse it.
Loads the contents of a text file to the current cursor position in the
editing window.
See also:
Inserting plain HTML code 311
12.1.5.9 Insert OLE Object
This function inserts an OLE (Object Linking & Embedding) object in the editor screen. An
OLE object is a document created by another program. If you double-click on the object in
the Help & Manual editor the document will be opened with its associated program so that
When you compile your output OLE objects are converted to bitmap graphics. They are not
exported to your compiled files as active links – this is impossible in the Help & Manual's
output formats. This means that you cannot use all types of OLE objects supported by your
Windows installation. For example, you can't insert movies as OLE objects.
Create New: Open an OLE-enabled program to create a new OLE object. See
below.
File: Click on to select the file to insert. This file does not have to
be in your project folder.
Display as icon: Displays an icon to represent the object in the editor instead of the
contents of the OLE object file.
external file. Create from File (see above) in Link mode is always
preferable.
Object Type: Select the program with which you wish to create the document for the
OLE link. Only use programs that generate documents that can be
converted to a single bitmap graphic, such as Word or Excel.
Display as icon: Displays an icon to represent the object in the editor instead of the
contents of the OLE object file.
See also:
Using OLE Objects 428
About using OLE objects 861
12.1.5.10 Insert Special Character
This function allows you to insert special characters not available directly via the keyboard.
· Just select the font you want to use, then select the character and click on
to insert it in the editor at the current cursor position.
· You can increase the size of the character map for easier viewing by dragging the
bottom right corner of the dialog window.
· Note that in most output formats the font you use must be installed on the user's
computer for special characters to be displayed properly! This is particularly important
for help formats like HTML Help and Winhelp. If you need characters from special
fonts here it is better to use small graphics.
See also:
Special characters, lines and breaks 206
This function inserts a comment in the current topic that can also be used as a "bookmark"
so that you can quickly jump to particular points in your project.
· Just type your comment in the editing box and click on to insert it at the
cursor position.
· Show comment as icon only displays the comment as a red "pin" icon in the editor.
Comments and bookmarks are an editing aid only – they are not included in
your compiled output!
To jump to a comment/bookmark select the tool in the Toolbar.
See also:
Comments and bookmarks 204
Image caption and comment styles 249
12.1.6 The Format Menu
This menu contains the options for formatting text, both manually 230 and with dynamic styles
234 . All the settings that you can apply manually are exactly the same as the settings you can
apply with styles. The only difference is that the manual formatting settings are applied
directly while the settings you define for styles are stored with the style definitions. Exactly
the same dialogs are used for defining the manual settings and the settings to be stored in
style definitions.
Borders and Options for manual application of borders and background colors
Background: to one or more paragraphs. Formats the current paragraph if
nothing is selected or multiple paragraphs if they are selected.
Bullets and Options for creating and formatting bulleted and numbered lists.
Numbering:
Edit Styles: Opens the dialog for creating and editing dynamic styles that you
can use to format your text. Please read Defining styles 237 and
Editing styles 243 .
Create Style Defines a new style or redefines an existing style based on the
from current selection.
Selection:
See also:
Text Formatting and Styles 228
Numbered and bulleted lists 252
Formatting program source code 267
12.1.6.1 Format Font
This is a standard font formatting dialog. Everything should be familiar from word processing
programs and pretty self-explanatory. Exactly the same dialogs are displayed for formatting
text manually 230 and for defining styles 237 . The only difference when you define a style is that
your formatting is stored in the style for reuse. All font attributes can either be used directly
or for defining styles.
· When formatting text manually select text before selecting Format > Font to apply
formatting to text.
· If you apply font attributes without selecting text they will only be applied to new text
typed at the current cursor position.
· Remember that only standard fonts will be present on most user's computers for most
output formats!
Horizontal This "stretches" or "compresses" the text horizontally. The effects are
scaling: shown directly in the preview box.
See also:
Text Formatting and Styles 228
12.1.6.2 Format Paragraph
This is the manual paragraph formatting dialog. Most of its features should be familiar from
word processing programs and pretty self-explanatory. Exactly the same dialogs are
displayed for formatting text manually 230 and for defining styles 237 . The only difference when
you define a style is that your formatting is stored in the style for reuse. All paragraph
attributes are supported both for direct formatting and in styles.
· When formatting text manually paragraph attributes are applied to all paragraphs that
are at least partially selected, or to the paragraph in which the cursor is currently
located.
· Internally, Help & Manual handles all measurements in pixels. For maximum precision
working in pixels rather than inches or centimeters is strongly recommended. You can
change your measurement units setting globally in Tools > Customize > Editor > Ruler
Units 734 .
Keep lines Applying this attribute to a paragraph or a style will keep all of the lines
together: of a paragraph together at a page break. Don't use for body text – if
your paragraphs are large this setting will bump the entire paragraph
onto the next page, leaving an ugly gap!
Keep paragraph Keeps the paragraph with the next paragraph at a page break.
with next: Generally only used for headings. If you use empty paragraphs after
headings remember that you must apply this setting to both the
heading and the empty paragraph, otherwise it won't work.
Word wrap: If you disable this setting the lines of paragraphs will no longer
automatically wrap to the next line. It is normally only used for
formatting program code and other text where the ends of each line is
defined with a paragraph end mark. If you disable this in normal text
everything except the first line will disappear off the right margin of the
page.
Tip:
In paragraphs containing graphics instead of text you can also keep
the graphics on the same line by deselecting Word Wrap.
See also:
Text Formatting and Styles 228
Using indents 232
Tabs, indents and HTML 744
12.1.6.3 Format Borders and Background
These settings allow you to apply borders and colored backgrounds to paragraphs. Most of
its features should be familiar from word processing programs and pretty self-explanatory.
Exactly the same dialogs are displayed for formatting text manually 230 and for defining styles
237 . The only difference when you define a style is that your formatting is stored in the style
for reuse. All border and background attributes are supported both for direct formatting and
in styles.
· When you format text manually border and background attributes are applied to all
paragraphs that are at least partially selected, or to the paragraph in which the cursor
is currently located.
Dialog options:
Settings: These settings define the color and dimensions of the border and the
background. The Offset is the distance between the border and the
paragraph.
Preview: The buttons around the Preview window activate or deactivate the
border display for top / bottom / left / right.
Border style: You must select one of these styles to display borders. If None (the
default) is selected no borders will be displayed!
See also:
Text Formatting and Styles 228
These dialogs are for selecting and modifying the formatting of numbered and bulleted lists.
Just select a style from the list to apply the displayed style to the current paragraph or
paragraphs.
Although selecting numbered and bulleted lists is very simple using them
properly in Help & Manual requires a little more information. Please see
Numbered and bulleted lists 252 for details.
Restart numbering Select to restart the numbering of the current item or list with a
/ Start at: different number. You can also use this to reset the numbering of a
list to begin at 1.
Levels: Number of levels in the list. This is not active for bulleted lists, which
always only have one level.
Level Format: Formatting and style for the current level. Bulleted lists always only have
one level.
Number style: Selecting anything except Bullet here switches to a numbered list.
Select a different character to use for the bullet in the bulleted list. The
selected character will be displayed in the preview box on the right.
Levels: Number of levels in the list. This is not active for ordinary lists, which
always only have one level.
Level Format: Formatting and style for the current level. Ordinary numbered lists
always only have one level.
Number style: You can choose a variety of styles for your numbered list.
Experiment!
Number format: The format of the number displayed in the list. The variable <L1>
displays the list number and should not be deleted. Any other
characters you enter will be added to the number. The result is
displayed in the preview box on the right.
Start numbering Only active for lower levels of outline numbered lists (see below).
at:
Legal numbering Activates legal numbering style for outline numbered lists, with all the
style: list numbers at the left margin (see below).
Levels / Count: Number of levels in the outline numbered list style. You can change
the number of levels by adjusting the Count: value.
Level Format: Formatting and style for the current level. Select the level to modify
by clicking in the Levels box.
Number style: You can choose a variety of styles for your numbered list.
Experiment!
Number format: The format of the number displayed in the list. The variables <L1>,
<L2> etc. (for the levels) display the list numbers and should not be
deleted. Any other characters you enter will be added to the number.
The result is displayed in the preview box on the right.
Start numbering Resets the starting number of the current level. Only active for lower
at: levels of outline numbered lists.
Legal numbering Activates legal numbering style for outline numbered lists, with all the
style: list numbers at the left margin. Must be set separately for each level
of an outline numbered list!
See also:
Text Formatting and Styles 228
Numbered and bulleted lists 252
12.1.6.5 Edit Styles
This dialog contains all the settings for creating and editing styles. For full details on
creating, editing and using styles please see Text Formatting and Styles 228 .
Dialog options:
Style name: Name of the current style.
Based on style: The "parent" style of the current style. Styles inherit all attributes
that you do not explicitly changed from their parent style. You can
change the parent style by selecting a different style in this field.
Shortcut: The keyboard shortcut for selecting the style. To add a shortcut just
click in this field and press the key combination for the shortcut.
Deletes the current style. If the style has any sub-styles (child
styles) they will also be deleted (a warning is displayed). Not active
for Help & Manual's standard styles, which cannot be deleted.
Copies the styles definition set from another Help & Manual .HMX
project file.
This completely overwrites the current style definition
set, replacing it with the definitions of the other
project.
"View" tabs: You can define three sets of different settings for each style: One
for the appearance in the editor, one for electronic help formats
(HTML Help, Winhelp, Browser-based Help and eBooks) and one
for print formats (PDF, Print User Manual, Word RTF).
"Settings" buttons: These buttons display the dialogs for formatting the Font,
Paragraph and Borders & Backgrounds attributes of the current
style. The dialogs are exactly the same as the standard Format
Font 705 , Format Paragraph 706 and Format Borders & Backgrounds
708 dialogs.
Resets the current styles to the default settings. Always use this
before defining a text-only style 239 to make sure that it does not
include paragraph or border attributes.
See also:
Text Formatting and Styles 228
Dynamic Styles 746
12.1.6.6 Create Style from Selection
This option turns the current selection into a dynamic style that you can reuse. This feature
is very useful because it formatting text manually and then turning it into a style is much
easier than designing a style "from scratch" in the styles definition dialogs.
If no text is selected the function uses the attributes of the paragraph in which the cursor is
currently located, including the paragraph attributes and the text attributes at the current
cursor position.
Dialog options:
Create a new Define a completely new style using the current selection as a model.
style:
Change existing Redefine an existing style. The style assigned to the current selection
style: or cursor position is the default but you can select another style to
redefine.
New style name: Enter a new name or accept the name of the style you want to
redefine.
Based on style: Select a "parent" child to make the new or redefined style the child of
another style. If you select a paragraph style as the parent the new
style will also be a paragraph style.
Assign Assigns both the text and paragraph attributes of the current selection
paragraph to the new or redefined style.
attributes:
Opens the Edit Styles dialog for more detailed styles editing.
See also:
Text Formatting and Styles 228
Defining styles 240
12.1.6.7 Syntax Highlighting
This menu option applies highlights program code text to make it easier to read. A number
of programming languages are supported, and you can customize the highlighting styles for
each program language.
For more details see Formatting program source code 267 .
Format with The basic appearance of all text formatted with the Syntax Highlighting
style: function is controlled by the standard Code Example style. This is the
currently only style you can use for syntax highlighting.
Opens the Edit Styles dialog to edit the Code Example style.
Elements: Settings for defining the color and font styles of the various elements
highlighted by the function.
Load reserved Loads your own list of reserved words to be used by the highlighter for
words: the current language. Load the words from a plain ASCII file with one
reserved word per line.
Add list to If you select this your list of reserved words will be added to the
predefined: program's list. Otherwise your list will replace the program's list.
Reset defaults: Resets all settings for the current language to the default values. This
also replaces any reserved words you have loaded.
See also:
Formatting program source code 267
Lock Column Locks or unlocks the width of the selected column or columns.
Width: When column width is locked the column will not become wider
or narrower when the user resizes the viewer window on the
screen. Tables with a percentage width must have at least one
unlocked column.
Unmerge: Unmerges the selected cells and restores the table's original
row and column structure.
Split Cells: Divides the selected cell or cells into a larger number of cells
vertically (into columns) or horizontally (into rows).
See also:
Working with Tables 332
Topics and Tables 880
12.1.7.1 New Table / Table Properties
This dialog defines or changes the formatting, layout and appearance of entire tables and
selected parts of tables. It appears automatically when you create a new table. For details
on creating and using tables see Working with Tables 332 .
Printing
Table can split Tables can now split automatically at page boundaries for PDFs and
to next page: printed manuals generated with File > Print User Manual 666 . Page
breaks are possible inside table rows but not in rows containing nested
tables 343 .
Number of The heading rows option repeats the first x rows of the table at the top
heading rows: of the table when it is continued on the following page.
Table Size
Autosize: Creates a table that calculates its size on the basis of the contents of
its cells. The absolute width of the table in your output will depend on
how you adjust the width of the cells and the table itself and the
content you put in them.
Initially, an autosized table occupies the full available width of the
current paragraph (if the paragraph has indents the table will be
narrower than the page). You cannot adjust the width of an autosized
table until its cells contain content. After that you can adjust both the
width of the entire table and the width of the columns by dragging with
the mouse.
Note that when you do this it locks 334 the width of both columns
affected by the drag operation. This means that the column width is set
to an absolute value in pixels. You can unlock the column and make it
dynamic again by right-clicking in it and deactivating the Lock Column
Width option in the Table menu.
Size table to fit Creates a table that is permanently maximized to the width of the
on page: current paragraph (if the paragraph has indents the table will be
narrower than the page). This is exactly the same as sizing manually
and setting a width of 100%.
Tables sized with this option always occupy the entire available width
of the current paragraph or page. They can only be made narrower by
increasing the left and/or right indents of the paragraph.
The same applies for tables inside other tables: If paragraph
containing the table is indented the 100% value is the width of the
indented paragraph, otherwise it is the width of the cell containing the
table.
Size table Creates a table with a fixed width in percent or pixels, relative to the
manually: width of the current paragraph. Setting a value of 100% is exactly the
same as Size table to fit on page.
Here too, the percentage values are always relative to the paragraph
containing the table. If the paragraph is indented the value is a
percentage of the width of the indented paragraph; otherwise the value
is a percentage of the page width or the table cell width, if the table is
inserted inside another table.
Note that as in HTML tables, pixel values are "preferred values" rather
than being absolute. If you insert graphics or other objects that are
larger than these values the cell widths will be adjusted automatically
so that the objects fit, and the other cells will be made narrower
accordingly.
· Note that all automatic width adjustment features can only work if the width of at
least one of the table's columns is dynamic (i.e. has no set width).
· To set/reset click in a table column or select one or more columns. Then select
Table > Lock Column Width or right-click and select Table > Lock Column Width.
Background This allows you to use a graphics file as the background for your table.
picture: See Using background graphics 344 in the Working with Tables chapter
for details.
Cell Borders
These settings work just like the formatting parameters for borders and cell spacing in
HTML tables. In all settings a value of zero turns the property off (i.e. no borders).
Cell borders: This defines the width of borders around the cells inside the table.
Border around This defines the border around the edges of the table.
table:
Border style: This defines the appearance of the border. This is easier to see than
to describe – just try it out!
You can’t define different colors for individual cell borders. However, you can
achieve this by inserting a second table inside your main table. See Nested
tables 343 for details.
Cell spacing: This is the space between the border of one cell and the border of the
next cell. This is effectively like making a broader border between the
cells but it doesn't affect the width of any border lines you define
between the cells.
You can only define padding and spacing for the entire table. If you need
different settings for individual rows, columns or cells you can achieve this
by using nested tables 343 .
To apply these options to a single cell just click in the cell you want to format
before selecting Table Properties. You don’t need to drag to select a single
cell.
Cell Options
Note that adjusting the size of cells manually with the mouse automatically resets the
settings configured in this section.
Preferred This sets the target width of the selected cells/columns in pixels or
width: percent. Percent values are relative to the width of the table. If this is
set to 0 the automatic width is calculated as the table width divided by
the number of columns, unless graphics or other objects force different
widths for individual columns.
If you set the preferred width to a non-zero percent or pixel value the
editor will attempt to achieve the specified value but the widths will be
adjusted if it is not possible. The width of content such as graphics or
other objects always has priority. If you insert an image wider than the
preferred width the cell will be made wider so that the image fits, for
example.
Height at least: This is the minimum height of the cell/row. If it is 0 the height is
calculated automatically on the basis of the cell contents. If it has any
non-zero value the cell/row will be at least that high, and higher if
necessary to accommodate the content.
Vertical alignment
Top / Center: These options control the vertical positioning of text and other content
Bottom / within the selected cells. They are pretty self-explanatory.
Default:
See also:
Working with Tables 332
12.1.8 The Project Menu
The project menu only contains two options but it is still one of the most important menus in
Help & Manual. It contains the Project Properties section, which is the control center for your
current project.
Bookmarks Displays a list of the bookmarks 204 defined in your project. Selecting a
: bookmark in the list jumps to the topic containing the bookmark.
See also:
Project Properties 548
Comments and Bookmarks 204
12.1.8.1 Project Properties
This is the control center for your current project. All the configuration settings for the project
you are currently editing are stored here. For full details on the settings dialogs contained in
this section see Project Properties 548 .
The settings are organized in categories. The first two categories, Common Properties and
Help Windows, are general settings that affect your entire project. All the other categories
store the settings for specific output formats.
files you want to use and so on. Always check all these settings
before starting work on a project.
Help Windows: These settings configure and define the appearance of the help
viewers used to display electronic help formats. They can also be
used to define additional "help windows" with which you can display
individual topics with different styles and in external windows in some
help formats. See Help Windows 800 for detailed background
information on help windows and how they work.
Output format All the other groups of settings are used to configure how Help &
settings: Manual handles the various supported output formats for the current
project.
Copies the properties from another .HMX project file to the current
project. Only copies the properties for the section currently selected
in the Project Properties list. If you want to copy all the properties
from another project you must select each section one after another.
Warning: This function overwrites all the settings of the
current Project Properties section with the settings of the
external project!
See also:
Project Properties 548
12.1.8.2 Bookmarks
This option just displays a list of the bookmarks in your current project. You can jump to the
bookmarks by selecting them in the list. To create a new bookmark or comment select in
the Toolbar.
· See Comments and bookmarks 204 for more details on using this feature.
See also:
Comments and bookmarks 204
12.1.9 The Tools Menu
This menu provide direct access to a variety of tools included with Help & Manual, including
a complex graphics editing program, a powerful screenshot capture program and a separate
editor for designing the layout templates for your PDF files and printed manuals.
These tools are covered in more detail in the Tools Included with Help & Manual 615 chapter,
and several of them also have their own help files.
The Tools menu also provides access to the Customize 731 settings with which you can
modify Help & Manual to suit your personal needs and preferences. Most of the settings in
these dialogs are self-explanatory. For more details see Customizing Help & Manual 84 in
The User Interface.
Impict: 621 Help & Manual's graphics editing and screenshot enhancement
program. This is a complete separate graphics editing program.
It is designed specifically for producing high-quality screenshots
quickly and efficiently. Supports multiple layers so that you can
save all the objects you add to your screenshots and edit them
separately. Impict has its own separate help and documentation.
Print Manual This is the special editing program for creating and editing the
Designer: 622 print manual templates 468 that define the layout of your PDF
layout and printed manuals. It has its own separate help.
Help Context This is a special tool for managing and manipulating help
Tool: 624 context numbers. You can apply context numbers to topics that
don't have them, delete numbers, import numbers from map files
and export numbers. You can also automatically generate
missing topics from numbers and topic IDs in map files.
Repair and The name of this tool sounds scary but it is actually just a utility
Recover: 638 for reorganizing the internal database in your project file.
Occasionally operating system crashes and other problems can
mix up the internal references of the database. This utility
checks the project file for consistency and corrects any errors.
Customize: 731 Opens the Customize menu with which you can configure Help
& Manual 84 for your own personal needs and preferences.
See also:
Tools included with Help & Manual 615
This option starts Help & Manual 's integrated screenshot program, with which you can take
snapshots of your screen and program components for using in your help. Captures
windows, controls, menus, the entire screen and free areas and can also apply a variety of
effects.
For details on using this tool see Screen Capture 615 in Tools Included with Help & Manual.
Dialog options:
Window, Automatically identifies and captures windows, buttons and other
control or program elements and controls.
menu:
A free region of Captures all the contents of a selected rectangular region of the
the desktop: desktop.
A fixed size Captures a region of a predefined size. Define size with Width: and
region: Height: .
Zoom factor: Resizes the screenshot automatically if you select a value other than
100%.
Image shape: The shape of the captured image. Some of these shapes apply
effects, Automatic Shape finds fills the background of the image with
Background The color of the background around the captured image. You will
color: normally want to match to the color of your topic pages (usually white).
Add sparkle: Inserts a starburst effect at the mouse pointer tip. You can also apply
this without including the mouse pointer if you want.
Shadow Color: The color of the drop shadow. Black creates a normal grey shadow,
any other color will generally look pretty strange, but be our guest...
Shadow These three controls adjust the width, direction and blur intensity of the
properties: shadow. Again, this is easier to see than to describe. Try it out and
you'll see what we mean.
See also:
Screen Capture 615 (Instructions)
12.1.9.2 Reports
This tool generates detailed reports on your project that can be used for a wide range of
purposes, including documentation, providing your programmers with lists of topic IDs for
their help calls, checking project status, locating dead links, finding missing images and
unused images and so on.
For full details on how to generate reports see the Project Reports Tool 618 in Tools Included
with Help & Manual.
Note that all options that exclude topics will usually reduce the accuracy of
link reporting (links to topics that are not included in the report will not be
checked).
Dialog options:
Report type: You can generate four different report types, with increasing levels of
detail. See below 728 for more detailed descriptions.
Sort order: How you want your topics to be sorted in the report. Note that only the
Table of Contents sort option also includes chapters without text. All
the other options (Topic ID, Context Number, Modification Date) only
include topics that actually have contents.
If you sort by context number only those topics that actually
have context numbers will be included in the report!
Topics with Include only topics with specific window types 177 in the report.
window:
Topics with Include only topics with a specific editing status 225 in the report.
status:
Include options: Include topics on the basis of predefined and user-defined include
options. This works in the same way as include options in conditional
output 452 .
View in external Automatically saves the report as an HTML file and opens it in your
browser: default web browser. You may find that the integrated Help & Manual
report viewer is actually more practical for normal viewing as it is
optimized for displaying reports. (You can save the report as an HTML
File name: Name and location of the HTML file for saving the report. Use the
browse button to choose the location.
Report types:
Short project Simple list of all topics in your project with status, caption (i.e. the TOC
report: title), topic IDs, help context numbers, builds in which the topics are
included and date last edited. The report also includes a summary of
the number of topics and keywords in your project.
This is a practical format for providing your programmers with a list of
topic IDs and context numbers for their calls.
Extended Also includes each topic's keywords and help window and a more
project report: detailed project summary at the end with a list of all the images used in
the project.
Missing images are shown in red.
Long project Also includes lists of the images used in each topic, lists of the links in
report: each topic with their targets (including topic links, Internet links, file
links and script links) and the first lines of the text with which the topic
begins. As in the extended report the summary includes a list of all the
images used in the project
Missing images and dead links are shown in red.
Full project Same as the Long Report but also includes an additional full list of
report including images used in the project with references to the topics in which each
image image is used. In addition to this there is also a list of images found in
references: the project's image folders that are not used in the project (useful for
tidying up your project folders).
Missing images and dead links are shown in red.
See also:
Project Reports Tool 618 (Instructions)
12.1.9.2.1 The Report Viewer
The integrated Report Viewer is optimized for displaying the project reports generated by
Help & Manual's Reports tool. Its controls are very simple.
· For more powerful printing and selection controls display the report in your web
browser 620 .
Copy : Copies selected text to the Windows clipboard. Only works if text is
selected.
Print: Outputs the report to the printer.
Save: 'Saves the report to an HTML file.
See also:
By default the Image Editor option in the Tools menu starts the Impict graphics editing
program included with Help & Manual. You can change this to a different graphics editing
program in Tools > Customize > General.
The Impict program has its own separate help and documentation.
· If you select an image in the Help & Manual editor before selecting Image Editor the
corresponding graphics file will be loaded into the graphics editing program
automatically.
See also:
The Impict Screenshot Editor 621
The Print Manual Designer is another separate program included with Help & Manual. It is
used for editing the template files that define the layout and appearance of the PDF files
and printed manuals generated from your projects.
The Print Manual Designer program has its own separate help and documentation.
See also:
Print Manual Designer 622
Using PDF templates 543
12.1.9.5 Help Context Tool
The Help Context Tool is a wizard integrated in the main Help & Manual program for
managing the help context numbers 212 in your project. You can use it to assign, delete,
import and export help context numbers in batch mode for your entire project. In addition to
this you can also use the tool to automatically generate context help topics from a map file
containing a list of topic IDs and context numbers.
The screens in the Help Context Tool are documented in detail in The Help Context Tool 624
in the Tools Included with Help & Manual chapter.
See also:
The Help Context Tool 624
12.1.9.6 Spell Check
The Spell Check option in the Tools menu provides access to Help & Manual's spell checker
and its configuration options. Full details of these options and the configuration settings are
can be found in The Spell Checker 629 in the Tools Included with Help & Manual chapter.
· Note that Help & Manual 4 now supports live spell checking that marks incorrectly-
spelled words as you type. Just select Spell Check > Configure Spell Checker and
activate the Check spelling as you type option.
See also:
The Spell Checker 629
12.1.9.7 Repair and Recover
Repair and Recover is a tool that analyzes Help & Manual project files and repairs them if
necessary, for example after a Windows crash. It is presented as a simple wizard with a
series of screens.
The screens in the Repair and Recover tool are documented in detail in The Repair and
Recover Tool 638 in the Tools Included with Help & Manual chapter.
See also:
The Repair and Recover Tool 638
12.1.9.8 Customize
This menu contains the settings for configuring how Help & Manual itself works. These
settings are all saved with the program, as opposed to the settings in Project > Project
Properties 548 which are all saved with individual projects.
It is a good idea to check through these settings before you start working with Help &
Manual. You may be surprised at all the things you can adjust and configure!
See also:
Project Properties 548
Customizing Help & Manual 84
12.1.9.8.1 Customize - General
Display startup Displays an additional help dialog screen when you start the Help &
dialog: Manual.
Automatically Checks for the availability of a more recent version of Help & Manual
check for updates: . New versions are published regularly, both to provide new and
improved functions and to correct issues reported by users.
Note that this only works if you are connected to the Internet. Also, if
you are behind a firewall you may need to configure your firewall
settings give the Help & Manual program helpman.exe permission to
access the Internet.
What does checking "regularly" mean in this option? Here's what the
programmer has to say about it:
It means that it checks for updates not every time you start
Show animation Switches on some "eye candy" effects, animating the splash screen
for splash screen displayed when you start the program and the way sub-chapters
and table of expand and collapse in the TOC pane.
contents:
Show mouse-over Recommended, very useful! When this is activated little tooltip
hints for buttons popups are displayed when you position the mouse cursor over
and objects in toolbar buttons and objects in the editor. These popups contain a lot
text: of useful information for your project. They are like an extra status
bar for links, graphics etc.
Automatically Also recommended, particularly if you are one of those authors who
back up project concentrate so much on their project that they forget to save their
file every xx work regularly! This function creates a backup copy of your project
minutes: file in the project directory at the specified intervals. The backup files
have the extension .~HMX (to make them readable just rename to .
HMX).
Open last help Automatically loads the last project you edited when you start Help &
project on start: Manual.
Save window Activating this saves different sets of program windows positions for
positions each monitor size and resolution that you use. This can be useful if
separately for you have multiple monitors with different sizes and resolutions – for
multiple example if you have a large monitor connected to a laptop docking
monitors: station.
Empty Clipboard Automatically clears the Windows Clipboard when you exit the
when Help & program.
Manual closes:
Default image By default Help & Manual starts the integrated Impict graphics
editor: editing program when you click on graphic in the Help & Manual
editor and then select in the Toolbar. This setting allows you to
change this to a different graphics editing program.
See also:
Customizing Help & Manual 84
Toolbars: Select the check boxes next to the toolbar names to turn them on or
off. Select the toolbar name
Visible Buttons: Shows the available buttons for the toolbar selected in the Toolbars:
list. Selecting their check boxes adds them to the toolbar.
Toolbar & The toolbars and menus can be displayed in three different styles.
Menu Style:
Use large Increases the size of the Toolbar icons for better visibility.
toolbar icons:
See also:
Project Properties 548
Customizing Help & Manual 84
12.1.9.8.3 Customize - Shortcuts
Just click on the option you want to assign a new or different shortcut to, then select the
shortcut in the Current Shortcut: fields.
Current These two fields select the letter (right) and the control key (left).
shortcut: Select the letter key first for options that do not yet have a shortcut
assigned.
Resets all the shortcuts to the default settings that Help & Manual has
when it is freshly installed.
See also:
Project Properties 548
Customizing Help & Manual 84
12.1.9.8.4 Customize - Editor
Ruler units: You can select pixels, inches, centimeters or points. Pixels is
recommended for maximum accuracy – Help & Manual handles
all sizes internally in pixels and all other units must be converted.
Show paragraph and Makes tabs and paragraph end marks visible in the editor. This
text marks in editor: can be useful for identifying formatting problems. Can also be
switched on and off with in the Toolbar.
Custom DPI settings Changes the font size used to display text in the editor pane. This
for text editor: does not affect your output, it is only to make text easier to read
while you are working. It can also help you to get an idea of what
your text will look like on computers with larger fonts set in
Windows.
If you have a mouse with a mouse wheel you can
change this setting quickly by holding down the Ctrl
key and turning the mouse wheel.
Show strong table Uses darker and slightly thicker grid lines to show the borders of
grid lines in edit tables. Can be useful to make tables more visible on some
mode: monitors.
Automatically detect When this setting is active Internet URLs and email addresses will
URLs while typing automatically be turned into Internet links 298 as you type.
text:
Auto-correct blanks Topic IDs containing blanks are invalid so we strongly recommend
in topic IDs: leaving this option active.
Apply "Under Automatically displays new topics with a yellow highlight in the
Construction" status TOC, indicating that they are "under construction". See Changing
to new topics: the topic status 225 .
After changes set Automatically change the topic status to the value you specify
status to: after editing changes have been made.
Do NOT modify the This option prevents topics from being marked as 'changed' when
topic date/time you edit them. You can use it to speed up test compiles while
stamp: working because it prevents changed topics from being
regenerated.
For example, you could activate this option before doing a spell
check of your project. Then the topics containing the minor spell
check "changes" will not be identified as changed and you won't
have to recompile them all.
Use with caution! Don't use this option when you are
generating your final output!
See also:
Project Properties 548
Customizing Help & Manual 84
Default folder: If you set a path to a folder here this is automatically used as the
default folder every time you run Help & Manual. This can be useful if
you spend a long time working on the same project.
Folder for By default Help & Manual stores its temporary copies of your project
temporary files: file in the folder defined by the Windows TEMP variable. This is
normally deep down in the Documents and Settings directory, so it is a
good idea to set a more accessible folder for this.
If you have more than one hard drive in your system you can use a
folder on a different hard drive for your temporary files. This radically
increases data security because it is extremely unlikely that two hard
drives will ever both fail at exactly the same time.
See also:
Project Properties 548
Customizing Help & Manual 84
12.1.9.8.6 Customize - Compilers
found automatically during installation. Only change them if you really need to.
Messages It is a good idea to leave all these messages activated as they make
displayed during it much easier to identify problems when you are compiling.
compilation:
Help Compilers: The paths to the Microsoft compilers for Winhelp, HTML Help and
Visual Studio Help / MS Help 2.0. You must have these compilers
installed to be able to output your projects to these formats!
Note that the MS Help 2.0 compiler (Visual Studio Help) support is for
programmers only. This compiler can be downloaded from the
Microsoft website with the Visual Studio Help Integration Kit (VSHIK),
but it can only be used in combination with the Visual Studio .NET
package. You do not need this help format if you don't program with
this package – it is only used for documenting programming
components added to VS.NET and it is irrelevant for all other
purposes.
See also:
Project Properties 548
Customizing Help & Manual 84
12.1.9.8.7 Customize - PDF Export
PDF output anomalies are often caused by bugs in proprietary drivers from printer
manufacturers. If you experience problems try installing a standard driver for a common
printer from the Windows CD and selecting it here. This doesn't have to be a driver for a
printer that is physically connected to your computer.
Problems with the reference driver used for generating PDF output can also result in
incorrect displays for special characters and international languages. However, if you
experience problems like this first check the language settings 551 of your project to make
sure that everything is set up correctly. If you still have problems in your PDF output
after making sure that your language settings are correct you can try using a different
reference printer driver.
Use screen as Uses the computer's screen driver as the reference device for PDF
reference device: output. Help & Manual defaults to this setting if you have no printer
installed. Otherwise using this setting is not generally
recommended.
Use default Uses the default printer driver for PDF output. Leave this setting
reference device: selected if your PDF output is OK.
Use this printer Use this to select an alternative printer driver to use for PDF output.
driver as a Click on the browse button to select the printer.
reference device:
See also:
Project Properties 548
Customizing Help & Manual 84
12.1.10 The Help Menu
The Help menu provides access to this help file (Contents), which can also be accessed at
any time by pressing the F1 key. In addition, this menu also contains a number of links to
specific important information and how-to topics in the help and some useful links to the EC
Software website. You can check whether you are using the latest version of Help & Manual.
Index:
Displays this help file.
The editor is where you do most of your work in Help & Manual
This section provides a brief overview of the basic editing functions, along with a couple of
tips for operations that are a little different from normal word processors.
See also:
The User Interface 79
12.2.1 The paragraph end mark
If you're used to working with a word processor like MS Word you will find that editing in
Help & Manual is slightly different. It's just as powerful, but the way it stores text formatting is
different, and you need to understand this.
When you copy text all its formatting goes with it!
You will see this, for example, if you copy a passage of text from one paragraph to
another. If you then put your cursor in the copied text and look in the style selector 245 in
the toolbar you will find that it still has the attributes of the source paragraph. (You can
prevent this behavior by using Edit > Paste Text Only 680 or Ctrl+Shift+V.)
· To edit a topic just select it in the TOC. It is then displayed in the Topic Editor on the
right, where you can edit it.
See also:
The User Interface 79
Creating and Editing Topics 171
Managing Topics in the TOC 209
12.2.3 Editing in the Help Text tab
The Help Text tab contains the editor where you enter and edit the topics in your project.
Select a topic in the TOC list on the left, then just click in the Help Text tab and start editing.
The features in the editor are very similar to those in a modern word processor.
· For details see the topics in the Creating and Editing Topics 171 section.
See also:
The User Interface 79
Creating and Editing Topics 171
Managing Topics in the TOC 209
12.2.4 Topic Options tab
The Topic Options tab is located directly behind the editor and provides access to the index
keywords entry field for the current topic and a number of other settings that are important
for integrating your topics in your help system and accessing them from your applications.
Keywords added to topics in the Topic Options tab are displayed immediately in the real-
time index which is displayed in the Index tab 744 .
Apart from the keyword entry field this tab is not so relevant for the editing functions. For
more details on the options and features available here see Topic Options 81 in The User
Interface.
See also:
The User Interface 79
Creating and Editing Topics 171
Managing Topics in the TOC 209
12.2.5 The Index tab
The Index tab behind the Table of Contents pane provides direct interactive access to the
finished index for your project, which is generated in real time. You can view and edit the
index directly while you are working on topics, and you can see how keywords added to
topics in the Topic Options tab 743 are integrated in the index as soon as they are added.
You can edit the index entries directly by right-clicking on them and selecting the Edit option
in the popup menu. For details see Keywords and Indexes 369 in the Basic Working
Procedures section.
See also:
The User Interface 79
Keywords and Indexes 369
12.3 Formatting
This section contains some useful background information on formatting text in the Help &
Manual editor.
See also:
Writing and formatting text 179
12.3.1 Tabs, indents and HTML
Tab stops and indents as used in word processors are unknown in HTML. You should thus
always avoid using tab stops in any topics intended for output to HTML-based formats, i.e.
HTML Help, Browser-based Help and eBooks.
Any attempts to use spaces to create indented effects in HTML-based output will also fail
miserably. This is because HTML always ignores multiple spaces: It doesn't matter whether
you enter a single space or 100 spaces, the result will always be a single space.
This might make you think that you can't use indents at all for HTML-based output but
this is not the case. You can use indented paragraphs, you just shouldn't try to use tabs
or spaces to make indents. You should always use Help & Manual's paragraph indenting
232 functions.
As mentioned in the example, this also works if the beginning of the first line is indented
from the left margin. This will also be converted to a table structure that will be stable in
HTML-based output.
See also:
Using indents 232
See also:
Text Formatting and Styles 228 (how-to instructions)
12.4.1 Why use dynamic styles?
The advantages of dynamic styles are so radical and far-reaching that you will never want to
go back to manual formatting as soon as you have got used to the basic principles. They will
speed up your work, make it more efficient and make your finished product look more
attractive and professional.
likely to make mistakes. Also, when you format manually you will often apply slightly
different formatting to text passages that are supposed to look the same, and your work
will look messy as a result.
Suppose your client or your boss says that they want to use Verdana 16 point instead of
Times Roman 14 point in the topic headers. With styles all you need to do is change the
definition of the heading style, which takes a couple of seconds, and all the headers in
your entire project are updated instantly.
You can think of a style as a named formatting definition for either text or an entire
paragraph. When you use styles you have a separate style for every different type of
paragraph and text in your project. For example, normal body text paragraphs are
normally formatted with a style called Normal, and the topic headers are normally
formatted with a style called Heading1. You can define as many other styles as you like
for other purposes.
Instant formatting:
Once you get the hang of it working with styles is much faster than using manual
formatting. To format an entire paragraph you just select the style in the menu, or press
the hotkey combination for the style, and all the formatting is applied immediately. You
don't even have to select the paragraph. And all new text and paragraphs you type from
that point will also have the selected style until you change it.
See also:
Text Formatting and Styles 228 (how-to instructions)
Style definitions:
A style is a set of formatting definitions with a name that makes it possible for you to
identify and select it. It can include all the formatting attributes that you can apply to text
and paragraphs with the Font, Paragraph and Borders and Backgrounds options in the
Format menu.
For convenience, you can create two kinds of styles: Text styles, which only define font
formatting attributes, and paragraph styles, which define all available attributes.
Similarly, styles can also be linked to either entire paragraphs or individual passages of
text. These are the two "units" that are used in connection with styles. (See Paragraph
and text styles 753 for details.)
Dynamic linking:
A set of formatting definitions is no good on its own, of course. Styles are useful because
you can link them to paragraphs and text in your project. As soon as you apply a style 234
to a paragraph or a passage of text the style definition is dynamically linked to that
paragraph or that text. All the style attributes are applied to the paragraph or the text
automatically, and when the cursor is in the paragraph or the text the name of the style is
displayed in the style selector in the Toolbar:
Dynamic inheritance:
This concept is a little more difficult to understand. Most styles are based on other styles
– this makes defining styles easier, because you often have groups of quite similar
styles. In addition to this it also makes styles much more powerful. Here's why:
We refer to "parent" and "child" styles. Just as a human child inherits some genes from
its parents and has some unique characteristics of its own, styles in Help & Manual also
inherit some properties from their parents and have some properties of their own.
In styles, however, inheritance is dynamic, in exactly the same way that linking to the text
formatted by styles is dynamic. All attributes that you don't change in the child styles are
shared with the parent style. If you change an attribute in the parent style the change is
immediately reflected in both the child style and all paragraphs and/or text formatted
See also:
Text Formatting and Styles 228 (how-to instructions)
About inheritance in styles 749
12.4.3 About inheritance in styles
Alongside dynamic linking 748 , dynamic inheritance is the second feature that gives dynamic
styles their great flexibility and power. If you understand dynamic inheritance you will be able
to use and organize your styles much more efficiently, so please do study this topic carefully!
explanations easier; in reality there are many more attributes, and each style could also
have multiple children on each level instead of just one.
size has been changed there, thus stopping inheritance for that attribute.
The same applies to the font weight in the two Heading styles. In Heading1 the font
weight has been changed to bold, so changes to the font weight in Normal will not
have any effect on Heading1 or any of its children. Heading2 inherits the font weight
attribute from Heading1, so if you edit Heading1 and change its weight to non-bold
this change will be inherited by Heading2.
This illustrates the most important characteristic of inheritance for changed attributes:
Changing an attribute turns off inheritance from the parent for that attribute. At the
same time, however, it starts a new inheritance tree for the same attribute: when you
create new styles based on the modified style the new setting is inherited by the new
styles.
Stopping inheritance:
Precisely because dynamic inheritance is so powerful there may be times when you want
to stop it. There are situations when you want to make absolutely certain that a style will
never be changed when you make changes to another style.
Doing this is very simple: Just don't base your new style on another style: When you
create a new style 237 select (None) in the Based on Style: field for the style definition. You
can also change this later if you want. See Editing styles 244 for details.
The standard Code Example style used for formatting program code with the syntax
highlighter 267 is an example of this. This style does not have a parent because its format
must always be the same – you don't want any other styles to be able to change its font,
size or paragraph formatting.
See also:
Style organization strategies 754
Text Formatting and Styles 228 (how-to instructions)
12.4.4 The standard styles
If you look at the styles list in the styles editing dialog you will notice that some styles are
displayed in bold with the words (Standard Style) in brackets after the style name. These
styles are special styles that Help & Manual always expects to find because it uses them for
specific purposes. You can edit them but you cannot change their names and you cannot
delete them.
Code This style is automatically applied to all program code formatted with the
Example: Syntax Highlighter 267 . Unlike most other styles it is not based on Normal,
because you don't want its appearance to change when you change the
formatting of the rest of your project.
Comment: This style defines the appearance of the comments 204 you can enter in
your project. This style is quite limited compared to most other styles.
See Image caption and comment styles 249 for details.
Heading1: This is the style used for the topic header displayed in the box above the
editing area. It's a good idea to use it as the parent for a family of
heading styles for use in the rest of your project.
Image This style is applied to the captions of graphics 314 inserted in your topics.
Caption: Like the Comment style it is quite limited: See Image caption and
comment styles 249 for details.
Notes: This style is reserved for function that may be added to Help & Manual in
a future release. It can be ignored for the time being. (No, we're not
saying what it's going to be yet...)
See also:
Text Formatting and Styles 228 (how-to instructions)
12.4.5 Paragraph and text styles
Help & Manual supports two different kinds of styles, paragraph styles and text styles. As
their names suggest, paragraph styles are for formatting entire paragraphs, text styles are
for formatting text only. See Defining styles 237 and Formatting text with styles 234 and for
details on how to define and use paragraph and text styles.
The two paragraphs above are formatted with a paragraph style that defines their base
font, the hanging indent and the general indent from the left margin. The texts Paragraph
styles: and Text styles: on the left (and also in this explanation) are formatted with a text
style that only defines the font, font size and and font weight (Times New Roman, bold
and 11 points).
See also:
Text Formatting and Styles 228 (how-to instructions)
Defining styles 237
Editing styles 243
About inheritance in styles 749
12.4.6 Style organization strategies
This section describes some basic principles that will help you to use styles more efficiently.
Once you understand styles the way you use them is also a question of your personal
working preferences. For example, some people prefer to have a small, more manageable
set of styles and pay for this convenience with a little more manual formatting work. Others
prefer to have a large and almost complete set of styles that allows them to control virtually
all their formatting by editing styles.
Many styles:
If you want to control all your formatting with styles you will need quite a large
number of styles for each project. Most of these styles will not be unique, they will be
variants of other styles. For example you will probably want to have several variants
of the Normal style used for standard paragraphs with indents and other
modifications.
This help file uses this approach, and it has a set of over fifty styles. Here too, the
great majority of these styles are variants of basic styles. For example there is a
whole family of body text styles for indented lists with different left indents and
hanging indents, and a matching family of headline styles with indents to match the
body text styles.
Few styles:
The "few styles" approach uses exactly the opposite strategy. Here you would use a
single style for each basic paragraph type, heading type and so on. With this strategy
you don't create any variants of these styles: If you want to use a variant, for
example with an indent, you must then apply the indent manually while you are
writing and editing your topics.
This approach results in a much smaller list of styles that is easier to manage. It
works if you are quite clear about what formatting you are going to apply manually.
However, you must really be absolutely sure that all the manual formatting you apply
are things you are not going to change. In the case of indents, for example, this is
generally a safe assumption if you are also sure that you are not going to change
font sizes.
You can still make global changes to your styles when you use this method, but any
manual formatting you have applied will not be changed when you change the style
definitions. (Manual formatting always has priority over style formatting.)
Personally I still find that the "many styles" approach allows me to work more quickly on
balance because I switch between styles quite frequently and applying a style is much
faster than adjusting indents and other attributes correctly every time. If I have a style for
every variant I don't need to worry about getting the settings right when I apply manual
formatting. But this is really a questions of personal preference; many authors prefer the
"few styles" approach and have just as valid arguments in its favor.
Style families
No matter whether you use many or few styles it is always advisable to organize your
styles in "families", both by name and by inheritance 749 .
my guest...
Using hotkeys
Last but not least, don't forget to assign hotkeys (keyboard shortcuts) to your frequently-
used styles! If you spend any amount of time working with Help & Manual (and if you're
writing help you will) this can radically speed up your work.
See also:
Text Formatting and Styles 228 (how-to instructions)
this:
· You can create links in your text that execute Winhelp macros or JavaScript code 302 in
the appropriate output formats. These links can be inserted both in the text 302 of your
topics and in hotspots in graphics 321 .
· You can enter inline HTML code 311 in your topics that will be inserted in your output
exactly as you wrote it, without any changes. (HTML-based output formats only, of
course.) This code can include anything supported by HTML, including scripts.
· You can manually edit the HTML templates 475 that are used to generate the topic
pages in HTML-based output formats.
You need to be familiar with HTML, scripting and Winhelp macros to use these features. It is
assumed that you know what you are doing and the code you enter is entirely your
responsibility. It is not corrected, parsed or syntax-checked by Help & Manual. The only
exceptions are some graphic file references in your HTML topic templates, which are parsed
and exported 832 with your output.
The topics in this section provide some extra background information that will help you to
use these features more effectively.
· Edit the HTML template for your topics and manually add the script with the
functions to the <HEAD> section of the template. Note that this will include the script
code in every topic page, even those pages where the functions are not needed.
(See About inline HTML code 762 for details on how to avoid this problem.)
· Insert the script code containing the functions at the beginning of the topic
containing the link with the Insert > Plain HTML Code 311 function. If you use this
method the code will only be available in the topic where you insert it. Note also
that this will insert the code between the <BODY> tags of the topic page – this will
work in most cases but since scripts should generally be in the <HEAD> section you
may want to use one of the other methods.
That is just a simple example. Here is a more complex piece of JavaScript as entered in
the Script: entry box (this example opens a popup window):
javascript:window.open('http://www.ec-software.com/helphtml/index.html?whatsnew.
htm',
'PopupWindow','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=y
es,
scrollbars=1,width=600,height=600,left=0,top=0');
The output generated from this script would look like this:
<a href="
javascript:window.open('http://www.ec-software.com/helphtml/index.html?whatsnew.
htm',
'PopupWindow','toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=y
es,
scrollbars=1,width=600,height=600,left=0,top=0');">Your Link Caption</a>
<a href="javascript:void(0);"
onmouseover="return overlib('Popup text.', STICKY, MOUSEOFF);"
onmouseout="return nd();">Display Overlib Popup</a>
All you need to do to achieve this is copy the entire link shown above into the Script:
field, leaving out the <a href=" at the beginning and the ">Display Overlib
Popup</a> at the end. For the above example you would first enter Display Overlib
Popup in the Caption: field and the following code in the Script: field:
javascript:void(0);"
onmouseover="return overlib('Popup text.', STICKY, MOUSEOFF);"
onmouseout="return nd();
See also:
Inserting script and macro links 302
Inserting plain HTML code 311
About inline HTML code 761
Using HTML Templates 475
These macros are translated because their Winhelp syntax is much easier to use than
the complex HTML code needed to use the HTML Help ActiveX object. This is
particularly useful when you are using A-Keywords to build automated See Also.. lists
and links between help files in modular help systems.
If you have upgraded from Help & Manual 3 you may be wondering what has happened
to the ExecFile() Winhelp macro, which used to be translated in HTML Help. This is no
longer necessary because you can now use file links 300 instead, which produce the same
result much more efficiently.
· For details see Inserting script and macro links 303 and Using A-keywords 382 .
· Note that only keywords are supported as arguments in the ALink and KLink macros
when they are used in HTML Help. All other arguments are ignored.
See also:
Inserting file links 300
Inserting script and macro links 302
Using A-keywords 382
12.5.3 About inline HTML code
The Insert > Plain HTML Code 311 function allows you to include plain HTML code at any
point in your topics and export it unchanged to all HTML-based output formats (HTML Help,
Browser-based HTML, eBooks and Visual Studio Help/MS Help 2.0).
See also:
Inserting script and macro links 302
About JavaScript Links 758
Inserting plain HTML code 311
Using HTML Templates 475
Winhelp: 768 The predecessor of HTML Help. Consists of separate help (.HLP) and
contents (.CNT) files. Still supported by all Windows platforms but
navigation is less advanced and intuitive and appearance is not as
slick as HTML Help. It is now obsolete but full support is included for
backward compatibility.
Browser- An emulation of the HTML Help interface generated by Help & Manual
based Help: 771 and designed for use on the Web and intranets. Complete with a
dynamic Table of Contents pane, keyword index and full-text search.
Consists of a directory containing a large number of HTML files,
graphics files and the files needed to display the Table of Contents
etc.
eBooks: 773 This proprietary Help & Manual format packs your entire project into a
single .EXE file with an integrated viewer program that can be
displayed on any Windows computer, from Windows 95 to XP, without
any additional software. This format also provides an emulation of the
familiar HTML Help Viewer layout so that all users will be able to use it
intuitively without additional explanation.
Adobe PDF: 774 Your project can also be output as a fully-formatted and full-featured
PDF file that can be displayed on any computer with a PDF reader.
Ideal for providing manuals that users can print themselves, either on
CDs or for download.
Printed The Print User Manual feature (in the File menu) generates a
manuals: 776 temporary PDF file in the background and outputs it to your printer.
Also supports booklet format (multiple pages per sheet) and duplex
printing.
Visual Studio This special format is also known as MS Help 2.0. It is provided for
Help: 777 programmers who need to use MS Help 2.0 to document projects in
Visual Studio .NET. It is not documented extensively in the help
because Microsoft has not released it for general use under Windows.
This format is irrelevant for normal application documentation.
For details see Visual Studio Help 527 in the More Advanced Procedures
section and the documentation of the MS Visual Studio .NET package.
(If you don't have this package you don't need and cannot use Visual
Studio Help.)
XML / XLIFF: This format is used for translation of help projects into other
778 languages. It exports your entire project to an XML file that can be
edited by a translator who does not have Help & Manual. You can then
re-import the translated XML document into Help & Manual, preserving
all the formatting and data of the original project.
Longhorn Also known as Windows Vista Help. This format is not yet
Help: 779 implemented because it has not yet been released. According to
Microsoft, Longhorn Help will be the successor to HTML Help as the
standard help format for Windows applications. Longhorn Help will
probably be released with the new "Longhorn" version of Windows,
which is currently scheduled to be launched at some time in 2006.
Visit the MSDN website for background information and the latest
news on Longhorn Help.
Typical use: Local online help for applications installed on the user's local
computer
Table of Yes. Integrated in the .CHM file and always visible in the viewer.
contents: Excellent, immediately intuitive navigation for the user.
Popups: Yes, both in the help viewer and for context-sensitive help. Natively,
HTML Help supports text-only popups without formatting or
graphics. Help & Manual can also produce dual-mode HTML Help
436 , in which the popups are output to a classic Winhelp .HLP file
Multimedia: Flash animations and all supported video formats are supported.
However, support for playing the formats used must also be
installed on the user's computer. For example, if you use a DiVX
video don't expect it to be playable on all user machines!
Printable by The Print function of HTML Help is very limited. The help viewer
user: can print topics and chapters but each topic is printed on a separate
page.
Pros: Single file containing all topics, graphics and the table of contents.
More attractive, modern appearance than classic Winhelp. Intuitive,
directory tree style table of contents that is always visible to the
user. Flexible formatting with HTML (in Help & Manual you have full
control over your topic pages with HTML templates 475 ), including
the ability to add functions with JavaScript etc. by adding your own
code to topics 311 and templates 475 .The HTML base makes it easy to
produce a browser-based version for the web that looks almost
identical to the HTML Help version.
Cons: Popup topics are limited to plain text in native mode but this
restriction can be solved in Help & Manual with dual-mode help 436 .
The HTML Help viewer is not pre-installed on the original versions
of Windows 95 and NT4 but most users of these systems have now
updated and this issue is becoming less and less relevant. You may
want to deploy the redistributable HTML Help update package 888
from Microsoft for the tiny minority of users who do not have it
installed. The Viewer is based on a subset of MS Internet Explorer,
See also:
HTML Help 394 (Configuring Your Output)
HTML Help 565 (Project Properties)
12.6.1.1 HTML Help project files
When you compile your project to HTML Help Help & Manual creates a temporary directory
called \~tmpchm in your project directory (this is the directory containing your .HMX project
file). It then outputs all the files needed by the Microsoft HTML Help compiler to this
directory. These files include all the standard HTML Help project files that you would create
if you were producing HTML Help manually with HTML Help Workshop.
Winhelp was the original help format introduced with Windows 3.1 in the 1980s and then
improved slightly for Windows 95 and later. Like HTML Help its primary purpose is to provide
local help for applications installed on the user's computer.
This format is still widely used and is supported by all Windows versions to date, including
Windows XP. This and its fully-formatted popups are its only advantages, however, and in
the current environment support for HTML Help is effectively just as universal as for
Winhelp.
Navigation in Winhelp is counter-intuitive (you cannot view a topic and the table of contents
at the same time). Winhelp is RTF-based and formatting is not as flexible as HTML Help,
and it is difficult to produce a Winhelp help file that matches the appearance of modern
applications. Generally, a Winhelp file will reflect poorly on your application. Only use this
format if you absolutely must.
chapters with text you can use Help & Manual's conditional output
features 451 to create alternative topic and chapter versions for
Winhelp and the other formats.
Complex tables: Winhelp only includes extremely limited support for tables. You can
only use very simple tables to arrange items in the topic page.
Table borders: Table borders are not supported by Winhelp and will be invisible if
you define them.
Nested tables: Nested tables are not supported and will generate compiler errors
in Winhelp.
Backgrounds and Winhelp has no support at all for background colors or borders.
borders: This applies to text, paragraphs and tables.
Superscript/ Winhelp does not support superscript, subscript or any other non-
subscript: standard text decorations.
Format: One .HLP file for the help and a separate .CNT file for the TOC
Platforms: 32-bit versions of Windows 32 bit. The old 16-bit version of Winhelp
has serious compatibility problems and is no longer supported by
Help & Manual. This is not a problem because 16-bit Winhelp is
only relevant for Windows 3.0.
Typical use: Local online help for applications installed on the user's local
computer
Popups: Yes, fully-formatted popups with graphics, both in the help viewer
and for context-sensitive help. In Winhelp popups can also contain
hyperlinks
Printable by Not really. The Winhelp viewer will only print single topics. Poor
user: graphics print quality.
Pros: Compact file format with strong compression, all graphics are
packed in the .HLP file, just as in HTML Help. Classic Winhelp is
still widely used but fewer and fewer users are now familiar with it.
Supported by virtually all Windows application development tools,
easy to integrate with applications.
See also:
Winhelp 397 (Configuring Your Output)
Winhelp 575 (Project Properties)
12.6.2.1 Winhelp project files
When you compile your project to Winhelp Help & Manual creates a temporary directory
called \~tmphlp in your project directory (this is the directory containing your .HMX project
file). It then outputs all the files needed by the Microsoft Winhelp compiler to this directory.
These files include all the standard Winhelp project files that you would create if you were
producing HTML Help manually with MS Word and Help Workshop.
Format: A collection of HTML, graphics and other files in a directory, just like
a website (it is a website)
Platforms: All major computer platforms and browsers, including Mac and
Linux
Typical use: Online help on the web or on local intranets where the use of HTML
Help is not practical. (HTML Help is primarily design for local use on
single-user computers.) Quite a few users have also used Help &
Manual 's Browser-based Help mode to develop websites that need
to be organized in the same way as a help project.
Table of Yes
contents:
Full text search: Yes (available in the Professional version of Help & Manual only)
Context-sensitive Not to the same extent as HTML Help and Winhelp, but context
help: calls from applications 438 to topics and anchors in topics are
possible. Context popups called from applications are not
supported.
Popups: Yes. Help & Manual introduces JavaScript popups 199 that are
compatible with all current browsers.
Multimedia: Flash animations and videos are supported. Support for playing the
formats used must be installed on the user's computer. Also, the
degree and quality of the support also depends on the support
provided by the browser the user is using. So please test your
output on all relevant browsers before distributing!
Printable by Limited to browser print functions, which can generally only print
user: individual topics.
Pros: Platform and cross-browser compatible, ideal for help on the web
and intranet systems. All the flexibility and formatting power of
HTML, including the ability to add functions with JavaScript etc. by
adding your own code to topics 311 and templates 475 .
See also:
Browser-based Help 398 (Configuring Your Output)
Browser-based Help 586 (Project Properties)
Browser compatibility 772
12.6.3.1 Browser compatibility
The top priority of the code design of Help & Manual's Browser-based Help output was that it
should always work, no matter what browser it is viewed with. A modern browser will allow
the help to display all of its advanced dynamic features, but an older browser won't break
your help. This enables you to distribute Browser-based Help with confidence because you
know that the huge majority of your users will be able to view it properly.
depending on the browser used to view it. HTML Help and Visual Studio Help / MS Help
2.0 are controlled Microsoft formats that use MS Internet Explorer to render their HTML
code, and your output in these formats will always look almost exactly like your source in
the Help & Manual editor.
This is not possible in Browser-based Help. The HTML code generated is the best
possible compromise between compliance with the W3C specifications for HTML 4.01
and CSS1 and the quirks of individual browsers. Unfortunately, no browser is really
compliant with all the standards. In addition to this, individual browsers often interpret the
same rules completely differently.
See also:
Browser-based Help 398 (Configuring Your Output)
Browser-based Help 586 (Project Properties)
12.6.4 Help & Manual eBooks
This is a proprietary Help & Manual format that combines a viewer and data in one .EXE file
that will run on any 32-bit Windows system (Windows 95 and above) without installation,
additional files or software. The format is HTML-based and the viewer also provides a
navigation structure similar to that of HTML Help and Help & Manual's Browser-based Help
771 format.
Format: A single executable file containing the viewer and all data
Table of Yes
contents:
Context-sensitive No support for context-sensitive help, you cannot make direct calls
help: to specific topics in the help
Popups: Yes, formatted popups containing formatted text (bold, italics, fonts
etc), graphics and hyperlinks to other topics are supported. No
support for context-sensitive popups.
Pros: Single file format. Very similar to HTML Help (familiar and intuitive
navigation). Runs immediately without installation of any additional
files, even under Windows 95 and Windows NT 4. Password
protection is possible. A choice of viewer templates ("skins") are
available for different layouts and appearances.
Cons: Not appropriate for application help because of the lack of context
sensitive help support
See also:
eBooks 407 (Configuring Your Output)
eBooks 609 (Project Properties)
12.6.5 Adobe PDF
Adobe's Portable Document Format is now the de facto industry standard format for
electronic distribution of printable manuals. PDF provides a high level of formatting fidelity.
Layout and appearance are "fixed", and unlike HTML it is not dependent on the quirks of
browsers.
It is also a compact, single-file format that is now supported by all major computer platforms
as well as Windows. Navigation can be quite good but it is less flexible for on-screen viewing
and navigation than HTML Help. The domain of PDF is printable manuals with clearly-
defined layout and formatting that do not change on different systems. It is suitable for
downloading but not for online viewing as users must always download the entire document,
even if they only want to view a single page.
PDF is also used for Help & Manual's Print User Manual 538 function.
PDF version: The PDF output conforms to version 1.2 of the PDF specification
and can be viewed with version 3 and above of Adobe Acrobat and
Acrobat Reader.
Table of Yes, integrated in the PDF file. Hyperlinks are supported for on-
contents: screen viewing.
Keyword index: Yes but limited, just page number references at the end of the
document.
Popups: No support for popups. Popup links are displayed as normal text.
Cons: Requires the Adobe Reader viewer but this is free and installed on
almost all computers. On-screen readability is limited. Not
appropriate for application help because of the lack of context-
sensitive features and poor on-screen readability. Not suitable for
online or network viewing because the entire document must be
downloaded to view a single page.
Other All the topics in the Invisible Topics 193 section of your project are
information: excluded from PDF output and printed manuals. This is by design
because PDF is treated as a print format. By definition, Invisible
Topics are excluded from the TOC and are designed to be
displayed by reference only (i.e. with links) and so there is no
logical place to put them in the PDF.
If you want to include information from the Invisible Topics section
in your PDF version you need to use Help & Manual's conditional
output features 451 to make alternative content for the PDF version.
See also:
Adobe PDF 405 (Configuring Your Output)
Adobe PDF 604 (Project Properties)
PDF and Printed Manuals 538
12.6.6 Printed manuals
When you output a manual to your printer with the File > Print User Manual 666 feature Help
& Manual generates a temporary PDF file and deletes it after the printout has been
completed.
Just like Adobe PDF output, the layout of printed manuals is controlled with print manual
templates 543 . For details on printing manuals and using print manual templates see PDF and
Printed Manuals 538 .
See also:
Adobe PDF 405 (Configuring Your Output)
PDF and Printed Manuals 538
12.6.7 MS Word RTF
This format – equivalent to the Rich Text Format files generated by MS Word – is provided
for backward compatibility but it is no longer maintained in Help & Manual. Because of its
limitations its use is generally not recommended. PDF provides very superior output and
much more control over formatting. There may be some special cases where you still need
to use it, but generally PDF is always preferable.
Typical use: Print manuals distributed in electronic form, has now been generally
replaced by PDF
Table of Yes, but very limited (page number references without links at the
contents: beginning of the document)
Keyword index: Yes, but very limited (page number references without links at the
end of the document)
Full text search: Yes (with MS Word or other program supporting RTF files)
Context sensitive No
help:
Popups: No support for popups. Popup links are displayed as plain text.
Pros: Can be viewed, searched and printed with MS Word and other
programs that support the RTF format.
Cons: Limited formatting options, many Help & Manual features not
supported, large files, graphics are in external files.
Other All the topics in the Invisible Topics 193 section are excluded from
information: RTF output. This is by design because RTF is treated as a print
format. By definition, Invisible Topics are excluded from the TOC
and are designed to be displayed by reference only (i.e. with links)
and so there is no logical place to put them in the PDF.
If you want to include information from the Invisible Topics section
in your RTF version you need to use Help & Manual's conditional
output features 451 to make alternative content for the RTF version.
Help & Manual 4 can now also export active hyperlinks 608 to MS
Word RTF files.
See also:
MS Word RTF 409 (Configuring Your Output)
MS Word RTF 608 (Project Properties)
12.6.8 Visual Studio Help
Visual Studio Help is also known as MS Help 2.0. Originally this help format was intended to
be the successor of HTML Help. However, Microsoft then postponed its release indefinitely
and it is now clear that it is never going to be released as a help format for normal user
applications.
· Important Note:
Please note that the support for Visual Studio Help/MS Help 2.0 is only included in the
Professional version of Help & Manual 4.
See also:
Visual Studio Help 527 (Advanced Procedures)
Visual Studio Help 579 (Project Properties)
12.6.9 XML
Although you output to XML by selecting Compile Help File and Run 411 , XML is not actually a
help format in its own right and the XML output files cannot be viewed or used as help files
on their own. XML Export/Import is a "round-trip" function that allows you to export your
project, edit or translate it with an XML-aware editor or translation tool and then re-import it
to Help & Manual with all project properties, layout and settings intact.
Compiling to XML outputs the entire project in XML format, using Help & Manual's own XML
schema. In addition to the XML files containing all the data, XSL stylesheet files are also
generated to allow WYSIWYG previews in web browsers and XML editors that support
XSL.
For full details see XML Export/Import 786 in the Reference section.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
See also:
Project Synchronization 645
XML Export/Import 786 (Reference)
Compiling Your Project 410
New project from an XML project file 142
Importing H&M XML projects 165
12.6.10 Windows Vista Help
Previously known as Windows Longhorn Help. This help format is not yet implemented
because it has not yet been released by Microsoft. According to current information from
Microsoft, Windows Vista Help will be the successor to HTML Help as the standard help
format for Windows applications. However, Microsoft also said that MS Help 2.0 777 was
going to be the successor to HTML Help and that never happened, so we shall have to wait
and see.
Longhorn Help/ Windows Vista Help will probably be released with Windows Vista (which
has been known as Longhorn for several years), which is currently scheduled to be
launched at some time in late 2006. However, it currently seems possible that Vista Help will
initially only be used for Windows Vista's own integrated help and will not be available for
general use until later.
Support for the new format will be added to Help & Manual as soon as possible once the
new help format is stable and a compiler becomes generally available.
· Visit the MSDN website for background information and the latest news on Windows
Vista Help.
See also:
Longhorn Help information at MSDN
Longhorn Help information at Winwriters UA
Windows Vista Help information at Helpware.Net
See also:
Language Settings 551 (Project Properties)
International Language Setup 149
12.7.1 About H&M's Unicode support
Help & Manual 4 introduces full support for Unicode, which is now the international standard
for storing and displaying international characters on computers. This means that you can
now edit and compile help files in all languages supported by Windows, including Asian
languages and other languages with more than 255 characters that store characters in two
bytes instead of one byte. If you are interested in learning more about this subject you can
find a good introduction to the technology and background of Unicode on Wikipedia.
This topic provides some important background information that will help you to understand
how to use Help & Manual with languages that cannot be edited or displayed properly
without Unicode.
In addition to reading this section please also see International languages setup 149 and
Language Settings 551 for details on configuring your project output in the language you are
using, both with Unicode-based languages and other languages.
· Important Note:
Please note that Unicode support is only included in the Professional version of Help &
Manual 4.
Unicode required:
Unicode is only required for languages that have more than 255 characters and store
their characters in two bytes instead of one byte. This includes Chinese, Japanese,
Thai and many other Asian languages.
To develop help in these languages you must set the language settings 551 for your
project correctly. In addition to this your Windows version and configuration must
meet the requirements for working with Unicode in the language you are using. See
below 781 for details.
Some Eastern European languages like Polish, Russian and Czech also use double-
byte characters for some special characters. Among other things, this depends on
the fonts and whether or not it is required is sometimes unpredictable. It is thus
generally a good idea to set the Unicode setting in your Language Settings 551 to
Force Unicode when you are working in Eastern European languages.
See also:
International languages setup 149
Language Settings 551
12.7.2 About project language settings
The language settings for your project in Project > Project Properties > Language Settings 551
control how texts with international languages and character sets are handled in your output.
If you work in English or any other Western European language you should not need to
change the default settings, but in other languages you will need to adjust the settings to
avoid font display problems in your compiled output.
If you are working in a Unicode-based language there are also some
important requirements for your Windows version and configuration. See
About H&M's Unicode support 780 for details.
language you are using. In these languages this setting makes sure that sorting
works correctly. In addition to this it also identifies the language to the system so that
special characters and Unicode processing (if necessary) are handled correctly for
the language.
In addition to this you must also change the Font Character Set setting (see below)
to the correct character set for your language. In these languages both these
settings must set to the correct values for the language you are using for the
language to be handled properly in your output.
See also:
Language Settings 551
International Languages Setup 149
See also:
Language Settings 551
Customize - PDF Export 738
PDF Font Embedding 606
updates and patches from Microsoft. Earlier versions of Windows do not have the
Unicode and UTF-8 encoding support that is necessary for displaying and working with
these XML files.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
See also:
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
Compiling to XML 415
Project Synchronization 645
12.8.1 XML output files and folders
IN THIS TOPIC:
XML file timestamps 787
XML output folders and file names 788
When you export to XML by compiling 415 your project to XML you can choose to generate
either a single large XML file containing your entire project or a folder system containing a
separate XML file for every topic. In addition to this you can also generate your output in a
zip archive so that you can mail it off directly for further processing.
This topic describes the files and folders generated when you compile to XML output with
each of these options. For details on the format of the XML files see XML output file format
792 .
projectname.xml This file contains all the XML data. Effectively it has
the same content as your .HMX project file.
Everything that is normally stored in your project file
is also in this file, except the Baggage files (see
below).
helpproject.xsd This is the Help & Manual XML Language schema
file that is automatically exported with every project
when you save to XML. Among other things, it
allows XML editors that support syntax checking to
test your editing changes for compliance with the
schema.
projectname.xsl This is the XSL stylesheet file with the formatting
rules. It is not essential – it is only provided so that
XML editors and web browsers that support XSL
stylesheets can generate an approximate
WYSIWYG preview so that you can obtain a basic
idea of what the topic layout and formatting will look
like when it is compiled by Help & Manual.
.\Images\*.* This folder contains all the images referenced in
your topics. In contrast to other help formats, the
images here are output in their native formats – i.e.
.BMP images will be exported as .BMP and Impict .
IPP images will be exported as .IPP. This is
necessary because otherwise the image references
in the XML code would be incorrect when you re-
import your images.
XML editors will generally be able to handle all
image formats supported by Help & Manual except
Impict .IPP, which is a proprietary EC Software
format. If the images are essential for
understanding the text (for example for the
translator) it is better to use a different image
format. You can use conditional text tags 454 to
create alternative versions of your .IPP images for
XML export if you wish.
Image files are exported with their original
timestamps, not with the timestamp of the XML
export operation.
.\Baggage\*.* This folder contains all the files from the Baggage 520
section of your project, which are normally
embedded in your .HMX project file.
Baggage files are exported with their original
formats and with their original timestamps.
See also:
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
Compiling to XML 415
12.8.2 XML output file formats
IN THIS TOPIC:
Encoding of the XML files 792
This topic contains everything general users need to know about the XML file format
exported by Help & Manual. If you wish to do development work of your own with the format,
for example to develop your own XML transformers, converters or export and import tools,
please refer to the separate help file documenting the Help & Manual XML Language (
Helpman_XML_ref.chm in the Help & Manual program directory).
See also:
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
Compiling to XML 415
12.8.3 Zipped XML output
When you compile your XML output you can also choose to store your output in a ZIP
archive. This option is provided so that you can easily send your entire XML project to a
translator or other people who need to process the XML files.
See also:
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
Compiling to XML 415
12.8.4 Importing XML files
IN THIS TOPIC:
Options for re-importing XML data 794
Creating a new project from XML files 794
Importing an XML package to an existing project 794
It is very important to understand that Help & Manual's XML Export/Import is a round-trip
facility that can only import XML that was exported with Help & Manual. You cannot import
"just any" XML from other XML schemas like DocBook or Darwin. However, the Help &
Manual XML schema is fully open and documented in detail in a separate help file included
with the program (Helpman_XML_ref.chm in the Help & Manual program directory). All the
information is provided for developing XML transformers, converters and templates for
displaying working with the Help & Manual XML schema in any way you want.
IMPORTANT: Help & Manual can only process its own XML
files!
Help & Manual can only process XML files created with Help & Manual.
Currently you cannot export or import any other XML formats. Help &
Manual uses its own XML schema known as the Help & Manual XML
Language. This schema is designed specifically for exporting Help & Manual
projects for external processing and then re-importing them, and it is the
only XML schema with which this is possible.
The Help & Manual XML Language is fully documented in a separate help
file included with the program (Helpman_XML_ref.chm in the Help &
Manual program directory). The schema is fully open and you are welcome
to develop your own applications for converting between the Help & Manual
XML Language and other XML variants.
Help & Manual. These can be either files that are part of an XML package (provided you
exported your XML as individual topic files 788 ) or individual XML files created with the
Topics > Save Topic to File 202 function.
When you import individual topics you must first create an empty topic to import to,
otherwise the current topic will be overwritten. Imported topics retain all their properties
except the timestamp and topic ID of the original topic.
For instructions see: Exporting and importing topics 202
See also:
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
Compiling to XML 415
12.8.5 Editing XML files in external programs
When you generate XML file packages with Help & Manual you will normally want to do this
so that you can edit the content of your topics in other programs and then re-import the
edited content, for example for translation. There are many XML-aware programs available
at the moment, including a huge range of XML editors and a number of translation support
and translation memory programs that can import, process and re-export XML files.
and so custom templates are not yet available for the Help & Manual XML Language
schema. However, the schema is fully documented in a separate help file included with
the program (Helpman_XML_ref.chm in the Help & Manual program directory), so all
the information necessary for creating these templates is available.
Syntax checking
The Help & Manual XML Language schema file helpproject.xsd is automatically output
with every XML file package generated by Help & Manual. This file enables editors that
support these features to check your editing changes for well-formedness and
compliance with the schema definition.
See also:
New project from an XML project file 142
Importing H&M XML projects 165
Exporting and importing topics 202
Editing XML source code 208
Compiling to XML 415
12.8.6 Instructions for translators and editors
IN THIS TOPIC:
What you are NOT allowed to translate 796
When you are working on the XML files it is important that you should only translate or edit
those parts of the file that are "editable". This topic provides basic instructions for translators
and editors working on the XML files. How important these instructions are will depend on
the XML editing tool you are using. Some XML editors will protect attributes and tags,
making it difficult or impossible to accidentally damage them, others don't provide this
protection and must be used with great care.
following tag are in English you are not allowed to translate them because they are
inside the tag:
You are only allowed to translate the text shown in red, because it is plain text
between tags (and because the tag has a translate="true" attribute, see below).
Element attributes
Element attributes are also inside tags so that is already a very good reason not to
translate them. However, this point is so important we would like to repeat it. Don't
even think about translating or editing the attributes of any XML elements. Again,
none of these attributes are ever seen by the user so they don't need to be
translated. And if you do translate them you will almost certainly break the project
and make it unusable.
In the following example too, you can only translate or edit the text shown in red.
Everything else is strictly off limits. All the texts shown in green are element
attributes. Editing or translating them will probably make it impossible to re-import the
XML files because of the strictness of XML syntax.
Of course, sometimes you will have to use your own judgment a little. In the example
above you will have to move around the underline tags around the word "not"
because the structure of the sentence will probably be quite different in another
language. This is generally OK provided you do it carefully and don't move these
tags outside any other tags enclosing them. Just be careful and if you are not entirely
sure what you are doing leave it alone or get help from someone with more
experience.
Translatable elements:
The following list shows which elements in the XML code generated by Help & Manual
can contain translatable data:
Element Translatable
text Text is always translatable. It always has a translate attribute and the
setting is always "true".
link The captions of hyperlinks (topic links, web links, file links, script/macro
links) are always translatable. They always have a translate attribute and
the setting is always "true".
caption Captions are always translatable. They always have a translate attribute
and the setting is always "true".
keyword Keywords are always translatable. They always have a translate attribute
and the setting is always "true".
Note that this does not apply to a-keyword elements! A-
keywords are never seen by the user and should never be
translated because this can break help functionality!
config-value Only some config-value elements are translatable. If they have a translate
attribute they can be translated. If not they should be left alone.
<config>
<helpwindows>
<helpwindow name="Main" headercolor="#649CCC" textcolor="#FFFFFF"
left="-1" top="-1" width="-1" height="-1">
<caption translate="true"><%TITLE%></caption>
<window-options-hlp autosize="true" maximize="false" keepontop="false"
posabsolute="false" buttons="0">
</window-options-hlp>
<window-options-chm navigation="true" search="true" favorite="true"
saveregistry="true" buttons="12366" navigationwidth="200">
<user-button name="home" href=""></user-button>
<user-button name="jump1" href=""><caption translate="true">Button
Caption 1</caption></user-button>
<user-button name="jump2" href=""><caption translate="true">Button
Caption 2</caption></user-button>
</window-options-chm>
</helpwindow>
</helpwindows>
...
<config-group name="project">
See also:
Project Synchronization 645
Editing XML source code 208
Editing XML files in Word 2003 799
12.8.7 Editing XML files in Word 2003
Microsoft Word 2003 can now edit XML files, so if you want you can also edit the XML topic
files output by Help & Manual with Word 2003. Word now provides reasonable XML editing
support, with a tag view for editing and an XSL view using the XSL stylesheet to provide an
approximate WYSIWYG preview.
WARNING:
Some versions of Word 2003 make H&M XML files unreadable!
However, it is important to know that not all versions of Word 2003 come with full XML
support. This is currently only available in the version of Word 2003 included in the
Professional version of Microsoft Office and in the version of Word 2003 that is sold as a
separate product (i.e. not as part of MS Office).
The versions of Word 2003 included in the other Office packages only provide very
rudimentary XML support. These versions of Word save all XML files using Microsoft's
own XML schema, without warning the user that they are doing this.
If you edit and save the XML files generated by Help & Manual with these versions of
Word 2003 you will no longer be able to import them to Help & Manual. They will be
completely unreadable – all the necessary code will be changed and overwritten, and it
will not be possible to repair the files so that Help & Manual can read them.
If you plan to do any serious XML editing with Word 2003 please perform tests
first to make sure that Help & Manual can re-import the results!
See also:
Editing XML source code 208
See also:
Help Windows settings 557
Choosing a help window 177
External windows and invisible topics 806
Help windows are only relevant in electronic help, i.e. HTML Help 765 , classic
Winhelp 768 , Browser-based Help 771 (HTML) and eBooks 773 . You could argue that
Adobe PDF 774 is also electronic, but at least as far as help windows are concerned
it is treated as printed documentation, along with Word RTF 776 .
Traditional electronic help – which means Winhelp and HTML Help in the Windows
world – is always displayed in a "viewer". This viewer is both the program that
displays the help and the help window. It has two main components, the Table of
Contents (TOC) pane and the topic window pane in which the topics are displayed.
Remember, by definition the help window is the entire help
viewer, including all its navigation controls, the TOC and the
topic window pane. It is not just the topic window!
Since the introduction of HTML Help, help has always been displayed in one
window which is divided into two "panes", with the TOC in the pane on the left and
the current topic in the pane on the right. Help & Manual reproduces this layout in
both its Browser-based Help output and its eBooks with viewer layouts that
correspond as closely as possible to the appearance of the HTML Help viewer. (
Help & Manual itself also uses this layout, by the way.)
Winhelp does not use this clear and intuitive layout, and that is one of the key
problems with Winhelp and one of the main reasons why it is now becoming
obsolete.
The definition of the help window controls the color, position and appearance of
the help viewer and navigation controls displayed in the help viewer.
Since you always have a help viewer you also always have a help window, and the
definition of this window defines the initial appearance and behavior of the help
viewer in which the user views your help. (The user can change many things after
the viewer is first displayed, of course.)
You access these definitions in Help & Manual in Project > Project Properties >
Help Windows 557 . These definitions are referred to as "help window types".
In Help & Manual you control the appearance and behavior of the main help
window, and thus of the help viewer, by editing the definition of the help window
type called Main. This window type definition always exists and you cannot delete it
or rename it.
Does the help window definition only control the appearance of the
viewer?
No, there's more. You can also define "secondary" help windows with different
properties.
If there was just one help window we wouldn't need to discuss the subject in such
detail. What makes help windows really useful is that you can define additional
help window types (as many as you like) with different properties and
appearances. And you can use these windows to display individual topics in
different ways and with different styles.
These additional help window types are referred to as "secondary help windows".
Once you have defined one or more secondary help windows you can assign them
to individual topics 177 , so that the secondary window type is used automatically
when the corresponding topic is displayed. You can also specify secondary
windows in link definitions 310 , to display a "normal" topic in a secondary window
when the user clicks on a link.
You can make secondary windows look very different from the main help viewer
window, although the amount of control you have depends on the output format
(see the other topics in this chapter for details). Among other things you can turn
off the header, change the background color, define a different window size and
activate or eliminate the navigation controls.
In Help & Manual secondary windows are also linked to HTML
topic Templates 477 , which gives you even more control.
Important:
In HTML Help most of these changes are only possible in external windows (see
below), however! For example, if the main help viewer has a TOC and navigation
controls you can only turn them off in a secondary window if you display the
secondary window in an external window.
In the example above, the yellow secondary window cannot turn off the TOC or
navigation buttons in the viewer because it is not displayed in an external window.
See Help windows in HTML Help 809 for details on this. (In Winhelp 811 secondary
windows are always opened in external windows.)
I've seen help that opens some topics in external windows when you
click on a link...
Right! You can also use secondary help windows to display individual topics in
external windows.
External windows are effectively a second instance of the help viewer, and this
makes them much more powerful than popups 808 , for example. They enable you to
display additional information when a user clicks on a link without forcing the user
to leave the original topic:
This is a very important point to understand and it is one of the features that
makes Help & Manual so powerful and flexible.
In the formats that support them (HTML Help 765 , Browser-based Help 771 and
eBooks 773 ) HTML templates 475 significantly increase the power and control that
help windows give you over the appearance of your topics, even in Browser-based
Help and eBooks where the help window definitions themselves only give you very
limited control.
Since every help window type is associated with its own HTML template you can
assign a different template to a topic just by changing its help window type 177 . See
Using HTML Templates 475 for more information on what you can do with HTML
templates.
Help windows have their own definitions, but they are also linked to HTML
templates, and this is crucial for all HTML-based output formats. You can change
the entire HTML code defining a topic's layout simply by changing the help window
type in the topic's Topic Options tab.
Now you are probably beginning to see why we felt it was necessary to devote so
much time to explaining help windows!
The "Popup" window type is one of two special standard window definitions. The
other one is "Main".
Like Main, this is a special window type that cannot be renamed. Unlike Main,
Popup also cannot be edited. This is the standard window type used for all topics
defined as popups 194 (all topics created in the Invisible Topics section are assigned
the Popup window type by default).
This window type cannot be edited because the formatting of popups is handled
differently than that of normal topics. See Help windows and popups 808 and
Standard help window types 805 for details.
See also:
Help Windows settings 557
Choosing a help window 177
External windows and invisible topics 806
12.9.2 Standard help window types
Every new project has two standard help window types 800 , Main and Popup. These are also
the only window types a new project has. If you want to use additional window types – for
example to create topics with a different appearance 471 from your standard topics, or to
display topics in external windows 473 – you must define them yourself 177 .
Settings location:
Project > Project Properties > Help Windows 557
See also:
Help Windows 800
Help Windows settings 557
Choosing a help window 177
Help windows and popups 808
Help windows in HTML Help 809
Help windows in Winhelp 811
Help windows in HTML and eBooks 811
Help windows in RTF and PDF 813
12.9.3 External windows and invisible topics
Authors often define secondary windows 471 so that they can display topics in external
windows 473 . External windows are only supported in HTML Help 809 and Winhelp 811 . In HTML
Help you can choose whether you want to use external windows, in Winhelp secondary
windows are always displayed in external windows.
See also:
Help Windows 800
Help Windows settings 557
Using secondary windows 471
Using external windows 473
The Popup template is not used in any of the other HTML Help popup
modes. JavaScript Popups 199 have their own formatting options and
they do not use the Popup template.
Browser-based In Browser-based Help the Popup HTML template is only used if you
Help: select HTML Encoded Popups in Project > Project Properties >
Browser-based Help > Popup Topics 599 .
JavaScript Popups 199 have their own formatting options and they do
not use the Popup template.
eBooks: In eBooks popups are formatted automatically but they take their
background color from Popup template. If you have HTML editing skills
you can change this by editing the Popup template in Project > Project
Properties > HTML Help > Topic Pages 565 .
See also:
Help Windows 800
Help Windows settings 557
Using external windows 473
Help windows in HTML Help 809
Context-Sensitive Help & Popups 834
Help windows in Winhelp
Using HTML Templates 475
12.9.5 Help windows in HTML Help
Help windows can be quite confusing until you understand them, then they are very easy to
use. If you have not already done so please read the introduction to help windows 800 first.
Please also read External windows and invisible topics 806 for some important information on
using external windows in HTML Help.
Settings location:
Project > Project Properties > Help Windows 557
Secondary Secondary windows can be displayed either in the main help viewer or
windows: in external windows. If they are displayed in the main help viewer they
cannot turn off controls (e.g. TOC, navigation buttons) set by the
definition of the Main window.
HTML Each help window definition, including Main, is linked to its own HTML
templates: topic template, which is fully editable. The background color and
header features defined in the window definition are actually stored in
the HTML template. These templates control the appearance of the
topics in the help viewer but not the entire help viewer. See Using
HTML templates 475 for full details.
Popups: The non-editable Popup help window type normally only defines that
popup topics are called as popups and do not have a header.
It is linked to a HTML topic template but in HTML Help this template is
only used when you display popups as full topics in the help viewer by
setting the HTML Encoded Topics option in Project > Project Properties
> HTML Help > Popup Topics 567 .
In dual-mode help popups in HTML Help are handled in the same way
as in Winhelp 811 .
external windows and you can activate and deactivate the navigation elements for
secondary windows. When this option is disabled you can only define the navigation
elements for the Main window, i.e. for the main HTML Help viewer.
Calling external windows by links:
If external windows are activated you can display a "normal" topic (associated with
Main in its Topic Options tab) in an external window by specifying a secondary
window in the link definition 310 . If you do this the topic will display in an external
window when the link is clicked but its color and header will still have the features of
the Main HTML template 475 .
This is because in all HTML-based formats (HTML Help, Browser-based Help and
eBooks) topics are always displayed with the HTML template associated with the
help window type defined in their Topic Options tabs. This is because the topics are
generated and stored with this template when you compile, and this cannot be
changed by the link reference.
See also:
Help Windows 800
Help Windows settings 557
Choosing a help window 177
Help windows in Winhelp 811
Help windows in HTML and eBooks 811
Help windows in RTF and PDF 813
Settings location:
Project > Project Properties > Help Windows 557
External External windows are supported and secondary windows are always
windows: displayed in external windows.
HTML HTML templates are not supported in Winhelp. The window type
templates: definitions are the only control you have over the appearance of your
windows.
Popups: The Popup help window type only defines the topic in question as a
popup. Its linked HTML topic template 477 is not used in Winhelp.
See also:
Help Windows 800
Help Windows settings 557
Choosing a help window 177
Help windows in HTML Help 809
Help windows in HTML and eBooks 811
Help windows in RTF and PDF 813
12.9.7 Help windows in HTML and eBooks
Help windows can be quite confusing until you understand them, then they are very easy to
use. If you have not already done so please read the introduction to help windows 800 first.
Settings location:
Project > Project Properties > Help Windows 557
Secondary Secondary windows are supported but they are always displayed in the
windows: main help viewer. The color and header settings are assigned to the
secondary windows, any other changes must be made by editing the
HTML topic template (see below). You cannot use window definitions
to display or suppress navigation controls.
HTML Every window definition, including Main, is linked to its own HTML topic
templates: template 477 . These templates control the appearance of the topics in
the help viewer but not the entire help viewer.
In Browser-based Help the appearance of the help viewer is controlled
by the other templates in Project > Project Properties > Browser-based
Help 586 . In eBooks the viewer properties are defined by the settings
and special templates in Project > Project Properties > eBooks 609 .
Popups: Popups 194 are not supported in Browser-based Help. In this format
topics defined as popups are displayed in the full browser or help
viewer window, just like normal topics, using the HTML topic template
477 linked to the Popup help window type.
The Help & Manual eBooks format supports formatted popups, i.e.
popups containing formatted text (bold, italics, fonts etc), graphics and
hyperlinks to other topics. However, eBooks does not include any
support for context-sensitive popups that interact with applications.
the help window type defined in their Topic Options tabs. In the compiled help they
have already been generated with this template and this cannot be changed by the
link reference.
In HTML Help 810 you can open topics in external windows by specifying a secondary
window type in the link definition, but in Browser-based Help and eBooks this has no
effect because external windows are not supported.
See also:
Help Windows 800
Help Windows settings 557
Choosing a help window 177
Help windows in HTML Help 809
Help windows in Winhelp 811
Help windows in RTF and PDF 813
12.9.8 Help windows in RTF and PDF
Help windows are not used at all in PDF and Word RTF. All their settings are ignored, they
have no effect on the appearance of your topics in these formats. These formats also do not
support popups, so all popup topics are also excluded from PDF and RTF.
Word RTF:
In Word RTF the output is simply a rough equivalent of the formatting in your topics. You
can control some basic formatting and layout parameters in Project > Project Properties
> Microsoft Word RTF 608 , but that is all. Word RTF is a deprecated format that is quite
limited in its capabilities and it is only included for backward compatibility. Unless you
have a special reason for using it please use Adobe PDF instead!
See also:
Help Windows 800
PDF and Printed Manuals 538
Adobe PDF settings 604
PDF and print manual templates 468
Variables:
Help & Manual's HTML templates also support a wide range of variables. In addition to
specialized predefined variables 826 for HTML templates only, you can also use all the
standard global predefined variables 863 and your own user-defined variables 449 in all
HTML templates.
See Variables in HTML templates 485 for details on using variables in HTML
templates.
Conditional output:
You can also include or exclude code from your output with conditional tags, on the basis
of both output format (HTML Help, Browser-based Help, eBooks etc.) and any of the
user-defined include options 453 defined in your project. In addition to this there are also a
number of special conditional tags for HTML templates only, for example a condition that
includes a block of code only if the current topic has a header.
You can use these tags to create different versions of your templates that are selected
automatically depending on the output format or your own user-defined conditions. They
can also be used in combination with variables so that you automatically only include
variables in places and output formats where they are relevant.
See Conditional output in HTML templates 487 for details on how to use this
feature in your HTML templates.
topic page template to the topic. The default help window type applied automatically
to all topics in the TOC is Main. To apply a different help window type to a topic you
must change the assignment in the Help Window: field in its Topic Options tab. See
Using secondary windows 471 for more details on this.
The table of contents template (Browser Help only): 482
Located in the Table of Contents section of the Browser-based Help settings. This
See also:
Help Windows 800
Templates and Secondary Windows 462
Choosing a help window 177
12.10.1 The default Topic Pages template
The Topic Pages template is used to define the layout and behavior of topic pages in all
HTML-based output formats (HTML Help, Browser-based Help, eBooks and Visual Studio
Help / MS Help 2.0). Each window type has its own copy of the topic page template that can
be edited separately. To apply a different template to a topic you just need to define a new
window type, edit its template and assign the window type to the topic. See Using secondary
windows 471 for details.
You can view the code of the template by going to Project > Project Properties > HTML Help
/ Browser-based Help > Topic Pages and selecting "Let me edit HTMLcode directly" .
· See Editing HTML templates 476 in Using HTML Templates 475 for instructions on
how to edit the templates.
· The Popup window type also has its own copy of the same default template, but it
is only ever actually applied to popup topics when you export them as normal
HTML topics instead of as popups. See Help windows and popups 808 for details.
<%DOCTYPE%> This variable is new in Help & Manual 4. It sets the correct HTML or
<%DOCCHARSET%> This variable is new in Help & Manual 4. It sets the correct HTML or
XHTML character set depending on your output format and
settings. It is essential for all HTML output and Unicode support. It
must be included in the Content Type meta tag. If you change or
delete it you will get an error message when you compile your
project.
<%STYLESHEET%> This is another new variable. It inserts the link reference to the CSS
stylesheet file, which contains all the styles definitions from your
project. This means that you can also reference any of the styles
defined in your project in the template if you want. (This is easiest if
you activate the Export style names option in HTML Export Options
601 .)
<%TOPIC_TEXT%> This little variable is actually the most important part of the template.
It inserts the entire content of your topic from the Help & Manual
editor in the output topic page. (If you leave it out the compiler will
only generate blank topics.)
You can create "headers" and "footers" by inserting code and
variables directly above and below this variable.
See also:
Using HTML Templates 475
See also:
Using HTML Templates 475
Editing HTML templates 476
HTML template variables 826
HTML template output conditions 830
Templates and Secondary Windows 462
12.10.3 The default TOC template
This HTML template is only used for Browser-based Help, to generate the Table of Contents
(TOC) pane in the frame layout that emulates the appearance and functionality of the HTML
Help viewer in a normal browser. (The TOC in HTML Help cannot be customized from Help
& Manual. The TOC in the eBooks viewer is also non-configurable.)
You can view the code of the template by going to Project > Project Properties > Browser-
based Help > Table of Contents and selecting "Let me edit HTMLcode directly" .
See Editing HTML templates 476 in Using HTML Templates 475 for instructions
on how to edit the template.
<%DOCTYPE%> This variable is new in Help & Manual 4. It sets the correct
HTML or XHTML document type depending on your output
format and settings. It is essential for correct HTML output and
Unicode support. It must be the first item on the first line of the
template.
<%DOCCHARSET%> This variable is new in Help & Manual 4. It sets the correct
HTML or XHTML character set depending on your output
format and settings. It is essential for all HTML output and
Unicode support and it must be included in the Content Type
meta tag.
<%STYLESHEET%> This is another new variable. It inserts the link reference to the
CSS stylesheet file, which contains all the styles definitions
from your project. This reference is not essential for the TOC
unless you want to reference any of the styles defined in your
project. (This is easiest if you activate the Export style names
option in HTML Export Options 601 .)
Note that if you enter text in a template without specifying a <P>
or <SPAN> tag explicitly it will be formatted with the standard
Normal style automatically.
.heading6
.navtitle This style formats the default heading of the Table of Contents,
which is inserted with the <%TITLE%> variable here (just below
the <BODY> tag, not the <TITLE> tag at the beginning of the
document!).
.navbar This style formats the line Contents | Index | Search below the
title.
.TD.toc This style defines the table cells that enclose the individual
TOC entries. You can change the spacing of the entries and
the right margin of the TOC by adjusting the padding-bottom
and padding-right attributes.
<%HREF_INDEXPAGE%> This variable inserts the link address for the keyword index 484
so that the user can switch to it from the TOC.
<%HREF_SEARCH_PAGE% This variable inserts the link address of the full-text search
> pane so that the user can switch to it from the TOC.
<%TABLE_OF_CONTENTS This variable inserts the table of contents list from your project
%> in the TOC page, in the same way that <%TOPIC_TEXT%>
inserts the topic from the editor in the topic page. This is the
most important variable in the template. If it is not there you
won't have a TOC.
<%COPYRIGHT%> This variable inserts the copyright notice from Project > Project
Properties > Common Properties > Title & Copyright 550 .
See the Variables in HTML templates 485 and Conditional output in HTML
templates 487 for details on using variables and conditional switches.
See also:
Using HTML Templates 475
Editing HTML templates 476
Templates and Secondary Windows 462
Help Windows 800
12.10.4 The default Index template
This HTML template is only used in Browser-based Help, to generate the keyword index
pane within the frame layout that emulates the appearance and functionality of the HTML
Help viewer in a normal browser. (The index in HTML Help cannot be customized from Help
& Manual. The index in the eBooks viewer is also non-configurable.)
You can view the code of the template by going to Project > Project Properties > Browser-
based Help > Keyword Index and selecting "Let me edit HTMLcode directly" .
See Editing HTML templates 476 in Using HTML Templates 475 for instructions
on how to edit the template.
<%DOCTYPE%> This variable is new in Help & Manual 4. It sets the correct
HTML or XHTML document type depending on your output
format and settings. It is essential for correct HTML output
and Unicode support. It must be the first item on the first line
of the template.
<%DOCCHARSET%> This variable is new in Help & Manual 4. It sets the correct
HTML or XHTML character set depending on your output
format and settings. It is essential for all HTML output and
.navtitle This style formats the default heading of the keyword index,
which is inserted with the <%TITLE%> variable here (just below
the <BODY> tag, not the <TITLE> tag at the beginning of the
document!).
.navbar This style formats the line Contents | Index | Search below the
title.
.idxsection This defines the text format and the paragraph format of the
index section headers (the letters from A to Z that mark the
beginning of each section).
.idxkeyword Defines the text format and the paragraph format for a top-
level keyword, but not the indent.
.idxkeyword2 Defines the text format and the paragraph format for a
second-level keyword, but not the indent.
.idxlink Defines the text format for the topic links that are displayed in
a small popup window if a keyword points to more than one
topic (otherwise the keyword itself is a link). The popup in
which the link list is displayed is a formatted table with a thin
border. You can customize the popup table layout with the
next two styles.
.TABLE.idxtable This formats the table of the link-list popup. Basically, the
TABLE tag defines the background, border width and margin
of the popup.
.td.idxtable This formats the inner cell of the popup table. It can used to
apply a different format to the cell that actually contains the
link list (i.e. different formatting for outer table and inner cell).
<% This variable inserts the link address of the TOC pane.
HREF_CONTENT_PAGE Without this the user would not be able to switch back to the
%> TOC after viewing the index.
<% This variable inserts the link address of the full-text search
HREF_SEARCH_PAGE% pane so that the user can switch to it from the index. It is
> enclosed by a matching condition to ensure that the entry is
only displayed if full-text search is activated in the help.
<%KEYWORD_INDEX%> This variable inserts the keyword index generated by Help &
Manual in the page. This is the most important variable in the
entire template. If you leave it out you won't have an index.
See the Variables 485 and Conditional output 487 topics in this chapter for
information on using variables and conditional switches.
See also:
Using HTML Templates 475
Editing HTML templates 476
Templates and Secondary Windows 462
Help Windows 800
12.10.5 The default Search template
This HTML template is only used in Browser-based Help, to generate the full-text search
pane within the frame layout that emulates the appearance and functionality of the HTML
Help viewer in a normal browser. (The search in HTML Help cannot be customized from
Help & Manual. The full-text search in the eBooks viewer is also non-configurable.)
You can view the code of the template by going to Project > Project Properties > HTML Help
/ Browser-based Help > Topic Pages and selecting "Let me edit HTMLcode directly" .
See Editing HTML templates 476 in Using HTML Templates 475 for instructions
on how to edit the template.
<%DOCTYPE%> This variable is new in Help & Manual 4. It sets the correct
HTML or XHTML document type depending on your
output format and settings. It is essential for correct HTML
output and Unicode support. It must be the first item on
the first line of the template.
<%DOCCHARSET%> This variable is new in Help & Manual 4. It sets the correct
HTML or XHTML character set depending on your output
format and settings. It is essential for all HTML output and
Unicode support and it must be included in the Content
Type meta tag.
.submit Defines the text style of the submit area. This is the entry
box where you enter a search word, number of results per
page and whether you want to search for all or any
words.
.highlight Defines the style of the highlight for matching words in the
results summary (not in the topic pages of the help). If
<%HREF_CONTENT_PAGE%> This variable inserts the link address of the TOC pane.
Without this the user would not be able to switch back to
the TOC after viewing the index.
<%HREF_INDEX_PAGE%> This variable inserts the link address of the keyword index
pane so that the user can switch to it from the index. It is
enclosed by a matching condition to ensure that the entry
is only displayed if the help has an index.
See the Variables 485 and Conditional output 487 topics in this chapter for
information on using variables and conditional switches.
See also:
Using HTML Templates 475
Editing HTML templates 476
Templates and Secondary Windows 462
Help Windows 800
12.10.6 HTML template variables
You can use all global predefined variables 863 and user-defined variables 449 in HTML
templates 475 . In addition to this you can also use the following special predefined variables,
which are only relevant in HTML templates.
<%TOPIC_HEADER_TEXT%> Inserts the header of the current topic as plain text. This
is particularly useful if your project headers are different
from and longer than the TOC captions, which is
inserted with <%TOPIC_TITLE%>.
This is used primarily for search engine optimization, for
which you would insert it in the description meta tag, like
this:
<meta name="description" content="<%
TOPIC_HEADER_TEXT%>">
<%TOPIC_TEXT%> Inserts the body text of a topic, i.e. the entire topic as
edited and formatted in your project in the Help &
Manual editor. This is the most important variable – if
you leave it out your topics will be empty!
<%TOPIC_BREADCRUMBS%> Generates a series of "breadcrumb trail" navigation
links to topics above the current topic in the TOC tree.
This variable is empty in top-level topics. In second-
level topics and below the variable generates a series of
links in the format Link1 > Link2 > Link3 ...
The current topic is not included in the series. If you
want to place the current topic title at the end of the
breadcrumb trail you can do so with the <%TOPIC_TITLE
%> variable (see below).
The breadcrumb trail variable is empty in topics in the
Invisible Topics section.
This variable has a matching condition pair:
<IF_TOPIC_BREADCRUMBS> and
<IFNOT_TOPIC_BREADCRUMBS> . These conditions can
be used to only insert the trail where it is relevant and to
insert alternative content when it is not relevant.
See here 479 for details on how to use this variable.
<title><%TOPIC_TITLE_PATH%></title>
<%TOPIC_TITLE%> Topic title (this is the caption of the topic in the TOC).
<%TOPICID%> Returns the plain topic ID as written in the Topic ID:
field of Topic Options, without any filename extension
and without changing the ID text to lower case. This can
be used to add an ID reference in your meta attributes
in your web pages, for example:
<meta name="id" content="<%TOPICID%>" />
<%TOPIC_KEYWORDS%> Inserts all the keywords 370 of the current topic, comma-
separated. Needless to say, this variable is essential for
the keyword index and shouldn't be removed...
<%TOPIC_AKEYWORDS%> Inserts all the A-keywords 382 of the current topic,
comma-separated.
<%HREF_PREVIOUS_PAGE%> Link address of the previous topic (used for Previous/
Next buttons).
<%HREF_DEFAULT_PAGE%> Link address of the "Default" topic. This is used for the
standard Top navigation link in the topic headers so that
users can return to the default topic in your project.
See also:
Using HTML Templates 475
Editing HTML templates 476
Help Windows 800
12.10.7 HTML template output conditions
You can use all of Help & Manual's standard conditional output options in HTML templates,
both your user-defined include options 453 and options based on the current output format. In
addition to this there are a few special conditional switches which are only for use in Help &
Manual's Browser-based Help output, because they are only relevant there. See the lists
below for details.
You can think of these conditions as proprietary HTML tags. They are used to enclose
blocks of HTML code in your template that you want to include in the output only if the
condition is fulfilled.
· Conditions based on the output format are only relevant in the topic page template 477 ,
which is used in HTML Help, Browser-based Help, eBooks and Visual Studio Help /
MS Help 2.0. The TOC and keyword index templates are only used in Browser-based
Help so it does not make sense to use format-based conditions there.
<IF_TOPIC_HEADER> True if the current topic has a header and the header is not
empty (the variable <%TOPIC_HEADER%> is not "").
<IF_HXS> True when you generate Visual Studio Help / MS Help 2.0
See also:
User-defined include options 453
Using HTML Templates 475
Conditional output in HTML templates 487
Help Windows 800
12.10.8 Graphics in HTML templates
You can reference external graphics in HTML templates. You can use .JPG, .GIF and .PNG
images. It is best to store your external graphics in the project directory (i.e. in the same
directory as the .HMX project file) so that you can reference the graphics files without any
path information, as shown below. If your graphics are not stored in the project directory use
relative path names to reference them.
The following relative path reference would access a graphics file in D:\Projects
\Current Project\WidgetApp\Graphics\Cartoons if your project directory is D:
\Projects\Current Project\WidgetApp:
...
<BODY BGCOLOR=<%TOPIC_TEXT_BGCOLOR%> BACKGROUND="Graphics\Cartoons\donald.jpg">
...
directory and removes any path information from the template. In the case of HTML Help
and Visual Studio Help / MS Help 2.0 the graphic is automatically integrated in the output
file.
However, the parser only recognizes the three HTML tags and attributes listed below. No
other image references are processed automatically.
<BODY> BACKGROUND="imagename.jpg"
OR
STYLE="BACKGROUND: #FFFFFF url(image.jpg)"
Note that you cannot combine these two attributes! If you use the
BACKGROUND attribute in the STYLE reference at all (even if it is only for
the background color) you cannot also use the BACKGROUND attribute
outside the STYLE reference to define a background image.
<IMG> SRC="imagename.jpg"
<TABLE> BACKGROUND="imagename.jpg"
<%DOCTYPE%>
<html>
<head>
<title><%TOPIC_TITLE%></title>
<meta name="generator" content="Help & Manual" />
<meta name="keywords" content="<%TOPIC_KEYWORDS%>" />
<meta http-equiv="Content-Type" content="text/html; charset=<%DOCCHARSET%>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link type="text/css" href="<%STYLESHEET%>" rel="stylesheet" />
</head>
<body style="margin: 0px 0px 0px 0px; background: <%TOPIC_TEXT_BGCOLOR%>
url(image.jpg);">
<IF_TOPIC_HEADER>
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="<%
TOPIC_HEADER_BGCOLOR%>">
<tr valign="middle">
<td align="left">
<%TOPIC_HEADER%>
</td>
<td align="right">
<span style="font-size: 9pt">
<a href="<%HREF_DEFAULT_PAGE%>"><img src="myHomeButton.gif"></a>
<IF_PREVIOUS_PAGE><a href="<%HREF_PREVIOUS_PAGE%>"><img src="myBackButton.
gif"></a> </IF_PREVIOUS_PAGE>
<IF_NEXT_PAGE><a href="<%HREF_NEXT_PAGE%>"><img src="myNextButton.gif"></
a></IF_NEXT_PAGE>
</span>
</td>
</tr>
</table>
</IF_TOPIC_HEADER>
</body>
</html>
See also:
Using HTML Templates 475
Editing HTML templates 476
Help Windows 800
time and money by reducing the amount of support you have to provide.
See also:
Context-Sensitive Help 431 (HowTo)
About context-sensitive popups 840
12.11.1 Context-sensitive help technologies
A full tutorial on implementing context-sensitive help in applications would go well beyond
the scope of this help. This topic is just provided to inform you of the various context-
sensitive help technologies that are available in Windows so that you can consider using
them in your application.
What's This? In many modern applications you can right-click on a control and
help: select a What's This? option that displays a popup window with a help
text. This is an excellent way to familiarize your users with the controls
of your program and can also significantly reduce support requests.
There are also other ways to display popup help like this but What's
This? is currently the most popular. (Extensive use of this feature is
made in Help & Manual, by the way!)
This can be implemented with the help of popup topics created in Help
& Manual. The advantage of this is that the topics are displayed on
their own in a little independent window, without opening the entire
help.
If you are using HTML Help you can implement What's This? help
both with the native plain-text popups supported directly by HTML
Help or with an additional Winhelp file containing the popups, which
can then contain formatted text and graphics. This file can be
generated automatically by Help & Manual, see Formatted popups
with dual-mode help 436 for details.
Microsoft includes support for What's This? help in its programming
languages. The free EC Software Help Suite tools package (see
above) makes implementing What's This? help much easier in Borland
Delphi and Borland C++.
Help buttons These buttons link directly to the relevant topic in your main help file.
in dialogs: These are implemented with a direct call to the help file and the topic.
All dialogs requiring any explanation should have a button.
In addition to making your application much easier to use these buttons
also help to ensure that your users actually read your help instead of just
reaching for the phone or writing you an email!
F1 context Relevant help is displayed automatically when the user presses the F1
help: key. What help topics or features are called depends on where and
when the user presses F1 (the "context"). How this is implemented
depends on the individual programming language and it is entirely up
to the programmer. As the help author you only have to provide the
programmers with the necessary topic IDs and/or help context
numbers 849 so that they can call the appropriate topics.
Flash demos: Flash demos are not really a context-sensitive help technology but
they can be a very useful addition to interactive wizards. Help &
Manual can insert Flash demos 422 in your help files with just a few
mouse clicks.
These demos are animated movies in the Macromedia Flash® format
that show your users exactly how specific operations are performed in
your application, just as if a teacher was there demonstrating it for
them on the screen. There are now a number of software tools
available for making Flash demos. These tools are like screenshot
See also:
Using Context-Sensitive Help 431
Creating popup topics 194
12.11.2 About popup topics
Popup topics 194 are created in the Invisible Topics section because they are never included
in the TOC (Table of Contents). Their name describes their function: instead of being
displayed in the help viewer they are displayed in little "popup windows" that are closed
again when the user clicks after reading their contents.
Popup topics can be displayed with links from within your help file and by calling them
directly from applications.
Context-sensit HTML Help and Winhelp popup topics (but not JavaScript popups 199 )
ive help: can also be called directly from applications. When they are called in
this way they are displayed on their own, without displaying the help
file, and closed again immediately when the user clicks on them. This
makes them a useful context-sensitive help tool for describing controls
and functions in programs. See About context-sensitive popups 840 for
more details.
problems. It is tempting to also make extensive use of them in normal help but there are
a couple of issues you need to think about before doing so:
· Using popups makes it more difficult to produce a printed version of your help. The
user can’t display popups in a PDF or a printed manual so to produce the printed
version you need to provide different ways of accessing the same information, for
example by creating different versions of the text and using conditional output 451 .
This can be quite a lot of work and can get quite complicated to maintain.
· Popups reduce the multi-output compatibility of your source. Popups work
differently in Winhelp and HTML Help, and in Browser-based Help (HTML) you can
only use JavaScript popups 199 . Popups do not work at all in Word RTF, PDF and
printed manuals.
· If you want to produce multiple format versions of your help project from the same
source it’s best not to use popups too much because they can significantly
increase the work involved in maintaining the multiple versions.
See also:
Context-Sensitive Help 431 (HowTo)
Conditions and Customized Output 451
Using JavaScript popups 199
12.11.3 About context-sensitive popups
A context-sensitive popup is a popup displayed directly from within your application (right-
click on any control in Help & Manual and select What's This? to see an example).
The first thing to understand is that context-sensitive popups are actually the same topics as
the normal popup topics displayed within your help. In your Help & Manual project the same
popup topics in the Invisible Topics section can be used for both purposes. The main
difference is how they are called:
· Normal popup topics are displayed within the help when the user clicks on a link in a
topic – for example to display a definition or an explanation.
· Context-sensitive popup topics are called directly by the application and displayed
in little windows of their own. This is done without displaying the rest of the help at all.
Only the little popup is displayed, and it is closed again as soon as the user clicks on it.
In addition to this there are settings in the Project Properties that control how popups are
handled in HTML Help and Browser-based Help. (See below for more details.)
· The example above uses dual-mode help 436 , which makes it possible to use popups
with formatted text in HTML Help. This is why it is possible for the popup to have a title
with bold text. However, note that Windows Vista does not include support for Winhelp
, so if Vista is important for you don't use dual-mode help any more.
· Help & Manual 4 also supports a new technology called JavaScript popups 199 for
formatted popups in HTML Help and Browser-based Help. JavaScript popups cannot
be used for context-sensitive help however.
In Winhelp:
In Winhelp you don't need to configure anything to generate context-sensitive
popups. The popup topics in the Invisible Topics section will be integrated in the
main help file and support formatted text, graphics and links. Context-sensitive calls
are made directly to the topics in the main help file.
In HTML Help:
In HTML Help you can choose from four different popup modes. Only two of these
modes can be used for context-sensitive popups called from applications, so you
Dual-mode If you select this mode Help & Manual exports all the popup topics
help: in the Invisible Topics section to a separate Winhelp .HLP file.
Topics in Invisible Topics with other help window types (set in their
Topic Options tabs) are not included in this file. Calls to the topics
are made to this .HLP file using the standard Winhelp popup calling
syntax.
Tip:
You can achieve exactly the same result by creating a separate
Winhelp project for your popup topics. Just create your popup
topics in the Invisible Topics section, leave the TOC section empty
and compile as Winhelp. Here too, the calls to the .HLP file from
your application are made using the standard Winhelp popup
calling syntax.
You can use this approach to use JavaScript popups in your help
and Winhelp popups for context calls for your application. See here
437 for details.
JavaScript This new popup mode uses JavaScript coding to generate popups
popups: that can contain formatted text, links, graphics and even videos
and animations. These popups also support graphical effects and
transitions (fade-in etc.), and can be used in both HTML Help and
Browser-based Help. However, JavaScript popups also cannot be
used as context-sensitive popups called from applications. See
Using JavaScript popups 199 for details.
See also:
Creating popup topics 194
Using Context-Sensitive Help 431
IDs, Context Numbers and Keywords 849
12.11.4 About implementing context help
Windows now has a number of different context-sensitive help technologies 835 . Generally,
implementing these technologies is the job of the programmers. They must write the calls
that access specific topics in your help, and the syntax of these calls depends both on the
help format (Winhelp or HTML Help) and the programming language they are using.
Context-sensitive help is only fully supported in Winhelp ( .HLP) and HTML
Help (.CHM). However, it is also possible to make limited context calls to the
Browser-based Help generated by Help & Manual. See Context calls to
Browser-based Help for details 438 .
Auto- Help & Manual can also generate and apply help context numbers
generating help to new topics automatically. Go to Project > Project Properties >
context Common Properties > Topic IDs & Help Context 553 to set up this
numbers: feature.
Applying help You can also apply help context numbers to existing topics and
context import "help context map files" with lists of context numbers
numbers to provided by your programmers. See The Help Context Tool 624 for
existing topics: details.
Changing topic Don't despair if you discover that you've been using the wrong
IDs: topic ID format! You can edit your topic IDs at any time, Help &
Manual updates all internal links automatically. See Changing
topic IDs 214 for details.
automatically generate all the popup topics in Help & Manual, together with the
matching IDs and help context numbers.
· See Auto-generating context-sensitive popups 435 for details.
See also:
Using Context-Sensitive Help 431
The Help Context Tool 624
Creating popup topics 194
Changing topic IDs 214
12.11.5 Popups in Winhelp and HTML Help
There are a couple of things you need to bear in mind when editing popup topics because of
the different ways they are handled by HTML Help and Winhelp.
In addition to Winhelp and HTML Help popups are also supported in Help &
Manual eBooks. This format also supports popups with formatted text,
graphics and links. However, these features can all only be used within the
eBook. No context-sensitive features are supported.
See also:
Creating popup topics 194
Using Context-Sensitive Help 431
Using JavaScript popups 199
12.11.6 About map files
The compilers for many modern programming languages have facilities for automatically
generating special text files called "map files" containing the topic IDs and/or help context
numbers for the components and controls used in the program. These files can save you a
lot of work in Help & Manual.
existing topics and to automatically generate missing topics with the topic IDs and help
context numbers. This second capability is particularly useful for generating the context-
sensitive popup topics used to document program components controls and controls
with the right-click What's This? function and other similar functions. See Auto-
generating context-sensitive popups 435 and The Help Context Tool 624 for details.
Example:
#define IDH_DEFAULT 100001
#define IDH_OK_BTN 100002
#define IDH_CANCEL_BTN 100003
#define IDH_CLOSE 100004
#define IDH_HELP_BTN 100005
#define IDH_APPLY_BTN 100006
#define IDH_APP_HMB 100010
#define IDH_WHAT_IS_THIS_CMD 100011
#define IDH_WHAT_IS_THIS_POPUP 100012
See also:
Auto-generating context-sensitive topics 435
The Help Context Tool 624
Using Context-Sensitive Help 431
Browser-based Invisible topics are exported as normal HTML files. By default only
Help: invisible topics that are linked to from topics included in the TOC
are exported. However, you can export all invisible topics by
selecting the Export all topics listed in "Invisible Topics" option in
the Compile Help File 663 dialog.
PDF and printed Invisible topics are completely ignored in these formats. Since the
manuals: formats are entirely based on the Table of Contents invisible topics
have no defined location and cannot be included.
eBooks: Full support for invisible topics except for context-sensitive help.
The eBooks format provides no support at all for context-sensitive
help.
See also:
Creating invisible topics 193
Using embedded topics 222
Using secondary windows 471
Using external windows 473
Topic IDs:
Every topic in your help project has a unique alphanumeric topic ID, which you can view
by clicking on the topic's Topic Options tab above the editor pane. The topic ID is
required because it is the unique identifier of each topic. Without the topic ID neither
Help & Manual nor any electronic help system can find the topic.
Topic IDs are used as the "addresses" for accessing topics within your help, both via the
TOC and via hyperlinks. In addition to this they are also used as the addresses for calls
to topics in your help from applications, both on their own and in combination with help
context numbers 852 .
For information on making these calls to different help formats see the documentation of
your programming language and the tutorials for programmers available on the EC
Software website.
Topic ID properties:
Maximum topic In Help & Manual 4 and above topic IDs can be up to 256 characters
ID length: long.
Anchors:
Anchors are named "jump targets" that you can insert in your topics so that you can
create links to specific locations within topics. They can be used both for hyperlinks
within your help project and for calls to your help topics made from application
programs.
Anchors are entered with Insert > Topic Anchor. The anchors stored in each topic are
listed in the topic's Topic Options tab in the Anchor in Topic: field. This field always
contains at least one anchor called (Top of Page), which is the standard jump target for
links without anchors.
· For details see Anchors - jump targets 305 .
Maximum In Help & Manual 4 and above anchor IDs can be up to 256 characters
anchor ID long.
length:
Where not Links to anchors are not supported in external windows 473 in HTML
supported: Help.
index.html?topicname.htm#anchorname
Note that Help & Manual 4 now uses the standard # hash character as the separator
between the HTML topic file name and the anchor name instead of the comma that
was required in Help & Manual 3!
· See Anchors - jump targets 305 for details.
See also:
Assigning topic IDs 210
Changing topic IDs and context numbers 214
Anchors - jump targets 305
Introduction:
Like topic IDs context numbers can be viewed and edited in the Topic Options tab of
each topic. They are displayed in the Help Context Number: field. You can enter and edit
them there, but they can also be assigned automatically. See Assigning help context
numbers 213 for details.
Help context numbers were introduced with Winhelp as the main way of making
application calls to help topics. Many programmers and programming languages still use
them but they have actually become less popular in recent years. Since they are numeric
only they are not very "human-friendly" and it is quite easy for a programmer to make a
call to the wrong help context number and not notice it.
Most modern programming languages can make calls directly to topic IDs 849 in both
HTML Help and Winhelp without using context numbers at all. Topic IDs are fully
alphanumeric and can be up to 256 characters long, which means that they can
descriptive and easily human-readable.
Help Workshop for Winhelp and Microsoft HTML Help Workshop for HTML Help. In
addition to this you can also find some useful tutorials for programmers on the EC
Software website that explain how to interface to Winhelp and HTML Help with range of
common programming languages.
See also:
Assigning help context numbers 212
Changing topic IDs and help context numbers 214
12.12.3 About index keywords
Index keywords are a list of words associated with a topic that are used to generate the
keyword indexes in the output formats that support them (all formats except Word RTF).
Keywords are entered and viewed in the Keywords: field of each topic's Topic Options tab.
In addition to this you can also view and manage the resulting index interactively by right-
clicking in the Index tab in the Table of Contents / Index pane.
· See Keywords and Indexes 369 for details on using these features.
chapters will simply waste the user's time. When users click on an index entry they want
to find information that they can use, and that should be the criterion for including a term
in the index.
See also:
Keywords and Indexes 369
12.12.4 About A-keywords
A-keywords, which are also referred to as "associative keywords" (that's what the A stands
for) or "A-link keywords", are quite a mystery to many help authors. They are actually not as
complicated as many people believe, but they tend to get neglected because most people
believe they are too difficult to understand or use.
However, as you will discover yourself when you try, it is difficult or impossible to use
them to create genuinely meaningful "See also" lists.
The problem is that the inclusion of a simple keyword is too mechanical to be able to
provide a real basis for relevance in all but the most simple and technical texts. Also,
managing your A-keywords and their relevance is actually much more difficult than
simply deciding yourself which topics are really relevant to the current topic. You will
either end up overwhelming the user with too many links that are not really relevant,
or you will miss the relevant links.
Just like indexes, really good "See also" lists need to be made by hand. It is one of
the cases where there is no alternative to hard work if you want quality.
See also:
Keywords and Indexes 369
Using A-keywords 382
Windows metafiles:
You also can add Windows metafiles (.WMF and .EMF) to your projects directly.
When you compile these files are converted to BMP and then the normal conversion
and compression options set in your Image Conversion settings are applied.
· The Image Conversion settings are in the HTML Export Options 573 , which can
be accessed in both the HTML Help and the Browser-based Help sections of
Project > Project Properties.
See also:
Using Graphics 313
12.13.2 Embedded graphics
Normally when you insert graphics in Help & Manual you only insert references to external
graphics files. This is also the recommended way for handling graphics because it is much
more efficient and prevents your project file from getting too large.
There are two kinds of images that actually get embedded in your project and saved with
your project file: Embedded OLE objects 428 and images pasted together with text from word
processing programs like Microsoft Word.
See also:
Using Graphics 313
12.13.3 About using media files
Media files (movies and animations) used in Help & Manual and the output formats it
generates are always handled by the associated players, not by Help & Manual itself. These
players must be properly installed, both on your computer for editing and on the user's
computer for viewing. Because of this a number of restrictions apply that you should be
aware of before using media files in your projects.
HTML Help Supports all media formats supported by Help & Manual. Whether the
(.CHM) formats are playable on the user's computer depends on installation of
the associated players (see below 860 ).
Browser- Supports all media formats supported by Help & Manual. Whether the
based Help ( formats are playable on the user's computer depends on installation of
HTML): the associated players (see below 860 ).
eBooks (.EXE Flash animations are supported and are embedded in the eBook .EXE
): file. Other video formats are not supported.
See Conditions and Customized Output 451 for details on creating alternative
content for different output formats.
See also:
Flash Animations and Video 422
12.13.4 About using OLE objects
You can only use You cannot use dynamic objects like videos 422 and other media
OLE objects that files. The OLE selection dialog is a Windows element that
can be displayed automatically displays all the OLE-capable applications installed on
as graphics. your system. This does not mean that you can use all the object
types listed!
Only the visible For example, if you insert a Word document consisting of several
part of large OLE pages only the page (or part of the page) that is visible in the Help
objects is & Manual editor will be included in your compiled output. This is a
included in the restriction imposed by conversion of the objects into static graphic
output. images.
Print quality and This is caused by the conversion to static graphics designed for on-
the quality of OLE screen viewing and cannot be prevented.
objects in PDFs
may be slightly
inferior.
See also:
Using OLE Objects 428
Insert OLE Object 701
See also:
Using Variables 440
12.14.1 Where you can use variables
The following table provides a quick reference showing where you can use which kinds of
variables in your projects:
Topic text and Global predefined variables and user-defined variables inserted
headers 441 with Insert > Text Variable 696 or typed manually.
Note that variables typed in manually are not highlighted in the
HTML code objects Global predefined variables and user-defined variables inserted
311 manually by typing the variable names.
HTML templates 450 Global predefined variables, user-defined variables and special
HTML template variables inserted manually by typing the
variable names.
PDF templates 451 Global predefined variables, user-defined variables and special
PDF template variables inserted manually by typing the variable
names.
See also:
Using Variables 440
12.14.2 Global predefined variables
These variables can be used everywhere in your project where variables are supported,
including topics, headers, links, the TOC, scripts, macros and all HTML templates. See
Using Variables 440 for details.
All the date and time variables except <%TOPICLASTEDITED%> and <%
TOPICLASTEDITEDTIME%>insert the current system date and time at
compile time. These two special variables insert the date and time on
which the topic containing the variable was last edited.
All date and time variables use the corresponding date and time formats
set in the Windows configuration on the computer on which you are
running Help & Manual.
<%TITLE%> The title of the help project defined in Project > Project
Properties > Common Properties > Title & Copyright .
<%COPYRIGHT%> The copyright statement defined in Project > Project
Properties % Common Properties > Title & Copyright .
<%AUTHOR%> The name of the author of the help defined in Project >
Project Properties > Common Properties > Title &
Copyright.
<%SUMMARY%> The Summary text for the project defined in Project >
<%VERSION_MINOR%> The Minor Version text for the project defined in Project >
Project Properties > Common Properties > Title &
Copyright.
<%VERSION_BUILD%> The Build Version text for the project defined in Project >
Project Properties > Common Properties > Title &
Copyright.
<%VERSION%> An automatically-generated combination of the Major, Minor
and Build version variables, with dots between the versions.
For example, if Major=3, Minor=25 and Build=329 then
Version will be 3.25.329.
<%CITATION%> The "citation" for Winhelp files defined in Project > Project
Properties > Winhelp > Miscellaneous Winhelp Options .
This is the text automatically added to text copied and pasted
from compiled Winhelp files.
<%MONTHNAME%> The current month in long format (i.e. February, not Feb or
2)
<%TOPICLASTEDITED% The date when the topic containing the variable was last
> edited in short format.
<% The time when the topic containing the variable was last
TOPICLASTEDITEDTIME edited.
%>
See also:
Using Variables 440
Using HTML Templates 475
12.14.3 HTML template variables
You can use all global predefined variables 863 and user-defined variables 449 in HTML
templates 475 . In addition to this you can also use the following special predefined variables,
which are only relevant in HTML templates.
<%TOPIC_HEADER_TEXT%> Inserts the header of the current topic as plain text. This
is particularly useful if your project headers are different
from and longer than the TOC captions, which is
inserted with <%TOPIC_TITLE%>.
This is used primarily for search engine optimization, for
which you would insert it in the description meta tag, like
this:
<meta name="description" content="<%
TOPIC_HEADER_TEXT%>">
<%TOPIC_TEXT%> Inserts the body text of a topic, i.e. the entire topic as
edited and formatted in your project in the Help &
Manual editor. This is the most important variable – if
you leave it out your topics will be empty!
<%TOPIC_BREADCRUMBS%> Generates a series of "breadcrumb trail" navigation
links to topics above the current topic in the TOC tree.
This variable is empty in top-level topics. In second-
level topics and below the variable generates a series of
links in the format Link1 > Link2 > Link3 ...
The current topic is not included in the series. If you
want to place the current topic title at the end of the
breadcrumb trail you can do so with the <%TOPIC_TITLE
%> variable (see below).
The breadcrumb trail variable is empty in topics in the
Invisible Topics section.
This variable has a matching condition pair:
<IF_TOPIC_BREADCRUMBS> and
<IFNOT_TOPIC_BREADCRUMBS> . These conditions can
be used to only insert the trail where it is relevant and to
insert alternative content when it is not relevant.
See here 479 for details on how to use this variable.
<%TOPIC_TITLE%> Topic title (this is the caption of the topic in the TOC).
<%TOPIC_KEYWORDS%> Inserts all the keywords 370 of the current topic, comma-
separated. Needless to say, this variable is essential for
the keyword index and shouldn't be removed...
See also:
Using HTML Templates 475
Editing HTML templates 476
Help Windows 800
12.14.4 HTML template output conditions
You can use all of Help & Manual's standard conditional output options in HTML templates,
both your user-defined include options 453 and options based on the current output format. In
addition to this there are a few special conditional switches which are only for use in Help &
Manual's Browser-based Help output, because they are only relevant there. See the lists
below for details.
You can think of these conditions as proprietary HTML tags. They are used to enclose
blocks of HTML code in your template that you want to include in the output only if the
condition is fulfilled.
· Conditions based on the output format are only relevant in the topic page template 477 ,
which is used in HTML Help, Browser-based Help, eBooks and Visual Studio Help /
MS Help 2.0. The TOC and keyword index templates are only used in Browser-based
Help so it does not make sense to use format-based conditions there.
<IF_TOPIC_HEADER> True if the current topic has a header and the header is not
empty (the variable <%TOPIC_HEADER%> is not "").
See also:
User-defined include options 453
Using HTML Templates 475
Conditional output in HTML templates 487
Help Windows 800
12.14.5 PDF template variables
You can use all Help & Manual's global predefined variables 863 and your own user-defined
variables 449 in the text objects in PDF print manual templates 543 . In addition to this there are
also a number of special predefined variables that can only be used in print manual
templates. These variables are described and listed in the separate help and documentation
of the Print Manual Designer program included with Help & Manual.
See also:
PDF and Printed Manuals 538
The Print Manual Designer 622
12.14.6 Conditional output
Help & Manual supports multiple levels of conditional output that give you very precise
control over what is included in your compiled output on the basis of output format and user-
defined output conditions 453 . These features make it possible to generate different versions
of your project for different purposes and output formats. You can control the inclusion or
exclusion of everything from individual words (or even single letters) to entire topics and
branches of the Table of Contents (TOC).
For example, if you output your project to both HTML Help and PDF you will generally need
to make some small changes to the text for the PDF version because some things that are
relevant in electronic help just don't make sense in PDF or a printed manual. With
conditional output you can include both versions in the same project and only the relevant
components will be included when you compile.
Text Text variables (see Using Variables 440 ) allow you to use
variables: variables for text items. Then if the item changes you only
need to redefine the variable once to implement the change
throughout your entire project.
Variables are not really conditional output in the strictest
sense of the term, but you can use them for conditional
output by redefining them globally 461 with an external file
with definitions that replace the variable definitions in your
Modular Help & Manual's modular projects features 492 enable you to
projects: include or exclude entire projects in your help at compile
time. This makes it possible to quickly add or remove entire
blocks with multiple chapters
See also:
Conditions and Customized Output 451
Using Variables 440
Working with Modular Help Systems 492
Conditional output in HTML templates 487
Authoring modularity:
This applies to all modular projects in Help & Manual. It means that your Help &
Manual project consists of multiple projects, referred to as "modules", that you edit
separately but compile together with the help of a main project referred to as a
"master project" or "master module".
You can output a modular project as a single help file, then you are only using
authoring modularity, or as multiple help files, then you are also using output
modularity.
Authoring modularity gives you practical advantages for managing your projects,
output modularity gives you additional flexibility for the configuration of different
versions of your help.
Output modularity:
You are using output modularity when you also output your modular help system as
multiple help files. This is then a "truly modular" help system and it gives you great
power and flexibility. The TOCs of individual modules are automatically included in
the master TOC if the modules are present on the user's computer, and excluded if
the modules are not present. With a little planning you can then easily distributed
different versions of your help for different product versions just by including or
excluding individual modules in your distribution package.
See Runtime and compile time merging 875 for more details on truly
modular projects.
Generation of truly modular help systems with multiple help files is only
supported in Winhelp and HTML Help.
HTML Help You can choose whether you want to merge the projects completely
and Winhelp: and create a single output file, or create individual projects whose
TOCs are all displayed and accessed through the TOC of the master
help file. See Runtime merging and compile time merging 875 .
eBooks: The entire modular project is always compiled to a single eBook. The
TOCs of the master module and all child modules are integrated in the
single TOC of the eBook.
PDF and RTF: Modular projects are always merged to a single document when you
output to PDF or RTF or print a user manual with the Print Manual
option in the File menu. Unlike Help & Manual 3 and earlier you can
now include more than one level of child project and child projects that
contain their own child projects.
See also:
Working with Modular Help Systems 492
12.15.1 Runtime and compile time merging
In Winhelp and HTML Help you can create genuine modular projects with separate help files
that are displayed in a single TOC. Alternatively, you can also combine all your modules to
one large help file.
See Choosing the merge method 494 for instructions on how to set the
different merge methods for HTML Help and Winhelp output.
In compile time merging Help & Manual combines all the modules and
creates one big help file when you compile the master module. If you
want to exclude a module you must recompile without the module.
With runtime merging you create separate help files for the master and
child modules (each module must be compiled separately). Help files
that are not present on the user's computer are automatically excluded
from the TOC.
See also:
Working with Modular Help Systems 492
Planning modular projects 878
12.15.2 Planning modular projects
If you want to get the full benefits from modular projects you need to do some careful
planning, and a little discipline is also required while you are working. Module divisions
should be logical rather than arbitrary. You must break your project up into modules in a way
that increases your flexibility, and you need to plan ahead to make sure that you take any
possible future changes into account. You also need to think very carefully about links
between modules and make sure that any links you create will not create problems for you
later.
Important note:
Most of the rules described here are most important for genuinely modular help systems
created with runtime merging 875 . In projects using compile time merging they are not so
essential for your output. Even so, it is still a very good idea to plan your projects this
way anyway. Then you always have the freedom to switch to runtime merging if you
want, and your projects will also have a better and more logical structure that is easier to
manage in the long run.
structure that reflects the actual structure of your project. This makes the project easier
to understand, particularly for new team members who join the project after you have
started working.
Common components of your documentation that are always included in your output can
be included in the master module, or in one or more separate modules that are always
included. Which approach you choose is up to you and depends on the nature of your
project. If you put everything in separate modules so that the master module has no
content of its own then nobody ever needs to actually edit the master module except the
person responsible for doing the final compile, and this can be an advantage.
Alternatively, use A-links 500 to make sure that links to non-existent modules will display a
suitable alternative topic.
See also:
Working with Modular Help Systems 492
See also:
Working with Tables 332
Using embedded topics 222
12.16.1 Embedded topics and multiple references
Help & Manual gives you two different ways to "reuse" topics in your project: You can "
embed 222 " a topic in another topic, which inserts a copy of the contents of one topic in
another topic, and you can create multiple references 220 to a single topic in the Table of
Contents (TOC). Both these methods have their advantages and disadvantages.
Advantages:
· The "multiple topics" do not increase the size of your output files because there is
really only one topic. If all you want is identical copies of the same topic in different
locations then this method is preferable to the embedded topics method (see
further below for details).
Disadvantages:
· All the "instances" have the same topic ID so it is only possible to create hyperlinks
to the original instance.
· For the same reason all keywords associated with the topic will always link to the
original instance of the topic.
· All the instances are 100% identical because they are the same topic. You cannot
have different text before or after the "copies" in the individual locations.
(with a grey background), and are updated automatically if any changes are made to the
source topic. You can embed the same source topic in as many target topics as you like.
To change the contents in the target topics you only need to edit the one source topic.
In addition to this the source topic also exports any index keywords 370 it contains to the
target topic. This means that any keywords associated with the source topic also only
need to be entered once; they are automatically exported to all target topics and
combined with any keywords the target topic already contains. This only works with index
keywords, however. A-keywords 382 , topic IDs 210 and help context numbers 212 are not
exported, because this would cause logical problems.
When you compile your project real copies of the source topics are created in all the
locations where you have inserted them as embedded topics. The target topics are all
real, independent topics with their own topic IDs and help context numbers, and you can
have different text in each topic both before and after the embedded topics. After
compilation there is no difference between the ordinary content of the topic and the
content that was inserted by embedding another topic.
Advantages:
This method has several important advantages over multiple TOC references 220 :
· You can include different text before and after the embedded topic. This makes
embedded topics ideal for documentation where you need to repeat the same
instructions in different contexts.
· In the compiled output all the topics containing embedded topics are real, unique
topics containing copies of the source information. Each topic has its own unique
topic ID that can be linked to directly.
· All normal index keywords are embedded together with the topic – you only need
to enter the keywords for the embedded text once. (A-keywords are not embedded
because this would cause logical contradictions.)
Disadvantages:
· The only real disadvantage of embedded topics is that they make your project
larger, but not really all that much larger. Text does not take up much room and
multiple instances of graphics don't inflate your file size because there is never
more than one copy of identical graphics in your output file.
See Using embedded topics 222 for instructions on using this feature.
See also:
Multiple TOC entries for one topic 220
Using embedded topics 222
12.16.2 How table sizing works
The dynamic sizing options for tables and their cells used by the new Help & Manual editor
may be a little unfamiliar if you come from a word processing background. This is because
they work much more like HTML tables than like tables in word processors like Word or
Open Office Writer. However, if you have any experience at all with HTML and web design
you will feel right at home with Help & Manual's table sizing functions.
Table width:
The width of a table can be set to Autosized, Fit to Page or Manual (pixels or
percent).
Autosized The width of an autosized table is dictated by the content it
tables: contains.
When you create an autosized table it initially expands
automatically to occupy the entire width of the current
paragraph. Its width cannot be changed with the mouse until its
cells actually contain content. Once it contains content you can
resize both the total table width and the column widths with the
mouse.
If you add content to the columns without adjusting the column
widths manually the widths will be adjusted automatically on the
basis of the content. All the column widths will remain dynamic
unless you lock 335 them, and the width of the entire table will
also expand if necessary – for example if you insert large
graphics.
Note that changing column widths with the mouse automatically
locks 335 the width of both affected columns, setting the width to a
fixed value in pixels.
· For full details on the settings see New Table / Table Properties 717 in Reference >
Menus and Dialogs > The Table Menu.
Cell/column width:
The widths of cells/columns can be absolute (Preferred width set in pixels), relative (
Preferred width set as percentage of table width) or dynamic (no Preferred width
set).
Absolute-width Absolute-width cells/columns will only retain their width if it is
cells/columns: possible. If they contain fixed-width content (graphics, text
without word wrap) they too will expand to fit the content.
They will also be expanded or contracted if there is no other
way to meet the table width requirements, but only as a last
resort.
Note that selecting Lock column width in the Table
menu sets the width of the selected column(s) to
an absolute value in pixels.
Percentage width Cells/columns with percentage widths will only have the
· For full details on the settings see New Table / Table Properties 717 in Reference >
Menus and Dialogs > The Table Menu.
Row height:
Row height can be either dynamic (no Preferred height setting) or absolute (
Preferred height set to a pixel value). The default setting is dynamic and this is also
the best option for almost all applications. Absolute row heights will always be
ignored as soon as the content of any cell exceeds the height you set.
It is actually advisable to regard row height as always dynamic. If you want to create
rows with white space the easiest way to achieve this is by entering some empty
paragraphs in any cell in the row. Only use absolute pixel values when you really
need precise sizes for PDF or printed output.
setting: Right-click in the column and select Table in the context menu. If Lock
Column Width is activated just click on it to de-activate it. Then repeat to check
the Lock setting for the other columns in the table.
· For more details on this see Controlling column widths 334 in Basic Working
Procedures > Working With Tables and New Table / Table Properties 717 in
Reference > Menus and Dialogs > The Table Menu.
See also:
Working with Tables 332
See also:
Repair and Recover 638
Customize - General 731 (configuring automatic backups)
12.17.1 Data security and crash recovery
Serious Windows crashes are quite rare nowadays but they still do happen occasionally.
Help & Manual itself is a very stable program and has undergone thorough testing.
project you are always working on a copy, not on the original project file (you can locate
these copies, provided they have not yet been deleted, by searching for hmd*.tmp).
Since the project file remains closed while you are working it is always safe, even in the
event of a Windows system crash.
The actual project file is only opened when you save your project. As soon as you have
finished saving it is closed again and you return to working on a new temporary copy.
hard disk failures. You can use a second hard disk, recordable CD's or DVDs, tape
drives, ZIP drives, USB sticks or any other suitable medium. Simply having a copy on
a second medium radically increases the security of your data because it is very
unlikely that both media will fail at the same time.
See also:
Repair and Recover 638
Customize - General 731 (configuring automatic backups)
12.17.2 HTML Help for W95 and NT4
HTML Help was introduced as the standard Windows help format with Windows 98. The
files needed for running it are not installed by default on old versions of Windows 95 or
Windows NT4 that have not been updated. In extremely rare cases (this is now actually
almost unheard-of) you may hear from users of these obsolete systems who are unable to
open HTML Help files.
Please note that you will only need the following information for users of Windows 95 and
NT4 who have not updated their systems for years!
12.18 Accessibility
The purpose of the Voluntary Product Accessibility Template, or VPAT, is to assist Federal
contracting officials in making preliminary assessments regarding the availability of
commercial “Electronic and Information Technology” products and services with features
that support accessibility. It is assumed and recommended that offerers will provide
additional contact information to facilitate more detailed inquiries.
XIII
898 Help & Manual Online Help
See also:
Compiling your Output 410
Conditions and Customized Output 451
See also:
The Repair and Recover Tool 638
Data security and crash recovery 886 (Reference)
See also:
Text Formatting and Styles 228
When I select bold, underlined or italics it always formats the word to the
left of the cursor!
This is a quick formatting feature. To select bold, italic or another formatting style to
type new text just make sure that there is a space to the left of the cursor. Then there
is no "word" to the left of the cursor and you can just start typing.
»Return to Top 900 «
See also:
Writing and formatting text 179
Where can I get the Microsoft help compilers for compiling my output?
Like all help authoring tools on the market, Help & Manual uses Microsoft help
compilers to turn output into a compiled help file. The compilers for producing HTML
Help and Winhelp can be freely downloaded from the Microsoft website.
However, since the compilers are quite hard to find on the Microsoft site you can
always download the most recent versions of the compilers from on our home page:
http://www.ec-software.com/reshelp.htm
Visual Studio Help / MS Help 2.0 compiler:
The Visual Studio Help / MS Help 2.0 compiler is part of the Visual Studio Help
Integration Kit (VSIK) which can be downloaded from the Microsoft website.
However, it is not a stand-alone compiler, it can only be used in combination with the
Visual Studio .NET programming package. You don't need it if you don't have this
package. – this format is only used for documenting Visual Studio .NET components. It
is not used for creating normal help for applications and you will not need it unless you
are a Visual Studio .NET programmer.
»Return to Top 902 «
My HTML Help file doesn't work on a network drive – I just see error
messages instead of the topic pages!
Recent security updates to Windows XP have introduced some severe restrictions for
accessing HTML Help files across network drives. Under Windows XP most file links 300
in HTML Help files will now generally not work at all and HTML Help itself is also
severely restricted. Without registry changes on the user's computer HTML Help now
cannot be used at all on networks. More details and a fix for this problem are available
on the Help & Manual user forum.
»Return to Top 902 «
I entered tab stops or spaces to create indents but they don't work in any
HTML-based output formats!
Tab stops are unknown in HTML, it simply doesn't support them at all. Spaces also
don't work for indents in HTML because all groups of spaces are ignored and
displayed as a single space. If you need to create accurate spacing to format code
examples use indented paragraphs (these are converted automatically in HTML-based
output formats) or tables. Also use tables to create tabulated lists in HTML-based
output formats.
»Return to Top 902 «
When some of my users open my HTML Help file they get this error
message:
I want to change the Top / Previous / Next navigation texts in the topic
headers of my output!
You can change these texts and also select graphics files to use as buttons instead of
the texts. Go to Project > Project Properties > HTML Help > Topic Pages 565 and edit the
options in the section titled Topic with headers have Top, Previous and Next links .
(You can also edit the HTML template manually here if you have HTML editing skills.)
Note that these are shared options that can also be accessed in the Browser-based
Help and Visual Studio Help sections. For more details See HTML Help 565 and
Browser-based Help 586 in the Project Properties chapter.
»Return to Top 902 «
viewer title bar when a topic using the corresponding window type
is displayed.
I entered the title correctly but the help window of my output file always
has the title "HTML Help"!
Non-English HTML Help files always display "HTML Help" in the title bar when they are
displayed by Windows versions with a different language from the language of the help
file. Only the titles of English help files are displayed correctly on all language versions
of Windows. This is caused by an uncorrected bug in the Microsoft HTML Help viewer.
The only known solution is to set the Language of the help file in Project Properties >
Common Properties Language Settings to English (United States) if this is possible for
your help project. (This is generally possible for all western European languages
without special character sets.)
See About project language settings 783 in Reference > International Languages and
Unicode for more details.
»Return to Top 902 «
The Winhelp .HLP file for my dual-mode popups isn't getting generated!
Due to an uncorrected bug in the Winhelp compiler you must have a minimum number
of popup topics in your Invisible Topics section for dual-mode help to work. If your .HLP
file is not getting generated when you compile just add two or three empty dummy
popup topics to your Invisible Topics section.
Can I view and edit the HTML Help source files?
Help & Manual generates all the files needed for viewing and editing HTML Help
projects with the MS HTML Help Workshop application. However, these files are
normally deleted automatically after compiling. To prevent this deselect the option
Delete temporary files after compilation in the Compile Help File and Run 663 dialog
when you compile your project. You will then find all the project files in the \~tmpchm
folder in your project directory (the directory containing your .HMX project file).
»Return to Top 902 «
by selecting Topics > Change Item > Icon 671 . These icons are predefined by HTML Help
and they are the only ones that are available. Although the Microsoft HTML Help
Workshop documentation suggests that these default icons can be replaced by a
custom icon strip this feature has never actually worked in HTML Help.
Technically, a custom icon strip can be referenced in the Table of Contents by editing
the .hhc contents source file 905 with HTML Help Workshop. But if you experiment with
HTML Help Workshop you will discover that the help compiler requires an absolute
path to the icon strip file to display it correctly, including the drive letter. This makes it
impossible to distribute your help file to customers.
»Return to Top 902 «
I would like to call a HTML Help .CHM file from the command line!
Just execute the hh.exe HTML Help viewer with the name of the help file as the first
parameter:
HH "myhelp.chm"
HH.EXE is the HTML Help executable. It is located in the Windows directory does not
require a path.
Examples:
· Note that topic names are referenced as Topic ID + .htm in all lower case
characters. (The standard extension is .htm but this can be changed in Project >
Project Properties > HTML Help > HTML Export Options 573 .)
HH "myhelp.chm::/requestedtopic.htm"
Opens the file myhelp.chm and displays the topic requestedtopic.htm. The "::/" in
the parameter separates the requested topic (the html file name in the internal
structure of the .chm file).
HH "myhelp.chm::/requestedtopic.htm#paragraph2"
Opens the file myhelp.chm and displays the topic requestedtopic.htm and jumps to
the topic anchor paragraph2.
Opens the file myhelp.chm and displays a topic referring to its help context
number.
»Return to Top 902 «
See also:
HTML Help 765 (Help Formats)
possible to make these settings in two places (Project Properties and the template),
and this caused conflicts and mistakes for some users.
»Return to Top 907 «
I created a PDF with active hyperlinks but the links are invisible!
Go to Project > Project Properties > Adobe PDF > PDF Layout and activate the
Underline topic links and paint in color: option to define the visibility and color of the
hyperlinks in your PDF document.
For more details see PDF Layout 604 .
»Return to Top 907 «
See also:
Adobe PDF 774 (Help Formats)
See also:
PDF and Printed Manuals 538
Customize - PDF Export 738
scanned too.
If you don't want your own files to be included in the index you must add them to the
output directory after you compile your project – or upload them to your server
separately so that they cannot be indexed when you compile.
»Return to Top 909 «
See also:
Full-text Search configuration options 594
activate Use custom spelling options for this project in the Project Settings tab.
Then click on the button to select, create and edit custom dictionaries.
See The Spell Checker 629 in Tools Included with Help & Manual for full details.
»Return to Top 910 «
See also:
Spell checking 184
Spell Checker 629
See also:
Working with Tables 332
I undocked the TOC by dragging it onto my desktop and now I can't dock
it again!
You can undock the Table of Contents pane by dragging it but you can't dock it by
dragging it. To re-dock it just double-click in the title bar of the TOC window or select
Dock Table of Contents in the View menu.
»Return to Top 912 «
See also:
Customizing Help & Manual 84
See also:
Flash Animations and Video 422
Where are the browse sequences that I used to use in Help & Manual 3?
Support for this feature has been removed in Help & Manual 4. Browse sequences
were actually only relevant in Winhelp (HTML Help and all other formats do not support
browse sequences), which is now an obsolete format and is only supported in H&M4
for backward compatibility.
My compiled Winhelp file doesn't display a Table of Contents!
Winhelp always consists of two files: An .HLP file containing the help topics and a .CNT
file containing the Table of Contents (TOC). You must always distribute both of these
files if you want to have a TOC. If you only distribute the .HLP file the help will be
functional but you will not have a TOC.
»Return to Top 914 «
The "chapters with text" in my project are empty in the Winhelp output!
The contents of the chapter have been inserted as a topic with the same
name beneath the chapter heading!
The outdated Winhelp format doesn't support chapters with text. If your project
contains chapters with text they will be exported twice: Once as a chapter without text
and once as a sub-topic of the chapter without text, with the same name as the
chapter. This "duplicate" topic will contain the content of your chapter with text.
If you are outputting both to Winhelp and to formats that support chapters with text you
can use Help & Manual's conditional output features 451 to create alternative topic and
chapter versions for Winhelp and the other formats.
The custom TOC icons I selected with Topic > Change Item > Icon aren't
displayed in my Winhelp output!
This is a limitation of the Winhelp format. It does not support custom icons in the TOC.
»Return to Top 914 «
Single top-level topics become sub-topics of the next chapter above them
in the TOC!
This is a bug in the Winhelp format. If you create a content structure as shown below,
the last topic will not appear in the Table of Contents of the compiled .HLP file. Instead,
it is displayed as the last topic of the previous chapter (in the example this would be
Frequently asked questions).
This problem only affects single topics (i.e. topics that are not part of a chapter) that
are top-level topics. Help & Manual automatically applies a fix to correct the problem
for single topics that are not top-level topics. However, there is no solution for the
top-level topics because Microsoft has not corrected the bug in the compiler. The only
workaround is not to use single topics below other chapters in the TOC.
»Return to Top 914 «
How can I call a Winhelp file directly from the command line?
Just execute the winhlp32.exe Winhelp viewer followed by the name of the help file you
want to open:
winhlp32 "myhelp.hlp"
Opens the file myhelp.hlpand displays the topic with the context number 23678.
Opens the file myhelp.hlp and displays the topic with the ID introduction.
»Return to Top 914 «
See also:
Winhelp 768 (Help Formats)
-L- handling 38
Insert menu 686
language and character set 149 styling with CSS, tutorial 118
language settings 147 testing 38
and PDF 786 to anchors 109
CID font mode for PDF 149 lists
configuration settings for 149 applying deletes indent 900
for project 88, 783 bullets and numbering 252
help file language 149 Format menu 710
in Project Properties 551 improvements 38
project language and character set 149 not included in styles 252
right-to-left languages 783 output format in HTML 265, 573, 583, 601
right-to-left languages, activating support for live spell checking 91
551 localization 530
Unicode 149 Longhorn Help 763
Unicode mode in Windows 2000 and XP 551 about 779
languages links 779
Arabic 551, 783 lost files 65
Chinese 149, 780
Czech 551, 780
Eastern European 149, 780 -M-
Farsi 551, 783
macro links
Greek 149, 780
© 1997 - 2007 by EC Software, all rights reserved
Index 931
XML
pros and cons 778
translating individual topics 533
XML elements
translatable elements 796
XML Export/Import 48, 50, 778
and translating projects 533
Baggage files and 787
BOM (Byte Order Mark) 792
compiling 415
Darwin 142, 165
DocBook 142, 165
file encoding 792
file timestamps 787
graphics files and 787
importing entire XML packages 165, 793
importing individual XML topics 793
importing XML file packages to new projects
142
importing XML files 793
output files 792
output files and folders 787
reference 786
translating individual topics 533
UTF-8 and 792
Windows requirements 786
zipped XML output 793
XML files
check list for translators and editors 796
editable elements 796
editing in external programs 795
editing with Word 2003 799
testing external editors 795
WYSIWYG preview and editing 795
XML schema 48, 50, 142, 165, 208, 415, 533, 778,
793
exported schema description file 787, 795
XML schema and stylesheet files 122
XML Source tab
editing XML source code 179, 208
how the XML Source editor works 32
-Z-
ZIP XML archives
must unpack to open 793
zoom factor for graphics 314, 317