Inside Help & Manual - The Complete Guide To The Revolutionary Content Management System
Inside Help & Manual - The Complete Guide To The Revolutionary Content Management System
User
Manual
Version 5.1
Table of Contents
Part I Welcome to Help & Manual 5 14
Part II Introduction 16
1 About Help &
...................................................................................................................................
Manual 16
2 Why Help & ...................................................................................................................................
Manual? 16
3 FAQ for Upgraders
...................................................................................................................................
from HM4 18
4 The User Interface
................................................................................................................................... 23
Toolbars .......................................................................................................................................................... 24
The Project Explorer
.......................................................................................................................................................... 25
The Editor .......................................................................................................................................................... 29
Options & Keyboard
..........................................................................................................................................................
Shortcuts 31
5 Getting help................................................................................................................................... 37
6 How to buy Help
...................................................................................................................................
& Manual 39
Image caption..........................................................................................................................................................
and comment styles 176
Copying styles
..........................................................................................................................................................
from other projects 177
Table styles .......................................................................................................................................................... 178
Numbered and ..........................................................................................................................................................
Bulleted Lists 180
Bulleted.........................................................................................................................................................
lists 180
Numbered .........................................................................................................................................................
lists 183
Outline numbered
.........................................................................................................................................................
lists 187
Formatting
.........................................................................................................................................................
lists 193
HTML list.........................................................................................................................................................
output format 194
Formatting program
..........................................................................................................................................................
source code 195
Examples ......................................................................................................................................................... 197
7 Managing the
...................................................................................................................................
TOC & Topic Files 199
Moving, cutting
..........................................................................................................................................................
and pasting topics 199
Deleting TOC ..........................................................................................................................................................
entries and topics 201
Changing the ..........................................................................................................................................................
levels of topics 203
Exporting and..........................................................................................................................................................
importing topics 204
Topic IDs and..........................................................................................................................................................
context numbers 205
Multiple TOC..........................................................................................................................................................
entries for one topic 208
Topic icon, status
..........................................................................................................................................................
and timestamps 209
Topic files without
..........................................................................................................................................................
TOC entries 210
Managing topic
..........................................................................................................................................................
files in the Explorer 211
8 Links, Anchors,
...................................................................................................................................
Macros, Scripts and HTML 214
Supported hyperlink
..........................................................................................................................................................
types 214
Inserting topic
..........................................................................................................................................................
links 215
Inserting Internet
..........................................................................................................................................................
links 218
Inserting file..........................................................................................................................................................
links 220
Inserting script
..........................................................................................................................................................
and macro links 223
Editing and formatting
..........................................................................................................................................................
links 225
Anchors - jump..........................................................................................................................................................
targets 226
Linking to other
..........................................................................................................................................................
projects and help files 229
Links and secondary
..........................................................................................................................................................
windows 231
Inserting HTML..........................................................................................................................................................
code objects 231
Application links
..........................................................................................................................................................
to Webhelp 234
A-Links and ..........................................................................................................................................................
A-Keywords 236
9 Using Graphics
................................................................................................................................... 238
Supported graphics
..........................................................................................................................................................
formats 238
Inserting graphics
..........................................................................................................................................................
and screenshots 239
Positioning graphics
.......................................................................................................................................................... 241
Editing, resizing
..........................................................................................................................................................
and hi-res PDF printing 242
Using the Impict
..........................................................................................................................................................
graphics editor 244
Using the screen
..........................................................................................................................................................
capture function 244
Using graphics
..........................................................................................................................................................
as hyperlinks 245
Graphics with..........................................................................................................................................................
hotspots, macros and scripts 246
Finding and ..........................................................................................................................................................
replacing graphics 249
Managing your..........................................................................................................................................................
graphics 249
Shortcuts for..........................................................................................................................................................
graphics 251
10 Working with
...................................................................................................................................
Tables 253
About tables.......................................................................................................................................................... 253
Inserting tables
.......................................................................................................................................................... 254
Managing column
..........................................................................................................................................................
widths 256
Selecting and..........................................................................................................................................................
formatting cells and tables 258
Adding and deleting
..........................................................................................................................................................
rows and columns 259
Splitting, merging
..........................................................................................................................................................
and unmerging cells 260
Printing user..........................................................................................................................................................
manuals 328
Using print manual
..........................................................................................................................................................
templates 330
Embedding files
..........................................................................................................................................................
in PDFs 332
CID mode for..........................................................................................................................................................
Unicode fonts 332
Redefining variables
.......................................................................................................................................................... 414
HTML template
..........................................................................................................................................................
conditions 415
6 Templates ...................................................................................................................................
in Help & Manual 416
Template types
.......................................................................................................................................................... 416
Templates for
..........................................................................................................................................................
projects 417
Skins .......................................................................................................................................................... 419
Content templates
..........................................................................................................................................................
for topics 423
PDF and print
..........................................................................................................................................................
manual templates 425
HTML templates
.......................................................................................................................................................... 427
Windows Exe ..........................................................................................................................................................
eBook templates 429
Using secondary
..........................................................................................................................................................
windows 429
7 Using HTML
...................................................................................................................................
Templates 430
Types of HTML..........................................................................................................................................................
templates 431
Editing HTML ..........................................................................................................................................................
templates 431
HTML topic page
..........................................................................................................................................................
Templates 433
The Layout template
..........................................................................................................................................................
for Webhelp 437
The TOC template
..........................................................................................................................................................
for Webhelp 437
The Search template
..........................................................................................................................................................
for Webhelp 438
The Index template
..........................................................................................................................................................
for Webhelp 438
Variables in ..........................................................................................................................................................
HTML templates 439
Conditional output
..........................................................................................................................................................
in HTML templates 441
Graphics references
..........................................................................................................................................................
in HTML templates 442
Referencing..........................................................................................................................................................
external files 444
Troubleshooting
.......................................................................................................................................................... 445
8 Working with
...................................................................................................................................
Modular Help Systems 446
Support in output
..........................................................................................................................................................
formats 447
Creating a modular
..........................................................................................................................................................
project 447
Merge methods..........................................................................................................................................................
for CHM & HLP 451
Managing modules
..........................................................................................................................................................
in the TOC 454
Managing graphics
..........................................................................................................................................................
in modules 456
Managing IDs ..........................................................................................................................................................
and context numbers 456
Creating links
..........................................................................................................................................................
between modules 459
Publishing modular
..........................................................................................................................................................
projects 461
Multiple Webhelp
..........................................................................................................................................................
projects 464
9 Command ...................................................................................................................................
Line Options 466
H&M command ..........................................................................................................................................................
line syntax 466
Project converter
..........................................................................................................................................................
syntax 471
Basic command..........................................................................................................................................................
line options 473
Using include..........................................................................................................................................................
options 475
Output to multiple
..........................................................................................................................................................
formats 476
Skins & redefining
..........................................................................................................................................................
variables 478
INI and batch..........................................................................................................................................................
files 480
Publishing from
..........................................................................................................................................................
your application 485
10 Using Baggage
...................................................................................................................................
Files 485
Uses for Baggage
..........................................................................................................................................................
Files 486
Adding and referencing
..........................................................................................................................................................
files 486
Removing, exporting
..........................................................................................................................................................
and importing 487
Baggage handling
.......................................................................................................................................................... 488
11 Visual Studio
...................................................................................................................................
Help (MS Help 2.0) 490
Requirements
..........................................................................................................................................................
and limitations 490
About compiling
..........................................................................................................................................................
VS Help 491
Conditional
.........................................................................................................................................................
output 785
Topic entry
.........................................................................................................................................................
and topic file include options 787
Context-Sensitive
..........................................................................................................................................................
Help & Popups 788
Context-sensitive
.........................................................................................................................................................
help technologies 789
About popup
.........................................................................................................................................................
topics 792
About field-level
.........................................................................................................................................................
popups 794
About implementing
.........................................................................................................................................................
context help 796
Popups .........................................................................................................................................................
in Winhelp and HTML Help 798
About map.........................................................................................................................................................
files 799
8 Project Structure
...................................................................................................................................
& Templates 801
Topic IDs, Context
..........................................................................................................................................................
Numbers and Keywords 801
About topic
.........................................................................................................................................................
IDs and anchors 801
About help
.........................................................................................................................................................
context numbers 803
About index
.........................................................................................................................................................
keywords 805
About A-Keywords
......................................................................................................................................................... 806
Help Windows .......................................................................................................................................................... 807
External.........................................................................................................................................................
windows 808
Help windows
.........................................................................................................................................................
in HTML Help 809
Help windows
.........................................................................................................................................................
in Winhelp 810
HTML Templates
.......................................................................................................................................................... 810
Graphics.........................................................................................................................................................
in HTML templates 811
HTML Template
.........................................................................................................................................................
Variables 813
HTML Template
.........................................................................................................................................................
Output Conditions 817
9 International
...................................................................................................................................
Languages and Unicode 819
About H&M's..........................................................................................................................................................
Unicode support 820
About project
..........................................................................................................................................................
language settings 822
Language settings
..........................................................................................................................................................
and PDF 824
Index 840
I
14 Help & Manual 5 - User Help
II
16 Help & Manual 5 - User Help
2 Introduction
The topics in this section provide some basic information about Help & Manual, what it is for
and what you can do with it.
Save time
Help & Manual helps you to create better documentation quicker. Despite its power
the user interface and workflow are amazingly intuitive 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 is just as important for success as
an application that does not crash. 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.
Concentrate on your work
Explain your software to your users, not the help authoring tool to yourself. Help &
Manual's intuitive user interface is transparent and straightforward. All the technical
details are handled in the background by the program. What you see is what you get
and what you get is what you need.
Work in a team
With Help & Manual you and your co-authors can all work on the same project at the
same time. Just put your project on server where all team members can access it
and get to work. Help & Manual makes sure that no two team members can try to
change the same topic at the same time.
All standard help formats are supported
No matter whether you need to create modern HTML Help 727 , the obsolete Winhelp
740 format, or even Visual Studio Help 738 (also known as Help 2.0) for internal Visual
Studio .NET programming documentation, Help & Manual is the right tool for the job.
It compiles all standard help formats and it creates them all from the same single
source.
In addition to this Help & Manual also generates multi-browser friendly Webhelp 730 ,
Adobe PDF 737 , printed manuals 738 , single-file eBooks 735 (both the universal ePub
format a self-contained Windows Exe format that includes its own viewer) and Word
RTF 739 – also all from the same single source file, that you only need to edit once!
Reuse content
Create libraries of reusable topics and texts and insert them in your projects in Link
or Copy mode. In Link mode the texts update everywhere where they are used when
the original files are changed. In the Professional version you can also reuse topics
from other projects directly.
Localize your documentation
Help & Manual projects can be edited and translated directly by translators working
with professional tools like SDL Trados and Across. In addition to this, tools are also
included to help translators using Help & Manual itself as their translation editor.
Supply a user manual
You can output printed manuals on paper or as a PDF file that your users can view
on screen or print themselves. Here too, Help & Manual delivers where other help
authoring tools just make promises – it creates ready-to-ship user manuals directly
from your help project, including powerful facilities for controlling all the elements that
need to be different in printed and electronic output.
Forget about maintaining different versions for your online help and printed manuals!
Writing help can be fun
Don't believe it? Give it a try with Help & Manual...
The Quick Access Toolbar next to the Application Button navigates in your editing
history like a browser and provides direct access to the most frequently-used functions.
Configure it with the drop-down menu at its right-hand end.
See The User Interface 23 for more details.
Where are all the other menus and the editor tabs?
The menus have been replaced by tabs. You will find your editing and text formatting
tools in the Write tab. The tools that used to be located in the Insert menu are also
located there.
The editor tabs are still there, they're now below the main editor window instead of
above it.
I can't find the settings for the background colors of the topic and header!
These are no longer defined by the help windows except for the obsolete Winhelp
format. Background colors for all HTML-based output formats are now defined in the
HTML page template which you can find in Configuration > HTML Topic Page
Templates.
The Standard version of Help & Manual can only read and write the single-file
compressed format.
Uncompressed XML is required for multi-user editing.
Popups are now defined with the new "Topic Class" attribute
Popup topics are now defined with the Topic Class attribute in or when you are creating
the topic file. Popup topics can only be created in the Topic Files section of the Project
Explorer.
You cannot create a popup topic in the Table of Contents section and you cannot
switch the Topic Class to Popup in the Table of Contents section. (The Topic Class
attribute is currently only used for popups but it may be used for other new features in
later updates.)
The Editor 29
The editor is where you do all your editing work. You will spend most of your time here
editing topics, working as you do in a normal word processor. However, this is also where
your project options and settings are displayed when you select the Configuration
sections of your project in the Project Explorer.
2.4.1 Toolbars
This type of toolbar was first introduced by Microsoft in Office 2007, where it has radically
improved the usability of all Office programs. Instead of searching for functions in menus
they are all available directly.
Most of the tools are available directly in the "groups" within each tab for example
above you can see the Clipboard, Editing, Styles and Font groups. Some groups and
tools also provide access to dialogs with additional options.
You can load multiple projects into the Explorer and work on them all at the same time for
example to copy and paste between projects and to work on the components of modular
help systems.
Just select an item in the Project Explorer to view it for editing in the Editor.
Productivity Tip
Select Split Explorer in the Project tab to
edit parts of your project in separate
Explorer windows. This also makes
copying and pasting in the Explorer easier.
Topic Files
This section lists all the topic files in your project, including topic files that do not have
entries in the TOC for example topics containing the text for popup windows, for display
in external windows or for use as embedded topics.
To create a topic without a TOC entry you create it in the Topic Files section just click in
the Topic Files section where you want to insert the topic and create a new topic 56 . You
can always change the position of the topic later.
Baggage Files
You do not need to concern yourself with this section when you are just getting started
with Help & Manual. It is used for storing additional files you want to associate with your
project, such as additional graphics and script files that you want to reference in the code
of your HTML templates.
All the files included in the Baggage Files section are automatically exported to the
relevant output formats when you publish your project. See Using Baggage Files 485 for
more information.
You will spend most of your time editing the content of your topics here. The editor pane is
also used to display end edit project properties when you select them in the Configuration
section of the Project Explorer.
You can select topics both in the Table of Contents section and the Topic Files section of
the Project Explorer. The Topic Files section lists all the topic files in your project, the
Table of Contents section only shows those topic files that have entries in the Table of
Contents (TOC).
Apart from adding index keywords it is better not to change any of the settings displayed
here until you become more familiar with working with Help & Manual.
If you don' t understand what you see here don't worry about it you don't need to know
anything about XML to use Help & Manual efficiently.
For details about XML in Help & Manual see XML and XML editing 493 .
· Select the drop-down gallery on the right of the Quick Access Toolbar to customize the
Quick Access Toolbar.
· Right-click on any item in the Ribbon to add it to the Quick Access Toolbar.
· You can configure the appearance of the program, the layout and contents of the
Ribbon Toolbar, the behavior of the editor, automatic update checking and many other
things.
· You can also assign keyboard shortcuts to styles. Select Write > Styles > Edit
Styles in the Ribbon to access the styles editing dialog.
Accelerator keys:
The Ribbon interface has an advanced accelerator keys interface which can also be used
by authors with vision handicaps.
1. Press the ALT key once briefly (you may have to press it twice if you have just clicked
on a control in the Ribbon). Small icons showing accelerator letters and codes will be
displayed on the Ribbon controls.
2. Type the accelerator letters on the keyboard to perform the corresponding actions. If
multiple letters are displayed type them one after another these are not key
combinations!
If Ribbon menus are displayed they will show more accelerator keys.
· To "unpin" just mouseover the Explorer title to display it and then click on the pin tool in
the title bar again.
You can return the tab to its "tabbed" position by dragging its title bar back down onto the
other tabs:
This works best when you pin to the left side of the Editor. If you pin it on the right it will
roll out vertically rather than horizontally.
See also:
Using the Project Explorer 41
· Select the Help tab in the Ribbon for additional help options.
Tutorials
· Check the Help tab in the Ribbon for links to a number of useful tutorials.
· You can also find a collection of tutorial projects in the Examples folder in the My
Documents\My HelpAndManual Projects directory.
· A selection 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
III
Quick Start Tutorials 41
Key Information
Topic entries in the TOC are actually links
pointing to matching topic files in the Topic
Files section. You can create topic files
without TOC entries by creating a new
topic file directly in Topic Files instead of in
the TOC.
You can create new topic files 108 by adding entries to the TOC. Doing this creates a TOC
entry and a topic file, and links the entry to the topic file. You can also create topic files
directly in the Topic Files section then the files do not have TOC entries.
You can change the structure of your TOC by moving the entries around in the TOC tree,
either with the mouse or with the blue arrow tools in Project > Manage Topics. Doing
this just moves around the entries in the TOC the topic files and other items to which
the TOC entries link remain unchanged.
The Project Explorer displays the contents of your projects in the same way as files in the
Windows Explorer file manager. Selecting topic files in the Table of Contents (TOC) or Topic
Files sections displays their contents in the Editor.
The Project Explorer display is exactly the same for both the compressed .hmxz format and
the uncompressed .hmxp format. The only difference between the two formats is the way
they are saved – both contain exactly the same files and folders.
To load a project click on the Application Button, select Open. and select a project to load
(or create a new project 54 ).
Loading multiple projects:
· The and buttons expand and collapse projects and the main sections of each
project.
· Inside the main sections the +/- nodes expand and collapse the subsections, just as
they do in the Windows Explorer.
· To edit a topic or topic file just click on an item in the Table of Contents or Project Files
sections of the Explorer. Topic contents are displayed in the editor and can be edited
directly. Work as you would in a word processor.
· To edit your project properties just select items in the Configuration section the
dialogs with the settings are displayed in the editor pane.
You can move, copy and paste topics in the Explorer. Drag with the mouse, right-click to
display editing options or use the Clipboard functions in the Project tab.
· Drag a topic between other topics to insert it before or after the other topics.
· Drag a topic onto another topic to make it a child (subtopic) of the other topic.
You can position the Project Explorer to the left, right, above or below the Editor Pane!
OR
· Drag the Explorer title bar onto any of the margins of the editor pane. You can dock the
Explorer above, below, on the left or on the right of the editor pane.
· To display the pinned Explorer just move the mouse pointer over the vertical tab in the
left margin.
· To unpin the Explorer first display it, then click on the pin tool in its title bar.
1. In the Project Explorer click on the section of your project you want to view separately,
or on the title of a project (if you have more than one project open).
2. Select Explore > Split Explorer in Project > Manage Topics .
Productivity Tip
You can split any section of the Project
Explorer into a separate pane including
the Configuration sections and the Project
Files sections.
You can return the tab to its "tabbed" position by dragging its title bar back down onto the
other tabs:
This works best when you pin to the left side of the Editor. If you pin it on the right it will
roll out vertically rather than horizontally.
3. Select Convert and open to convert the old project.The new project file will be saved
in the same directory as the old project you are converting.
This method automatically converts the old project into a single compressed file with the
extension .hmxz containing all the project components except the graphics files. If you
are using the Standard version of Help & Manual this is the only project format you can
use.
Automatic Converter:
External Converter:
When you use the external converter program you can decide what you want to do with
your old invisible topics:
Add invisible topics to TOC creates the (Former Invisible Topics) folder described
above.
Keep organization structure creates sub-folders in the Topic Files section to match
your folder structure in your old project. You can create a maximum of 10 levels but the
converter will not create more levels than the original project contained.
See also:
Choosing your save mode 85
The Project Converter 550
1. Click on the Application Button (the large button in the top left corner of the program)
and select New.
2. Select the option Create a new help project and then follow the instructions displayed
in the interactive wizard.
3. If you have Help & Manual Professional you can choose between two save formats:
· Uncompressed XML:
Saves your project as a collection of XML files. Must be saved in an empty folder.
This format is required for multi-user editing. The main project file has the extension
.hmxp.
· Compressed single-file format:
Saves the same project files in a single compressed file with the extension .hmxz.
This is the only format supported by the Help & Manual Standard.
1. Select the Table of Contents section in the Project Explorer and choose the position
in your project where you want to insert the imported data. The data will be inserted
after the selected topic.
See also:
Settings for importing data 105
sections in the Project Explorer. You will normally create topics in the TOC so that they
are included in the table of contents of your published project.
1. In the Project Explorer click in the position in the TOC where you want to insert a new
topic.
3. Choose where you want to insert your topic relative to 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).
4. This displays the Insert New Topic or Chapter dialog:
Select the Topic/Chapter option. Enter a heading (title) for the new topic. The Topic ID
is created automatically from the heading. You can edit this if you like. Leave the
HTML Template, Topic Class, Create in: and Topic Template: settings as they are.
5. After entering your settings click on OK to create the new topic and insert it in the
TOC.
6. Once you have created a topic you can edit it 58 and move it around 63 in the TOC.
See also:
Creating and Editing Topics 108
The Write tab in the Ribbon provides direct access to all the tools you need while you are
editing. The only group inside this section that may be unfamiliar to word processor users is
the Insert group, which contains special tools used in help authoring projects.
Editing overview
· You can type and enter text and copy and paste from other programs just as you would
in a normal word processor.
· Use the tools in the Font and Paragraph groups in the Write tab to format text. Select
text to apply new formatting, select a formatting option (Bold, Italic etc.) and type to
change formatting from the current cursor position.
· The Font and Paragraph groups have additional dialog modes that you can display by
clicking on the little icons in their bottom right corners.
· Hover the mouse pointer over the tools in the Write tab of the Ribbon for descriptions.
· You can save a lot of time and work by using styles. See the Using styles 61 tutorial.
Spell checking
Live spell checking:
1. Select Write > Spelling > Configure Spell Checker and select the dictionary for
the language you want to use in the Main Dictionaries section at the bottom of the
dialog. Select Download dictionaries to get additional dictionaries.
2. Activate the Check spelling as you type option. Misspelled words will then be
underlined in red as you type.
Manual spell checking:
· Select the top half of the Spelling tool in the Project tab to check the current topic or
text entry field or window. If text is selected only the selected text will be checked.
· Select the bottom half of the tool for the spell-check menu.
Spell checking is supported almost everywhere in Help & Manual where you can enter
text. Just right-click to display the context menu or click on the upper half of the Spelling
tool in the Project tab to access.
See Help and print styles 175 for more information on using different style sets for different
output formats.
See also:
Use Styles 61 (Quick Start Tutorial)
Creating and Editing Topics 108
Text Formatting and Styles 155
If you included a keyboard shortcut in the style definition 164 you can use the keyboard
shortcut instead of the Style Selector.
If you select text before applying a style the style's font attributes will only be applied to
the selected text.
3. Click on the Font Settings and Paragraph Settings buttons and adjust the font and
paragraph settings. If you want you can also apply Borders and Background settings.
4. Click on OK to close the dialog. The results are immediately visible in the editor and
will be applied to all the text in your entire project formatted with the edited style.
The same settings will also be applied to text formatted with styles based on the edited
style, for all attributes that have not been explicitly changed in the other styles.
How to change the font and paragraph settings for your entire project
There are a number of predefined standard styles. The most important one is Normal,
which is the default style for all normal body text paragraphs in your project. Most other
styles are based on Normal. This means that changing the settings of Normal will
automatically change all text in your entire project formatted with Normal or with any style
based on Normal.
Changing the definition of Normal changes the body text style for your entire project in a
couple of seconds.
The same settings will also be applied to text formatted with styles based on Normal, for
all attributes that have not been explicitly changed in the other styles.
2. Select Add Style to define a new style, then edit its default name in the Style Name:
field. You can change style names whenever you like!
3. Select Font Settings and Paragraph Settings to edit the settings for the style.
4. If you want you can also assign a shortcut key so that you can apply the style quickly.
5. Then click on OK to close the dialog.
See also:
Text Formatting and Styles 155
Dynamic Styles 711 (Reference)
manages all these files as though they were a single document for example, you can
perform search and replace operations globally in all your topic files.
You can move topics around in the Table of Contents (TOC) section of the Project Explorer
with the keyboard and the mouse and you can also change the "level" topics in the TOC tree
hierarchy.
· Drag a topic onto another topic to make it the child (sub-topic) of the target topic:
files, the Topic Files section only shows you the files.
In addition to your TOC topics, the Topic Files section can also contain topic files not
included in the TOC, for example topic files for popups and topics that are only accessible
by clicking on hyperlinks.
Folder display and file display in Topic Files:
The folders in the Project Files section are just like folders in Windows Explorer. You can
delete topic files and you can shift them from one folder to another if you have created
multiple folders. However, there is no "table of contents" structure here because you are
really just looking at disk folders containing lists of files.
See also:
Managing Topics in the TOC 199
2. This displays the Open Image dialog. Select the image you want to insert, then click
on Open to insert the image in your document.
Tooltip:Displays a tooltip when the user mouseovers the image in HTML formats.
Caption: A caption displayed below the image
Spacing: Space around the image (in pixels)
Zoom% / Autosize: Resize 242 the image or display in full size.
3. If the image is not in your project folder you will be asked whether you want to copy it
or add the path to the image location to your project.
See also:
Using Graphics 238
Graphics, Videos and OLE Objects 753
3. Select the number of rows and columns and choose the color and cell border settings.
For the moment leave all the other settings as they are you can always change them
later.
4. Click on OK to insert the table.
For full details of the settings see Table Properties 638 in the Reference section.
Manipulating tables
· Drag columns borders with the mouse to change column widths.
· Drag the right table margin to change the width of the table (whether you can do this
depends on the table width settings).
· Click in the table and select the Table tab to display the table tools most of these
are self-explanatory.
· Use the Lock Column tool to make column widths fixed or dynamic.
· Click in the table and select Table > Table > Properties to edit the table
properties.
· Click and drag to select cells, columns and rows, then select table properties and
apply settings in the Selected Cells tab (if you don't select anything the settings apply
to the current cell only).
See also:
Working with Tables 253
How table sizing works 723
2. Drag the selected text to the Table of Contents (TOC) in the Project Explorer and drop
it on the topic you want to link to.
3. That's it, your hyperlink is finished. To edit it just double-click on it.
3. Select the Topic ID of the topic you want to link to from the list below the Target: field.
4. Choose a style for the link from the options on the left.
5. Click on OK to create the link.
You can also activate an anchor for an existing link by double-clicking on the link and
selecting the anchor from the list.
See also:
Links, Anchors, Macros, Scripts and HTML 214
Topic IDs, Context Numbers and Keywords 801
2. Select the format you want to publish to in the list on the left.
3. Check the output file name and location in the Output File: field and change them if
you want.
4. Make sure that the Display file when finished checkbox is selected, leave all other
settings as they are.
5. Click on OK in a few moments you will be able to admire your finished product.
When you publish Webhelp 674 always use an empty folder because this format generates
a large number of output files. The program will suggest creating a folder called \HTML
inside your project directory, which is a good choice.
Before publishing ePub eBooks please check the eBook sections in Configuring Your
Output 305 and Publishing Formats 732 before getting started with ePub eBooks. You will
also need to install the free Adobe Digital Editions reader software so that you can
display your ePub eBooks.
The layout of your PDF output is controlled by separate template files. See Adobe PDF
301 for details.
2. Then just select the output format you want to publish to. Your project will be
published and displayed automatically as soon as the process is finished.
See also:
Customize - Compilers 649
Testing Your Project 288
Configuring Your Output 292
Visual Studio Help 490
See also:
Templates in Help & Manual 416
Transforming your output with skins 321
PDF and Printed Manuals 325
Configuring your output for Webhelp 296
Configuring your output for eBooks 304
See also:
Quick Start Tutorials 41
3.14.1 DHTML examples tutorial
Name: dhtml.hmxz
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 headersA non-scrolling header stays visible while the user scrolls the text
of your topic. Help & Manual's own help uses these headers. for your HTML Help and
Webhelp output.
· Add graphical navigation buttons to your topic headers, with and without
mouseover effectsWhen the user positions the mouse over the button it changes and becomes
highlighted..
· 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 Webhelp projects.
· Add code to suppress underlined TOC entries in Webhelp in Firefox and Mozilla
browsers.
· Add a background to the TOC in Webhelp.
· Add background images to topics and headers.
See also:
Using HTML templates 430
3.14.2 Conditional output tutorial
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 399
3.14.3 Modular help systems tutorial
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 446
3.14.4 Pocket PC help template
See also:
Templates for projects 417
3.14.5 Non-scrolling header template
See also:
Using HTML templates 430
3.14.6 Help & Manual help project template
See also:
Templates for projects 417
See also:
Translating Your Projects 521
IV
Basic Working Procedures 83
More information
Once you have learned the basics in this section see More Advanced Procedures 335 to
learn what else you can do with Help & Manual.
The "How-To" topics are intentionally kept as brief as possible. The focus is on how to do
what you need to do. More detailed background information on many subjects is provided
in the Reference 568 section and in other areas.
See also:
Introduction 16
The User Interface 23
Quick Start Tutorials 41
See also:
Importing Data 99
Help Formats 725
4.1.1 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, then click on Next.
2. In the next screen you choose the project save format and specify the project save
location, the project filename ,the project title and the language settings:
Save format:
The Standard version of the program can only save in Compressed ZIP Archive mode
(single .hmxz project file). If you have the Professional version you can deselect this
option to save in uncompressed XML format (an .hmxp project file and separate XML
files for all topics and settings, required for multi-user editing). You must save to an
empty folder when you choose the uncompressed format.
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 94 for details on settings for other languages. Then click on Next.
3. 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 OK 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 99
4.1.2 Choosing your save mode
Help & Manual Help stores your projects as a collection of plain text files using a very
flexible format called XML. You don't need to know anything at all about XML to use the
program.
If you are using the Professional version of Help & Manual you can save your project in
single-file compressed mode or uncompressed XML mode. Single-file mode saves all your
project files in a single compressed file with the extension .hmxz. Uncompressed mode
saves your project as a collection of files and folders, which you must save in an empty
folder.
Key Information
The uncompressed XML format (.hmxp) is
only supported in the Professional version
of Help & Manual. The Standard version
can only save in the compressed single-file
format (.hmxz).
See also:
Help Formats 725
4.1.4 Converting old projects
Help & Manual automatically converts old project files from previous versions (H&M 3 and
H&M 4) when you open them. Alternatively, you can also use the stand-alone converter
program to convert old projects manually.
Help & Manual 4 projects are converted 1:1 and do not require any post-processing after
conversion. Older Help & Manual 3 projects did not have the styles and other features
introduced in the modern versions of the program and may require some reformatting after
importing.
3. Select Convert and open to convert the old project.The new project file will be saved
in the same directory as the old project you are converting.
This method automatically converts the old project into a single compressed file with the
extension .hmxz containing all the project components except the graphics files. If you
are using the Standard version of Help & Manual this is the only project format you can
use.
Automatic Converter:
External Converter:
When you use the external converter program you can decide what you want to do with
your old invisible topics:
Add invisible topics to TOC creates the (Former Invisible Topics) folder described
above.
Keep organization structure creates sub-folders in the Topic Files section to match
your folder structure in your old project. You can create a maximum of 10 levels but the
converter will not create more levels than the original project contained.
See also:
The Project Converter 550
Text Formatting and Styles 155
Dynamic Styles 711
Working with Tables 253
2. Select the topic ID of the default topic in the Default ("Home") topic: field.
See also:
Project Configuration 652
Configuring your Output 292
Using help windows 121
Templates and Secondary Windows 416
See also:
Using help windows 121
Help Windows 807
Help Windows Settings 660
Templates and Secondary Windows 416
4.2.3 International languages setup
Help & Manual is fully Unicode-enabled and can edit and compile help files in virtually all
international languages except right-to left languages.
Working in Unicode languages requires both configuration settings for the language you are
using in your project and special Windows settings for the Microsoft help compilers, which
Font character The default setting is ANSI_CHARSET. This should not be changed
set: for English and Western European languages.
Default font: This option only defines the font used in the TOC and dialog boxes by
HTML Help and the obsolete Winhelp.
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 last value defines the
character set and 0 tells Help & Manual to set the character set
automatically.
Note that the system locale and the user locale are different! Simply setting the
display and/or data entry language does not change the system locale!
1. Log in to a user account with administrator privileges.
2. Open the Regional and Languages section in the Windows Control Panel.
· Windows 2000: Activate your language in the list of languages at the bottom of
the main tab and then select the same language as the locale at the top of the
same tab.
· Windows XP: Select your language as the default language for non-Unicode
programs in the Advanced tab (this tab is only displayed if you have
administrator rights).
· Windows Vista: Select the Change System Locale button in the Administrative
tab (this tab is only displayed if you have administrator rights.
3. Click on OK to apply the setting and then restart Windows.
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 HTML Help and
the obsolete Winhelp.
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. You may need to change the font to display all
characters correctly in your language.
The default is MS Sans Serif,8,0. The value 8 defines the font size
and should generally not be changed. The last value defines the
character set and 0 tells Help & Manual to set the character set
automatically.
Note that the system locale and the user locale are different! Simply setting the
display and/or data entry language does not change the system locale!
1. Log in to a user account with administrator privileges.
2. Open the Regional and Languages section in the Windows Control Panel.
· Windows 2000: Activate your language in the list of languages at the bottom of
the main tab and then select the same language as the locale at the top of the
same tab.
· Windows XP: Select your language as the default language for non-Unicode
programs in the Advanced tab (this tab is only displayed if you have
administrator rights).
· Windows Vista: Select the Change System Locale button in the Administrative
tab (this tab is only displayed if you have administrator rights.
3. Click on OK to apply the setting and then restart Windows.
Font This setting must be set to the correct character set to display the
character 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 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
See also:
International Languages and Unicode 819 (Reference)
Language Settings 654 (Project Configuration)
3. Select the documentation format, then follow the instructions displayed in the
interactive wizard.
See Settings for importing data 105 for details on the optimum settings for each data
format.
See also:
Settings for importing data 105
4.3.2 Importing data into existing projects
In addition to creating new projects with imported data you can also import documentation
from other formats into existing Help & Manual projects. Here too, an interactive wizard
guides you through the steps of the import process, prompting you to enter the necessary
settings for importing the data.
The imported topics and chapters are inserted in the current position in the table of contents.
This means that you need to select the position in the TOC where you wish to insert the data
Productivity Tip
Also see the powerful Snippets 149 function
with which you can reuse topics and topic
content saved in external files.
3. Select the documentation format, then follow the instructions displayed in the
interactive wizard.
See Settings for importing data 105 for details on settings for individual formats.
See also:
Re-using content with snippets 149
Moving, cutting and pasting topics 199
4.3.3 Importing & copying topics and XML files
You can import topics and XML topic files to the current topic from the current project, from
other Help & Manual projects and from libraries of Help & Manual XML files. You can either
overwrite the entire current topic with the external file using Load Topic from File or you can
insert the external file in the current topic with the Snippets tool.
You can also copy and paste topics and chapters from other projects in the same way as
within your current project.
Productivity Tip
Use Snippets to build up a collection of
pre-formatted text blocks and topics that
you and your team use frequently! Just
copy the XML topic files you want to use to
a folder for storage.
project. If the styles are not defined the snippets text will be displayed unformatted. If you
use standard style names in all your projects your snippets will be reformatted
automatically to match the styles of the current project.
Manual formatting:
If the text in your snippets files is manually formatted it will be displayed normally in the
current project. It is generally better to use manual formatting if you want the formatting of
the snippets to look identical wherever they are used.
See also:
Re-using content with snippets 149
Exporting and importing topics 204
Topic header:
Getting the header information from the <title> tag will usually work. If your topics have
a separate header block you may need to specify a different tag. If in doubt display the
CHM file, right-click on one of its pages and examine the source code with View Source.
Topic body:
Specify a <table> or <div> tag with a specific ID only if you know that is used to identify
your body content. Otherwise use the default setting.
Ignore internal folders:
Help & Manual does not use internal folders in CHM files, all files are stored on the same
level. If the CHM file contains internal folders the folder names will normally be prefixed to
the topic IDs of the imported topics to prevent name conflicts. You can turn this option off
if you are sure that there are no name conflicts caused by files with the same names
stored in different folders.
Single-column tables:
Some topic pages are enclosed in single-cell/single-column tables, which can cause
undesirable results when you import them. You can solve this problem with the option for
converting such tables to single paragraphs.
Popup topics file:
In CHM help popup topics are stored in a special plain-text file inside the CHM. Normally
this has a standard name (CSHelp.txt) but if you know that the file you are importing
uses a different name you can enter it here.
RoboHelp X5 projects
Here too, the importer needs to know how to deal with the different parts of the HTML
topic pages. You can improve the import performance with the settings in the HTML
Import Options page of the wizard.
Topic header:
Getting the header information from the <title> tag will usually work. If your topics have
a separate header block you may need to specify a different tag. If in doubt check the
HTML source code of the files in your RoboHelp project.
Single-column tables:
Some topic pages are enclosed in single-cell/single-column tables, which can cause
undesirable results when you import them. You can solve these problems with the option
for converting such tables to single paragraphs.
Graphics files:
The graphics files from the RoboHelp project are not imported to the new project
directory. Instead, Help & Manual adds the current location(s) of the graphics files to the
image folders list in the Configuration > Common Properties section of your project. 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 then be able to find
them.
Key Information
This only works in HTML-based output
formats. Merged HTML files are not
included in Winhelp, PDF, printed manuals
and MS Word RTF output.
3. Locate the closing </body> tag and delete it and everything that comes after it.
4. Save the file in the project folder with the .HTM or .HTML extension.
It is important to understand that the #MERGE command injects the entire external
HTML file into the position in the topic where you insert the command. This means that it
is advisable to remove everything in the external file outside the opening and closing
<body> and </body> tags before merging.
The topic page already has its own header section and <body> tags, and if you don't
remove this material from the external file you will have double header information. This
may work, but it is not recommended because it can and will cause problems in some
situations.
See also:
Inserting plain HTML code 231
Key Information
Creating a new topic in the TOC creates a
TOC entry and an associated topic file in
the Project Files section. Creating a topic
in the Project Files section creates a topic
file without a TOC entry.
See also:
Managing Topic Files and the TOC 199
4.4.2 Creating new topics in the TOC
You create a new topics in two places: In your project's Table of Contents (TOC) or the
Project Files section. Creating a new topic in the TOC creates a TOC entry and a topic file
and links the TOC entry to the topic file. Creating a new topic in Project Files creates a topic
file without a TOC entry.
The instructions below explain how to create topics with TOC entries. See Creating new
topics in Topic Files 112 for instructions on creating topics without TOC entries.
Key Information
If you save in compressed single-file mode
(.hmxz) all your topic files are stored inside
your compressed project file and can only
be viewed in the Project Explorer. The
Standard version of Help & Manual can
only save in compressed mode.
· The Chapter without Text option creates a TOC entry 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.
4. Type your title in the Topic Heading: 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 Topic IDs and
context numbers 205 for more details.
See the Insert New Topic 581 for details of the settings displayed by More . Note that
you cannot select Popup as the Topic Class when you are adding topics to the TOC.
Popups should not have TOC entries so you must create popup topics in the Topic
Files 112 section.
5. Click on OK to create the topic.
Initially the header of the topic above the editing area will be identical to the caption. If
you edit the caption in the TOC the header will change with the caption. However, if you
edit the header this will turn off the "link" between the caption and the header. Any
changes made to the caption after this will no longer be reflected in the header.
See also:
Insert New Topic 581 (Reference)
Topic IDs and context numbers 205
Content templates for topics 423
4.4.3 Creating new topics in Topic Files
When you create a new topic in your project's Project Files section you just create a topic
file, without an entry in the Table of Contents (TOC). Topics like these are used in electronic
help formats for information that is only displayed when the user clicks on a link for
example popup topics and topics displayed in external windows.
Topics without TOC entries are also used for content that you want to insert in multiple
locations in your project with Help & Manual's snippets 102 function.
The instructions below explain how to create topics without TOC entries. See Creating new
topics in the TOC 110 for instructions on creating topics with TOC entries.
Key Information
If you save in single-file compressed mode
(.hmxz) all your topic files are stored inside
your compressed project file and can only
be viewed in the Project Explorer. The
Standard version of Help & Manual can
only save in compressed mode.
2. Select Add File > Add New File in Project > Manage Topics.
3. This displays the Insert New Topic 581 dialog in file mode:
4. You can create multiple topic files with this dialog. Type one or more names for the
topic files you want to create, one name per line.
5. Click on More for additional settings. See Insert New Topic 581 for details of these
settings.
6. Click on OK to create the new topic file(s).
The file names and topic IDs for the new files will be generated automatically from the
names you enter. Spaces in your names will be converted to underscore characters.
See also:
Insert New Topic 581 (Reference)
Creating popup topics 125
Organizing invisible topics 210
Using Context-Sensitive Help 369
4.4.4 Creating topics from other sources
In addition to creating new topics into which you enter new content you can also create TOC
entries that display content from other sources when the user clicks on the TOC entry.
You can create TOC entries that link to web pages or to topics in other help files that are
available when the user views the help.
You can also insert entire Help & Manual projects in your TOC. When you publish your
project the external projects are merged with the main project.
Productivity Tip
You can also use Snippets 102 to insert
topics and XML files from other sources
into existing topics. Snippets can be
inserted as editable copies or linked to the
Merge content on publishing: If you select this mode the external project's contents
will be displayed in the TOC of the current project and can be edited directly. Merged
projects are still stored externally and their topics are identified by small green icon in
the TOC.
Merge content at runtime: This is for HTML Help and Winhelp only and just inserts a
placeholder in the TOC. The projects must be edited and published separately and are
only merged when the user views them if the help files are all present in the same
folder.
Publishing merged projects:
In most output formats the projects will be merged into one large help system when you
publish your output. In HTML Help and Winhelp you can also create separate help files
that are displayed in a single Table of Contents when the user opens the main help file.
This makes it possible to create different versions of your help just by including or
excluding help files in your distribution package.
See Working with Modular Help Systems 446 for full details.
See also:
Working with Modular Help Systems 446
4.4.5 Editing the topic caption and header
The topic caption is the title of the topic displayed in the TOC, both in Help & Manual and in
your output. For example, captions are displayed as the TOC titles in 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 in the editing box above the topic itself. The header is also displayed in your
output, for example above the topics in the HTML Help and Winhelp viewers.
· To "re-link" the caption and the header again just make the text in both identical again.
Then the header will automatically be updated when you edit the caption in the TOC.
Warning:Turning off the header deletes any additional content you have added to the
header box. If you turn the header on again the box will only contain the standard topic
title, taken from the topic's TOC entry. The content will not be lost while you are still
editing the current topic (you can restore it by reactivating the checkbox) but once you
leave the current topic it will be deleted permanently.
See also:
Topic headers 119
4.4.6 Topic headers
By default, new topics always have a
"header", displayed in a separate editing
box above the main topic editor. You can
turn the header off if you want, creating
topics without headers.
Initially, this header contains the title of the
topic, formatted with the standard Heading1
style and with the background color set in
the HTML topic page template. You can
also add other content, including graphics,
hyperlinks etc.
Header formatting, background colors and
additional content are only supported in
electronic help formats (HTML Help,
Webhelp, eBooks, Winhelp and Visual
Studio Help). ePub eBooks have limited or
no support for additional content. In print-
style formats (PDF, RTF, printed manuals)
only the plain text from the header is
exported when you publish and the
formatting is defined separately.
Warning: Turning off the header deletes any additional content you have added to the
header box. If you turn the header on again the box will only contain the standard topic
title, taken from the topic's TOC entry. The content will not be lost while you are still
editing the current topic (you can restore it by reactivating the checkbox) but once you
leave the current topic it will be deleted permanently.
See also:
Background colors and help viewers 93
Using HTML Templates 430
PDF & Printed Manuals 325
4.4.7 Using help windows
The Microsoft HTML Help (CHM) and Winhelp (HLP) formats use sets of definitions called
"help windows" to configure the appearance, size and behavior of the Windows help viewers
used to display these formats. In addition to this they can also be used to display individual
topics in external windows.
Changing the definition of the default help window, which is called Main, adjusts the help
viewer features. You can also define additional "secondary" help window types, which can
have different features. These help windows are used for opening specific topics in external
windows when you link to them. You do this by specifying a different help window type when
you define the hyperlink.
Key Information
See also:
Help Windows 807
Help Windows Settings 660
Using secondary windows 429
HTML templates 427
4.4.8 Using HTML page templates
Each topic in your project is also associated with an HTML page template, which defines
everything in your topic pages outside of the main body of your topics in HTML-based output
formats (HTML Help, Webhelp, Windows Exe and ePub eBooks, Visual Studio Help). HTML
page templates are irrelevant for Winhelp, PDF, RTF and printed manuals.
New projects only have one HTML page template called Default, which is automatically
assigned to every new topic. You can create as many additional templates as you like and
assign them to individual topics in the tab behind the main editor window.
Key Information
HTML page templates are only relevant for
HTML-based output formats. They are
ignored in all other output formats.
· If you edit the HTML code of the template manually you can also set the header and
background colors manually. The topic background color is set in the <body> tag, the
header background color is the background of the main table in the section defined by
the <IF_TOPIC_HEADER> condition.
The background colors in the obsolete Winhelp format are defined in the help window
settings 121 for Winhelp and are not displayed in the editor.
See also:
Help window settings 121
Using HTML templates 430
4.4.9 Creating popup topics
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 "field-level popups".
However, field-level popups are a special Microsoft technology that is only supported in
HTML Help and Winhelp.
Topics used as popups should be created in the Project Files section so that they do not
have TOC entries. For more details on field-level popups see Using Context-Sensitive Help
369 and Context-Sensitive Help and Popups 788 .
The HTML Template setting is irrelevant for these topics because popups do not use
HTML templates.
When you create hyperlinks to popup topics 215 in your help they will automatically be
displayed as popups. See Using Context-Sensitive Help 369 for information on calling
popups directly from your application.
required by the Microsoft HTML Help API for popups and if your popup topics do not
have help context numbers they will not be exported to the internal popup text file in the
CHM.
Winhelp popups:
· WinhelpNote that Windows Vista does not support Winhelp. If you want to be compatible with Vista you
must transition to a different help format. popup topics are stored in the main Winhelp HLP
file.
· Popup calls from your application must be made directly to the HLP file using the
standard popup syntax of the Winhelp API.
Tutorials for interfacing between your help and your application in the most common
programming languages are available on the tutorials page at the EC Software
website. A free set of tools for interfacing to help and context-sensitive help Borland
Delphi and Borland C++ is also available at the website, on the Delphi resources page.
See also:
Using JavaScript popups 129
Using Context-Sensitive Help 369
Context-Sensitive Help & Popups 788 (Reference)
4.4.10 Using JavaScript popups
JavaScript popups make it possible to create popups in Webhelp and in HTML Help you can
use them as an alternative to HTML Help's own native plain-text popups.
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 Webhelp. (In Webhelp 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 field-level popups 794 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.
4. Create normal topic links to your popup topics in your topics. When you compile to
Webhelp the target topics will automatically be displayed as JavaScript popups.
Click/ Displays the popup on user click or mouseover (i.e. as soon as the user
mouseover: 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 These effects are only supported by MS Internet Explorer. This means
effects: that they are available in HTML Help (which uses MSIE) and in
Webhelp 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 125
See also:
Text Formatting and Styles 155
Numbered and Bulleted Lists 180
Links and Anchors 214
4.5.1 Writing and formatting text
For more detailed information on formatting text see Text Formatting and Styles 155 .
· The Page Editor tab is where you edit the content of your topic files. This is basically
just like a normal word processor. You can enter text, copy and paste, apply styles,
insert images etc. You can also use special help authoring features that a word
processor does not have.
· The tab provides access to settings that are saved separately for each individual topic,
including index keywords assigned to topics.
· The XML Source tab (Professional version only) allows you to view and edit the XML
source code of your topic. If you don't understand what you see here just ignore it!
The topic header box:
The box above the main editor area contains the topic header. This corresponds to the
header of topics in help files and supplies the titles of topics for PDF and other printed
formats. By default the header box contains the same text as the topic caption in the
Table of Contents but you can add additional text if you like. You can also insert graphics,
hyperlinks etc.
Applying formatting and copying, cutting and pasting work in the same way as in any
modern word processor.
· To format existing text manually you must first select it and then apply the formatting,
using a formatting tool or a style.
· If you select a formatting tool without selecting text (font, bold, underline, color,
background color etc.) it will apply from the cursor position onwards if you continue
typing.
· To delete the word to the left of the editing cursor press Ctrl+Backspace.
· See Text Formatting and Styles 155 for detailed information on formatting text and using
styles.
See Help and print styles 175 for more information on using different style sets for different
output formats.
printed manuals, Word RTF). This will only show any changes if
you have actually defined different styles for screen and print
output.
See also
Formatting text manually 155
Text Formatting and Styles 155
Editing XML source code 154
4.5.2 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 159 in
the toolbar you will find that it still has the attributes of the source paragraph. (You can
prevent this behavior by using the Paste as Text 601 tool in Write > Clipboard or
Ctrl+Shift+V.)
Paragraph formatting is only copied if you copy an entire paragraph, including all the text
in the paragraph down to the beginning of the next paragraph.
manually by selecting the text and using the formatting tools in the Write tab if you want,
but then you must do this separately for every single topic.
Setting the header background color:
In most electronic output formats the header background color is defined by the HTML
topic page template. In the Project Explorer go to Configuration > HTML Page
Templates and select the Default template. Then you can set the background colors for
the header and the topic body. The background colors you set in the template are
automatically displayed in the editor.
The obsolete Winhelp format stores its background colors in its Main help window
definition. To set the background colors for Winhelp go to Configuration > Common
Properties > Help Windows. Select the Main help window at the top of the dialog,
then select the Winhelp Options tab and set the background colors. The background
colors you set for Winhelp are only displayed in your published Winhelp files
See Background colors and help viewers 93 for more details on this.
Warning: Turning off the header deletes any additional content you have added to the
header box. If you turn the header on again the box will only contain the standard topic
title, taken from the topic's TOC entry. The content will not be lost while you are still
editing the current topic (you can restore it by reactivating the checkbox) but once you
leave the current topic it will be deleted permanently.
Note that content added to the header will only be displayed in the current topic. If you
want to include the same content in every topic (for example a logo) you need to edit the
HTML topic page template and add the content to the header section of the template.
See Using HTML Templates 430 for more details.
If you want to include additional with your headers in PDF and printed manuals you need
to add it to the header definitions in the print manual template see PDF & Printed
Manuals 325 for details.
See also:
Background colors and help viewers 93
Using HTML Templates 430
PDF & Printed Manuals 325
4.5.4 Selecting text and content
This topic outlines the different ways you can select text and content in the Help & Manual
editor. You can use both the mouse and key combinations.
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:
Hyperlinks: Click once to select and edit link text, double-click to edit link 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 258 .
Keyboard Click on View > Program Options and then select the Shortcuts tab
shortcuts: to view and edit all the keyboard shortcuts available in the program.
See also:
Selecting and formatting table cells and tables 258
4.5.5 Copying, cutting and pasting
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 199 for details on working with entire topics.
See also:
Moving, cutting and pasting topics 199
Project Configuration 652
4.5.6 Searching for text, topics and referrers
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.
Productivity Tip
The Search function is also available in the
XML Source editor tab (Professional
version only) all HTML editor windows for
HTML templates and other editing
windows. Just right-click in these editor
windows to access.
See also:
Find & Replace 602 (Reference)
Find Referrers 586 (Reference)
The Project Reports Tool 534
See also:
Insert Special Character 637 (Reference)
4.5.8 Using comments and bookmarks
Comments and bookmarks enable you to annotate your text and create jump markers so
that you can quickly access topics or chapters that you access frequently. Comments and
bookmarks are separate you cannot jump to comments and you cannot add text to
bookmarks, other than the label that is the bookmark name.
Key Information
Comments and bookmarks are only an
editing tool to make working on your
project easier. They are not exported when
you publish your project.
Deleting bookmarks:
Select Bookmark > Remove Bookmarks in Project > Project, then click on the
bookmarks you want to remove.
See also:
Graphic caption and comment styles 176
4.5.9 Spell checking
In addition to manual spell checking for individual topics, selected text and your entire
project you can also use live spell checking (misspelled words are highlighted as you type).
You can also create your own user dictionaries with lists of special terms for your own
projects, auto-correct entries and terms that you want to identify as incorrect even though
they are in the main dictionary. User dictionaries can be global for all projects or local for just
one project and can be stored anywhere you like.
See The Spell Checker 543 in the Tools Included with Help & Manual chapter for full details on
configuring the spell checker.
Productivity Tip
Spell checking is supported almost
everywhere in Help & Manual where you
can enter text. Just right-click to display the
context menu or click on the upper half of
the Spelling tool in the Project tab to
access.
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. These dictionaries must be stored in the Dictionaries folder in your
Help & Manual program directory.
Select the user dictionaries:
All user dictionaries listed in the Custom Dictionaries section will also be used for spell
checks. You can store these dictionaries anywhere you want, also on network drives, and
multiple users can access the same dictionary at the same time.
Select When adding words, use this dictionary: to choose the user dictionary you want to
use to store new words.
See The Spell Checker 543 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.
· The standard user dictionary is stored in your My Documents folder (called Documents
in Windows Vista). To use this just select it in the When adding words, use this
dictionary list at the bottom of the dialog.
This word pair will be corrected automatically from now on when you use this dictionary
(also in the current session).
See also:
The Spell Checker 543
4.5.10 Re-using content with snippets
The Insert Snippet tool in Write > Insert Object enables you to insert the contents of
another topic or a Help & Manual XML file at the cursor position. You can insert topics and
files from the current project, from other Help & Manual projects (some restrictions in the
Standard version of H&M) and from collections of Help & Manual XML files. This means that
you can build up a library of reusable content that you can access very easily.
You can insert snippets in two different modes, Copy and Link. Copy mode is like normal
copy & paste it pastes the contents of the topic or file at the cursor position and you can
then edit it. Link mode creates a live link to the snippet file. To edit the snippet you must then
edit the original topic or file, but then it updates automatically in all the places where you
have inserted it, even if you are using it in multiple projects.
Productivity Tip
If you send your project for translation
remember to include any external snippet
· Copy & Paste inserts a copy of the file that you can then edit.
· Linked creates a live link to the file changes in the source file or topic are updated
automatically.
· You can also insert XML files from your current project instead of using the From
Topic mode. This is only possible when your topic is saved as uncompressed XML
(Professional version only).
4. Select the topic or file you want to insert and click on OK to insert it.
"Use project search path to locate snippet"
This option adds the location of the snippet file to the project search path 656 if you
deselect it the path to the snippet is stored with the snippet.
Rather than using snippets from many locations it is better to store all your snippet files in
a common location. This will make them easier to manage, particularly if you ever need to
move your project or have it translated.
2. In Project > Manage Topics select Change > Include in Builds and deselect all build
options. This will ensure that these topics will never be included when you publish your
project.
This is not necessary for snippets inserted from other projects or external XML files, of
course!
linked snippet. You can also use the same function to find the location of the linked
snippet topic files inserted in the current topic.
This only works for topic files used as snippets in the current project. It won't work across
multiple projects or for XML files that are not part of projects.
1. In the Project Explorer select the topic file either a file containing a linked snippet or
a file that you think is being used as a linked snippet.
2. Select Find > Find Referrers in Project > Manage Topics (or just right-click and
select Find Referrers).
3. The sources of linked snippets in the topic are shown as incoming links. Topics in
which the topic is used as a linked snippet are shown as outgoing links.
Keywords in snippets
If snippet files are H&M topic files containing index keywords the keywords are imported
when you use Link mode. A-keywords are not supported in snippets, however.
Keywords are not imported with snippets in Copy & Paste mode.
See also:
Multiple TOC entries for one topic 208
Snippets and multiple TOC references 751
Topic include options 407
Anchors - jump targets 226
4.5.11 Printing topics
You can print individual topics with the Print Topic tool in Project > Manage Topics. The
advantage of this over Print User Manual function (Application Button menu) 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 325 for more details on using these other functions.
you just select this template in the Print User Manual dialog before printing.
1. Select the topics you want to print by clicking on them in the TOC, using Ctrl+Click to
select topics out of order and SHIFT+Click to select continuous blocks of topics.
2. Click on the Application Button and select Print User Manual.
3. Select the Selected topics option in the Include Options: box.
4. Select your printer and other settings in the print menu, then select OK to print.
See Printing user manuals 328 for full details on using the Print User Manual function.
See also:
PDF and Printed Manuals 325
Printing user manuals 328
4.5.12 Editing XML source code
As a normal documentation author you do not need to know anything about XML to get all
the benefits from using Help & Manual. Familiarity with XML is really only needed for users
who want to generate their topic files from their own applications automatically in XML
format and for performing complex search and replace operations directly on your project
files with an external editor.
Key Information
XML editing is for experts only. Although
XML looks a little like HTML it is actually
very different and does not tolerate even
the smallest syntax error.
See also:
XML and XML editing 493
See also:
Dynamic Styles 711 (Reference)
4.6.1 Formatting text manually
Manual formatting in Help & Manual works exactly as it does in a modern word processor.
You apply formatting to text manually with the tools in the Write tab of the Ribbon, where
you can select formatting options for Font, Paragraph and Borders and Background.
Generally, however, you should use styles for formatting your text. Styles are more efficient,
create uniform-looking documents and enable you to reformat your entire project quickly just
by changing your style definitions. When you are working on a project in a team styles are
essential for uniformly-formatted documents
Productivity Tip
You can assign keyboard shortcuts to most
manual formatting tools. Select View >
Program Options > Keyboard Shortcuts to
access the settings.
The tools in the Font and Paragraph groups of the Write tab all apply formatting
manually in the current position. If text is selected the options are applied to the selected
text. If no text is selected the options apply from the cursor position onwards when you
start typing.
For more detailed formatting settings you can display the Font 606 , Paragraph 609 and
Borders and Background 611 dialogs. To display them just click on the little arrow icons at
the bottom right of the Font and Paragraph groups.
This tool is included in the Paragraph group in the Write tab. You can display a full
dialog of options by clicking on the little arrow next to the Border Tool.
See also:
Formatting text with styles 167
The Format Menu 608 (Reference)
Syntax highlighting for program code 195
4.6.2 Quick guide to using styles
If you are new to using styles you should take a little time to learn how to use them. Used
properly, dynamic styles give you full control over your project's formatting, enabling you to
change the appearance and layout in seconds at any time.
You should define a style for each paragraph type and text format that you plan to use
frequently. You can do this as you work and you can change and reorganize your styles
whenever you like.
For maximum efficiency only use manual formatting for formats that you are not going to use
again. If you later find you want to use the formatting as a style you can always turn it into a
style later.
Productivity Tip
You can quickly turn manual formatting into a style by clicking in the formatted text and
then selecting Write > Styles > Create Style from Selection. For maximum efficiency
only use manual formatting for formats that you are not going to use again. If you later
find you want to use the formatting as a style you can always turn it into a style later.
Applying styles
· To apply a style to a full paragraph just click in the paragraph and select the style in the
style selector.
· To apply a style to text select the text and then select the style in the style selector.
· If you have imported formatted text from other sources you must select it to be able
apply styles to it, otherwise the imported formatting has priority it is treated as manual
formatting. After applying a style you just need to click in the paragraph and select a
different style to change the style.
3. Select Font Settings, Paragraph Settings and Borders and Background to change the
style attributes.
4. Define different settings for Print View (PDF, RTF, printed manuals) and Help View
(electronic formats).
5. Define keyboard shortcuts for styles you want to use frequently.
All text formatted with the styles you edit will be changed immediately.
Note that you can set different attributes for electronic help formats (Help View tab) and
print-style help formats (Print View tab). You can also switch between print and help view
in the Help & Manual editor by clicking on the Screen/Print switch in the status bar below
the editor. See Help and print styles 175 for details.
2. Enter a name for the style and then set its paragraph and font attributes.
3. Don't forget to define a keyboard shortcut for styles that you want to use frequently.
This will speed up your work a lot!
Note that you can set different attributes for electronic help formats (Help View tab) and
print-style help formats (Print View tab). You can also switch between print and help view
in the Help & Manual editor by clicking on the Screen/Print switch in the status bar below
the editor. See Help and print styles 175 for details.
See also:
Dynamic Styles 711 (Reference)
4.6.3 Style display in the Toolbar
The style selector in the Ribbon Toolbar 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 a style called Body Text:
The style name is shown as "Normal+" when the cursor is in manually-formatted text . In
the rest of the text of the paragraph the style selector display will be "Normal", without the
bold highlight and the + sign.
The bold Stylename+ display is also shown when the cursor is in text within a paragraph
formatted with a text style, because this also counts as additional formatting:
· See Turning formatting into styles 169 for instructions on how to turn imported styles like
these into styles you can use in your project.
See also:
Dynamic Styles 711 (Reference)
Formatting text with styles 167
Defining styles 161
4.6.4 Defining styles
Help & Manual's dynamic styles are defined and edited by selecting Styles > Edit Styles in
the Write tab. 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 711 in the Reference section before proceeding. This will make using styles
much easier for you.
2. Select Add Style and enter a name for your new style.
3. In the Based on Style: field select the style you want to base the new style on. The
style will inherit all the attributes of this style. Base paragraph styles on paragraph
styles, text styles on text styles. Alternatively, select (None) to create a style without a
parent.
4. Set the attributes of the style with the Font Settings, Paragraph Settings and Borders
and Backgrounds buttons.
5. 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.
6. Click on OK to save the new style. It is then available immediately in all the style lists.
2. Select Add Style and enter a name for your new style.
It's a good idea to use a prefix in the name of your text styles to identify them clearly.
For example, you could use T_, so that your text styles would have names like
T_Emphasized, or T_ProductNames.
3. In the Based on Style: field select another text style if you want to base the new style
on another style. The style will inherit all the attributes of this style. Alternatively,
select (None) to create a new text style without a parent..
4. Click on Reset Style to make absolutely sure that all the non-text attributes of the style
are canceled.
5. Click on Font Settings and set the attributes of the style.
Don't select the Paragraph or Borders buttons if you do the style will become a
paragraph style.
If you want to create a hotkey shortcut 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.
6. Click on OK to save the new style. It is then available immediately in all the style lists
(see Formatting text with styles 167 for details).
2. Click on Copy Styles From... in the Edit Styles dialog and select the project
containing the styles you want to copy.
See Copying styles from other projects 177 for full details on this function.
See also:
Formatting text with styles 167
Editing styles 164
Dynamic Styles 711 (Reference)
4.6.5 Editing styles
Whenever you edit a style all the text in your project formatted with the style is updated
automatically and immediately. 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.
2. Enter a name for the style and then select Font Settings, Paragraph Settings and
Borders and Background to change the style attributes. See The Write Tab 600 for
details in the settings in these dialogs.
3. Don't forget to define a keyboard shortcut for styles that you want to use frequently.
This will speed up your work a lot!
2. Select Styles > Edit Styles in the Write tab. The style at the cursor is selected for
editing automatically.
3. Select Font Settings, Paragraph Settings and Borders and Background to change the
style attributes. See The Write Tab 600 for details in the settings in these dialogs.
4. Define different settings for Print View (PDF, RTF, printed manuals) and Help View
(electronic formats). See Help and print styles 175 for more details on these two sets of
settings.
5. Define keyboard shortcuts for styles you want to use frequently.
All text formatted with the styles you edit will be changed immediately.
Select Reset Style to completely reset all of the style's attributes to the settings of its
parent style (the style listed in the Based on Style: field). If the style has no parent it will
be set to the Help & Manual defaults.
The Assign paragraph attributes option will be selected automatically for paragraph
styles and deselected for text styles. Only change this if you want to change the style
type. (See Paragraph and text styles 718 for details on changing the style type.)
4. Click on OK to apply the changes to the selected style.
See Defining styles 161 for details on using this function to create a new styles.
See also:
Paragraph and text styles 718
4.6.6 Formatting text with styles
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 161 for information on defining and editing styles. If you are not yet
familiar with styles please study the chapter on Dynamic Styles 711 in the Reference section.
Applying styles
· To apply a style to a full paragraph just click in the paragraph and select the style in the
style selector. You can also select multiple paragraphs and apply styles to all of them.
You must select all the text in all the paragraphs to do this only font attributes are
applied to partially-selected paragraphs.
· To apply a style to text select the text and then select the style in the style selector.
· If you have imported formatted text from other sources you must select it to be able
apply styles to it, otherwise the imported formatting has priority it is treated as manual
formatting. After applying a style you just need to click in the paragraph and select a
different style to change the style.
If the style is a text-only style the text attributes are applied to the entire paragraph.
Manually-formatted text, imported formatted text and text within paragraphs formatted
with other styles are all "protected" they will only be reset if they are selected before
applying the style.
Everything selected (all the text in one or more paragraphs):
When everything is selected the style and all its attributes (text, paragraph, borders/
background) are applied to all selected paragraphs. All formatting is reset to the style
attributes, including manually-formatted text, imported formatted text and text within
paragraphs formatted with other styles.
If any paragraph is only partially selected then only text attributes will be applied to that
paragraph.
Text within a paragraph selected (partial selection):
If you select text within a paragraph then only font attributes of styles will be applied to
that text, even if the style also has paragraph attributes.
See also:
Defining styles 161
4.6.7 Turning formatting into styles
The easiest way to define a new style is to use some manually-formatted text in the editor as
a model. This allows you to see what you are doing much more clearly than when you are
setting attributes in the formatting dialogs.
3. Select the Create a new style option 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 inherit all the attributes of the parent style that are not different from the
current paragraph in the editor. If you do not want the style to have a parent scroll to
the top of the list and select (None).
5. Make sure that the Assign paragraph attributes option is checked, then click on OK to
create the new style.
3. Select the Create a New Style 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. The new style will then
inherit all the attributes of the parent style that are not different from the current
paragraph in the editor. If you do not want the style to have a parent scroll to the top of
the list and select (None).
5. Deselect the Assign paragraph attributes option, then click on OK to create the new
style.
The Assign paragraph attributes option will be selected automatically for paragraph
styles and deselected for text styles. Only change this if you want to change the style
type. (See Paragraph and text styles 718 for details on changing the style type.)
4. Click on OK to apply the changes to the selected style.
See Defining styles 161 for details on using this function to create a new styles.
2. Select Styles > Create Style from Selection in the Write tab.
3. Select the Create New Style option and type the name of the unknown style exactly as
it appears in the style selector (the red text)
4. If you want to make the style the child of an existing style select the name of the
parent style you want to use in the Based On Style: list. The new style will then inherit
all common attributes from the parent style.
See also:
Defining styles 161
Editing styles 164
4.6.8 Using indents
Creating indents in a word processor is a trivial task that you hardly even need to think
about. In HTML-based formats indents are not quite so straightforward. HTML does not
support either tab stops or multiple spaces, so you cannot use them to created indented
paragraphs or to format tabular data. (Tabs and multiple spaces wouldn't work in HTML
because the page width is dynamic.)
You can use indented paragraphs – Help & Manual 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 more background information see Tabs, indents and HTML 722 in the Reference
section.
Key Information
You cannot use the indent tools on single-
level bulleted and numbered lists. To
change the indent in a list you must first
switch off the list with the list tool. In outline
numbered lists the indent tools change the
list level.
OR:
· Press Shift+Ctrl and the + or - key to increase and decrease indents.
OR:
· Drag the Indent tool in the ruler above the editor. The tool has three parts, which can all
be dragged separately: The upper triangle adjusts the first-line indent, the lower triangle
adjusts the main paragraph indent and the square box at the bottom adjusts the first
line and the paragraph indent together.
OR:
· Select the paragraph dialog icon in Write > Paragraph and set the indent values
manually.
OR:
· Select Format > Paragraph and set the indent values in the Indentation section.
See Tabs, indents and HTML 722 in the Reference section for more information on hanging
indents and how they are converted in HTML-based output.
See also:
Tabs, indents and HTML 722
See Help and print styles 175 for more information on using different style sets for different
output formats.
See also:
About inheritance in styles 714
Defining styles 161
Editing styles 164
The Format Menu 608 (Reference)
4.6.10 Image caption and comment styles
Image captions and comments/bookmarks 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. You can override these styles and change the formatting of individual
captions and comments by applying manual formatting.
Restrictions
· The Image Caption and Comment styles only have font attributes. If you set paragraph
attributes in the style definition they will be ignored.
· All the text in captions and comments has same font attributes. 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:
Editing styles 164
Inserting graphics and screenshots 239
Comments and bookmarks 143
2. Open the project you want to copy the style from. We will call this Project B.
3. In Project B find a paragraph (for paragraph styles) or a piece of text (for text styles)
formatted with the style you want to copy. Use copy and paste to copy this paragraph
or text to a topic 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 Write > Styles > Create Style from
Selection.
See Turning formatting into styles 169 for full instructions.
See also:
Templates for projects 417
Defining styles 161
Transforming your output with skins 321
4.6.12 Table styles
Table styles define the formatting of the table itself the table width and width mode,
borders and border style, background colors and so on. They do not define the formatting of
the text inside the tables that must be formatted with styles or the manual formatting tools.
2. Click to the right of the table between the table and its paragraph mark so that you can
see the blinking editing cursor between the right margin of the table and the paragraph
mark.
3. Select the style you want to apply in the drop-down style list in the Toolbar.
See also:
Working with Tables 253
See also:
Formatting text with styles 167
4.6.13.1 Bulleted lists
To create simple bulleted lists you basically just need to select the tool in the Write tab
and start typing or just select the paragraphs you want to turn into a list and then select the
tool.
To change the text and paragraph formatting of the list contents you need to apply a style or
format the paragraph and text manually. See Formatting lists 193 for details.
3. Select a style to use and start typing. Alternatively you can also select Bullets and
Numbering to display the full Bullets and Numbering dialog.
4. Select the Bullets tool again to turn the list off. Pressing Enter twice in a list without
typing any text also turns the list off.
3. Select the style you want to apply. Alternatively you can also select Bullets and
Numbering to display the full Bullets and Numbering dialog.
If you are adding a bullet to a single paragraph select the entire paragraph or place the
cursor to the left of the very first character of the paragraph before applying the bullet.
Otherwise paragraph formatting may not work properly (particularly indents).
1. Click in the list entry (for a single entry) or select the entire list.
2. Display the quick gallery by clicking on the arrow next to the Bullets tool:
3. Select Bullets and Numbering below the gallery to display the Bullets and Numbering
612 formatting dialog:
4. Select the bullet style you want to change, then click on Customize to edit it:
5. Select one of the bullets displayed or click on Select Bullet to select a different bullet
character.
See Formatting lists 193 for information on changing the list indent.
See also:
Formatting lists 193
4.6.13.2 Numbered lists
To create simple numbered lists you basically just need to select the tool in the Write
Ribbon and start typing or just select the paragraphs you want to turn into a list and then
select the tool.
To change the text and paragraph formatting of the list contents you need to apply a style or
format the paragraph and text manually. For details see Formatting lists 193 .
The only thing that is a little tricky at first is inserting un-numbered items within list while
maintaining the automatic list numbering. It's easy once you know how see the instructions
below for details!
3. Select a style to use and start typing. Alternatively you can also select Bullets and
Numbering to display the full Bullets and Numbering dialog.
4. Select the Numbered List tool again to turn the list off. Pressing Enter twice in a list
without typing any text also turns the list off.
Turning existing paragraphs into a list:
1. Select the paragraphs you want to turn into a numbered list.
2. Select the Numbered List tool in the Write tab. Clicking on the left of the tool will
apply the default bullet style. Clicking on the arrow on the right of the tool displays a
quick gallery of available numbering styles:
3. Select the style you want to apply. Alternatively you can also select Bullets and
Numbering to display the full Bullets and Numbering dialog.
If you are formatting a single paragraph select the entire paragraph or place the cursor to
the left of the very first character of the paragraph before applying the numbering tool.
Otherwise paragraph formatting may not work properly (particularly indents).
3. Select Restart Numbering to reset the list numbering to start at 1 or Start at: to select
the number you want to start with.
Note that Restart Numbering creates a new list that begins at the point where the
numbering is restarted. If you restart numbering in the middle of a list you are splitting the
list into two lists with two numbering sequences.
3. Select one of the definitions and click on Customize to modify the definition.
Levels and Start numbering at: only apply to Outline numbered lists 187 (the Start
numbering at setting is for sub-levels).
List indent:
The list indent is set automatically. To change it you must change the indent of the first
paragraph in the list. See Formatting lists 193 for details.
Number style:
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 in single-level lists. You can use other level variables (<L2>,
<L3> and so on) in Outline numbered lists 187 .
1. Enter the characters you want to display with the list number to the left and right of the
<L1> variable.
Examples:
(<L1>) will generate: (1), (2), (3)
[<L1>] will generate: [1], [2], [3]
<L1>. will generate: 1., 2., 3.
2. Click on OK to save your changed definition. This overwrites the existing definition.
The Reset button in the Gallery resets the predefined lists to the default values. See
Formatting lists 193 for information on changing the list indent.
See also:
Formatting lists 193
4.6.13.3 Outline numbered lists
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:
2. Select the Outline Numbered tab and choose the outline list style you want to apply:
3. Select the Outline Numbered tab, then select Restart Numbering to reset the list
numbering to start at 1 or Start at: to select the number you want to start with:
This will only reset the numbering of the top-level entries. See Customizing outline
numbered list definitions below for instructions on resetting the numbering of lower-level
entries.
3. Select one of the predefined outline numbered lists from the Gallery and click on OK.
OR select one of the definitions and click on Customize to modify the definition.
The Reset button resets all the list definitions in the Gallery to the default values. It is
only active if you have edited a definition.
See Formatting lists 193 for more details.
2. Edit the list definitions for each level of your list that you want to change by selecting
the level number in the Levels box on the left. 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 Reset button in the Outline Numbered tab resets all the predefined lists to the default
values.
See Formatting lists 193 for more details.
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 enter 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>) will generate: (1), (2), (3)
[<L1>] will generate: [1], [2], [3]
<L1>. will generate: 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 183
Formatting lists 193
4.6.13.4 Formatting lists
List definitions only define the bullet or numbering styles to be used, they do not allow you to
format indents or paragraph formatting. Paragraph formatting and indents can be applied
manually or with styles. In addition to this you can also change the appearance of the bullets
and numbers (color, bold, italic etc) by applying manual formatting in the list items.
Key Information
By default lists have their own hidden
indent for the numbers or bullets, which is
not displayed in the editor ruler. To use
your own indent you must apply a style or
format the paragraph manually.
You can also adjust list indents by applying an indented paragraph style to the first item in
the list. Note that in outline numbered lists you can only set one indent for the entire list,
including the lower levels.
· If you also want to apply font settings you must apply styles to all the items in the list.
See also:
Bulleted lists 180
Numbered lists 183
4.6.13.5 HTML list output format
By default Help & Manual outputs numbered and bulleted lists as tables in HTML-based
output formats (HTML Help, Webhelp, Windows Exe and ePub 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
unsatisfactory list formatting if you do not use tables. This applies particularly to more
complex lists and the indents used in lists.
· Go to Configuration > Publishing Options > Webhelp > HTML Export Options
684 and deselect the option Export lists as tables.
Note that the HTML Export Options settings are available in several different sections in
Configuration > Publishing Options. These are shared settings used by all HTML-based
output formats and it doesn't matter where you access them.
See also:
HTML Export Options 684
4.6.14 Formatting program source code
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.
spaces as a single space. However, this will often not render quite right because different
browsers interpret the width of these hard/soft space combinations in different ways.
See also:
Editing styles 164
4.6.14.1 Examples
Pascal code:
{ Syntax Highlighting }
procedure TForm1.Button1Click(Sender: TObject);
var
Number, I, X: Integer;
begin
{$IFDEF WIN32}
Number := 654321;
{$ELSE}
Number := 123456;
{$ENDIF}
Caption := 'The number is ' + IntToStr(Number);
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
from ANTIQUES
where PRICE > (Select avg(PRICE) + 100 from ANTIQUES);
update ANTIQUES
Set PRICE = 500.00
where ITEM = 'Chair';
Key Information
There is no UNDO in the Table of Contents
(TOC) all changes that you make here
are permanent! In addition to deleting TOC
entries this also applies to cutting, pasting
· Select a topic or chapter in the TOC and drag it onto another TOC entry (target topic is
highlighted) to make topic you are dragging the child (sub-topic) of the target topic.
· Select a topic or chapter and drag it between two other topics (a blue line is displayed
between the target topics) to insert the topic you are dragging before/after the target
topic. Position the mouse pointer to the right or left of the topic caption to display the
blue line.
Note: You can create a second TOC reference 208 to an existing topic by holding down
Shift+Ctrl and dragging a topic in the TOC!
The Up and
Down arrows
move topics.
Select the topic you want to move, then select the blue Up or Down arrow in Project >
Manage Topics to move the selected topic up and down one step at a time.
See also:
Promoting and demoting topics 203
Copying, cutting and pasting 139 (text and content)
Importing topics and merging projects 102
4.7.2 Deleting TOC entries and topics
Topics and their TOC entries are two different things. The topic content is actually stored in
the topic file, which is stored in the Project Files section of the Explorer. The TOC entry is
really just a hyperlink to the topic file, which is stored in the Table of Contents section of the
Explorer. When you click on a TOC entry the topic file is displayed in the editor for editing,
but this is just for convenience. there are not actually any topic files in the TOC, when you
click on a TOC entry and edit the topic you are actually editing the file stored in the Topic
Files section.
If you deselect the Also delete referred topic files option only the TOC entry/entries will be
deleted. This will result in topics without TOC entries in the Topic Files section.
If you deselect the Also remove TOC references option only topic files be deleted. This
will result in TOC entries without any links to topic files. This is not normally desirable but
you may sometimes want to do this to reassign an existing TOC entry to a different 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.
· It is easier to use Cut & Paste 199 to promote and demote topics over large distances in
large, complex TOCs.
See also:
Moving, cutting and pasting topics 199
See also:
Importing Data 99
Content templates for topics 423
Compiling your Project 311
Importing topics and merging projects 102
4.7.5 Topic IDs and context numbers
The topic ID is the unique alphanumeric identifier of a topic. It must be unique because it is
used to reference the topic for hyperlinks and by programmers accessing the topic from
applications.
The help context number is an additional unique topic identifier. It is optional and it is only
used in Microsoft HTML Help (CHM files) and the obsolete Microsoft Winhelp (HLP files)
format. Context numbers are only used as addresses for help calls made from applications.
Most programmers now use topic IDs and you only need to use help context numbers if your
programmers ask you to do so.
The topic IDs and help context numbers of each topic can be viewed and edited in the tab in
the editor. For more background information see IDs, Context Numbers and Keywords 801 in
the Reference section.
Key Information
Accented characters, special characters
and high-ASCII characters are not
permitted in IDs. For maximum
compatibility with all output formats only
use a..z, A..Z, 0..9 and _ in topic IDs. Topic
IDs are never seen by the user.
Topic ID prefixes
Using a unique topic ID prefix for each project prevents ID conflicts in modular projects 446
. This allows you to use IDs like "introduction" in all your projects without creating
duplicates.
If there is even a small chance that you will ever want to combine multiple projects to a
single large project you should use ID prefixes. It is best to use a 2 or 3 character project
identification prefix separated from the rest of the ID by an underscore, for example:
WE_Editor
WE_Editor_About
WE_Editor_Controls
WE_Editor_Using
You can configure Help & Manual to generate a prefix of your choice automatically for
every new topic you create. Just enter the prefix you want to use in the Project Explorer
See also:
IDs, Context Numbers and Keywords 801 (Reference)
4.7.6 Multiple TOC entries for one topic
Normally you only have one item in the Table of contents (TOC) for each topic file. 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.
Sometimes it is better to create a copy or to use an embedded topic. See Snippets and
multiple TOC references 751 for more background information.
Key Information
Multiple TOC references are not copies of
topics. There is still just one topic file but
with two items pointing to it in the TOC. It is
like a single room with two doors.
If you are running Windows in Parallels on an Apple Mac this will not work initially. This is
because by default Parallels maps the right mouse button to Shift+Ctrl+Left Click.
You need to re-map this key combination in the Parallels settings to be able to create
additional TOC references with Drag & Drop.
See also:
Using embedded topics 149
Moving, cutting and pasting topics 199
4.7.7 Topic icon, status and timestamps
You can change the standard topic icons displayed in the Table of Contents (TOC). You can
also apply a "status color" to topics in the TOC to identify topics that need more work. Every
topic file and every TOC entry has a "timestamp" which records when they were last edited.
Productivity Tip
You can insert the date on which the
topic was last edited in the topic with a
variable. See Global predefined
variables 774 for details.
See also:
Creating new topics 110
Promoting and demoting topics 203
Conditions and Customized Output 399 .
4.7.9 Managing topic files in the Explorer
When you are working in the Project Files section the Project Explorer is also a file manager
for your topic files and the folders where they are stored. If you are working in
uncompressed XML format (Professional version only, .hmxp project file) the files and
folders are stored directly on your hard drive. In the compressed single-file .hmxz format the
files and folders are stored inside the compressed .hmxz file.
2. Select Explore > Filter in Project > Manage Topics and set the filter options you
want to apply. The filter settings are also available from the right-click menu in the
Project Explorer (Explore > Filter).
This works both in the TOC and in Topic Files. This only filters entire topics, it does not
filter conditional text tagged within your topics.
The current build settings of topics are shown in the Project Explorer. Topics and
chapters set to All Builds (the default) will always be included, of course you cannot
hide them.
Files:
Select the Topics folder or any other folder in the Topic Files section:
199 for details. However you can move files between folders and delete files in the Topic
Files section.
Moving topic files and folders:
To move a topic file from one folder to another just drag it to the new folder with the
mouse. You can also move folders in the same way.
Deleting topic files:
Just select the topic file in the Explorer and press DEL or right-click and select Delete
File.
Renaming topic files:
You cannot rename topic files directly. To rename the topic file you need to edit the Topic
ID.
1. Select the topic file in the Explorer.
2. Select the tab in the editor pane, edit the Topic ID and save your project to update the
Topic Files display.
See also:
Moving cutting and pasting topics 199
Using the Project Explorer 41
Topic Anchors are not really links in their own right – they are "targets" for topic
anchors: 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 to HTML pages on the World Wide Web or email addresses.
links:
Script/ These are not really hyperlinks in the real sense of the word. Instead of
macro links: taking the user to another page or topic clicking on them executes
JavaScript code or a Winhelp macro (which may actually link to
something, but it doesn't have to).
Productivity Tip
You can navigate to the targets of your
links within your project by holding down
Ctrl and clicking on the link.
2. Drag the selected text onto the topic in the Table of Contents (TOC) that you want to
link to and release the mouse button.
3. To view and edit the hyperlink settings double-click on the link to display the Hyperlink
617 dialog box.
Links to anchors:
To quickly create a link to an anchor 226 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. Select the anchor from the drop-down list next to the Target: field (see below for
details).
Links to popup topics:
You do not need to do anything special to create a popup link. Links to popup topics 125 in
your project automatically open the target topics as popups.
This will insert a list of links to all the items you copied from the TOC.
The procedure is the same when you are creating a new link. Just select the anchor you
want to link to from the drop-down list.
Anchors in embedded topics:
If you link to a topic containing an embedded topic any anchors in the embedded topic
will not be displayed in the drop-down anchor list. To link to an anchor in an embedded
topic make a note of the anchor ID and type it in the drop-down list box next to the
Target: field manually when you edit the hyperlink.
Key Information
When inserting Internet links always
include the http:// protocol prefix. Links
without this prefix will not always work in all
formats.
4. Select the Email or Internet address option and enter the web page URL or the email
address. You must include the http:// prefix for URLs, otherwise they won't work.
See The Insert Hyperlink dialog 619 for full details on the settings in the dialog.
documents and images of all kinds and even executable EXE files.
1. In the Project Explorer go to Configuration > Publishing Options > 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 656 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.
When you compile your project the files referenced with file links will be physically
embedded in the PDF file. You no longer need to distribute these files separately as they
are now part of the PDF. 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 in Windows. 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 and HTML Help
itself is also severely restricted. See the EC Software website for
more details. It is possible to enable the display of CHM files on
networks but file links will not work in CHM files on network drives.
Webhelp: Exported, but behavior depends entirely on the user's browser a file
link in Webhelp is an URL to a file, with all that entails. Relative and
absolute paths are supported; relative paths must be relative to the
location of the help when it is accessed by the user. No execution
parameters (for example, "wordpad.exe" on its own is OK but "
wordpad.exe myfile.doc" will not work).
Windows Exe Supported, do not use paths, files must be in the same directory as the
eBooks: eBook. Simple file links only, no execution parameters.
Visual Studio Not supported. External file links are explicitly forbidden in Visual Studio
Help: Help / MS Help 2.0.
Adobe PDF: Links to PDFs can include page number references (see above). Links
from PDFs can be simple file links only, no execution parameters. Links
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.
4. Select HTML JavaScript or Winhelp Macro and enter your script or macro in the
editing field.
See The Hyperlink dialog 617 for full details on the settings in the dialog.
Script implementation
Help & Manual creates script links by inserting the code you type between <a href=" and
· 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.
· You do not need the ExecFile() Winhelp macro. Use file links 220 instead they produce
the same result much more efficiently.
· See Scripts, HTML and Macros 758 in the Reference section for full details on how
scripts and macros are implemented and handled.
HTML Help: JavaScript is broadly supported in CHMs. See the MS HTML Help
Workshop documentation for details. Four standard Winhelp macros (
see above 223 ) are translated to their HTML Help equivalents. Do not
use paths.
Webhelp: Scripts are supported but support depends to a great extent on the
user's browser, so use the same caution as when using scripting in any
HTML pages.
See also:
Scripts, HTML and Macros 758
Inserting plain HTML code 231
Using HTML templates 430
Webhelp 674 (Project Configuration)
4.8.6 Editing and formatting links
You can edit link captions (the link text) directly just by clicking inside the links once and
typing. You also have great freedom to format the appearance of your links the link text
can be formatted like normal text provided that you use the same formatting for all the text in
the link.
Productivity Tips
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.
3. Click to the right of the new text and press Delete to bring the link into the same
paragraph.
Key Information
Anchors in Help & Manual do not have
captions. They are identified by an anchor
icon in the editor.
want to be able to jump to with your links). Don't select any text, if you do it will be
overwritten by the anchor!
2. Open the Insert Anchor 627 dialog box. There are two ways to do this:
· Press Ctrl+H
OR
· Select the anchor tool in Write > Insert
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.
3. If you want to use a help context number 205 you can type it in manually (this allows you
to make calls to anchors from applications). You can also set Help & Manual to assign
help context numbers to anchors automatically in Configuration > Common
Properties > Miscellaneous 665 .
4. Type in any keywords 273 you want to associate with the anchor (see below 226 for
details).
Like topic IDs, anchor IDs can be up to 255 characters long. However, since you need to
view anchor IDs in dialog boxes it is advisable to keep them relatively short.
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.
change anchor IDs after creating them. Unlike topic IDs, links to anchor IDs are not
updated if you edit them. This means that editing an anchor ID can create dead links and
links to "dead" anchors are not highlighted. The link to the page will still work, of course,
but the jump to the anchor will not.
How to locate and correct dead anchor links
Dead anchor links are not listed in your project reports 534 . However, you can locate them
by publishing to any HTML-based output format (HTML Help, Webhelp, eBooks, Visual
Studio Help). The compiler report will list all topics containing links to undefined anchors
with links to the topics so that you can edit them and correct the anchor reference.
Tip: If you have the Professional edition of Help & Manual the easiest way to locate an
anchor is to search for the anchor ID in the XML Source Code tab. You can then either
edit it directly there or switch back to the editor tab and edit it there.
See also:
Inserting topic links 215
Using embedded topics 149
4.8.8 Linking to other projects and help files
By default the target ID list in the Hyperlink dialog 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 (.hmxz or .hmxp) or HTML Help (.chm) file the topic IDs of the
target project or file will be displayed in the Topic ID list. Choose the topic (and anchor
226 if applicable) you want to link to and click on OK.
Restrictions in Winhelp:
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 link to the Help &
Manual project. Here too, only links between Winhelp files are possible, you cannot link
from other formats.
Links between modular projects:
When you are linking between modular projects you may need to think about what will
happen in situations when the project you are linking to is not present when the user
clicks on the link. See Modular Projects 764 for more information on this and solutions.
just groups of HTML pages, like any other set of HTML pages on a website. Topic links
will not work here because this is really a website, not a help project – you have to use
Internet links instead.
1. Follow the instructions for inserting an Internet link 218 and choose the Links to an
Internet address option.
2. Enter the URL of the page in the other project in the Address: field. You can enter
either the absolute address or the relative address (the relative address will depend on
the relative positions of the directories on your website, of course):
Absolute address:
http://www.yourdomain.com/subdirectory/index.html?topicname.
htm#anchorname
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 Publish 590 dialog when you compile), topicname.htm is the name of the topic (
topic ID 205 plus .htm) and anchorname (optional) is an anchor 226 in the topic you want
to link to.
Choosing the window to open the link in:
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.
Direct links to topic files:
It is possible to link directly to the topic filename, for example with:
../subdirectory/topicname.htm
The entire help with the TOC wills still be displayed automatically when you do this.
However, the Back and Next history buttons in the user's browser will not work properly
so it is better to use the full syntax including the index.html index file.
See also:
Working with Modular Help Systems 446
4.8.9 Links and secondary windows
Help windows define the features of the Microsoft help viewers for HTML Help and Winhelp
and are also used to display individual topics in external windows. In the obsolete Winhelp
format they also define the background colors of the topic body and header. Help windows
are a Microsoft technology that is only relevant for Winhelp and HTML Help output.
When you define a hyperlink to a topic you can include a setting that specifies a secondary
help window for opening the topic. This allows you to create links that open topics that
would normally open in the TOC in external windows. In the obsolete Winhelp format you
can also use this feature to apply different background colors to the topic you are linking to.
See Using help windows 121 for more details.
See also:
Using help windows 121
Help Windows 660 (Project Configuration)
Help windows and external windows 429
Help Windows 807 (Reference)
4.8.10 Inserting HTML code objects
The Insert HTML Code Object tool in Write > Insert Object allows you to add special
features or formatting to your topic pages with HTML code. For example, you can write
dynamic HTML code with JavaScript to add features not available directly in Help & Manual.
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
Productivity Tip
You can resize the HTML code objects in
your topics to make their contents visible.
You can also the code object editor for
editing larger blocks of code.
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 Load from File and Save to File functions allow you to save blocks of code in
external text files for reuse.
check the code and it will not do this for you. There are two ways to make sure that
referenced files are included in your project:
Method 1: Adding the files to the Baggage Files
This is the simplest solution. The Baggage Files function provides a quick and easy way
to integrate external files in your project and make sure that they are available to the
compiler and included in your output.
· See Using Baggage Files 485 for details on using this function.
· See Graphics references 442 for more details on referencing graphics files. Since
graphics files are often large it is not always a good idea to add them to the Baggage.
Method 2: Integrating the files in your output manually
This is not really necessary since it is much easier to add any referenced files to your
Baggage. The following instructions are just included for the sake of completeness.
· In Webhelp you must manually copy the files to your output directory if you have not
added them to the Baggage Files (see above).
· In HTML Help you need to tell the HTML Help compiler to add the files to the .chm file.
Proceed as follows:
1. Copy the external file(s) to your project folder (the folder containing your .hmxz or .
hmxp project file).
2. In the Project Explorer open Configuration > Publishing Options > HTML
Help > Extended HHP Settings.
3. In the editing box add the following entries, replacing the dummy filenames in the
examples with your own files (one file per line):
[FILES]
..\donald.js
..\mickey.asp
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 example assumes the files are stored in your project directory. (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.) If your files are
located anywhere else you need to adjust the ..\ relative path reference accordingly.
the Project Explorer. You can add script code and references to external script files to
the <head> section of your pages by editing these templates. By default you have one
HTML topic page template called Default, which is used for all topics. However, you can
create as many different templates as you like and assign them to individual topics in the
tab behind the editor.
In addition to this you can use HTML variables that you can redefine in individual topics to
add different script and code to the <head> section of every single topic. To do this you
insert the variables in your template and then redefine their content for individual topics in
the tab behind the editor.
See Using HTML Templates 430 for general information on how to access and edit your
HTML topic page templates. See The power of editable variables 395 for details on how to
use HTML variables to insert individual code in your templates on a per-topic basis.
See also:
Inserting script and macro links 223
Using HTML templates 430
Scripts, HTML and Macros 758
Webhelp 674 (Project Configuration)
Using Baggage Files 485
Graphics References 442
Extended .HHP Settings 670
4.8.11 Application links to Webhelp
You can create context-sensitive calls to Webhelp 730 (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.
Field-level popups are not supported in Webhelp, they can only be implemented with HTML
Help (CHM) or Winhelp (HLP). The JavaScript popups 129 supported in Webhelp can only be
used within your help, you cannot make calls to them from your application or web pages.
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 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. This is the name of the topic you want to display. This is created by
htm combining the topic ID 205 with the extension .htm..
This is the default topic extension, you can change it in Project
Configuration > Publishing Options > Webhelp > HTML
Export Options 684 . (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 226 in the topic that you want to
jump to.
See also:
Creating popup topics 125
Context-Sensitive Help & Popups 788
Topic files without TOC entries 210
Key Information
Note that A-keywords are a Microsoft help
technology that is only supported in the
Microsoft Winhelp (HLP) and HTML Help
(CHM) formats. A-keywords are irrelevant
in all other output formats, including
Webhelp.
This example will create a link that displays a list of all topics that contain the A-keywords
"troubleshooting" or "solutions".
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:
Alink(about widgets;troubleshooting;widget solutions)
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:
About A-Keywords 806 (Reference)
Keywords and Indexes 273
See also:
About Graphics in Help & Manual 753
4.9.1 Supported graphics formats
You can use a large number of different graphics formats directly in Help & Manual. If the
format of a graphic you use in your project is not supported in your publishing format Help &
Manual converts the file automatically when you publish your project. For example, the
obsolete Winhelp format only supports BMP, so if you use other types of graphics files they
will be converted to BMP when you publish your project.
Key Information
For most purposes BMP is the best format.
Help & Manual automatically converts and
compresses images when you publish and
BMP is the best source format for this.
Productivity Tip
When inserting a graphic in a paragraph
with text always type a space as the first
character after the graphic, this will prevent
the image caption style from being applied
to the text you type.
· Alignment can make text wrap around the image (not displayed in editor, does not
work in PDF).
· Spacing adds empty space around the image (in pixels).
· Zoom resizes the image, Autosize returns it to the default size.
· Tooltip is a text displayed when the mouse pointer is over the image.
· Caption is displayed below the image (formatted with the Image Caption style) and
is included as the ALT attribute in HTML-based image formats.
You don't need to worry about setting the dimensions of your graphic as you would have
to do in an HTML editor. Help & Manual does this automatically.
See also:
Graphics, Videos and OLE 753 (Reference)
4.9.3 Positioning graphics
By default a graphic inserted in Help & Manual is a handled as a single object in a
paragraph, essentially the same as a character. This means that if it is alone in its paragraph
it can be centered, left-justified and right-justified by adjusting the paragraph formatting
settings. In addition to this you can also make text wrap around it to the left or right with the
Alignment: settings in the Open Image 622 dialog.
For more complex control over the position of graphics on your page you need to place the
graphics in tables 253 , in the same way that you would in a HTML page.
bottom right corner of the Paragraph tools group to display the full Paragraph formatting
dialog.
See also:
About Graphics in Help & Manual 753
Working with Tables 253 Help & Manual 753
4.9.4 Editing, resizing and hi-res PDF printing
You can edit the properties of a graphic by double-clicking on it. You can also resize your
graphics directly in the editor by selecting it and dragging its corners with the mouse or by
double-clicking and entering a zoom factor. 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 Impict 536 or
another graphics program, but this feature can be a great time-saver when you are in a
hurry.
See also:
About Graphics in Help & Manual 753
Conditions and Customized Output 399
4.9.5 Using the Impict graphics editor
Help & Manual comes with its own powerful graphics program called Impict for editing and
enhancing screenshots and other graphics. This editor has a wide range of powerful
features for making professional help graphics and screenshots.
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.
See also:
Screen Capture 532
About Graphics in Help & Manual 753
The Impict Screenshot Editor 536
4.9.7 Using graphics as hyperlinks
In addition to standard text links you can also use graphics as hyperlinks 214 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 "hotspots2 to your graphics, which are 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 246 for details.
2. Select the Picture option in the Style: section of the Hyperlink dialog 617 . The title of the
entry field at the top changes to Picture:, where you can then specify the graphics file
you want to use.
3. Click on the browse button next to the entry field to select your graphic file.
4. Click on OK to close the dialog.
See also:
Inserting Hyperlinks 214
4.9.8 Graphics with hotspots, macros and scripts
Hotspots are active, clickable areas in graphics. Hotspot data is stored separately from the
graphics, which makes it possible to add hotspots to all graphics types, not just special
hotspot graphics. 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. See Links, Anchors, Macros, Scripts and HTML 214 for more
information on hyperlinks.
Key Information
Hotspots in graphics are only supported in
electronic output formats (HTML Help,
Webhelp, Windows Exe eBooks, Visual
Studio Help / Help 2.0 and PDF with
hyperlinks activated). Hotspots are not in
the obsolete Winhelp format. Many ePub
readers do not support hotspots.
OR
· Right-click on the graphic and select Picture > Edit Hotspots in the context menu.
3. Click on one of the Insert Hotspot tools (this will insert a new hotspot in the top left
corner of the graphic):
Topic link hotspot
Internet link hotspot
File link hotspot
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.
Editing hotspots:
To edit a hotspot just double-click on the graphic and open the Hotspots editor again.
1. Use Shift+Click to select all the hotspots you want to align. The hotspots will be lined
up with the first hotspot you select.
2. Select one of the two Align tools to align the hotspots vertically or horizontally:
aligns the hotspots in a vertical row,
using the first hotspot selected as the
reference.
aligns the hotspots in a horizontal row,
using the first hotspot selected as the
reference.
Visual Studio Same as HTML Help but all external file links are explicitly
Help: forbidden in Visual Studio Help / MS Help 2.0.
Windows Exe Hotspot topic links are supported, no support for script or
eBooks: macro links
ePub eBooks Hotspots are included in the ePub specification but most
ePub readers (both hardware and software) do not support
them
Adobe PDF: Hotspot topic links are supported, no support for script or
macro links
See also:
Links, Anchors, Macros, Scripts and HTML 214
Key Information
This function only replaces the file names
in the references to the graphics files in
your topics. It does not affect the actual
graphics files or their names in any way!
See also:
Searching for text, topics and referrers 141
Find & Replace Text 602
Find Topic 585
Find Referrers 586
4.9.10 Managing your graphics
When you add graphics to a project Help & Manual inserts a reference to the graphic file
that only contains the name of the file. It finds the graphics by looking in the Project Search
Path, which is defined in the Configuration section of your project. The folders listed in the
path are searched in order and the first file with a matching name is used.
This strategy makes it very easy to organize and move your graphics files you just need to
change the settings in the Project Search Path to let Help & Manual know where to look for
the graphics.
It is generally advisable to store your image folders together with your project folder.
Key Information
If you use multiple graphics folders it is
very important to avoid duplicate filenames
in different image folders! If you have
duplicates Help & Manual will only find the
first version of the graphics file with a
matching name.
move your project without needing to make any changes to the Project Search Path.
· If your image folders and your project folders are in different locations you will need to
update your Project Search Path after moving your project folder.
See also:
Image Folders 656
Importing graphics from RTF files 105
4.9.11 Shortcuts for graphics
You probably have some graphics that you use again and again in your project logos,
images of buttons and so on. Help & Manual's "Recent Images" and "Image Shortcuts"
functions make accessing images quick and easy. Recent Images shows thumbnails of all
the images you have used recently, so that you can click on them to insert them again.
Image Shortcuts is a configurable list of graphics that you can select and insert in your
projects with a single click.
2. Select Add Picture in the dialog displayed to add a new image to the list.
Inserting images:
Click in the editor in the position where you want to insert the image, then click on the
thumbnail image you want to insert in the Picture Shortcuts menu.
Organizing the list:
Use Add Category to organize your images in categories, which are also displayed in the
menus. Use Move Up and Move Down to arrange your images and categories in the list.
See also:
Graphics References 442
Table styles
· Table styles are defined and managed together with paragraph and text styles. To
create and edit table styles select Styles > Edit Styles in the Write tab.
· To apply a style to a table just click in the table and then select Table > Properties
and select the style you want to use.
· You can also select a style when you are defining a new table.
See Table styles 263 for more details.
· You can indent and center tables by applying paragraph formatting to the paragraph
containing the table.
See also:
Classic Winhelp 740
Table styles 263
4.10.2 Inserting tables
You can insert new tables with tools in the Write and Table tabs of the Ribbon. The Table
tab provides you with direct access to all the table editing tools.
Key Information
If you set a color for the heading row of a
table it will only be displayed if your table
has at least one heading row! Check this in
Table Properties if your heading row color
is not displaying.
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 content you put in them.
Size table Creates a table that is permanently maximized to the width of the current
to fit on paragraph (if the paragraph has indents the table will be narrower than the
page: 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.
See also:
Table Properties 638 (Reference)
Managing column widths 256
How table sizing works 723 (Reference)
4.10.3 Managing column widths
By default, the widths of all columns in tables are "dynamic" they expand to fit the width of
the content they contain and the defined width of the table. After you create a table you can
adjust the widths of columns 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.
How you define your column widths is crucial for how your tables behave in your published
output, in particular in formats like PDF and RTF where the tables must fit inside a fixed
page width.
are working to lock and unlock the widths of columns. It also shows you whether the
current column is locked or unlocked.
Column widths in complex tables:
If you merge and split cells in a table you will find that some widths cannot be changed
beyond a certain point because the rows and columns no longer extend across the entire
height and width of the table. In some cases you may have to use nested tables or
multiple tables to achieve the widths you need.
See also:
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
Key Information
Changing the widths of table columns with
the mouse always locks the width of both
affected columns. Always use the Lock
Column tool after changing widths to make
columns dynamic again!
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.
Note that this is not possible with some table width settings. For
example, you cannot resize a table with a width of 100%/fit to page.
You also cannot resize a fixed-width table or a table whose columns all
have fixed widths.
Formatting Right-click in the cell and select Table > Properties, then click on the
single cells: Selected Cells tab.
Formatting Select the cells, right-click on the selection and select Table >
multiple cells: Properties, then click on the Selected Cells tab.
See also:
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
4.10.5 Adding and deleting rows and columns
You can add and delete rows and columns in tables both with the Ribbon tools and by
changing the number of rows and columns in the table definition in Table Properties.
Key Information
In complex tables with split and merged
cells deleting rows and columns may have
unexpected results if the row or column
you are deleting overlaps merged or split
cells.
See also:
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
4.10.6 Splitting, merging and unmerging cells
You can create complex tables by splitting and merging cells both vertically and horizontally.
In addition to this you can also nest tables 266 inside one another to create even more
complex structures. (To nest a table just insert a new table in the cell of an existing table.)
2. Use the Split tool in the Table tab or right-click and select Table > Split Cells in the
context menu and choose Vertically or Horizontally to choose the direction of the split.
3. Enter the number of columns or rows you want to split into (the default is 2).
See also:
Nested tables 266
Managing column widths 256
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
4.10.7 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 also:
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
See also:
Selecting and formatting cells and tables 258
Exporting and importing topics 204
4.10.9 Indenting tables
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
and alignment of the table on the page are 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.
Alternatively, you can just place the cursor at the end of the last cell in the table and then
press the right arrow cursor key on your keyboard once, or place the cursor at the
beginning of the next paragraph after the table and press the left arrow cursor key once.
Both these operations will also position the cursor between the table and its paragraph
mark.
See also:
Selecting and formatting cells and tables 258
Text/paragraph styles in tables 265
4.10.10 Table styles
Just as you can define styles for formatting text and paragraphs you can also define styles
for tables. Like text and paragraph styles, table styles are dynamic. This means that when
you change the style definition all tables in your project formatted with that style change
automatically.
Table styles also "inherit" properties from the styles they are based on and this is also
dynamic. The "child" style inherits all the properties of the "parent" style. If you change the
definition of the parent style all the matching attributes in the child styles will also change.
Only attributes that you have explicitly changed in the child styles will remain unchanged.
3. If you want to make any individual changes you can also adjust the settings directly in
the Table Properties dialog before you close it.
Note that any properties settings you edit manually in a table formatted with a style will
remain unchanged if you change the definition of the table style later. Only attributes
controlled by the style will change when you change the style definition!
2. Click to the right of the table between the table and its paragraph mark so that you can
see the blinking editing cursor between the right margin of the table and the paragraph
mark.
3. Select the style you want to apply in the drop-down style list in the Toolbar.
2. Select Properties in the Table tab and then select the table style you want to use and
click on OK.
See Working with Tables > Table styles 263 for full details.
See also:
Table styles 263
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
Text Formatting and Styles 155
4.10.12 Nested tables
Help & Manual's table formatting functions 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 for the entire table. Merging and splitting
cells in a single table can also place limitations on column width adjustments.
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.
Productivity Tip
Temporarily apply thick colored borders to
your nested tables so that you can see
where they are while you are working with
them. You can do this most easily by
defining a table style and applying it
temporarily while you are working.
See also:
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
4.10.13 Using background graphics
In addition to defining background colors you can also add background graphics to your
tables. For example, you can insert a single large graphic behind a table like a "watermark",
or you can tile a small graphic to create a repeating pattern or texture as a background for
the table.
Productivity Tip
You can apply a background graphic to a
single cell of a table by using a single-cell
nested table 266 (inserting one table inside
another) and applying the background
graphic to the nested table.
single cell or range of cells you can do this by inserting a nested table 266 and applying the
background graphic to the nested table.
See also:
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
4.10.14 Handling table borders
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 have separate settings.
Productivity Tip
If the thickness of your table borders looks
off in your PDF output try selecting the
screen device as the reference device for
PDF output in View > Program Options >
PDF.
· 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 266
Table Properties 638 (Reference)
How table sizing works 723 (Reference)
See also:
About using video files 756
4.11.1 Inserting videos
Inserting a video is just as easy as inserting a graphic. Basically you just click in the editor
where you want to insert the video, select the Insert Movie tool in Write > Insert Object
and select the video file you want to use.
Please see About using video files 756 for important information on using video files in your
projects and support for video in the various publishing formats!
Productivity Tip
If you want to be sure that videos will play
properly then use the Flash Video format.
Other formats frequently cause problems
because of the varying support for different
video formats in different versions of
Windows and Windows Media Player.
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 the topic
automaticall is displayed.
y:
Loop Repeats the movie indefinitely as long
playback: as the topic is displayed.
Show Displays playback control buttons
controls: together with the movie. Not available
for Flash Flash videos must have
their own embedded player controls.
5. Use Select Placeholder to select the placeholder graphic to be displayed in the topic
when the movie is not running. This graphic is also displayed in the Help & Manual
editor.
6. Check the Width: and Height: values and correct them if they do not correspond to the
original width and height of the movie (some players do not read these values
correctly).
7. Click on OK to insert the movie in your topic.
Important warning:
Don't try to use the Width: and Height: settings to scale your video, these options are only
for setting the correct original size! If you scale with these settings quality will be very
poor (i.e. really, really, really bad), particularly in Flash video and animation files.
See also:
About using video files 756
4.11.2 Editing the HTML code
Help & Manual automatically generates the HTML code needed to embed and play media
files in HTML-based output formats (HTML Help and Webhelp). 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 play Flash video and animation files in Windows Exe
eBooks (other video formats are not supported) this is handled by special internal routines.
Editing the HTML embedding code will not make any difference in your eBooks output.
Video is not supported at all in ePub eBooks.
See also:
About using video files 756
4.11.3 Support in output formats
Support for video files varies according to the output format you are using. This support is
dependent on the output formats themselves, not on the capabilities of Help & Manual.
The bottom line is that if you want to be relatively sure that your movie will play on the user's
computer then use Flash. This is the only real standard that will always play if support for it
is installed, and the great majority of users now have it. If support for Flash is not installed
the user will be prompted to download and install it automatically. Other formats may or may
not play, depending on the configuration of the user's computer.
Flash video can also be embedded in HTML Help CHM files. All other video formats must be
distributed in separate files.
Webhelp: Flash and other video formats are supported. Here too, 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!
Windows Exe Flash is supported if the necessary Flash plug-in is installed on the
eBooks: user's computer (the user will be prompted to download the plug-in if it
is not found). Other video formats are not supported.
ePub eBooks Neither Flash nor any other multimedia formats are supported in ePub
eBooks.
Adobe PDF: No multimedia support except as file links to external media files.
Word RTF: No multimedia support except as file links to external media files.
See also:
Help Formats 725 (Reference)
See also:
IDs, Context Numbers and Keywords 801 (Reference)
4.12.1 Adding and editing keywords
Each topic in your project can have its own list of "index 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). 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.
Productivity Tip
It is best not to use keywords in popup
topics and topics without TOC entries.
Clicking on Keyword Index entries will
display these topics in the main help
viewer and this may confuse the user.
See also:
Editing the index directly 275
IDs, Context Numbers and Keywords 801 (Reference)
4.12.2 Editing the index directly
If you have the Professional version of Help & Manual you can also edit the real-time index
directly with the Index Tool in Project > Tools. Note that this tool is only available in the
Professional version.
This tool enables you to 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.
Productivity Tips
Select Expanded View at the bottom of the
Index Tool window to display links to the
topics containing the index keywords.
Double-click on the Index Tool title bar to
undock or redock it.
2. Select a keyword in the index and then click on the Edit Keyword tool in the Index
Tool toolbar. You can select a master keyword or a child keyword.
To add the keyword to more topics select the topics on the right and click on <<
3. Edit the keyword in the Keyword: field, then click on OK to save your changes. This
will save the modified keyword in all the topics whose IDs are listed in the Topic: list on
the left.
Drag the tab to the right or left editor margin to move it. Double-click on the Index
tool title bar to undock/redock it. Click on the "pin" icon in the Explorer title bar to pin/unpin
it.
Since this can make the editor a little narrow on smaller monitors it can be helpful to
undock the Index tool. To do this just double-click on the Index tool title bar. You can also
get more space when you are working in this mode by pinning the Project Explorer to the
left margin so that it collapses automatically when it is not needed.
See Tips & Tricks in the Project Explorer 46 for instructions and more details on these
features.
2. Select New Master Keyword and type the keyword in the Keyword: field of the dialog
displayed.
3. In the Available Topics: list select the topic IDs of the topics you want to use the
keyword in. Use Ctrl+Click and Shift+Click to select multiple IDs.
4. Select to add the IDs to the Topics list, then click on OK to insert the new
keyword in all the selected topics. You can also double-click or drag to the left to add
topics to the list.
5. Click on Reload in the Index toolbar to redisplay the index.
3. Enter the new child keyword in the dialog displayed and press on OK to confirm.
You can use the button to add the same child keyword to additional topics just
select the topics in the list on the right and add them to the topics list on the left. If the
master keyword is not stored in those topics it will be added too.
2. In the Available Topics: list select the topic IDs of the topics you want to use the
keyword in. Use Ctrl+Click and Shift+Click to select multiple IDs.
3. Select to add the IDs to the Topics list, then click on OK to insert the new
keyword in all the selected topics. You can also double-click or drag to the left to add
topics to the list.
Deleting keywords
Warning: Deleting keywords in the Index window deletes the keywords from all the
topics in which they occur! If you only want to remove keywords from individual topics use
the Edit Keyword tool or edit the keywords for the topics directly in the tab.
1. Select the Index Tool in Project > Tools to display the Index window.
2. Click on the Delete Keyword tool in the Index toolbar and confirm the prompt
displayed.
See also:
IDs, Context Numbers and Keywords 801 (Reference)
Anchors - jump targets 226
See also:
Searching for text, topics and referrers 141
IDs, Context Numbers and Keywords 801 (Reference)
Using keywords with anchors 280
Using A-keywords 281
4.12.4 Using keywords with anchors
Normally, clicking on an entry in the index of a help file executes a jump to the top of the
topic containing the keyword. However, you can also associate keywords with anchors,
which are jump targets in your topics. When an anchor keyword is clicked in the index the
user is taken directly to the anchor location in 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).
Same keywords in anchors and :
It is possible to have the same keywords in both the topic's 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.
Note that you can also add keywords to anchors by editing the keyword with the Index
Tool. See Editing the index directly 275 for details.
Both the entries found here refer to the keyword "Horticulture". The first keyword is an
anchor keyword, the second is a normal keyword in a topic.
See also:
Editing the Index directly 275
IDs, Context Numbers and Keywords 801 (Reference)
4.12.5 Using A-keywords
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.
Key Information
Note that A-keywords are a Microsoft help
technology that is only supported in the
Microsoft Winhelp (HLP) and HTML Help
(CHM) formats. A-keywords are irrelevant
in all other output formats, including
Webhelp.
This example will create a link that displays a list of all topics that contain the A-keywords
"troubleshooting" or "solutions".
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:
Alink(about widgets;troubleshooting;widget solutions)
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:
About A-Keywords 806 (Reference)
4.12.6 Index section header separators
When Help & Manual generates keyword indexes in Webhelp 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.
You can create links like these for your own help by adding some code to the HTML
template for the Webhelp index. You need some experience with editing HTML manually
to do this.
1. In the Project Explorer go to Configuration > Publishing Options > Webhelp >
Keyword Index and select the HTML Source Code tab.
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 /> line break codes to create some space, 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</a>
<a href="#B">B</a>
<a href="#C">C</a>
<a href="#D">D</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 430
About HTML templates 810
V
288 Help & Manual 5 - User Help
5 Publishing
In Help & Manual you edit your text as you would in a word processor, but that is where the
similarity ends. After creating your texts you need to turn them into finished documents in
one of the supported output formats. We refer to this process as "publishing". This process
used to be called "compiling" but since Help & Manual now supports so many different
output formats we have decided to use a less technical term.
When you publish your output Help & Manual converts your project into your chosen output
format, for example a PDF document, a website (Webhelp), a Microsoft help file (HTML Help
or Winhelp) and so on. In some formats this is done directly, in others with the help of an
additional program like one of the Microsoft help compilers.
See also:
The Report Tool 534
5.1.3 Testing links and missing graphics
All links and graphics inserted in your projects incorporate dynamic validity checking
features. Dead links are automatically highlighted in red and a popup explanation is
displayed when you position the mouse over them if the mouseover hints feature is enabled
in View > Program Options > General. Missing images are clearly indicated by a square
graphic with a red X in the middle.
· Use the Back button in the Quick Access Toolbar and the History button between
the Back and Next buttons to return to the topic you were editing before testing
the link.
See also:
The Report Tool 534
5.1.4 Searching for topics and referrers
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 Report Tool
534 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.
Productivity Tip
The Search function is also available in the
XML Source editor tab (Professional
version only) all HTML editor windows for
HTML templates and other editing
windows. Just right-click in these editor
windows to access.
Image File Nameschanges the filenames of graphics file references in your projects so
that they refer to files with different names. See below for details.
Captions searches in TOC captions (the Topic Title field in the tab). Note that replacing
this text does not change the name of the topic in the TOC or the header in the header
box above the editor. Instead, it "uncouples" the topic title attribute from the other two
texts, giving it a different value.
Table of Contents searches in the TOC in the Project Explorer (search only, no replace).
mode.
The report will include lists of all outgoing and ingoing links in all topics in your project.
See also:
Find & Replace 602 (Reference)
Find Referrers 586 (Reference)
The Project Reports Tool 534
5.1.5 Testing keywords
The Index Tool provides a preview of 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.
The Find and Replace Text function in Write > Editing also works on keywords. You can
locate and replace keywords in your entire project in a just a few seconds.
See also:
Keywords and Indexes 273
Editing the index directly 275
Searching for text, topics and referrers 141
The topics in this chapter provide an introduction to configuring the options for each
format with references to documentation of the individual settings available for each
format.
See Help Formats 725 for more information on the individual output formats.
See also:
Project Configuration Settings 652
Help Formats 725
5.2.1 Help Windows
In Microsoft HTML Help and the obsolete Microsoft Winhelp format the appearance and
functions of the help viewer are controlled by the help window definitions in Configuration
> Common Properties > Help Windows in the Project Explorer.
For details on the individual settings see Help Windows 660 in the Project Configuration
chapter. For more information on help windows and what they are for see Help Windows 807
See also:
Using help windows 121
Templates and Secondary Windows 416
Help Windows 660 (Project Configuration)
Help Windows 807 (Reference)
These additional options adjust the appearance and behavior of the TOC in the
Microsoft HTML Help viewer:
Display plus/minus icons:
Activates or deactivates the +/- icons displayed to the left of closed/open chapter icons
("books") in the HTML Help viewer's TOC.
Draw lines between items:
When this is activated fine dotted lines are displayed between related items in the
TOC, making it easier see which topic belongs to which chapter in complex TOCs.
Track selection (mouseover effect):
When this is activated an underline is displayed below topic entries in the TOC when
the user moves the mouse over them. This makes it easier to be sure which topic you
are going to click on.
Only expand a single heading:
When the user selects a new chapter any other chapters on the same level in the TOC
that are open will be closed automatically. This is useful for complex help documents
with lots of chapters, because it is easier to navigate in the TOC if you do not have
multiple chapters open.
See also:
Project Configuration - HTML Help 667
Output Formats - HTML Help 727
5.2.3 Webhelp
The appearance and functionality of Webhelp output is controlled by the options in two
sections in your Project Configuration:
· Configuration > Publishing Options > Webhelp
· Configuration > HTML Page Templates
you can either load an existing page into the top frame or edit the code for the top
frame directly in the Layout section. If you load an external page you are responsible
for making sure that it is available at runtime. If you want to store it in the same
directory as your help you must copy it to the correct directory on your server, along
with any graphics files and other files that it uses.
The Table of Contents, Keyword Index and Full Text Search sections:
These sections configure the Contents, Index and Search tabs of your Webhelp output.
In addition to this you can also edit the HTML templates that are used for generating
these tabs. Editing HTML templates directly requires experience with editing HTML
code. If you are just getting started with Help & Manual it is recommended that you
only use the default settings in the Simple Template Layout tab.
Note that the Full-text Search feature for Webhelp is only available in the Professional
version of Help & Manual.
For full details on all the settings in these sections see Webhelp 674 in the Project
Properties chapter. For full details on using and editing HTML templates see Using
HTML Templates 430 and Templates and Secondary Windows 416 . See Publishing 313 for
an important note on compiling Webhelp with full-text search.
these formats. You cannot enter different settings for the individual output formats.
See also:
Project Properties - Webhelp 674
Output Formats - Webhelp 730
5.2.3.1 Layout
The options in this section define the layout of your Webhelp. You can use a standard two-
pane layout that directly emulates the HTML Help viewer, a three-pane layout that allows
you to integrate your own website's header page in the top frame or a "no frames, no
scripts" option for manual integration.
See also:
Layout 674 (Reference)
HTML template variables 782 (Reference)
Using HTML Templates 430
Templates and Secondary Windows 416
5.2.3.2 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 Webhelp. 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 680 in the Project Properties section.
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 - 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 438 (Using HTML Templates)
Full Text Search 680 (Configuration Options)
5.2.4 Adobe PDF and printed manuals
The appearance and functionality of Adobe PDF output is controlled by the settings and
tools in the following locations:
· Project > Tools > Manual Designer (for editing Print Manual Templates)
· Configuration > Publishing Options > Adobe PDF
· View > Program Options > PDF Export
See also:
Output Formats - Adobe PDF 737
Customize - PDF Export 650
The Print Manual Designer 537
5.2.5 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!
See also:
Visual Studio Help 694 (Advanced Procedures)
Visual Studio Help 694 (Configuration Options)
Visual Studio Help 738 (Reference)
5.2.6 Winhelp
The appearance and functionality of Winhelp output is controlled by the settings in two
sections in your Project Configuration:
· Configuration > Common Properties > Help Windows
· Configuration > Publishing Options > Winhelp
with Modular Help Systems 446 for information on working with modular projects and
modular help systems .
Extended .HPJ Settings:
This section is for advanced users who have experience with the manual configuration of
Winhelp projects. It enables you to add and modify settings in the .HHP project
configuration file that is fed to the Microsoft Winhelp compiler together with all the other
project files.
See also:
Project Configuration - Winhelp 700
Help Formats - Winhelp 740
5.2.7 MS Word RTF
The appearance and layout of your MS Word RTF output is controlled entirely by the options
in the following location:
· Configuration > Publishing Options > MS Word RTF
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.
See also:
Project Configuration - Word RTF 705
Output Formats - Word RTF 739
5.2.8 eBooks
Help & Manual supports two eBook formats: Windows Exe eBooks and ePub eBooks.
Windows Exe eBooks 304 are stored in a single .exe file that contains both the eBook and the
viewer. They can be viewed on any Windows computer without additional drivers or
software, all the way from Windows 95 to Windows Vista. To display one of these eBooks
the user just needs to double-click on the eBook file. They cannot be viewed on other
platforms, however.
ePub eBooks 305 are standard, generic and open eBook format that is supported by many
software readers on all computer platforms and harddware devices, including the Sony
Reader and the Apple iPhone (with the free Stanza application). ePub eBooks are cross-
platform and many thousands of eBooks are already available in this format.
See also:
Output Formats - eBooks 735 (information on pros and cons)
Publishing Options - eBooks 706 (project configuration settings)
5.2.8.1 Windows Exe eBooks
The appearance and functionality of Windows eBooks output are controlled by the settings
in the following locations:
· Configuration > Publishing Options > eBooks > Windows: Visual
Appearance
See also:
Output Formats - eBooks 735
Publishing Options - eBooks 706
5.2.8.2 ePub eBooks
The appearance and functionality of ePub eBook readers are controlled by the hardware or
software readers and cannot be influenced by any settings in your eBook. The only
configuration settings for these eBooks are a required unique identifier (UID) and some
information fields – see below for details. These settings are available in:
· Configuration > Publishing Options > eBooks > ePub Standard: Project
Settings
In addition to this the shared HTML Export Options 684 settings in the Publishing Options
Settings for Webhelp are also used for both Windows Exe and ePub eBooks as well as for
all other HTML-based output formats.
Key Information
ePub is simple to make it as universal as
possible. Avoid complex layouts and
formatting, only use simple tables and
don't use invisible topics. Only a..z, A..Z,
0..9 and _ are permitted in topic IDs in
ePub eBooks!
See also:
Output Formats - ePub eBooks 732
ePub resources 309
5.2.8.3 ePub resources
This page contains a selection of hardware, software and information resources relating to
the ePub format and ePub eBooks. It is not necessarily complete, but it is a good starting-
point.
Important: The reference software reader is Adobe Digital Editions. Before trying to
create ePub eBooks you should download this free reader from Adobe and install
it. If you don't do this you won't be able to view your ePub eBooks after creating
them with Help & Manual.
Amazon Kindle, which still uses its own closed proprietary format – the Kindle can't even
display PDFs without conversion, although a free service is available for this.
The Sony Reader
The Sony Reader was one of the first major hardware eBook readers and it is now a
very mature device with wide support and distribution.
The BeBook Reader
The BeBook reader supports ePub eBooks natively, like the Sony Reader. In addition to
this it also supports a wide variety of other formats and mp3 audio files and audio books.
It is sold under a variety of different names depending on geographical location.
Apple iPhone and iPod Touch
Both these devices from Apple can display ePub eBooks with the free Stanza reader
software available from the Apple App Store that can be accessed in iTunes (see below).
Mobile phones, smartphones, other readers
Many other mobile devices also support ePub eBooks with the free MobiPocket software
(see below).
TeleRead blog
An informative and entertaining blog about eBooks.
Feedbooks
Free classics in ePub format.
Snee
Free children's picture books in ePUB format
See also:
Output Formats - eBooks 735
Publishing Options - eBooks 706
See also:
Customize - Compilers 649
5.3.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 for the language of your project? This is
particularly important if you are using languages requiring special character sets or
Unicode. See International languages setup 94 for details.
You will also need to check whether everything in your project is compatible with ePub.
Please also study the information on ePub eBooks in the Configuring Your Output 305 and
Publishing Formats 732 and Configuration Settings 710 chapters before proceeding.
Linked snippets:
Are you using linked snippets (snippets linked to topic files or external files)? If the source
files are in your current project you need to make sure that they will not be included in
your output, otherwise they will be exported too in electronic help formats and the user
will be able to find them with Search.
Select the tab of the each source topic and deselect all the options in Builds which
include this topic. See Re-using content with snippets 149 for details.
See also:
Configuring Your Output 292
5.3.3 Publishing
Once you have made all your preparations and set your configuration options 292 for the
output format you are using compiling is basically just a question of selecting Publish and
choosing the output format.
2. Select the output format from the list on the left. Some of the options displayed in the
dialog will change depending on the format you choose.
· For details on the options see the reference to the Publish Help Project 590 dialog.
3. Check the Output File: field. In most cases the program will automatically publish 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 publish.
4. Select the output options and click on OK to publish. This can take a couple of minutes
with very large projects.
A report on the publish process including any errors and a list of the files and/or folders
you need to include when you distribute your help 319 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.
3. Select the output format, then select Selected Topics in the Include Options: box. The
box will be highlighted in yellow to remind you that only selected topics will be included
in your output.
4. Select your other publish options, then click on OK to publish.
be selected.
Filtering by "Complete" status:
This is only relevant if you have actually applied topic status 209 to topics in the TOC. It
allows you to exclude all topics that do not have the status "Complete" from your output,
thus automatically excluding any topics that are unfinished or require review.
Select the option Topic Status: Complete Only below the Include Options box in the
Publish dialog:
2. Then just select the output format you want to output to. Your project will be published
and displayed automatically as soon as the publish process is finished.
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 Delete all files in output folder option in the Publish 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
published.
See also:
Publish Help File 590 (Reference)
Conditions and Customized Output 399
5.3.4 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 446 with multiple help files or if you are accessing additional external files
in your help, for example with file links 220 . 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 because
of uncorrected bugs in the Microsoft HTML Help viewer that is an integral part of the
Microsoft Windows operating system.
Classic Winhelp:
The obsolete Winhelp format always consists of two files: An .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.
Webhelp:
Webhelp 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 all stored in a single folder. If you have a large help project your Webhelp can easily
consist of several hundred files. You must upload the entire output folder including all the
files it contains to your server for Webhelp 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 Webhelp you must add them to the
directory manually, or add them to the Baggage Files 485 in the Project Explorer (then they
will be exported automatically).
Adobe PDF:
Adobe PDF output always consists of a single .pdf file.
eBooks:
Windows Exe eBooks consist of a single executable .exe file that contains both the
eBook content and the viewer program needed to display it. This file is completely self-
contained and it is the only file you need to distribute.
ePub eBooks consist of a single file with the .epub extension. This file is actually a zip
archive that contains the XHTML and XML files that make up the ePub eBook.
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 in the same folder,
otherwise the user will not be able to see them. By default Help & Manual thus outputs
RTF to a separate folder, so that you can transport the .rtf file and the image files
together in the folder.
See also:
Help Formats 725 (Reference)
5.3.5 Transforming your output with skins
You may already be familiar with the concept of "skins" from other programs: You select a
skin file and the appearance and layout of the entire program is transformed in seconds.
Help & Manual enables you to do this with your HTML-based output. You can save your
entire design in a .hmskin file and then select this file when you publish to apply the layout
to the current project without changing any of the project's own settings.
Please note that you can only save projects as skins if you have the Professional version of
Help & Manual. Standard version users can edit existing skins (for example skins from the
Help & Manual Plus Packs) but they cannot create new skins from their own projects.
Productivity Tip
Skins can only be used for HTML-based
output formats. You can style your PDF
files and printed manuals with print manual
templates 330 , which work in the same way
as skins.
When you publish your output it will have the "look and feel" applied by the skin. You
didn't have to do any design work at all!
3. Now you can edit the settings of your skin. This is exactly the same as editing the
corresponding sections of normal projects to configure your output.
Skins have no topics, you can only edit the relevant sections in the Configuration
and Baggage Files sections in the Project Explorer and the text and table styles in
Write > Styles.
Key Information
Include options in skins must be defined in
the skin! Include options defined in normal
H&M projects will not be saved in the skin
when you save the project as a skin. You
must edit the skin file and add the include
options you want to use.
For example, suppose you want to give the user the option of having a subtitle underneath the
title in the table of contents in your Webhelp output. It would work like this:
1. Define an include option in the skin, let's say it's called OPT_SUBTITLE, and let's also say that
we've entered TOC header subtitle as the include option description.
2. Add code using the include option to the HTML template for the Webhelp table of contents, for
example (you would also have to define the <%SUBTITLE%> variable in this example, of
course):
<p class="navtitle">Help & Manual 5 - User Help</p>
<IF_OPT_SUBTITLE><p class="nav-subtitle"><%SUBTITLE%></p></IF_OPT_SUBTITLE>
3. When the user loads the skin in the Publish dialog the option [ ] TOC header subtitle will
automatically be loaded from the skin file and displayed in the Include Options: box. The
header will only be displayed if the user selects this option.
You can take this concept as far as you like: For example, you can use the same include option
to change the CSS definitions in the same HTML template so that the formatting will be different
depending on whether the subtitle is included or not.
See also:
The Publish Dialog 590
Command Line Options 466
See also:
The Adobe PDF format 737
Using PDF templates 330
5.4.1 About PDF output
text of your topic headings is exported to the PDF document. The formatting of the headings
is defined in your print manual template 330 , where you also define the layout of your PDF
file.
Key Information
A maximum of 6 TOC levels are supported
in PDF files. If you have more levels than
this (which is not recommended) they will
all be displayed on the same level of the
published TOC. Levels below level 6 will
not have headings in the body of your text.
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 690 section select the template you edited in Step 1. Use the
button to navigate to the template file, which has the extension .mnl.
See Adobe PDF settings 690 in the Reference section for details on the other available
settings.
A printer driver is needed for PDF output:
Go to View > Program Options > PDF Export 650 and check your reference device
for PDF output.
If you are not using EMF or WMF graphics you will get the best results by setting the
screen device. Otherwise you need to use a printer driver, which does not have to be
the driver for a printer physically connected to your computer.
If you experience any problems with your PDF output they may be caused by
proprietary printer drivers. If this happens try installing a standard driver for a common
printer like a LaserJet or a DeskJet from the Windows CD. Then select this driver as
your reference device in the PDF Export tab.
Embedding fonts in your PDF output file:
If you use rare fonts in your project you should make sure that those fonts are
embedded in your PDF file, otherwise they will not be displayed on computers where
they are not installed. However, note that this will significantly increase the size of your
PDF file, so using rare fonts should generally be avoided wherever possible!
By default Help & Manual automatically embeds all fonts except a list of standard fonts.
To check this exclusion list go to Configuration > Publishing Options > Adobe
PDF Output > Font Embedding 692 .
See also:
Publishing Your Projects 311
Using PDF templates 330
Conditions and Customized Output 399
PDF Questions 832 (FAQ)
5.4.4 Printing user manuals
Before you print a user manual you will probably want to modify one of the standard print
manual templates 330 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.
Key Information
A maximum of 6 TOC levels are supported
in printed manuals. If you have more levels
than this (which is not recommended) they
will all be displayed on the same level of
the published TOC. Levels below level 6
will not have headings in the body of your
text.
2. Select the printer you want to use in the Printer section at the top of the dialog (the
printer driver is needed to generate the preview).
3. Select the print manual template you prepared in Step 1 in the Print Manual Template:
field. Use the button to navigate to and select the template file, which has the
extension .mnl. A set of standard templates can be found in the \Templates\pdf folder
in the Help & Manual program directory.
4. Select any Include Options appropriate for your manual. The default selection here is
Print Manual and you will not need to change this unless you have made use of
include options in your project. (See Conditions and Customized Output 399 for more
details on include options and how to use them.)
5. Set the other options in the dialog as you would like to have them, then click on OK to
display the print preview.
You can jump to individual pages in the preview by entering page numbers in the box at
the top of the preview widow.
See also:
Printing topics 153
Print Manual 575 (dialog reference)
5.4.5 Using print manual templates
The layout of Help & Manual's PDF and print manual output is controlled by template files
called "print manual templates" with the extension .mnl that do much more than just define
the appearance of your pages. These templates can also add front and back covers,
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. You can also define your own additional pages and insert topics from your
project or external files with a "snippets" function.
All the global variables and user-defined variables from your project file can be used in your
print manual templates. Since the templates are external files you can use them in multiple
projects, applying them to your output just as you apply skins 321 to HTML-based output
formats.
2. Click on the button in the Print Manual Template: field to select the template you
want to use.
2. Click on the button in the Print Manual Template: field to select the template you
want to use.
In both these dialogs you can open the selected template for editing by clicking on the
Design button next to the template selection field.
OR:
· Select Project > Tools > Manual Designer 537 to open the Print Manual Designer.
Then select File > Open in the Designer to open the template for editing. You can find
a selection of standard templates that you can edit in the \Templates\pdf folder in the
Help & Manual program directory.
The Print Manual Designer is a separate program with its own documentation. See the
help in the Designer for details on how to use it.
See also:
Templates and Secondary Windows 416
See also:
Inserting file links 220
5.4.7 CID mode for Unicode fonts
The CID Font Mode option in Configuration > Publishing Options > Adobe PDF >
Font Embedding can reduce the size of your PDF for projects written in Unicode-based
languages, particularly Asian languages. In addition to this it also improves the correct
rendering of special Unicode characters in PDF.
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.
If you use special Unicode characters in your project you may need to activate Unicode
mode to get the characters to display correctly. Please check the rest of your output
carefully for correct rendering when you do this.
See also:
International languages setup 94
Adobe PDF - Font Embedding 692 (Configuration Options)
VI
More Advanced Procedures 335
Key Information
Active support for VCS is only available in
the Professional version of Help & Manual
and is only possible with projects saved in
uncompressed XML. Binary HMXZ projects
cannot be linked to VCS repositories.
If you save your projects in uncompressed XML (recommended anyway and also required
for multi-user editing) you can integrate them directly in your Visual SourceSafe version
control repository. Help & Manual actively supports Microsoft Visual SourceSafe and other
fully-compatible version control systems, with automatic or manual check-in and check-out
for your project files.
These options are only displayed if you have active support for a configured VCS
database installed on your computer. Some of the options will be grayed out depending
on the format and status of the project you currently have open.
6.1.1 Introduction
Before using Help & Manual with a version control system (VCS) it's important to understand
how your project is linked to the VCS database and how the two interact. The following
introduction will make it a lot easier to use the VCS support functions because you will
understand what is actually happening when you use them.
Key Information
Once you have got your project linked to
your VCS everything works exactly the
same as it does for multi-user editing on
projects that are not in a VCS. See Multi-
User Editing 518 for full details.
See also:
Multi-User Editing 518
6.1.2 Setup and editing
There are two possible scenarios when you are setting up a project that will be connected to
your VCS database: Either your project is a new project that has not yet been added to the
VCS database, or you want to work on a project that is already stored in the VCS database.
In the first case you need to add a copy of your project to the database and link it to your
local version. In the second case you need to create a local copy of the database project
and link it your copy to the database.
that the project is not already in the VCS. If it is you need to follow the instructions further
below for downloading a project from a VCS to a local copy.
1. Open the Help & Manual project you want to connect to your VCS. Then select
Version Control System > Connect Local Project to VCS in the Application
menu.
If the current project is a single-file HMXZ project select Version Control
System > Save as VCS Project. This will save the project as uncompressed
XML (choose an empty folder) and then connect it to your VCS system. All the
next steps are the same.
2. Select your version control system from the top drop-down list. If no system is
displayed here it means your VCS is not installed or registered correctly on your
system, or that no VCS database has been set up.
If you want you can use Check Version Control System to check the link to the DLL
that links you to the VCS. Then click on Next.
3. The next dialog connects you directly to your VCS database, where you can create a
new project for your Help & Manual project. In addition to the current directory of your
project this dialog shows the last database you accessed and the associated user
name – these will change in the next step if you link to a different database as a
different user.
Click on Open or Create a VCS Project to select the project from your database. It's
a good idea to select Store username in project to keep your username for your
database in your stored Help & Manual project.
4. Clicking on Open or Create a VCS Project will open the access dialog for your VCS.
The screenshot below shows the dialog for Visual SourceSafe 2005, your dialog may
look a little different.
Clicking on OK opens the database navigation dialog of your version control system.
Follow the instructions displayed there to create a new project in your VCS database.
You may need to consult your VCS system documentation for instructions.
5. Once you have created the new project in your VCS database you will be returned to
the Help & Manual dialog and the link data for your project will be displayed:
Then just click on OK to confirm – you will be returned to your Help & Manual project,
which is now linked to your VCS database. This is indicated by the lock icon in the
project name in the Project Explorer:
You can then start editing normally. By default all the check-in and check-out operations
for your VCS system are handled automatically. See Auto & manual check-in/check-out
346 for more information on this subject.
Multi-user editing is performed in exactly the same way as for any other multi-user editing
project – the only difference is that the file locks for topic access are handled by the VCS,
which is transparent to the user. As far as you are concerned everything will behave in
exactly the same way as any other multi-user editing project. See the chapter on Multi-
User Editing 518 for instructions on working in multi-user mode.
Key Information
Don't try to link a project from a VCS
database to a local project using this
function! This could corrupt both the
1. Locate or create the empty folder in which you are going to save your project. There
should not be any other files in this folder.
2. Select Version Control System > Load VCS Project to Local System in the
Application Menu. This displays the following dialog:
3. Click on in the Output File: field and select the empty folder where you want to store
your local copy of the project. Then click on Next to display this dialog:
Select your version control system from the top drop-down list. If no system is
displayed here it means your VCS is not installed or registered correctly on your
system, or that no VCS database has been set up.
If you want you can use Check Version Control System to check the link to the DLL
that links you to the VCS. Then click on Next.
4. The next dialog connects you directly to your VCS database. In addition to the current
directory of your project this dialog shows the last database you accessed and the
associated user name – these will change in the next step if you link to a different
database as a different user. Click on Open a VCS Project to select a project from
your VCS database.
Click on Open a VCS Project to select a project from your VCS database. It's a good
idea to select Store username in project to keep the username for your database in
your Help & Manual project.
5. Clicking on Open a VCS Project will open the access dialog for your VCS. The
screenshot below shows the dialog for Visual SourceSafe 2005, your dialog may look
a little different.
Clicking on OK opens the database navigation dialog of your version control system.
Follow the instructions displayed there for selecting the project from your VCS
database. You may need to consult your VCS system documentation.
6. Once you have selected the project in your VCS database you will be returned to the
Help & Manual dialog and the and the link data for your project will be displayed:
Then just click on OK to confirm – the local copy of the database project will be
created automatically and the project will be opened in Help & Manual. The project is
now linked to your VCS database. This is indicated by the lock icon in the project
name in the Project Explorer:
You can then start editing normally. By default all the check-in and check-out operations
for your VCS system are handled automatically. See Auto & manual check-in/check-out
346 for more information on this subject.
Multi-user editing is performed in exactly the same way as for any other multi-user editing
project – the only difference is that the file locks for topic access are handled by the VCS,
which is transparent to the user. See the chapter on Multi-User Editing 518 for instructions
on working in multi-user mode.
In multi-user editing mode everything works just as it does when multiple users are
editing a project that is not linked to a VCS database. See Multi-User Editing 518 for more
details.
When you save your project your topic files are automatically checked back into the VCS
database and unlocked for other users to access – the check icons will then be cleared
from the topics in the Project Explorer. Here too, you don't have to do anything yourself.
See also:
Multi-User Editing 518
6.1.3 Auto & manual check-out
By default Help & Manual will automatically check your topics out of the VCS database when
you edit them and check them back in when you save and move on to another project. In
most scenarios this is the best choice and you should not change it unless you have a
specific reason for doing so.
If you wish, however, you can also configure your project for manual check-out and check-
in. Then your project will be displayed in read-only mode when you open it and you will have
to check out your topics manually in order to edit them. You must also remember to check
your topics back in again when you finish your work.
In multi-user editing mode everything works just as it does when multiple users are
editing a project that is not linked to a VCS database. See Multi-User Editing 518 for more
details.
When you save your project your topic files are automatically checked back into the VCS
database and unlocked for other users to access – the check icons will then be cleared
from the topics in the Project Explorer. Here too, you don't have to do anything yourself.
4. When you have finished editing save your changes, then select Check In in the Project
tab or the context menu. This checks the topic with your changes back into the VCS
database and the topic is switched back to read-only in the Project Explorer.
That is really all there is to it. Everything else is exactly the same as editing a normal
project. You just have to remember to check in your open topics before you close your
project, otherwise you and other users will see a conflict resolution dialog from your VCS
the next time you access the project because it will see that there are topic files checked
out.
See also:
Multi-User Editing 518
6.1.4 Graphics and additional files
Only your actual project files are automatically managed by the version control system. Your
graphics files and any additional files you add to your project folder manually are not
included. If you want to manage these files in your VCS you must add them yourself with the
facilities provided by your VCS, and check them in and out manually when you want to edit
them.
This is necessary because these files are not edited by Help & Manual, but with your
graphics program or with other editors. These programs won't have any facilities for
checking files in and out of your VCS database, so they would not be able to access them
directly. This is why you need to add these files to your VCS repository yourself and check
them out using your VCS program's administration interface when you need to edit them.
See your VCS documentation or ask your administrator for details on how to do this.
You can add multiple files to the Baggage by selecting Add File and then selecting
multiple files in the Open dialog. Use Ctrl+Click, Shift+Click and Ctrl+A to select multiple
files there, just as you would in any other Windows dialog.
Tip: Adding files in Windows Explorer
You can also add files to the Baggage by copying them to your project's Baggage folder
in Windows Explorer. However, you must do this before linking your project to your VCS!
If you do it afterwards they will not be added to the VCS database, they will still be treated
as external files.
Productivity Tip
3. Configure the settings in the Insert Toggle dialog 629 and then click on OK to insert the
toggle. This will create the toggle header with an empty, single-cell table below it.
4. 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
and expanding existing tables.
You can have a maximum of one empty paragraph between the expanding section
header and its table. If you have two or more empty paragraphs the expanding section
will not work!
5. Format the header of your expanding section if you want. You can also use styles on
the header paragraph, but you should switch off the "blue underlined" link style in the
toggle settings when you do this. See below for more details.
You can adjust the left and right indents of the toggle table by formatting the paragraph
containing the table. See below for details.
Plus/Minus hmtoggle_plus0.gif
Symbol hmtoggle_plus1.gif
Folder hmtoggle_folder0.gif
hmtoggle_folder1.gif
Arrow hmtoggle_arrow0.gif
hmtoggle_arrow1.gif
See also:
Indenting tables 262
Using indents 172
Formatting toggles with CSS 357
Toggle IDs 359
Editing and copying toggles 360
6.2.3 Expanding inline text toggles
When you click on an expanding inline text toggleThis is the expanding text of the inline text toggle. It
is formatted with a normal style that has been designed to make the text stand out from the paragraph. 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 simpler than using a popup topic and cannot trigger popup
blockers in browsers.
See Insert Toggle 629 for details on all the settings in the Insert Toggle dialog.
3. Enter a caption (the link text to be displayed) in the Caption: field if you did not select
text in the editor for the caption.
4. Enter your inline text in the text entry box directly below the Toggle Inline Text: option.
You can only enter plain text here. You can enter carriage returns with the Enter key
and they will be converted to line breaks in the output.
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.
6. Click on OK to insert the toggle, which will be displayed in your topic in the same way
as other hyperlinks.
format or as plain formattable text, depending on whether the Link style option is selected
in the Insert Toggle 629 dialog.
Using manual formatting and styles for the toggle links:
If you deselect the Link style option the link initially has the same style as the paragraph
in which it is located. You can then apply manual formatting to it or use a style to format
it.
· To use manual formatting select the entire toggle link and use the font formatting
tools in the Write tab. You must format the entire toggle header in exactly the same
way, otherwise you will have breaks in the toggle link.
· To use a style select the entire toggle link and then select the style you want to use in
the Style Selector in Write > Font.
Using CSS styles in HTML-based output:
Help & Manual exports individual CSS classes for all three toggle types. This means that
you can define CSS styles in your HTML template to control both the appearance and
behaviour of your toggle links. (The inline-toggle class is used for expanding inline
text toggles.) See Formatting toggle links 361 for details.
See also:
Text Formatting and Styles 155
Formatting toggles with CSS 357
Toggle IDs 359
Editing and copying toggles 360
6.2.4 Expanding image toggles
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.
See Insert Toggle 629 for details on all the settings in the Insert Toggle dialog.
3. Select the 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 preview version and enter tooltips and captions for the
expanded and collapsed versions.
5. Click on OK to insert your expanding image toggle.
See also:
Formatting toggles with CSS 361
Toggle IDs 359
Editing and copying toggles 360
6.2.5 Toggle IDs
The toggle ID is optional and we recommend that you leave this field blank in the Insert
Toggle 629 dialog. Then Help & Manual will automatically assign a unique ID to each toggle
when you publish your help. If you don't know what HTML IDs are and how they can be used
you can ignore the ID field and this topic entirely you don't need to worry about it.
See also:
Editing and copying toggles 360
6.2.6 Editing and copying toggles
Toggle links are normal hyperlinks so editing the links 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. The toggle content in expanding section toggles is just normal text in a single-cell table
and can be edited normally.
The text of inline text toggles is stored in the Edit Toggle dialog and can be edited by
double-clicking on the toggle link.
Expanding image toggles can be edited by double-clicking on them.
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.
Expanding image toggles:
Just double-click on the toggle in the editor to access its settings.
See also:
Toggle IDs 359
6.2.7 Formatting toggles with CSS
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.
Following the instructions in this topic requires some experience with writing HTML manually
and using CSS styles. If you feel stumped by this we recommend that you get an
experienced friend or colleague to help you.
See the Using HTML Templates 430 and About HTML Templates 810 chapters more
information on using and editing HTML templates.
image-toggle {} for defining styles for your image toggles and a.inline-toggle {}
and a.dropdown-toggle {} for defining styles for your text toggle links.
<%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"
/>
<style type="text/css">
<!-- These are the normal hyperlink styles -->
a { color: #0000FF; text-decoration: none }
a:visited {color: #0000FF }
a:hover {color: #E4641C; text-decoration: underline }
a.weblink {color: #0000FF; text-decoration: underline }
a.weblink:visited {color: #0000FF}
a.weblink:hover {color: #E4641C }
a.popuplink {color: #FF0000; text-decoration: none}
</head>
<body style="margin: 0px 0px 0px 0px; background: <%
TOPIC_TEXT_BGCOLOR%>;">
....
See also:
Using HTML Templates 430
About HTML Templates 810
6.2.8 Expand All / Collapse All
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 430
The topic page templates 433
About HTML Templates 810
6.2.9 Toggle troubleshooting
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. Among other
things, toggles only work in formats that support both HTML and JavaScript. They are
converted to static text in all other formats and they are displayed expanded by default in
browsers without JavaScript support or with JavaScript turned off.
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 253
6.2.10 Updating old expanding sections
If you have imported Help & Manual 3 projects with manually-programmed expanding
sections you will probably want to replace them with toggles because they are much easier
to manage.
See also:
Expanding section toggles 351
6.2.11 Printing topics containing toggles
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 in these formats, so their entire contents are always printed (provided you have
configured the toggles to be displayed expanded in print mode).
In all formats where dynamic toggles are supported (Webhelp, 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 363 for more detailed instructions on creating Print links and
buttons.
· If you use links in your HTML templates enclose the link code in a pair of
<IFNOT_EBOOK> </IFNOT_EBOOK> build conditions 415 to make sure that they are
excluded from eBooks. This will work for both Windows Exe and ePub eBooks.
See also:
Using HTML Templates 430
The topic page templates 433
About HTML Templates 810
See also:
Context-Sensitive Help & Popups 788 (Reference)
IDs, Context Numbers and Keywords 801 (Reference)
Creating popup topics 125
Creating topics without TOC entries 112
Organizing invisible topics 210
6.3.1 Context help support by output format
The options you have for implementing context-sensitive help depend on your output format,
because different formats support different ways of making calls to your help files. This topic
lists the different types of context help possible in the output formats supported by Help &
Manual.
For more details on context-sensitive help, the available context-sensitive help technologies
and implementation information for programmers see the Context-Sensitive Help & Popups
788 chapter in the Reference section.
methods for doing this. You can download programming tutorials from our website.
Supported context-sensitive help types
· Calls to specific help topics
Display a specific topic in your help, inside the main help window.
· Calls to anchors in specific help topics
Display a specific topic in your help file in the main help window and scroll down to an
anchor 226 (jump target) within the topic.
· Field-level popups
These are small popup windows displayed in your application. They are read from the
help file but the main help window is not opened. Useful for documenting individual
fields and controls in your application (thus the name).
· Training card help
Training card help uses the HTML ActiveX control (CHM) or WinHelp macros (HLP) to
create special interactive links between your help topics and your application. In theory
you can use training card help to create interactive tutorials that guide users through
steps of doing things in your program. In practice it is so difficult to implement that most
developers try it out once and then decide that it is not worth their time. You can insert
ActiveX objects for training card help with Help & Manual's Write > Insert Object >
Plain HTML Code command (HTML Help) or with hyperlinks using Winhelp macros.
Webhelp
Webhelp is displayed in a normal web browser like Firefox, Safari, Opera or even Internet
Explorer. It is used for help accessed on networks and the Internet. Calls to Webhelp are
made with normal URLs 373 .
Supported context-sensitive help types
· Calls to specific help topics
Display a specific topic in your help, inside the main help window.
· Calls to anchors in specific help topics
Display a specific topic in your help file in the main help window and scroll down to an
anchor 226 (jump target) within the topic.
See also:
Context-Sensitive Help & Popups 788
6.3.2 Creating context-sensitive topics
Context-sensitive help displays a normal topic or a popup topic. Context-sensitive popup
topics are known as "field-level popups" because they are displayed directly in your
application, not in the main help window. Field-level popups are only supported in HTML
Help and the obsolete Winhelp format. The JavaScript popups used in Webhelp cannot be
used as field-level popups.
As the help author you don't 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 field-level 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 just the same as other popup topics.
For more background information see the Context-Sensitive Help & Popups 788 chapter in
the Reference section.
field-level popup topics automatically! See Auto-generating context-sensitive topics 375 for
details.
Don't use links in field-level popups:
Even in the obsolete Winhelp format where links are supported it is bad practice to use
links in field-level popups. These topics are designed to be viewed, read quickly and then
closed again. If you need to use links it is better to use a normal topic instead of a popup
topic. Then the programmer can make a context call to the normal topic, which will call up
entire help so that the user can browse it.
See also:
Creating popup topics 125
Auto-generating field-level popups 375
Context-Sensitive Help & Popups 788
Organizing invisible topics 210
6.3.3 Application calls to context-sensitive topics
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). In the help itself there is no difference
between context-sensitive topics and popups and normal topics and popups – the difference
is how they are called from the application.
The HTML Help CHM files, Winhelp HLP files and Visual Studio Help/Help 2.0 HSX files
generated by Help & Manual are fully standard-compliant so you can use all the standard
procedures for linking to and calling context-sensitive topics.
Context calls to Webhelp are made with regular URLs. For details see Application calls to
Webhelp 373 .
See also:
Context-Sensitive Help & Popups 788 (Reference)
6.3.4 Application calls to Webhelp
You can create context-sensitive calls to Webhelp 730 (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.
Field-level popups are not supported in Webhelp, they can only be implemented with HTML
Help (CHM) or Winhelp (HLP). The JavaScript popups 129 supported in Webhelp can only be
used within your help, you cannot make calls to them from your application or web pages.
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 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. This is the name of the topic you want to display. This is created by
htm combining the topic ID 205 with the extension .htm..
This is the default topic extension, you can change it in Project
Configuration > Publishing Options > Webhelp > HTML
Export Options 684 . (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 226 in the topic that you want to
jump to.
See also:
Creating popup topics 125
Context-Sensitive Help & Popups 788
Topic files without TOC entries 210
6.3.5 Auto-generating topic files
Complex applications have a lot of components and controls and if you document them all
with context-sensitive topics this means you need to create a lot of 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 799 , 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.
3. Click on Import map file... and select the map file. A dialog will be displayed asking you
whether you want to merge or replace the existing numbers
Replace:
This deletes ALL context numbers in the current project and replaces them with the
numbers from the map file.
Merge:
This only replaces the context numbers for topics with matching IDs. All other topics
are left unchanged.
Auto-generating topics:
When you import a map file any topic IDs in the file that don't exist in your project will be
listed in red in the Context Tool editing box. When you click on OK the tool will ask you if
you want to create topic files for these IDs.
If you say yes the files will be created in the Topic Files section, without TOC entries. If
you want to create TOC entries for the new topics you must do this manually. 112
See also:
About map files 799
The Help Context Tool 539
plain text or HTML code this allows you to use variables to insert HTML code in your
topics. Help & Manual supports both a wide selection of predefined variables and user-
defined variables.
You can set different values for variables in individual topics and redefine some or all of your
variables with a list of values stored in an external text file when you publish your project.
See also:
Variables in HTML templates 439
Variables and Conditional Output 772 (Reference)
6.4.1 Where you can use variables
The following table provides a quick reference showing where you can use which kinds of
variables.
You can use both HTML variables and plain text variables in all locations. However, whether
or not it makes sense to use HTML variables in all locations depends on the code you use,
of course! In output formats not based on HTML (PDF, RTF, printed manuals, Winhelp) the
text portion of the variables will be extracted automatically.
See also:
Variables and Conditional Output 772 (Reference)
6.4.2 User-defined variables
You can define any number of your own variables to use in your project. These user-defined
variables are stored with your project, 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 almost everywhere in your projects: 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.
See Inserting variables in topics 386 and Inserting variables in other locations 388 for details on
how to use variables in your projects.
You don't need to worry about case, the variable name will be converted to all upper
case automatically.
3. Select HTML or Text in the Type column. HTML Variables can contain HTML,
JavaScript and CSS code in addition to normal text.
4. If you want to protect the variable against accidental editing select Yes in the
Protected column. The values of protected variables are shown grayed out.
5. Click in the Value column next to your new variable and enter the text or HTML code.
There is effectively no limit to the amount of text you can enter you are unlikely to be
able to enter more than 2 gigabytes of text in the Value column!
The second option only works with variables entered with Insert > Text Variable.
Variables typed in manually are not highlighted and you cannot display the variables list
by double-clicking on them.
See also:
Variables and Conditional Output 772 (Reference)
6.4.3 Global predefined variables
There are a large 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.
Some of the predefined variables have automatic values, others take their values from the
Configuration section of your project. See Global predefined variables 774 for a list of the
available variables, what they do and where they get their values.
See Inserting variables in topics 386 and Inserting variables in other locations 388 for details on
how to use variables in your projects.
projects: In topics and headers, the Table of Contents, keywords, image captions, link
captions, macros, scripts, HTML code objects, HTML templates and PDF templates.
You cannot use HTML code in global variables:
Note that all global variables are plain-text variables so you cannot use them to insert
HTML code. Even if you create an HTML variable and use it as the value of a global
variable only the plain-text portion of the variable will be inserted.
See Inserting variables in topics 386 and Inserting variables in other locations 388 for details
on how to use variables of all kinds in all these locations.
See also:
Variables and Conditional Output 772 (Reference)
Global predefined variables 774 (Reference)
6.4.4 Editing, formatting and disabling variables
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.
You can also double-click on a highlighted button variable in the editor and then select
More... to display the variable editing window. (This is not possible with manually-typed
variables without a button highlight.)
· To display the variables list double-click on the highlighted variable in the editor. If
you then select a different variable from the list it will replace the original variable in the
editor.
· Note that you only need to disable variables that are actually defined in the place where
you are using them. You don't need to use the backslash character to disable
undefined variables or for variables that are not supported where you are using them.
For example, if you type the special HTML template variables 778 in a topic the variable
names will always be displayed in the output because they are not defined there.
· To also include the backslash character as shown in the examples below just type two
backslash characters!
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 backslashes
<%\NOW%> inside the variable to show how they are entered in the editor.
With a single backslash you would simply see the variable name
<%\AUTHOR%> in the output.
<%TOPIC_TEXT%> These two examples were entered without backslashes. They
<%FANTASY_VARIABLE%> do not need to be disabled because they are not supported in
normal topics – the first is a HTML template variable, the second
is simply undefined.
See also:
Variables and Conditional Output 772 (Reference)
6.4.5 Inserting variables in topics and headers
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 627 dialog so you don't need to refer to a list to use them.
If you use HTML variables in your topics and headers only the plain-text portion of the
variable value will be inserted. If the variable does not contain a plain-text portion nothing will
be inserted.
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).
Variables inserted with this method are displayed with a button-style 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.See Variables and Conditional
Output 772 for lists of the available predefined variables and what they do.
Editing highlighted variables:
Double-clicking on a variable opens the Insert Variable 627 dialog with which you can
change the variable to a different variable or access the Edit Variables dialog by clicking
on More...
See also:
Variables and Conditional Output 772 (Reference)
Where you can use variables 377
Editing, formatting and disabling variables 382
Date & time formatting in variables 776
6.4.6 Inserting variables in other project locations
You can also use all the global predefined variables and your own user-defined variables in
the captions in the Table of Contents, keywords, image captions, link captions, macros and
scripts, HTML code objects, HTML templates, PDF print manual templates and text entry
fields in your project's Configuration section.
There is one difference, however: In all these locations you cannot use the Write > Insert
Object > tool, you must type the variables in manually.
If you use HTML variables anywhere except in HTML templates and HTML code objects
only the plain-text portion of the variable value will be inserted. If the variable does not
contain a plain-text portion nothing will be inserted.
· See global predefined variables 774 for a list of the available predefined variables.
See also:
Variables and Conditional Output 772 (Reference)
6.4.7 Counter variables for numbering
You can define counter variables to number anything in your project that needs consecutive
numbering for example illustrations, figures, tables and so on. You can define as many
different counter variables as you like and you can define the starting number to be used for
each variable, which makes it possible to use the variables across multiple projects.
Key Information
If you use a counter variable inside topic
captions you must only use it in topic
captions. If you use it both in captions and
in normal topic text the numbering will be
wrong. (Variables in captions are evaluated
in a separate pass when you publish.)
The Insert Image dialog (select Write > Insert > Image, or double-click an existing image
to display)
See also:
Working with Modular Help Systems 446
6.4.8 Find and replace variables
You 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.
See also:
Variables and Conditional Output 772 (Reference)
6.4.9 Variables in HTML templates
The HTML templates that generate the pages in Help & Manual's HTML-based output
formats (HTML Help, Webhelp, Windows Exe and ePub eBooks and Visual Studio Help)
make extensive use of variables. You can use all global predefined variables and all your
user-defined variables in your HTML templates
There are also 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 439 .
See also:
Using HTML Templates 430
Variables in HTML templates 439
Conditional output in HTML templates 441
The power of editable variables 395
2. Click on the + button next to the Topic Variables box at the bottom of the window.
3. Select the variable you want to redefine and click OK, this adds the variable to the
Topic Variables list.
4. Click in the Value field and enter a new value. The values you enter here will only be
used in the current topic.
See The power of editable variables 395 for more information on the kind of things you can
do with this feature.
See also:
Variables and Conditional Output 772 (Reference)
Transforming Your Output with Skins 321
Command Line Options 466
Skins & redefining variables 478
6.4.11 The power of editable variables
Help & Manual's variables have two features that make them extremely powerful and
flexible:
· You can define variables as HTML variables or as plain-text variables
· You can redefine user variables on a per-topic basis
These two features are particularly powerful when you are generating HTML-based output.
For example, you can perform search engine optimization on a per-topic basis and you can
add individual JavaScript code to the HTML templates of every topic. We are sure that you
will come up with additional uses for this powerful feature experiment!
Key Information
HTML variables only insert HTML code in
HTML templates and HTML code objects.
If you insert an HTML variable in the body
of your topic only the text portion of the
variable value will be used.
The value you enter for the variable in the tab will be used in all output formats, but only
in the current topic. This is rather trivial when you are just using variables in your topic
text but becomes very powerful in HTML templates.
Using the <%TOPIC_HEADER_TEXT%> variable as the default value for the content
attribute means that you won't have to edit the description for every single topic, just
for the topics where you want to include additional information in the description.
2. Insert the variable in the <head> section of your HTML topic page template in the
position where you want to insert the meta tag (see Using HTML Templates 430 for
details). Let's assume you have called the variable <%METADSCR%>:
<head>
<title><%TOPIC_TITLE%></title>
<meta name="generator" content="Help & Manual" />
<%METADSCR%>
...
If you do nothing else every topic will now contain the text from the topic header as the
meta description text. Next you want to redefine this text for individual topics.
3. In the Project Explorer select the topic for which you want to redefine the meta tag.
Select the tab, click on +, select the <%METADSCR%> variable from the list and then
enter the new code that you want to insert. That's it. (Using words defined as
keywords in the description is often helpful.)
This is a very simple example that just demonstrates the basic principle. Variables are so
flexible that you can find a number of different ways of doing this: For example, instead of
using an HTML variable for the entire line of code you could define <%METADSCR%> as a
plain-text variable, enter <%TOPIC_HEADER_TEXT%> as its value and use it like this:
<meta name="description" content="<%METADSCR%>" />
If you do nothing the topic header text is still inserted as the description. To redefine the
content for individual topics you then just need to enter the new description text, not the
entire line of code.
method can only be used from the command line but it can also be used to redefine
global variables, which is not possible with the skin method.
See also:
Redefining variables 394
Transforming your output with skins 321
Skins & redefining variables 478
HTML template variables 778 (reference)
6.4.12 Variables in PDF templates
You also can use all the global predefined variables and your user-defined variables in text
objects in your PDF templates.
In addition to this there are large number of special predefined variables for use in PDF
templates only. These are described in the help of the Print Manual Designer program used
to edit the PDF templates that control the formatting of your PDF output and printed
manuals.
To start this program select Project > Tools > Manual Designer or go to Configuration
> -Format Settings > Adobe PDF > PDF Layout and click on the Design button. The
second option is preferable because this automatically opens the print manual template
currently associated with your project.
See also:
PDF and print manual templates 425
PDF and Printed Manuals 325
See also:
Using Variables 376
published output.
This means you need to be careful with tagging using multiple conditions. For example, if
you tag a topic for both CHM (HTML Help) and TEST_BUILD you will never be able to
exclude that topic from your HTML Help output, because the CHM tag will always include
it.
Topics and chapters:
· By default, all new topics are tagged with the option ALL Builds. This means that they
will always be included.
· If you tag a topic with a format condition (e.g. CHM) that topic will only be included in
that output format.
· If you tag a topic with a format condition (e.g. CHM) and a user-defined condition (e.g.
TEST_BUILD) that topic will always be included in the matching output format. In
addition to that, it will also be included in any other output formats when you activate
the corresponding include option in the Publish 590 dialog.
· IFNOT simply reverses the logic – IFNOT CHM includes content in all formats except
HTML Help.
Content in topics
· By default all topic content is included in all output unless it is explicitly excluded with
conditional text tags.
· Tagging content with a format condition only includes that content in that output format.
· Tagging content with a user-defined condition only includes that content when the
matching condition is activated in the Publish 590 dialog.
· Here too, IFNOT reverses the logic – IFNOT HTML includes the tagged content in all
formats except Webhelp.
When you tag chapters all their sub-topics will be tagged with the same conditions
automatically. See Topic include options 407 for full details.
Tag content in a topic
1. Select the text you want to tag in the editor.
2. Select the Conditional Text tool with Write > Insert Object > and choose the
options you want to apply.
See Conditional text include options for full details 410 .
See also:
Variables and Conditional Output 772 (Reference)
Publishing Your Projects 311
Managing topics in the Explorer 211
Links to the topic in other topics are listed in the Is referred by column. The Links to
column only shows topics that the current topic links to, which you don't need to worry
about here.
4. Click on the links in the Is referred by column to display the topics so that you can use
conditional text to eliminate dead links (see below). When you are finished you can
return to the current topic by clicking on its link in the Topic column.
will always be excluded whenever the topic they link to is excluded, because they are
both controlled by the same include options.
You can also use additional include options to include alternative text or even alternative
links whenever the topic is excluded.
1. Use Find Referrers (see above) to locate all topics containing links to the topic you
want to exclude.
2. Open the topic containing the link that you want to exclude in the editor and locate the
link.
You now need to decide what needs to be excluded and replaced. We will assume
that you want to exclude the entire sentence containing the link and replace it with an
alternative sentence.
Excluding the link:
3. Select the entire sentence containing the link and select the Conditional Text Tool
in Write > Insert Object.
4. Now select exactly the same include options that you are using to exclude the topic
the link points to and click on OK.
In the example above we have selected Webhelp and Adobe PDF. This means that
the link will only be included when you publish to Webhelp or PDF, it will be excluded
from all other formats. Since the options match those set for the topic the link points to
it will be excluded whenever the topic is excluded and included when it is included.
Including alternative text and/or links:
5. If you want, you can now write an alternative sentence with or without a link to a
different topic and use conditional text to include the alternative text whenever the
original text is excluded.
The easiest way to do this is with IFNOT. In the above example we would also select
Webhelp and Adobe PDF, but in combination with IFNOT instead of IF. This will
ensure that the alternative is always included when the original is excluded, and vice
versa.
See also:
Conditions and Customized Output 399
Conditional text include options 410
Topic include options 407
6.5.6 Topic include options
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.
· If you exclude all the sub-topics of a chapter and include the chapter topic the chapter
will be converted to a normal topic when you compile.
3. 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.
All topics whose include options match the options selected here will be included in
your output. Topics whose options don't match will be excluded.
4. Check the other settings in the dialog and click OK to publish.
The include option for the current output format is always selected automatically but it is
only relevant for topics not tagged with ALL BUILDS. Any other include options must be
selected manually.
See also:
Conditions and Customized Output 399
Topic entry and topic file include options 787
Preventing dead links 404
Defining include options 406
Topic include options 407
Command Line Options 466
6.5.7 Conditional text include options
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 466 for details on how to use these options from the command
line and in batch files.
Key Information
A condition that starts before a table must
end after the table. You cannot start a
condition before a table and end it inside
the table. Inside tables conditions must
start and end inside the same cell.
Conditional text cannot span table cells!
Example:
The following condition will output TEXT 1 if the output format is HTML Help (CHM),
otherwise it will output TEXT 2:
IF_CHM Text 1 ELSE Text 2 ENDIF
All content tagged with conditional text include options matching the Include Options
selected here will be included or excluded in your output, depending on whether you
used IF or IFNOT.
4. Check the other settings in the dialog and click OK to publish.
See also:
Conditions and Customized Output 399
Defining include options 406
Topic include options 407
Command Line Options 466
6.5.8 Modular projects include options
You can "merge" additional Help & Manual projects ("modules") into your current project by
inserting them in your Table of Contents, in the same way as inserting a new topic. This also
makes it possible to use conditional output include options on entire modules in the same
way as on individual topics.
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. If the module also
has child modules a single module include option can include or exclude multiple projects.
Since you can edit modular projects directly in the Project Explorer you can also apply
individual include options to all the chapters and topics in the merged project. The settings
will be saved with the original merged project.
See Working with Modular Help Systems 446 for details on creating and using modular
projects.
All modules whose Include Options 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 590 , then click on OK to compile.
See also:
Working with Modular Help Systems 446
Defining include options 406
6.5.9 Redefining variables
You can always change the definitions of your variables individually in Configuration >
Common Properties > Text Variables in the Project Explorer. In addition to this you can
set different values for specific variables in individual topics. When you publish your project
you can also redefine some or all of the variables in your entire project with a project skin or
a variable definitions file.
2. Click on the + button next to the Topic Variables box at the bottom of the window.
3. Select the variable you want to redefine and click OK, this adds the variable to the
Topic Variables list.
4. Click in the Value field and enter a new value. The values you enter here will only be
used in the current topic.
See The power of editable variables 395 for more information on the kind of things you can
do with this feature.
See also:
Variables and Conditional Output 772 (Reference)
Transforming Your Output with Skins 321
Command Line Options 466
Skins & redefining variables 478
6.5.10 HTML template conditions
Key Information
The ELSE condition is not available in
HTML templates.
Conditional output and variables are also supported in your project's HTML templates. You
can use all the same include conditions in HTML templates that you can use in your topics
with the Conditional Text tool. In addition to this there are also a number of special
predefined conditional switches that are available in HTML templates only.
For details see Conditional output 441 in the chapter on using HTML templates.
See also:
Using HTML Templates 430
Conditional output in HTML templates 441
HTML template output conditions 782 (reference list)
See also:
Help Windows 807
6.6.1 Template types
The following template types are used in Help & Manual:
Project templates: A project template is an empty project that stores all the settings
you want to use in a project, including all your Project
Configuration settings, text styles, HTML templates and so on.
Project templates can also include topic content that you want to
use in every new project.
Skins: Skins are applied when you publish to HTML-based output. They
apply a complete pre-designed layout to your project with a single
click. You can save and edit your own skins or used predefined
ones. Skins can only be created with the Professional version of
Help & Manual. You can use existing skins with the Standard
version but you cannot save or edit your own skins.
Topic content Topic content templates are entire topics and can include
templates: everything that a topic can include. They can be loaded manually,
or automatically when you create a new topic.
Print manual These templates define the layout and appearance of your PDF
templates: (PDF and output and printed manuals. They are created and edited with the
printed manuals) Print Manual Designer, a separate program included with Help &
Manual.
HTML templates: These templates define the layout, general appearance and
features of your topic pages in Help & Manual's HTML-based
output formats. The topic page templates for your topics can be
viewed and edited with the Project Explorer in the Configuration >
HTML Page Templates section.
The additional HTML templates for the various components of
in one process, you need to choose the parts of the template you want to apply.
Step 1: Apply the template stylesheet
1. Open the project you want to apply the template to and select Styles > Edit Styles in
the Write tab.
2. Click on the Copy Styles From... and then select the project file you want to copy the
stylesheet from.
Note that this will overwrite all the styles in your existing project!
Step 2: Apply the Project Configuration settings
All the other settings in your projects are stored in the Configuration 652 section in the
Project Explorer. You must import the properties here section by section:
1. Select the Configuration section of your project in the Project Explorer.
2. Select a section that you want to copy and click on the Copy Properties From... button
at the bottom of the screen. Then select the project you want to copy the properties
from.
You will be asked whether you want to copy the properties from just the current sub-
section or from the entire section (for example: just the Image Folders section of
Common Properties or the entire Common Properties section).
Note that this will overwrite all the settings in your existing project!
3. Repeat for all the template sections you want to copy.
If you want to copy the complete template import all the Common Properties and
HTML Page Templates sections, plus all the Publishing Options sections for any
output formats you are using.
Step 3: Import the Baggage Files
If your original project also contains Baggage Files 485 you should import those to the new
project as well.
1. Select the Baggage Files section in the Project Explorer.
2. Select Add File > Add New File in Project > Manage Topics and select the Help &
Manual project you want to import the Baggage files from.
3. You will be asked if you want to import the Baggage Files from the selected project.
Confirm to import the files.
The project template contains everything you need, including instructions for using it in
your own projects and the graphics for the mouseover buttons in the headers, the code
for the non-scrolling headers etc.
Using the template for a new project:
Just make a copy of the template project under a different name and start editing (see
above).
Applying the template to an existing project:
Follow the instructions for applying project templates to existing projects (see above) and
copy the styles, Configuration sections and Baggage files from the template project.
This template project is set up for HTML Help and Webhelp so you need to copy the
following sections:
· Styles
· Common Properties (entire section)
· HTML Page Templates (entire section)
· Publishing Options > HTML Help (entire section)
· Publishing Options > Webhelp (entire section)
See also:
Creating Projects 83
Creating and Editing Topics 108
6.6.3 Skins
You may already be familiar with the concept of "skins" from other programs: You select a
skin file and the appearance and layout of the entire program is transformed in seconds.
Help & Manual enables you to do this with your HTML-based output. You can save your
entire design in a .hmskin file and then select this file when you publish to apply the layout
to the current project without changing any of the project's own settings.
Please note that you can only save projects as skins if you have the Professional version of
Help & Manual. Standard version users can edit existing skins (for example skins from the
Help & Manual Plus Packs) but they cannot create new skins from their own projects.
Productivity Tip
Skins can only be used for HTML-based
output formats. You can style your PDF
files and printed manuals with print manual
templates 330 , which work in the same way
as skins.
program directory.
When you publish your output it will have the "look and feel" applied by the skin. You
didn't have to do any design work at all!
Key Information
Include options in skins must be defined in
the skin! Include options defined in normal
H&M projects will not be saved in the skin
when you save the project as a skin. You
must edit the skin file and add the include
options you want to use.
For example, suppose you want to give the user the option of having a subtitle underneath the
title in the table of contents in your Webhelp output. It would work like this:
1. Define an include option in the skin, let's say it's called OPT_SUBTITLE, and let's also say that
we've entered TOC header subtitle as the include option description.
2. Add code using the include option to the HTML template for the Webhelp table of contents, for
example (you would also have to define the <%SUBTITLE%> variable in this example, of
course):
<p class="navtitle">Help & Manual 5 - User Help</p>
<IF_OPT_SUBTITLE><p class="nav-subtitle"><%SUBTITLE%></p></IF_OPT_SUBTITLE>
3. When the user loads the skin in the Publish dialog the option [ ] TOC header subtitle will
automatically be loaded from the skin file and displayed in the Include Options: box. The
header will only be displayed if the user selects this option.
You can take this concept as far as you like: For example, you can use the same include option
to change the CSS definitions in the same HTML template so that the formatting will be different
depending on whether the subtitle is included or not.
See also:
The Publish Dialog 590
Command Line Options 466
6.6.4 Content templates for topics
A topic content template is an XML file containing the "framework" of a topic it is used to
create topics with repetitive content, for example identical tables and headings and so on.
Topic content templates 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 with you create topics with standard layout that you use repeatedly. You
can also create content templates that are loaded automatically when you create new topics.
Note that the template will only appear in the Topic Template: field for selection if it is
stored in your project directory using the filename.template.xml naming syntax (see
above for details).
To load a template into an empty topic:
1. Create an empty topic.
2. Select File > Load Topic from File in Project > Manage Topics and select the
template file you want to load.
Don't try to load a template into an existing topic, this will overwrite the entire contents of
the topic!
You can also include other text and elements in the header, including graphics. Only
the variable is replaced when a new topic is created.
3. Select the Topic Options tab and type the same %TEXT% variable in the <TITLE> Tag:
field:
This variable only works when you create a new topic with a content template file. The %
TEXT% variable is not translated when you load the template into a empty topic with File >
Load Topic from File in Project > Manage Topics.
See also:
Creating new topics 110
Exporting and importing topics 204
6.6.5 PDF and print manual templates
The layout of Help & Manual's PDF and print manual output is controlled by template files
called "print manual templates" with the extension .mnl that do much more than just define
the appearance of your pages. These templates can also add front and back covers,
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. You can also define your own additional pages and insert topics from your
project or external files with a "snippets" function.
All the global variables and user-defined variables from your project file can be used in your
print manual templates. Since the templates are external files you can use them in multiple
projects, applying them to your output just as you apply skins 321 to HTML-based output
formats.
2. Click on the button in the Print Manual Template: field to select the template you
want to use.
Selecting a print manual template for printing a user manual:
1. Click on the Application Button and select Print User Manual 575 .
2. Click on the button in the Print Manual Template: field to select the template you
want to use.
In both these dialogs you can open the selected template for editing by clicking on the
Design button next to the template selection field.
OR:
· Select Project > Tools > Manual Designer 537 to open the Print Manual Designer.
Then select File > Open in the Designer to open the template for editing. You can find
a selection of standard templates that you can edit in the \Templates\pdf folder in the
Help & Manual program directory.
The Print Manual Designer is a separate program with its own documentation. See the
help in the Designer for details on how to use it.
See also:
PDF and Printed Manuals 325
6.6.6 HTML templates
HTML templates are used to define the layout of all Help & Manual's HTML-based output
formats (HTML Help, Webhelp, eBooks and Visual Studio Help). In topic pages 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.
The same HTML topic page templates are used for the topic pages in all three formats. In
addition to this there are also separate templates for the frameset file and the Table of
Contents and Keyword Index frames used in Webhelp, where they emulate the HTML Help
viewer user interface.
topic and topic header in HTML-based output formats and the Top, Previous and Next
navigation links displayed in the topic header in these formats.
The Simple Template Layout tab provides most of the functions you will normally need,
see this topic 123 for some basic instructions.
The HTML templates for Webhelp components:
There are also additional HTML templates for Webhelp, which define the layout frameset,
TOC, Search, and Index components of the Webhelp user interface. These are accessed
in Configuration > Publishing Options > Webhelp.
See also:
Webhelp settings 674
Using HTML Templates 430
See also:
Windows Exe eBook settings 706
6.6.8 Using secondary windows
Secondary windows are only relevant in the Microsoft HTML Help and Winhelp formats.
They are used to display individual topics in external windows. In addition to this you can
use secondary windows in Winhelp to define different header and topic background colors
for individual topics. In all other formats header and topic background colors are defined in
the HTML page templates 93 .
Productivity Tip
Avoid using hyperlinks in secondary
windows. Although an external window is a
full instance of the help viewer hyperlinks
between it and the main help can quickly
get very confusing for the user.
set a topic in the TOC to open in an external window when you click on its TOC entry.
HTML Help:
1. In the Project Explorer go to Configuration > Common Properties > Help
Windows and create at least one secondary help window type definition with Add.
Adjust the settings of the window definition as you want the external window to appear
in addition to the size and position you may want to switch off navigation controls
etc. in the help window definition's HTML Help Options tab.
2. In the HTML Help Options tab activate the option Links to secondary help windows
open a new help window.
3. When you create a hyperlink to a topic specify the secondary help window type with
the Window: setting in the link definition.
When the user clicks on the hyperlink the target topic it will now be displayed in an
external window in HTML Help, with all the settings defined for the window type in step 1.
Winhelp:
No special settings are required for Winhelp because links to secondary windows always
open in external windows in Winhelp. Just specify a secondary window in the hyperlink
definition, then the hyperlink will open the target topic in an external window.
See also:
Help Windows 807
Using help windows 121
Links and secondary windows 231
HTML templates 427
Using HTML Templates 430
See also:
HTML templates 810 (Reference)
Help Windows 807 (Reference)
Templates and Secondary Windows 416
Using help windows 121
6.7.1 Types of HTML templates
There are two categories of HTML templates: The HTML topic page templates that define
your topic pages in all HTML-based output formats and an additional group of HTML
templates used to define the additional components of Webhelp output.
Template locations
Topic page templates:
In the Project Explorer go to Configuration > HTML Page Templates to edit the
templates for your topics. By default there is just one template called Default that is used
for all topics. However, you can define additional templates and assign them to individual
topics in the tab, in the HTML Page Template: field.
These templates are used for all HTML-based output formats. The same templates are
used for all formats, you cannot define different templates for specific output formats.
Webhelp templates:
In the Project Explorer go to Configuration > Publishing Options > Webhelp to edit
the additional templates for the help frameset (Layout), Table of Contents, Keyword Index
and Search panes in your Webhelp output.
2. Make your changes and additions, then save your project to save your changes.
See HTML Page Templates 666 and Webhelp 674 in the Reference section for details on the
settings for each template type.
Editing the HTML code:
Note that user-created HTML page templates can only be edited in HTML Source Code
mode.
1. Select the template you want to edit then select the Edit HTML Code tab in the editor
window.
2. Edit the template in the editor window displayed. The editor supports syntax
highlighting to make editing easier. See the other sections in this chapter for details on
the contents of the different template types.
3. When you are finished save your project to store your changes.
The changes will be applied immediately but most of them may only be visible in your
compiled output. However, any background colors you set for your topic body and header
will be displayed in the editor directly.
See also:
Templates and Secondary Windows 416
Help Windows 807 (Reference)
6.7.3 HTML topic page Templates
The HTML topic page templates are used to define the layout and behavior of topic pages in
all HTML-based output formats (HTML Help, Webhelp, Windows Exe and ePub eBooks and
Visual Studio Help / MS Help 2.0). By default there is just one template called Default which
is assigned to new topics automatically. However, you can define as many different
templates as you like.
You can assign a different template to any topic in the tab behind the main editor window.
Just select the template you want to use in the drop-down list in the HTML Page Template:
field.
See Editing HTML templates 431 for details on how to edit templates.
Template location
Configuration > HTML Page Templates
Background colors:
These settings set the background colors for your topic header and body. The colors will
be shown in the Help & Manual editor.
Text above topic:
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). This text is only shown in your output, not in the Help & Manual editor.
You can enter HTML tags here to format the text, including references to images.
Topics with headers have <Top>, <Previous> and <Next> links:
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 Project Search Path
settings in Configuration > Common Properties > Project Search Path.
Text below topic:
Everything you enter in this box is inserted at the bottom of every topic, after your topic
text. Effectively, this adds a footer to your topics. This text is only shown in your output,
not in the Help & Manual editor.
Here too, you can enter HTML tags here to format the text, including references to
images.
The links are active, i.e. clicking on them will take the user to the referenced topics. For
example, this feature is used to create the breadcrumb trail of links above the headers in
the HTML Help and Webhelp versions of this help.
How to insert a breadcrumb trail:
These instructions show you how to insert a breadcrumb trail at the top of the topic text,
directly below the header.
1. Select the Default template in Configuration > HTML Page Templates and locate
the following code:
<!-- Placeholder for topic body. -->
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr valign="top"><td align="left">
<%TOPIC_TEXT%>
</td></tr></table>
2. Add the following code (highlighted in blue):
<!-- Placeholder for topic body. -->
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr valign="top"><td align="left">
<IF_TOPIC_BREADCRUMBS><p style="font-size: 8pt; margin-bottom: 15px">
<%TOPIC_BREADCRUMBS%> > <%TOPIC_TITLE%></p></IF_TOPIC_BREADCRUMBS>
<%TOPIC_TEXT%>
</td></tr></table>
The <IF_TOPIC_BREADCRUMBS> condition ensures that the trail is only inserted where it is
relevant. (The breadcrumbs variable is empty in top-level topics and in all topics in the
Invisible Topics section.)
If you want you can also use <IFNOT_TOPIC_BREADCRUMBS> to insert alternative content
to be displayed in top-level topics.
Note that the title of the current topic is not included in the <%TOPIC_BREADCRUMBS%
> variable because it may not be needed if the topic title is visible directly above the
breadcrumb trail. In our example we have included the current topic title with the <%
TOPIC_TITLE%> variable to show how it is done. (The > code inserts the > character,
which could otherwise be misinterpreted by some browsers.)
For more details on variables and output conditions in HTML templates see HTML
template variables 778 and HTML template output conditions 782 .
Breadcrumb trail without active links:
If you need to create a breadcrumb trail without active links you can do this with the <%
TOPIC_TITLE_PATH%> variable. This is almost the same as the breadcrumbs variable but
it creates no links and also includes the title of the current topic. See HTML Template
Variables 778 for details.
See also:
Editing HTML templates 431
HTML template variables 778
HTML template output conditions 782
Variables 439
Conditional output 441
Help Windows 807
6.7.4 The Layout template for Webhelp
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 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
Webhelp and editing errors you make here can easily make your help unusable.
See Editing HTML templates 431 for details on how to edit templates.
Template location
Configuration > Publishing Options > Webhelp > Layout
See also:
Editing HTML templates 431
HTML template variables 778
HTML template output conditions 782
Variables 439
Conditional output 441
6.7.5 The TOC template for Webhelp
This HTML template is only used in Webhelp. 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.
Be particularly careful when editing this template! The TOC template is an integral part of
the dynamic TOC of your Webhelp output. Its code is essential for the proper functioning of
the help.
When you publish the actual table of contents for your project is inserted in the TOC page
by the <%TABLE_OF_CONTENTS%> variable.
See Editing HTML templates 431 for details on how to edit templates.
Template location
Configuration > Publishing Options > Webhelp > Table of Contents
See also:
Editing HTML templates 431
Variables 439
Conditional output 441
Help Windows 807
6.7.6 The Search template for Webhelp
This HTML template is only used in Webhelp and is only active if you have the Professional
version of Help & Manual. It generates the Search pane in the frame layout that emulates
the appearance and functionality of the HTML Help viewer in a normal browser.
The Search template is an integral part of the full-text search function in the Webhelp
output. Its code is essential for the proper functioning of the search function. Please be
extremely careful when you are editing this template – if you don't understand what a piece
of code is for it's better to leave it alone!
The standard search script is inserted in the Search page by the <%SEARCH_SCRIPT%>
variable. You can't edit this script but you can configure all the text used in the script and
other features. See Full Text Search 680 in the reference section for details on the
configuration options for Search.
See Editing HTML templates 431 for details on how to edit templates.
Template location
Configuration > Publishing Options > Webhelp > Full Text Search
See also:
Editing HTML templates 431
Variables 439
Conditional output 441
Help Windows 807
6.7.7 The Index template for Webhelp
This HTML template is only used for Webhelp. 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 keyword index template is an integral part of the help viewer generated by Help &
Manual for Webhelp. Its code is essential for the proper functioning of the index. Please be
extremely careful when you are editing this template – if you don't understand what a piece
of code is for it's better to leave it alone!
When you publish the actual keyword index is inserted in the Index page by the <%
KEYWORD_INDEX%> variable.
See Editing HTML templates 431 for details on how to edit templates.
Template location
Configuration > Publishing Options > Webhelp > Full Text Search
See also:
Editing HTML templates 431
Variables in HTML templates 439
Conditional output in HTML templates 441
6.7.8 Variables in HTML templates
You can use all global predefined variables and user-defined variables in all HTML
templates. In addition to this there are a number of special HTML template variables, which
are only relevant in HTML templates.
In addition to these variables you can also use predefined and user-defined conditional
switches 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 441 .
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 774
· List of HTML template variables 778
· Creating user-defined variables 378
· List of HTML template output conditions 782
</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.
See The power of editable variables 395 for more detailed instructions.
See also:
Editing HTML templates 431
Global predefined variables 774 (reference list)
HTML template variables 778 (reference list)
Conditional output in HTML templates 441
The power of editable variables 395
6.7.9 Conditional output in HTML templates
You can use all of Help & Manual's standard conditional output options in HTML templates,
both your user-defined include options 406 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
Webhelp output, because they are only relevant there. See the lists below for details.
These conditions 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. The condition tags themselves are never
included in your output code, they are always stripped from the code before publishing.
Conditions based on the output format are only relevant in the HTML topic page templates 433
which are used in HTML Help, Webhelp, Windows Exe and ePub eBooks and Visual Studio
Help / MS Help 2.0. The TOC, search and keyword index templates are only used in
Webhelp so it does not make sense to use format-based conditions there since the output
format is always Webhelp.
assigned
help window types defined without a header.</font>
</IF_TOPIC_HEADER>
<IFNOT_PREVIOUS_PAGE>This text will only be displayed in
the very first topic in your help.</IFNOT_PREVIOUS_PAGE>
<IF_NEXT_PAGE>
<a href="<%HREF_NEXT_PAGE%>">Click here to jump to the next topic</a>
</IF_NEXT_PAGE>
The last example only displays the link if there is a next topic to jump to.
Examples:
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 782 (reference list)
Editing HTML templates 431
Variables in HTML templates 439
6.7.10 Graphics references in HTML templates
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 Files. 485 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 for details.
this:
<img src="logo23.jpg" width="200" height="42" />
The files will be located and exported with your published output automatically.
Referencing graphics with other tags:
If you use other tags to reference your graphics you must add the graphics to your
Baggage Files or copy them to your output folder manually to ensure that they are
exported (see below).
Referencing graphics stored in other locations:
If your graphics files are stored elsewhere you must include an absolute or relative path
to the current location of the graphics files in your template code. Here too, this feature is
only supported for certain tags (see further below on this page for details). For example:
<img src="../source files/graphics/logo23.jpg" width="200" height="42" />
If you use absolute paths it is advisable to use UNC path syntax, for example:
<img src="\\?\C:\Users\Robert\Desktop\Source Images\image7.jpg" />
<img src="\\MainServer\HelpStuff\Graphics\image10.jpg" />
When you publish Help & Manual will locate the files using the path you enter and then
strip the path in the published files and export the files with your output. The resulting
code in the three examples above would look like this:
<img src="logo23.jpg" width="200" height="42" />
<img src="image7.jpg" />
<img src="\image10.jpg" />
templates in any other way you should add the images to the Baggage Files (see below)
or copy them to your output folder manually to ensure that they will be exported. This also
includes the variant images for mouseover buttons as they are not referenced with the
tags listed above!
Automatically Supported Attributes
Parsed Tags
<body> Images referenced with the background="" attribute.
OR
Images referenced within the style="" attribute using the syntax
style="background: #FFFFFF url(image.jpg)"
(this can be combined with other style elements, of course)
See also:
Graphics in HTML templates 811 (Reference)
Editing HTML templates 431
Variables in HTML templates 439
Conditional output in HTML templates 441
Using Baggage Files 485
6.7.11 Referencing external files
With the exception of a limited number of graphics references 442 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:
See also:
Using Baggage Files 485
6.7.12 Troubleshooting
When you edit HTML templates manually Help & Manual does not verify the code in any
way. You are entirely responsible for checking and testing the code you write. It is a always
good idea to back up your template in an external text file before editing.
(see below), but you should make backups of working versions of your own edited
templates before you make more changes. Reverting to the default template overwrites
the entire template with the standard version it does not return you to your own previous
version.
Copy the entire contents of the template, paste it to an editor and save it in an external
file. Then if anything goes wrong you can always paste the original version from the
saved file back into the template editing window.
See also:
Editing HTML templates 431
See also:
Modular Projects 764 (Reference)
Productivity Tip
By default child modules are inserted in
read-only mode. This is recommended for
multi-user editing, otherwise all topics in
child projects will be locked for all users.
You can turn off read-only mode in
Configuration > Common Properties >
Miscellaneous.
3. In the Project File: field click on the Browse button and select the .hmxz or .hmxp
project file you want to include.
Merge content on publishing: If you select this mode the external project's contents
will be displayed in the TOC of the current project and can be edited directly if you turn
off read-only mode (see below). Merged projects are still stored externally and their
topics are identified by small green icon in the TOC.
Merge content at runtime: This is for HTML Help and Winhelp only and just inserts a
placeholder in the TOC. The projects must be edited and published separately and are
only merged when the user views them if the help files are all present in the same
folder.
4. Click on OK to insert the child project in the TOC.
This section is located right at the bottom of the Configuration section. Note that like the
TOC, the files and settings of merged projects are only shown for projects inserted in
publish-time merging mode. Runtime-merged projects are just placeholders and are not
really part of your project, they must be opened and edited separately.
See also:
Modular Projects 764 (Reference)
6.8.3 Merge methods for CHM & HLP
In HTML Help and the obsolete Winhelp format you can create genuine modular projects
with separate help files that are displayed in a single TOC. This is called "runtime merging".
Alternatively, you can also combine all your modules to one large help file, just like the
output from a single project. This is called "publish-time merging".
Choosing the merge method is only relevant for Winhelp and HTML Help formats. All other
output formats use publish-time merging only, merging all the modules in your project to
create output that is exactly the same as output generated from a single project.
See Runtime and publish time merging 767 in the Reference section for full details of the
capabilities of these two different output methods for modular projects in HTML Help and
Winhelp.
See also:
Modular Projects 764 (Reference)
6.8.4 Managing modules in the TOC
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.
Select the main module entry in the TOC with the mouse and drag it, or use the normal
copy and paste methods to move by copying and pasting.
· Select the entry and use cut and paste.
· Use the and buttons in Write > Manage Topics.
To change the level a module entry:
Select the entry and click on the Promote and Demote buttons in Write > Manage
Topics.
This section is located right at the bottom of the Configuration section. Note that like the
TOC, the files and settings of merged projects are only shown for projects inserted in
publish-time merging mode. Runtime-merged projects are just placeholders and are not
really part of your project, they must be opened and edited separately.
See also:
Modular Projects 764 (Reference)
6.8.5 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 249 . 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 767 because then each module is
compiled individually and the correct graphics will be used. However, if you use publish time
merging 767 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 249
6.8.6 Managing IDs and context numbers
In modular projects you also have to devote some thought and planning to topic IDs and
context numbers 801 . 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.
new topic. Then even topics with the same basic ID will actually be different. For
example, with an auto-prefix the ID Introduction could be Master_Introduction in one
project and Mod1_Introduction in another project.
1. Go to Configuration > Common Properties > Miscellaneous 665 .
2. Enter a prefix for your topic IDs in the Topic ID Prefix: field. It's helpful to add an
underline character after the prefix, this makes the IDs easier to read in the various ID
lists displayed in Help & Manual. For example, the topics in this help file all use the
prefix HM_.
3. Repeat for each project you want to include in your modular help system.
If you assign a unique prefix to each project used in your help system and make sure that
it is used for all modules you won't have any problems with ID conflicts.
3. Edit your topic IDs to eliminate the conflicts. Introduce a prefix naming scheme for IDs
with a different prefix for each module. This must be done manually. You cannot
search and replace topic IDs in the Help & Manual editor.
4. After doing this use the Help Context Tool 539 and the Project Reports 534 tool to export
lists of the new context numbers and topic IDs for your programmers.
5. Check whether any scripts 223 or plain HTML code objects 231 inserted in your project
contain references to the old topic IDs. These are not updated automatically and need
to be checked. The same applies to any links to the old IDs from other projects and
help files.
to repair them afterwards. Broken links are highlighted in red. If you have a lot of
cross-project topic links you may not want to do this.
Changing context numbers globally:
You can also use the same method to change your context numbers globally. Here you
just need to add new number to the beginning of all existing context numbers to "shift"
them into a different range. You can do this by editing the .hmxp project file, which is
where the context numbers are stored:
1. Save in uncompressed XML mode and open the .hmxp project file in a text editor.
2. Locate the section between the <helpcontext-numbers> tags and add the "shift"
number to the beginning of all the context numbers. That's it.
See also:
Modular Projects 764 (Reference)
IDs, Context Numbers and Keywords 801 (Reference)
6.8.7 Creating links between modules
How you create links between modules depends to a great extent on whether you use
runtime or publish time merging. If you use publish 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) for all links to modules which might not be present at runtime.
Basic principles
· Remember that runtime merging is only possible in HTML Help (CHM) and Winhelp
(HLP) help files. All other formats use only publish time merging.
· 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 with
HTML Help. You cannot make a link that opens a topic from another help file in an
external window. This is a restriction of HTML Help.
is not available. This can be any topic including a topic in the Topic Files section that
does not have a TOC entry.
2. Select this alternative topic in the Project Explorer, display its tab and enter a unique
A-keyword in its A-Keywords: field.
Step 2: Prepare the target topic in the child project
1. Select the topic you want to link to in the child project.
2. Display the topic's tab and enter the same A-keyword as above in its A-Keywords:
field.
This A-keyword should only be used in these two topics. If you use it in any other topics
in any module these topics will also be displayed in the link list.
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:
Alink(about widgets;troubleshooting;widget solutions)
See also:
Using A-keywords 281
About A-keywords 806
Creating a modular project 447
Modular Projects 764 (Reference)
6.8.8 Publishing modular projects
When you are publishing modular projects to HTML Help and the obsolete Winhelp format
the procedure depends on the merging method 451 you are using for your child modules. If
you are using runtime merging you must publish all the child projects separately, they are
User-defined If child projects contain user-defined variables with names that are not
variables: used in the master project the definitions in the child projects will be
used. However, if the master project contains variables with identical
names then the definitions from the master project will be used.
Custom If a child project contains user-defined include options 406 not defined in
include the master project they are available in publish time merging.
options:
HTML topic The HTML topic page templates 433 of the master project replace all
page child project templates that have the same names. For example, this
templates: means that the Default template from the master project template is
always used in all child modules, replacing any template changes that
may have been made in the child projects.
If child projects contain HTML page template definitions with names not
used for templates in the master project then these HTML page
templates will be used in the child projects.
For example, if you have defined an HTML page template called
Secondary in your child module it will be used in the child module if
there is no HTML page template called Secondary in the master
module.
However, if the master module contains a template called Secondary
then the master's version will be used in the child module as well and
Baggage Baggage files in the master project have priority over Baggage files
files: with the same name in child projects. See Baggage handling 488 for
further details.
See also:
Publishing Your Projects 311
Modular Projects 764 (Reference)
Baggage file handling 488
6.8.9 Multiple Webhelp projects
You cannot use runtime merging for Webhelp – 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 Webhelp 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 Webhelp project with a modular
structure, using a separate directory and index file for each module. When you do this the
Webhelp help systems in the separate output directories are referred to as "collections".
Top frame: Opens 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: Opens the target topic in a new window together with its own TOC. The
current window remains open.
Use lower The names and extensions of all the files generated for Webhelp are
case: 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 Webhelp has the extension .html unless
you enter a different extension in the Index Page: field of the Publish
590 dialog.
?topic_id.htmThe ? 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 converting all characters to lower case and adding .htm
to the topic's topic ID. 205 For example, if the topic ID is HM_Intro then
the topic file name would be hm_intro.htm.
#anchor This is optional and links to an anchor 226 in the target topic.
See also:
Webhelp 730
helpman.exe Single option, use The Help & Manual program file.
once only
<Path> Single option, use The path to the project file, e.g.
once once only "F:\Projects\Help
Project\project.hmx". Always
enclose this and the project file
name in quotes if they contain
spaces. This path is used
automatically for all other file
arguments for which you do not
enter paths.
project.hmxz / Single option, use The project file you want to open.
project.hmxp once only This must always come directly
after the Help & Manual program
file name.
/<format> Multiple option, use The output format switch. This
once per output must always be the first switch
format, followed by entered after the project file
the local options for name. The other switches listed
that output below can be used in any order
but they must come after the
output format switch.
Switches:
/CHM (HTML Help)
/HLP (Winhelp)
/HTML (Webhelp)
/HXS (Visual Studio Help / MS
Help 2.0)
/PDF (Adobe PDF)
/RTF (Word RTF)
/EBOOK (Windows Exe or ePub
eBook)
eBook format:
The eBook format (Windows Exe
or ePub) is determined by the
extension of the output filename.
If you use .epub an ePub file will
be created, if you use .exe a
Windows Exe eBook will be
created.
Examples:
/EBOOK=mybook.epub (creates
an ePub eBook)
/EBOOK=yourbook.exe
(creates a Windows Exe eBook)
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"
/I=<include Local option, use Corresponds to the include
options> once per output options set in the Make Help File
format option, after & Run 590 dialog. User-defined
the format option. options 406 are also supported. Use
upper case only, separate options
with commas and don't type any
Always use this if
spaces between individual
your project uses
options.
format-based build
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 (Webhelp)
HXS (Visual Studio Help / MS
Help 2.0)
PDF (Adobe PDF)
RTF (Word RTF)
EBOOK (Windows Exe or ePub
eBook)
Examples:
spaces.
If you use multiple output format
476 options or .INI files 480 you can
project file. All the other file name arguments automatically use this path so you don't
need to enter a path for them if they are stored in the project directory.
However, you must enter path information for all files stored in any other location. You
can use relative paths if you want – they are then relative to the project directory.
Example 2:
helpman.exe "D:\Help Project\MyHelp.hmxz" /PDF=widget.pdf /Template="<%
PROGPATH>Templates\Pdf\widget.mnl"
Key Information
Note that include options do not select the
output format! Include options only control
what is included in or excluded from your
project, not the output format of your
project.
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 399
6.9.5 Output to multiple formats
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 480 so that you don't have to type complex command lines every time.
Basic syntax:
helpman.exe <path>\projectfile.hmxz /<format1> /<switches> /<format2> /
<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=<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
Global switches
These switches can only be used once per command line and they apply from
the point in the command line at which they are inserted.
/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.
/noclose Leaves Help & Manual open after compiling.
Only use at the end of the command line.
If you have multiple output formats in a single command line you must insert
these switches directly after the first output format to apply them to all output
formats. To apply them only to some output formats insert the switches after
the first output format for which you wish them to apply.
Examples:
1) helpman.exe project.hmxz /CHM /keeptemp /HLP
2) helpman.exe project.hmxp /CHM /HLP /keeptemp
Example 1) above keeps the temporary files for both the CHM and HLP
output. Example 2) only keeps the temporary files for the HLP output. The
same applies for log files and debug information.
The /noclose switch should only be used at the end of the command line,
otherwise you will open multiple instances of Help & Manual.
See Syntax reference 466 for more information on the individual switches and
parameters.
Example 1:
The following example compiles a project file to HTML Help and PDF, using conditional
output include options for the HTML Help file and selecting a specific PDF print manual
template for the PDF output file. The template is assumed to be in the project directory; if
it is stored somewhere else you must include its path.
helpman.exe D:\Projects\widget.hmxz /CHM=widgethelp.chm /I=CHM,DEMO /
PDF=manual.pdf /Template=manual.mnl
Example 2:
The following example compiles to Webhelp and Winhelp using include options. The /
noclose switch at the end of the command line leaves the program open when compiling
is finished.
helpman.exe D:\Projects\widget.hmxp /HLP /I=HLP,FINAL /HTML=D:
\HTML\index.html /I=HLP,FINAL /noclose
See also:
.INI and batch files 480
6.9.6 Skins & redefining variables
You can also apply project skins and redefine some or all of your variables from the
command line. Note that creating user-defined skins is only possible with the Professional
version of Help & Manual. You can use existing skins with the Standard version but you
cannot save or edit your own skins.
Skins are applied with the /O= switch and can completely restyle your entire project,
including the user-defined variables it depends what you store in the skin file. The older
variables file method is applied with the /V= switch and only redefines variables.
When you are outputting to multiple formats you must enter separate /O= and /V=
switches for each output format for which you wish to redefine the variables. See Output to
multiple formats 476 and .INI and batch files 480 for details.
See also:
Using Variables 376
(Every time you publish manually you automatically reset the default output
destination.)
· The I=CHM,FINALBUILD include options switch includes everything tagged with the
user-defined option FINALBUILD. Since you have specified a user-defined option you
must also specify CHM to ensure that any items specifically tagged for HTML Help are
also included. KEEPTEMP tells Help & Manual not to delete the temporary source files
used to generate the HTML Help output.
· Then the same project is output to PDF, also with a specific output directory and
filename. The include options are the same, but with PDF instead of CHM to include the
appropriate topics in addition to everything tagged with FINALBUILD.
· The Template=usletter.mnl line specifies the PDF print manual template 425 to be
used for the output. Since no path is specified this is assumed to be in the project
directory. If it is stored in any other location you must include a path.
· Finally, the L= parameter stores all the messages associated with the publish
operation in a log file in a specified location. If no path had been included this file would
have been stored in the project directory.
Local switches:
The following switches are "local". In .INI files 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 can only be used once per .INI file and they apply from the
point in the .INI file at which they are inserted:
KEEPTEMP Doesn't delete the temporary directories and
source files generated for Winhelp and HTML
Help output. (Applies to Winhelp and HTML
Help only.)
L=<log file> Outputs the publication log to the specified
file.
DEBUG Displays debug information for each output
format before publishing.
NOCLOSE Leaves Help & Manual open after compiling.
Only use at the end of the .INI file.
If you have multiple output formats in a single .INI file you must insert these
switches directly after the first output format to apply them to all output
formats. To apply them only to only some output formats insert the switches
after the first output format for which you wish them to apply.
Examples:
1)
CHM=project.chm
KEEPTEMP
HLP=project.hlp
2)
CHM=project.chm
HLP=project.hlp
KEEPTEMP
Example 1) above keeps the temporary files for both the CHM and HLP
output. Example 2) only keeps the temporary files for the HLP output. The
same applies for log files and debug information. The NOCLOSE switch should
only be used at the end of the .INI file, otherwise you will open multiple
instances of Help & Manual.
See
© 1997 - 2009 by EC Syntax
Software, reference
all rights 466
reserved for more information on the individual switches and
parameters.
484 Help & Manual 5 - User Help
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 .hmxz or .hmxp project file is stored.
See also:
Output to multiple formats 476
Frequently-used graphics
You can also use the Baggage Files section for storing small, frequently-used graphics
files for example custom icons used for your Table of Contents in Webhelp output or
logo images that you use frequently. Once you have added them to the Baggage you can
delete any graphics files used in your project from other locations. Help & Manual always
looks for files in the Baggage first, so if they are there they will be found, for all output
formats.
This is a useful way of keeping the files associated with your project together but it should
generally only be used for relatively small files. This applies particularly if you are using
the single-file .hmxz format, because all your Baggage files are stored inside the .hmxz
file together with all the other project components. (The Standard version of Help &
Manual only supports the .hmxz format .)
functions for HTML templates 430 and the code you enter in scripts and macros 223 .
See also:
Inserting plain HTML code 231
Flash Animations and Video 271
Using HTML Templates 430
Inserting script and macro links 223
6.10.3 Removing, exporting and importing
Removing and exporting files stored in the Baggage section are generally quite
straightforward operations but there are a couple of points you need to bear in mind. You
can also import the baggage files from other projects.
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 446
See also:
Visual Studio Help 738 (Help Formats)
Visual Studio Help 694 (Project Configuration)
6.11.1 Requirements and limitations
Visual Studio Help/Help 2.0 is completely irrelevant as a normal help and documentation
format. You cannot use, view or create Visual Studio Help files unless you have Microsoft
Visual Studio 2002 or later installed on your computer. You cannot use Visual Studio Help to
document normal application programs.
In addition to this, Visual Studio Help is severely limited in its capabilities. Generally
speaking, unless you are a Visual Studio .NET programmer it is about as useful as square
wheels on a bicycle or a refrigerator at the North Pole.
external files. Links to external videos are also taboo in Visual Studio Help. The only
external links that are permitted are web URLs with absolute addresses.
See also:
Visual Studio Help 738 (Reference)
6.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 Help 2.0
compiler is both tricky and 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 Configuration > Publishing Options
> Visual Studio Help > Namespace & Options 694 .
helpcol ms-help://ECSoftware
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 738 (Reference)
Publishing Your Projects 311
To do this you will need an editor that can perform search and replace operations on
multiple files in multiple folders. If you are not using a dedicated XML editor a very good
and inexpensive tool for this is FAR HTML from Helpware, which also has an excellent
complex search and replace tool that is easier to use than regular expressions.
See also:
Insert OLE Object 635
About using OLE objects 757
6.13.1 Inserting OLE objects
OLE stands for "Object Linking and Embedding". It is a Windows technology that allows you
to link or embed documents and files from other programs into your current document.
Instead of importing the external document you just link to it, enabling you to update the
external document if necessary without making a new copy.
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.
When you publish your content all OLE objects are converted to bitmap graphics. This
means that you can only use document types that can be converted to static graphics.
Key Information
OLE objects are only "live" while you are
3. Use the Browse button to select the file you want to insert. The file does not have to
be in your project directory. Remember that only objects that can be displayed as
static graphics are supported.
4. Select the Link check box. This inserts a link to the external file instead of embedding
the file in your project.
5. Select Display as Icon if you only want to display a placeholder icon for the object in
the Help & Manual editor. If you deselect this option you can preview and size the
object in the editor.
6. Click on OK to insert the OLE object.
to use Create from File to ensure that the OLE object is stored as an external file.
1. Select the OLE Object Tool in Write > Insert Object.
2. Select Create New in the dialog displayed, then select the application in the Object
Type list.
Remember that only OLE objects that can be displayed as static graphics are
supported.
3. Select Display as Icon to display the OLE object as a small icon link. Otherwise a
graphical image of the object will be inserted in your topic.
4. Click on OK to open the external application to create the object.
Important:
When you create an OLE object in this way the file you create with your external
application is physically embedded in your Help & Manual project, it is not stored as an
external file. This type of OLE object can only be edited from within your Help & Manual
project.
See also:
Insert OLE Object 635
About using OLE objects 757
Example 2 – an equation:
This example shows an equation created with the MS Equation Editor:
x+ y
n
Z
See also:
Importing Data 99
Text Formatting and Styles 155
Dynamic Styles 711
6.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.
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.
For example, if the cursor is in the normal text of a paragraph styled with StyleA, any
operations will only be performed on text styled with StyleA. Text within StyleA text with
different formatting will be ignored and will remain unchanged, unless you use a "fuzzy"
search (see below).
See also:
Importing Data 99
Text Formatting and Styles 155
Dynamic Styles 711
6.14.2 Font attributes - styled text
The methods described below only work for text already formatted with Help & Manual
styles. See the topic on unstyled text 500 for instructions on how to deal with texts that do not
yet have styles applied.
Before you try to follow these instructions, please study the Introduction to style replacement
498 for an explanation of how the Replace Styles function works. This will make it much
2. Click in styled text in the editor, then select Replace Styles and Font Styles
Click inside some text formatted with the style you want to replace, then select Styles
> Replace Styles in the Write tab. Then select the Font Styles mode at the top of the
dialog that appears.
Select the new style you want to apply from the drop-down list directly below the
Change to Format/Style: heading on the right. If you need to create the style first,
select Edit Styles.
2. Select a style in the editor, then select Replace Styles and Font mode
Click inside some text formatted with the style you want to replace, then select
Format > Replace Styles. Then select the Font Styles mode at the top of the dialog
that appears.
Replace one style with · Font Style Name · Font Style Name
another. Leave manually- set to the name of the set to target style
applied bold, italics, and source style
underlining within the text · Inline Formatting
· Font Styles and set to Remove except
intact.
Underline set to B/I/U/Color
(Any)
· All other attributes
unchanged
Replace one style with · Font Style Name · Font Style Name
another. Change set to the name of the set to target style.
manually-formatted text source style
with a different font to the · Inline Formatting
· Font Face, Font set to Remove except
target font, leaving all
Styles, Underline B/I/U/Color
manually-applied bold,
italics, underlining and text and Text Color set
color within the target text to (Any)
intact. · All other attributes
unchanged
Replace one style with · Font Style Name · Font Style Name
another and reset all set to the name of the set to target style
manually-applied source style
formatting, including bold, · Inline Formatting
italics, underlining and · All other attributes set set to Remove inline
color. to (Any) formatting
See also:
Importing Data 99
Text Formatting and Styles 155
Dynamic Styles 711
6.14.3 Font attributes - unstyled text
The instructions below explain how to use Replace Styles to apply formatting to text that
does not have any Help & Manual styles applied to it. See the topic on styled text 500 for
information on how to reformat text that already has Help & Manual styles applied to it.
Before you try to follow these instructions, please study the Introduction to style replacement
498 for an explanation of how the Replace Styles function works. This will make it much
operation.
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 Project
Explorer 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. Click in the formatted text in the editor, then select Replace Styles and Font
mode
Click inside the example of the text you want to style, then select Styles > Replace
Styles in the Write tab. Then select the Font Styles mode at the top of the dialog that
appears.
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.
2. Click in the formatted text in the editor, then select Replace Styles and Font
mode
Click inside some text with the formatting you want to change, then select Styles >
Replace Styles in the Write tab. Then select the Font Styles mode at the top of the
dialog that appears.
Leave the settings in the left column as they are or change them, depending on the
formatting you want to change.
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, no matter whether it
has a style or not. 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 text.)
2. Click in a styled paragraph in the editor, then select Replace Styles and
Paragraph mode
Click inside a paragraph formatted with the style you want to replace, then select
Styles > Replace Styles in the Write tab. Then select the Paragraph Styles mode at
the top of the dialog that appears.
2. Click in a styled paragraph the editor, then select Replace Styles and Paragraph
mode
Click inside some text formatted with the style you want to replace, then select Styles
> Replace Styles in the Write tab. Then select the Paragraph Styles mode at the top
of the dialog that appears.
See also:
Importing Data 99
Text Formatting and Styles 155
Dynamic Styles 711
6.14.5 Paragraph attributes - unstyled text
The instructions below explain how to use Replace Styles to apply formatting to paragraphs
that do not have any Help & Manual styles applied to them. See the topic on styled
paragraphs 507 for information on how to reformat paragraphs that already have Help &
Manual styles applied to them.
Before you try to follow these instructions, please study the Introduction to style replacement
498 for an explanation of how the Replace Styles function works. This will make it much
Styles function the Para Style Name field in the left column of the Replace Styles dialog
displays (Unstyled text only).
If the Para Style Name field is not set to (Unstyled text only) already you must change it
to this setting to make sure that the search finds paragraphs with no styles applied. 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 513 .
2. Select a paragraph in the editor, then select Replace Styles and Paragraph
mode.
Click inside the example of the paragraph you want to style, then select Styles >
Replace Styles in the Write tab. Then select the Paragraph Styles mode at the top of
the dialog that appears.
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.
2. Select a paragraph in the editor, then select Replace Styles and Paragraph
mode.
Click inside a paragraph with the formatting you want to change, then select Styles >
Replace Styles in the Write tab. Then select the Paragraph Styles mode at the top of
the dialog that appears.
Leave the settings in the left column as they are or change them, depending on the
formatting you want to change.
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.)
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 Project
Explorer 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 some text formatted with the style you want to replace, then select Styles
> Replace Styles in the Write tab. Then select the Font Styles mode at the top of the
dialog that appears.
3. In the left column, set the Font Style Name to (Unstyled text only)
Set Font Style Name in the left column 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.
Note that any changes in the current topic will only be visible in the editor after you
close the Replace Styles dialog.
2. Click in an example of the sub-text in the editor, then select Replace Styles and
Font mode
Click inside one of the formatted texts that you want to style, then select Styles >
Replace Styles in the Write tab. Then select the Font Styles mode at the top of the
dialog that appears.
Repeat the above procedure for every text style in your project.
2. Click in a body paragraph editor, then select Replace Styles and Paragraph
mode
Click in one of your body text paragraphs, then select Styles > Replace Styles in the
Write tab. Then select the Paragraph Styles mode at the top of the dialog that
appears.
See also:
Importing Data 99
Text Formatting and Styles 155
Dynamic Styles 711
VII
518 Help & Manual 5 - User Help
Productivity Tip
Refresh your project regularly! While
working on a project in a team always click
on Refresh Project in the Project menu
whenever you switch to a new topic to
make sure that you see the current version
of the Table of Contents and Project Files.
are then handled by your VCS, but this will not make any difference to the way you work
on your project. All the topic and project editing and access features work in exactly the
same way as with normal multi-user editing as described in this chapter.
Improved remote editing capabilities:
Remote editing – i.e. working on projects stored on a remote server – is considerably
better and more robust when you use a VCS, both for single-user access and for multi-
user access. When your project is linked to a VCS you work on a local copy that is linked
to the copy in the VCS repository on the server. This means that only the changes need
to be transferred between your location and the server, and that only when you open your
project (changes on server are transferred to you) and save your own work (your
changes are transferred to the server). Everything else is local.
Link your project to the VCS before you begin remote editing:
If you know you are going to need to edit your project remotely it is best to create your
local linked copy from the VCS repository before you go on the road, if possible. This will
avoid the need to download the entire project over a slower connection before you can
start editing. See the chapter on using version control systems 335 for more information.
This is the most important tool when you are working in multi-user editing mode. It
updates the display of the project and the TOC on your screen so that you can be sure
that you are seeing the current version, including any changes made to the TOC by other
users who may have moved, deleted or renamed TOC items.
Refresh also updates the contents and lock state (read-only or read-write) of the current
topic displayed in the editor.
Always use Refresh Project before making any changes that affect the TOC (renaming,
moving, deleting and creating topics).
Always save your project directly after making changes that affect the TOC to make
sure that there are no conflicts with other users' edits that you need to resolve.
See Creating, renaming, moving and deleting topics below for more details.
Editing topics
Just store the project on a network or server drive where all authors have read/write
access and start editing as normal.
You will only notice a difference if you try to edit a topic that someone else has open
then you will get a message telling you that the topic is open and is not currently
available. Help & Manual will never allow two different versions of the same topic to be
created and it will never allow two users to edit the same topic at the same time. This
applies even if you have not saved your project.
When you select a topic that another user is already working on you will see a red bar
with a READ ONLY warning at the top of the editor screen and the topic will be grayed
out in the TOC.
If another user starts editing the topic while you are viewing it you will not see the READ
ONLY bar immediately. However, if you then try to edit the topic you will get a message
telling you that the topic is now being worked on and then the READ ONLY bar will be
displayed.
Custom display color for read-only topics:
You can set a custom color for displaying read-only topics in the TOC to make them
easier to identify for you. Go to View > Program Options > Editor and change the
setting for Display color for read-only TOC items.
create them. Of course, if you choose a topic ID/topic file name that conflicts with an
existing topic you will not be allowed to create the topic.
Renaming, moving and deleting topics:
Always select Refresh Project before moving or deleting topics or renaming them in the
TOC. This ensures that you are viewing the current version of the TOC in the main
project file and prevents you having to resolve conflicts with your co-workers.
Once you have done this you can move and delete topics just as you would when you are
working in single-user mode.
Even so, it is generally advisable to check with your colleagues before moving or deleting
topics that others have also worked on! If in doubt make a copy of the topic with File >
Save Topic to File in Project > Manage Topics before deleting it.
See also:
Translating in Help & Manual 525
Translating with external editors 522
The Project Synchronization Tool 556
Productivity Tip
An INI file for SDL Trados is included
with Help & Manual Pro. This makes
editing and translating your projects in
Trados much easier. See here 81 for
details.
3. Set up the language settings in the sibling copy 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 94 .
4. Update your graphics and export your Impict image texts for the translator
Check through all your graphics and make sure that they will make sense in the target
language. Texts stored in your Impict IPP images can be exported to XML files 528 for
the translator.
6. Check whether you need to include any snippet files for the translator
If your files contain linked snippets 149 from external sources you may need to include
copies of these embedded files for the translator.
2. Set up the language settings for the target language in the translation version
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
3. Update your graphics and export your Impict image texts for the translator
Check through all your graphics and make sure that they will make sense in the target
language. Texts stored in your Impict IPP images can be exported to XML files 528 for
the translator.
If you have separate source graphics, for example Impict IPP graphics containing
editable text objects, remember to include those too, preferably in a separate folder.
Check for any other relevant external files that you are referring to in your project as
well.
5. Check whether you need to include any snippet files for the translator
If your files contain linked snippets 149 from external sources you may need to include
copies of these embedded files for the translator.
If you include the files with the translation package you should add an entry to
Configuration > Common Properties > Project Search Path 656 pointing to the
folder containing the snippet files so that Help & Manual will find them.
Publish your output as normal. Before distributing it check it to make sure that
everything is OK for the target language. For example, if your language settings are
not correct special characters in the target language may not be displayed correctly.
2. Make copies of all new and changed graphics and other external files.
Before sending the updated project to the translator, make sure that you also include
all new and modified graphics in the translation package, along with any new and
changed external files. Here too, keeping everything in one project folder makes things
a lot easier.
Also check whether there are any changes in linked snippets 149 – if there are you will
probably need to include copies of the new versions of the source files for the
translator.
After generating your output check the finished product carefully to make sure that
everything is OK in the target language. For example, make sure that special
characters are rendered correctly – if they are not you may need to adjust the
language settings for your project.
See also:
The Project Synchronization Tool 556
International languages setup 94
7.2.4 Translating texts in images
If you create images with Impict 536 that contain text objects you will also need to translate the
texts in the images. If the translator is working in Help & Manual they can edit the texts
directly in Impict – you just need to remember to give them copies of all the images in
Impict's own IPP format so that the texts remain editable.
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).
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.
Ultimately, you will save a lot of time and frustration if you use a proper translation tool
that hides the tags from you so you don't need to worry about them at all.
Translatable elements
Element Translatable
text Text is always translatable if its translate attribute is set to "true". Do not
translate if translate="false" is set.
link The captions of hyperlinks (topic links, web links, file links, script/macro
links) are translatable if their translate attribute is set to true.
caption Image captions are translatable if their translate attribute is set to true.
config- Only some config-value elements are translatable. If they have a translate
value attribute and it is set to true they can be translated. If not they should be
left alone.
See also:
Project Synchronization 556
Editing XML source code 154
VIII
532 Help & Manual 5 - User Help
Productivity Tip
If you have a dual-monitor display the
window you are capturing and Help &
Manual must both be in the same monitor
for captures to work. On some systems
captures may only work correctly in the
primary monitor.
When you select Save the screenshot file will be saved and simultaneously inserted in
your topic.
See also:
Screen Capture 595 (dialog reference)
About Graphics in Help & Manual 753
The Impict Screenshot Editor 536
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 detailed
report: 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 images
including used in the project with a lists of the topics in which each image is used. In
image addition to this there is also a list of images in the project's graphics
references: 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
See also:
Reports 596 (dialog reference)
2. Select Image Editor in Project > Tools or right-click on the image and select the
See also:
Using Graphics 238
Screen Capture 532
2. Click on the Design... button to the right of the Print Manual Template: field. This
opens the Print Manual Designer and loads the current template for editing.
Opening the template for printed manuals:
1. Open your project, click on the Application Button and select Print Manual 575 .
2. Click on the Design... button to the right of the Print Manual Template: field. This
opens the Print Manual Designer and loads the current template.
Note that you can set different templates for PDF and print manual output. Both settings
are stored automatically after being selected.
2. Enter the path and name of the template you want to use in the Print Manual
Template: field. Use the browse button to locate and select the template you want to
use.
Selecting a template for printed manuals:
1. Open your project, click on the Application Button and select Print Manual.
2. Enter the path and name of the template you want to use in the Print Manual
Template: field. Use the browse button to locate and select the template you want to
use.
This opens the Print Manual Designer with a new empty template file. It is generally
easier to edit an existing template, particularly when you are using the program for the
first time. You can find a collection of sample templates in the \Templates\pdf folder in
the Help & Manual program directory, which is normally C:\Program Files\EC
Software\HelpAndManual5.
It is a good idea to make a copy of the sample template instead of working on the
original. If you are using Windows Vista you will generally be unable to save template
files in the template directory you must save a copy in a directory for which your user
account has full read and write permissions.
It is a good idea to store the working copy of your print manual template in your project
directory if you want to keep all the files used by your project in one place.
See also:
PDF and Printed Manuals 325
PDF and print manual templates 425
Adobe PDF 737
Printed manuals 738
Key Information
Note that you cannot import help context
numbers to anchors, even though you can
export help context map files with anchor
information. Note also that you can only
Note that if selected topics have multiple context numbers all the numbers will be
deleted, even though only the first number is shown for the topic in the list.
3. Select Export selected numbers only if you don't want to export the entire list, then
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 displayed (see below) with any text or additional characters
of your own.
4. Enter a filename and click on Save to export the map file.
See also:
Topic IDs and context numbers 205
IDs, Context Numbers and Keywords 801
Productivity Tip
Spell checking is supported almost
everywhere in Help & Manual where you
can enter text. Just right-click to display the
context menu or click on the upper half of
the Spelling tool in the Project tab to
access.
· Clicking on the top half of the Spelling tool checks selected text (if any is selected) OR
the current topic or text entry field or window (if no text is selected).
· Clicking the bottom half of the Spelling tool displays the spell-check menu.
Most of the settings here are self-explanatory. Here are a couple of notes on special
functions:
Live spelling:
Identifies incorrect words with squiggly red underlines while you are working. Right-click
on words with these underlines to display a spell-check menu. Does not support repeated
words and dual capitals (see below)
Main dictionary only:
When this is active suggested corrections will be taken from the main dictionary for the
current language only. No suggestions will be taken from your own user dictionaries.
Prompt on repeated word, correct Dual capitals:
These functions are not active for live spell checking. They are only supported in the
interactive spell check started from with the Spelling tool in the Ribbon.
· The standard user dictionary is stored in your My Documents folder (called Documents
in Windows Vista). To use this just select it in the When adding words, use this
dictionary list at the bottom of the dialog.
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.
See also:
Using custom user dictionaries 548
Creating and editing custom user dictionaries 546
Spell checking 145
8.6.1 Creating and editing custom dictionaries
You can store your custom user dictionaries in any location, including network drives. and
multiple users working on the same or different projects can use them simultaneously. In
addition to storing your own terms user dictionaries can also store auto-correct pairs for
terms you always want to correct and "excluded" words that you always want to mark as
2. Click Add/New and choose a name and storage location for the dictionary. Dictionaries
can be stored anywhere you like, also on network drives. They can also be used
simultaneously by other users working on the same project or different projects.
You can also use the Add button to select existing user dictionaries. This adds them to
the Custom Dictionaries list so that they are used by the spell checker.
2. Enter a word and click on Add to add, select a word and click on Delete to remove.
See also:
Using custom dictionaries 548
Spell checking 145
8.6.2 Using custom dictionaries
You can 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:
Auto-Correct for frequent errors and abbreviations:
The Auto-Correct function automatically replaces common typing errors and
abbreviations with the correct words or entire phrases. See Spell checking 145 in the
Creating and Editing Topics chapter for details on using this function. This function is
2. Select the custom dictionary you want to use in the Custom Dictionaries: box. Click
Add/New if you want to add a new dictionary or select a dictionary stored in a different
location. (Custom dictionaries can be stored anywhere and can be shared by multiple
users working simultaneously.)
3. Select the dictionary you want to use from the list in the Custom Dictionary: field.
2. Click on the Add/New button to add dictionaries to the Custom Dictionaries list. You
can then create a new dictionary or select an existing dictionary.
All the listed dictionaries will be used for spell checking. These dictionaries can be
stored in any location, also on network drives, and they can be used simultaneously by
multiple users.
Deactivating user dictionaries:
To deactivate a user dictionary just select it in the list and click on Remove. This will not
delete the dictionary, it will just remove it from the dictionaries list.
See also:
Creating and editing custom user dictionaries 546
Spell checking 145
Button, select Open, choose the project type you want to open and follow the instructions
displayed. This will also give you the option of opening the external converter program.
You can also open the Project Converter manually by selecting it in the Help & Manual
program group in the windows Start menu.
· Uncompressed XML is only available in the Professional version of Help & Manual. This
format is required for multi-user editing.
· If you choose uncompressed XML you must choose an empty directory for the output
files. This is necessary because this format consists of several folders with individual
files for all topics and other project components.
Help & Manual 3 conversion settings
If you are converting a Help & Manual 3 project the following additional options will be
displayed in the next screen of the conversion wizard:
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- the last (rightmost) column in the table variable. This is the most
size: flexible table conversion option.
Concatenate In Help & Manual 3 it was often necessary to split tables to control
similar tables: formatting properly. In PDF and printed manuals Help & Manual
now 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.
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 definitions for these styles and apply them to paragraphs
with styles: formatted with these styles in the old project.
Please note that this process cannot be perfect because style
names in Help & Manual 3 projects did not have a very close
association with text and paragraphs. 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.
Automatic Converter:
External Converter:
When you use the external converter program you can decide what you want to do with
your old invisible topics:
Add invisible topics to TOC creates the (Former Invisible Topics) folder described
above.
Keep organization structure creates sub-folders in the Topic Files section to match
your folder structure in your old project. You can create a maximum of 10 levels but the
converter will not create more levels than the original project contained.
See also:
Creating Projects 83
Importing Data 99
Text Formatting and Styles 155
Dynamic Styles 711
Working with Tables 253
If independent structural changes (new topics, moved topics etc.) are made in
the translated version Project Synch will eliminate them!
It is extremely important to understand this. The translator is not permitted to make any
structural changes to the project! They must just produce a 1:1 translation of the project
structure as you deliver it to them.
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!
See also:
Identifying changes 563
Interim updates 564
Problems and troubleshooting 565
8.8.2 Synchronization Steps
8.8.2.1 Step 1: Create a translation sibling
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 a "sibling", then the two projects
are "paired" automatically.
Project format:
If the project is going to be translated using an XML-based tool like SD Trados or Across
you must save the project and generate the sibling in uncompressed XML format. This
format is only supported by the Professional version of Help & Manual.
The compressed single-file .hmxz format can only be translated using Help & Manual as
the translation editor. Project Synch is also not available in the Standard version of Help
& Manual, the tool is only included with the Professional version.
3. Select the language and character set of your target project (see International
languages setup 94 for details) and choose a file name and the location where you
want to save it. By default Help & Manual will suggest a project name with the
language code of the new language added to the old project name you can change
this to something more descriptive if you like. The select OK to save the new sibling.
The sibling will automatically be saved in the format of the current project: .hmxz for
single-file projects, .hmxp for uncompressed XML projects (H&M Pro only).
Graphics files:
Make sure that all the graphics files used in your project are included. It is best to put all
the graphics files in one or more folders inside the project folder.
Snippets files:
If you are using linked snippets 149 from other locations you may need to include copies of
the snippet files for the translator. It is best to put all the snippet files in one or more
folders inside the project folder.
Project Search Path:
Update the Project Search Path 656 if necessary, adding entries at the top of the list for
any folders you have added to the project folder for the snippets and graphics files. Then
everything will display correctly when the translator opens the project from the folder
relative paths are used in the Project Search Path, so if the additional folders are inside
the folder containing the project file the paths will be "portable".
It's also a good idea to compile the translation copy once before sending it off to make
sure that it's working correctly then you won't have to waste time answering questions
from the translator.
Make sure that the translator reads and understands the translation guidelines 559
before starting work!
In this step the translator just works through his or her copy of the project in Help & Manual
or their translation tool and translates it into the target language. There is nothing special
about this, but the translator must observe the guidelines listed below.
Once the translation is finished it can be compiled and distributed with the translated version
of your application. This is the end of this step of the process. The real work comes when
you need to synchronize and the next version of the help and translate the changes.
before translating the topic header above the topic text. The header is
normally linked to the caption and will only need to be translated if it is
different. Translating the header first would break this link.
Topic Headers: Only translate topic headers if they do not get translated automatically
when you translate the TOC captions. (This is only the case if the
header and the caption are different.)
Topic Text: Translate everything here that is not protected (shaded text, cannot be
edited without unprotecting). Be careful not to delete any hyperlinks and
only translate the captions of hyperlinks, not their targets, which are the
untranslatable topic IDs and anchor IDs.
Text Variables: If the text contains variables go to Configuration > Common
Properties > Text Variables and translate their definitions. Do not
translate the variable names!
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 Keywords: editing box in the tab.
Index: Use the Index Tool in the Project tab 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!
This step must be performed on the original project file used to create the translation sibling
in Step 1. Only this file will have the correct Project GUID 556 that can be used for
synchronization in the next step.
That is all you need to know about this step. Simply work on your project normally, making
any necessary changes, deletions and additions. There are no restrictions on the changes
you can make.
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 project edited in Step 3 and the
original translation delivered by the translator in Step 2.
Key Information
The Synch procedure has reversed since
Help & Manual 4! Now you open the
Master (original) project and synchronize
with the old translation.
Simply The content of changed topics, headers, topic captions etc. will be
overwrite with completely overwritten with the new versions in the original
new content: language.
The translator must then use a copy of the original version of the
translation for comparison.
Do not This option only highlights changed topics in the TOC and does
overwrite, just overwrite the translated version or insert a new version.
flag changes:
The translator must then use a copy of the new version of the original
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)
Compare TOC WARNING: Do not use this option for synchronizing siblings!
by Topic ID:
This is a special setting for synchronizing two versions of a project
that were not created by making a sibling copy of the original. In
normal synch mode the Project Synch tool compares topics on the
basis of their hidden internal ID, which never changes this makes it
possible to compare topics even when their visible IDs have been
edited.
If you independently create two projects that have the same structure
and Topic IDs they will look identical but their invisible internal IDs
will not match. The first time you synch such projects you need to
use this option to compare by topic ID. After this the internal IDs will
by synchronized and the projects will then be siblings.
Synchronizing 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 updated
translated version 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 should be followed. The main problem is identifying where the changes
are.
See also:
Guidelines for translators 559
Identifying changes in the synch project 563
8.8.3 Identifying changes
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 143
while you are working on the new version of the original project.
This is particularly important if you only make changes in the tab, 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.
<OLD>Einführung</OLD>
In this example the author has edited the topic caption to
make it longer. You can see the old translated version
between the OLD tags – the original caption was probably
just Introduction.
When only the topic caption is changed no new text is
inserted in the topic body or header.
Keywords: When a topic is flagged as changed you should always also
check the Keywords in the tab, as this can also be the cause
for the change flag.
If you have selected Keep old and new text in the
synchronization options the old and new keywords are
separated by an --OLD KEYWORDS-- divider, with the new
keywords above.
Topic IDs and other : It is important to understand that changes in the can also
cause the topic to be flagged as changed, even if nothing
has actually changed in the topic text. So if you can't find any
changes in the text the change is probably in the .
See also:
Guidelines for translators 559
8.8.4 Interim updates
It happens: You thought your project was finished but after the translator has started work
on the new translation you discover that you need to make some more changes and/or
additions to the original project. Can the translator synchronize these changes into his/her
project, even though the actual translation is not yet finished?
This is possible because of the way Project Synch works. Instead of comparing the dates
and timestamps of the project files it synchronizes all changes made since the last
synchronization of the language pair. So even if the translator has worked on the changed
topics after the new changes have been made, the project will still be synchronized
correctly.
See also:
Project synchronization settings 560
Identifying changes 563
See also:
Problems and troubleshooting 565
8.8.6 Problems and troubleshooting
If you work within its capabilities, remembering that it cannot be used to highlight changes in
topic text, Project Synch will 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 565
Translation guidelines 559
IX
568 Help & Manual 5 - User Help
9 Reference
This section contains documentation of all Help & Manual's menu options and the
associated dialogs (in Menus and Dialogs 573 ).
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.
The Quick Access Toolbar next to the Application Button navigates in your editing
history like a browser and provides direct access to the most frequently-used functions.
Where are all the other menus and the editor tabs?
The menus have been replaced by tabs. You will find your editing and text formatting
tools in the Write tab. The tools that used to be located in the Insert menu are also
located there.
The editor tabs are still there, they're now below the main editor window instead of
above it.
you can change the position of the tab by dragging it. See Explorer Tips 46 for more
details.
You can also undock and redock windows by dragging them to the borders of the
Editor window – you can dock components to any side of the editor: top, bottom, left or
right.
I can't find the settings for the background colors of the topic and header!
These are no longer defined by the help windows except for the obsolete Winhelp
format. Background colors for all HTML-based output formats are now defined in the
HTML page template which you can find in Configuration > HTML Topic Page
Templates.
this, child modules inserted in publish-time mode can be edited directly inside the
master project.
However, this also means that child modules inserted in runtime mode are only
exported to CHM and HLP because only these formats support runtime merging. If you
want to export the same modules to other formats you must now insert them a second
time and apply suitable build conditions to ensure that they are not exported when you
publish to CHM or HLP.
See Exporting runtime modules to other formats in Merge methods for CHM & HLP 451
for details on how to do this.
Popups are now defined with the new "Topic Class" attribute
Popup topics are now defined with the Topic Class attribute in or when you are creating
the topic file. Popup topics can only be created in the Topic Files section of the Project
Explorer.
You cannot create a popup topic in the Table of Contents section and you cannot
switch the Topic Class to Popup in the Table of Contents section. (The Topic Class
attribute is currently only used for popups but it may be used for other new features in
later updates.)
The Application Button in the top left corner of the Help & Manual window is one of the
most important controls. It provides access to the functions normally accessed in the File
menu in menu-based programs. This is where you open existing projects, create new
projects, publish and print your projects, save your projects under other names and so
on.
The Quick Access Toolbar next to the Application Button is a place for your most
frequently-used tools. It is fully configurable just click on the drop-down icon to the right
of it to add or remove functions.
By default the QAT includes the New, Open and Save tools and also the Back and
Forward tools that navigate through the topic files and other Project Explorer items you
have visited in your current editing session.
The Ribbon Toolbar is the control center where you access virtually all of Help & Manual's
functions. If you use Microsoft Office 2007 you will already be familiar with the Ribbon
interface. It is context-sensitive, automatically displaying functions relevant to what you
are currently doing.
Tip: The Ribbon can also be operated almost entirely via the keyboard. To display the
accelerator keys just press and release the ALT key once the keys will be displayed in
icons superimposed on the Ribbon.
The Project Explorer is like Windows Explorer for Help & Manual projects. When you
load or create a project all its contents are displayed here, including both the topic files it
contains and all the settings and configuration options. You can load multiple projects in
the Project Explorer and copy and paste between them.
The Editor is where you edit your topic content, and project settings dialogs. To edit a
topic you just select the topic in the Project Explorer and start editing in the Editor, which
works very much like a normal word processor. To edit project settings you just select the
settings in the Configuration section of the Project Explorer.
See also:
The User Interface 23
Using the Project Explorer 41
Editing Topics 58
9.2.1.1 Print 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 options
Print Manual The Print Manual function uses the same templates 425 as the PDF
Template: output function. Select to choose an .mnl print manual template file
and Design... 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 Prints hyperlinks with "page referrers" – little icons showing the page
referrers: 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 399 before using!
If no options are selected the Include Options list is highlighted in red
to indicate that no output will be generated.
Current format:
By default the include option for the selected output format is
preselected. If you also select other options you must leave the current
format option selected, otherwise content tagged for the current format
will be excluded!
Selected Selecting this special option in the Include Options only outputs the
Topics: topics currently selected in the TOC. This function is designed for
testing only. Links to excluded topics are converted to plain text. The
Include Options section is highlighted in yellow as a warning.
Print Style: Options for normal or booklet printing. Select Normal (1:1) for best
quality in normal printouts.
Print cut Prints professional printer-style cut marks for trimming your output.
marks:
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 577 to check the
numbers of the pages to output.
From Print all pages, only odd pages or only even pages. Use for printing on
selected both sides of the paper on printers without duplex printing (both sides of
range, print: the sheet).
See also:
Print Preview 577
Conditions and Customized Output 399
9.2.1.2 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 normal Print Dialog. 575 Print Preview is
extremely fast, you can use it for a quick preview of your project layout.
For more details please see Print Manual 575 (Screen 1 options only).
Unsupported functions:
· Selection by page number and booklet printing options are not supported in Print
Preview mode. Selected Topics in the Include Options section works, however.
· 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 575
9.2.1.3 Version Control System
This entry in the Application Menu is only shown in the Professional version of Help &
Manual and if access to a version control system (VCS) database is installed on your
system. Currently only Microsoft Visual SourceSafe and 100% clones are supported. If you
are not using Visual SourceSafe your VCS must support the Microsoft SCCAPI 1.1, 1.2 or
1.3 with an implementation that matches Visual SourceSafe in every detail.
For full details please see Using Version Control Systems 335 .
See also:
Using Version Control Systems 335
9.2.2 The Project Tab
This tab contains all the tools used for managing topic files and managing and publishing
projects. In addition to this it includes a copy of the clipboard tools available in the Write tab
and links to the external tools external tools included with Help & Manual.
Note that the standard file functions (Open, Close, New etc.) are accessed in the Application
Menu 574 .
See also:
Publishing Your Projects 311
9.2.2.1 Clipboard
The Clipboard group contains a standard set of tools for using the Windows clipboard
(Copy, Cut, Paste, Paste as Text). You can use the clipboard tools for copying both content
in topics and for topics and chapters in the Project Explorer.
Remember that Drag & Drop also work both in the editor and in the Project Explorer, also
between different projects.
See also:
Copying, cutting and pasting text 139
Moving cutting and pasting topics 199
9.2.2.2 Manage Topics
The Manage Topics group contains all the main functions for creating topics and
manipulating them in the Table of Contents (TOC) and Project Files sections of the Project
Explorer.
Several of the options in this menu already have keyboard shortcuts. You can assign
shortcuts to the other options yourself in Tools > Customize > Shortcuts.
Add Topic / Add Name changes depending on whether you are in the TOC or
File: 581 Project Files.
· Create new topics, chapters and topic files.
· Delete topics, chapters and topic files
Explore · Expand and collapse branches in the Project Explorer
· Filter Explorer display by build options
· "Split" the Explorer to display topics and branches in a separate
window.
Change: · Set build options for topics and chapters
· Change the item status (colored highlight in the TOC)
· Change the icon displayed for the item (not supported in all output
formats)
· Edit the item caption
See also:
Creating and Editing Topics 108
Managing the TOC and Topic Files 199
Options & Keyboard Shortcuts 31
Creates a new topic file in the Table of Contents (TOC) or the Project Files section. See
Creating new topics 110 .for more details.
Topic /Chapter:
Creates a new topic with a TOC entry (in the TOC) or a new topic file without a TOC
entry (in Project Files). The topic automatically becomes a "chapter" as soon as it has
sub-topics.
When you select the function in the Project Files section you can only add topic files, no
other options are available.
Position: Position of the new topic in the TOC relative to the current topic.
Topic The title of the topic in the TOC. This text is also entered as the topic
heading: header (in the box above the editor).
Topic ID: This is the "address" of the topic. It is never seen by the user and must
be unique. Use only English ASCII characters and numbers. Foreign
characters, spaces and special characters will cause problems in some
output formats.
HTML The HTML page template 123 to be linked to the topic. This will usually
template: be Default unless you have created additional templates.
Topic Class: Whether the topic is a normal topic or a popup topic. You can only
select the Popup class in the Topic Files section of the Project
Explorer. You cannot create popup topics in the Table of Contents
section.
Create in : The folder in the Project Files section where you want to store the new
topic file.
Topic Normally new topics are empty. If you wish, you can specify a template
template: file 423 here containing standard text, tables, images and any other
content. You must create template files first, otherwise nothing will be
displayed here.
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 205 are
generated automatically from the caption texts.
Position: Position of the first new topic in the TOC relative to the current topic.
Headings: Each line of text you enter here creates a new topic.
Press Enter to create a new topic line.
Press Tab or use the indent buttons on the right to create sub-topics.
Create In: The folder in the Project Files section where you want to store the new
topic file.
Topic Normally new topics are empty. If you wish, you can specify a template
Template: file 423 here containing standard text, tables, images and any other
content.
Help file: The Help & Manual project file (.hmxp, .hmxz) or the help file (.chm, .
hlp) containing the topic you want to link to.
Web Link:
Creates a topic that references a web page on the Internet:
· In Winhelp and eBooks selecting the topic in the TOC opens the referenced web
page in an external browser window.
· In HTML Help and Webhelp selecting the topic the page can be opened inside the
help viewer, as part of the help, or in an external window.
· In PDF and Word RTF the topic is ignored and is not included in the output.
Position: Position of the item in the TOC relative to the current topic.
Target The URL of the HTML page you want to link to. If this is not a local file
address: you must enter the fully-qualified URL, including the http:// prefix.
Project file: The the .hmxp or .hmxz project file that you want to include
Merge These settings are only relevant for HTML Help (CHM) and Winhelp
content on (HLP) output. All other formats are always merged when they are
publishing / compiled.
runtime:
For more details see Working with Modular Help Systems 446 .
Merge content on publishing:
This merges the selected project with the project you are inserting it.
The result is one large CHM or HLP file. You do not have to compile
your child projects separately when you use this method. However, you
must take steps 456 to ensure that you do not have duplicate topic IDs
and help context numbers in your projects, otherwise you will
experience unexpected errors in your help.
Merge content at runtime:
This merges the child help file modules into the TOC of the master
when the help is opened on the user's computer. The child help files
must be published separately. If these help file modules (CHM or HLP)
are present in the same folder as the master help file their TOCs will be
merged with the master TOC and the effect is the same as one help
file containing all modules. If the modules are not present on the user's
computer they will not be included in the TOC.
See also:
Creating new topics 110
This sub-menu contains options that control the behavior of the Project Explorer.
Expand / Collapse
These options expand and collapse the Table of Contents and Topic Files display in the
Project Explorer.
Filter
This allows you to filter the Table of Contents display on the basis of your build options/
include options. It will only have any effect if you have actually assigned build options to
your topics. See Conditions and Customized Output 399 for more details.
Note that this function only filters topics in the TOC, it does not filter content in your topics
tagged with build options using the Conditional Text tool.
Split Explorer
Opens up a new view of the selected project or project branch in the Project Explorer.
This can be useful for copying and pasting between different parts of large projects or
separate projects.
You can also undock the split Explorer view (just double-click on its title bar, double-click
again to redock) to make copying and pasting even easier.
9.2.2.2.3 Change
The options in this sub-menu are for changing the properties and functions of selected TOC
items and topic files (some functions are only available for TOC items).
Include in Builds
Sets or clears conditional build/include options for the selected TOC items or topic files.
This feature is used to include or exclude topics from your published output. You can do
the same for content inside your topics with the Conditional Text 628 tool. See Conditions
and Customized Output 350 for details.
Topic Status
This is an editing aid. It allows you to "flag" topics in the TOC with colors associated with
"status" name as a reminder of the current editing status of the topic -- for example
"Needs Review" or "Out of Date". You can define your own status options with Define
Custom Status and you can edit your status definitions in Configuration > Common
Properties > Topic Status.
Topic status is not exported when you publish, it is an editing aid only.
You can also use topic status to exclude unfinished topics from your output. Just select
the option "Complete Only" in the Publish 590 dialog and all topics with a status other than
Complete will not be exported when you publish.
You can also sort and group the display of your files by topic status in the Topic Files file
viewer see Managing topic files in the Explorer 211 for details.
Change Icon
Allows you to change the TOC icon of the selected topics in the TOC. Only the displayed
icons are available in HTML Help (CHM) and Windows Exe eBooks. Topic icons are not
supported at all in ePub eBooks. Icon changes will not be reflected at all in the obsolete
Winhelp format, which only supports the standard icons.
If you want chapter icons to switch automatically between the "open" and "closed"
versions you must use one of the first eight icons and make sure that "Automatic" is
activated in the Change Icon menu.
In Webhelp you can also use your own custom icons, which you can set in
Configuration > Publishing Options > Webhelp > Navigation.
9.2.2.2.4 Find
This sub-menu contains options for locating topics in your project and links to and from
selected topics.
· 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
Find Referrers:
This option displays a list of all links to and from one or more selected topics. It is
normally displayed in the main program window but you can undock it by double-clicking
on its title bar. To redock just double-click again.
The Find Referrers report includes both normal links and links in graphics hotspots 246 .
However, please note that the report does not include any references to topics that may
be contained in scripts, macros or plain HTML code 231 that you have entered yourself.
Dialog options
Topic: The link address of the current topic.
Tip: All the links are active! You can navigate to all the topics and back to
the current topic by clicking on the links in the dialog.
Is referred All the topics in the current project that refer to the selected topic. Links to
by: the topic from other projects are not included, even if the projects are
included in the TOC of the current project as child modules.
Links to: All the topics in the current project linked to by the current topic. Links to
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
used as a snippet 149 .
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.
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 141
Find Topic 585
Find & Replace Text 602
9.2.2.2.5 File
This sub-menu contains options for saving and loading selected text and topics to and from
external files. You can save topics and selected text to Help & Manual XML files. You can
load topics from Help & Manual XML files and also from RTF, RVF, HTML and TXT files.
The Reload Topic command refreshes the current topic – this can be useful when you have
changed a graphics file on the hard disk and also when multiple users are working on the
same project (use together with Refresh Project in the Project tab).
Dialog options:
Load Topic from Create an empty topic before using! Overwrites the current topic with
file: the contents of an RTF, RVF, TXT, HTML or Help & Manual XML
file.
Save Topic to Saves the entire topic to a Help & Manual XML file that you can use
File: as a snippet or load with Load Topic from File. Saves and loads the
topic's keywords with the topic file.
Save Snippet: Text in topic selected:
Saves only the selected text to a simple Help & Manual XML file
without any keywords.
No text selected:
Saves the entire topic to a Help & Manual XML file along with
keywords (same as Save Topic to File).
Reload Topic Reloads the current topic file in the editor. Refreshes graphics if the
graphic file has been changed and can also be used to refresh topic
lock status for multi-user editing.
Get Latest VCS Get the latest version of the file from the VCS database – use to
Version: make sure that you have updated the latest changes when you have
activated manual check-out 346 for the current project.
Check Out: Checks the current topic out of the VCS database so that you can
edit it. Only active if you have set manual check-out for the current
project.
Check In: Checks the current topic back in to the VCS database so that other
users can edit it. Only active if you have set manual check-out for the
current project.
Undo Check Out: Use to 'reset' topics that are already checked out when you open a
project set for manual check-out. This can happen if you or another
user forgets to check their topics back in after editing them. Only
active if you have set manual check-out for the current project.
Show History / Opens the interface of your VCS so that you can view the history of
Show the current topic and the differences between versions. These
Differences: functions are provided by your VCS, not by Help & Manual – see your
VCS documentation for instructions.
See also:
Reusing content with snippets 149
Multi-User Editing 518
Using Version Control Systems 335
9.2.2.2.6 Mini Toolbar
The "mini toolbar" in the Manage Topics group is mainly for editing the
structure of your Table of Contents. You can move topics up and down
and also change the "level" of topics in the TOC this is done by
"demoting" or "promoting" topics. In addition to this the mini toolbar
contains functions for printing the current topic and editing the topic
caption.
You cannot choose a print range because the function always prints the entire
current topic.
The topic is 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 325 . Headers and page
numbers are not included in the printout.
9.2.2.3 Project
The Project group contains functions for publishing your project, jumping to bookmarks and
accessing your Project Configuration settings.
Options: Links to the different sections of the Configuration 652 section of your
project that is also available directly in the Project Explorer.
Refresh Reloads the project and updates the TOC and editor display. This is
Project: particularly useful for multi-user editing but you can also used it to refresh
the display when image files have been changed on the disk etc.
See also:
Project Configuration 652
Comments and Bookmarks 143
9.2.2.3.1 Publish
This option outputs or "publishes" the current project to any of the help and documentation
formats supported by Help & Manual. Some of the features of the Publish dialog change
depending on the output format you select.
Common features:
Output file Where you want to generate your output and the name of the output
and 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 are used in combination with Help & Manual's
Options: conditional output features. Topics and content that are "tagged" with
the options you select here will be included in your output, those that
don't match will be excluded from your output. Please study Conditions
and Customized Output 399 before using!
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.
Topic Status: Only exports topics with the status 585 "complete" to your published
Complete output. This enables you to prevent topics that are not yet finished from
Only being included in your output.
Display file: Automatically displays the output file as soon as it has been generated,
using the appropriate viewer.
Webhelp settings:
Index page: The default index page for Webhelp is index.html. You can change
this here, along with the output path. Help & Manual remembers your
setting for the current project.
Enable local This setting allows you to test your Webhelp in Internet Explorer on
testing for your local machine without having to click away the annoying yellow
MS Internet 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 680 function. If the old files are present the indexer may
attempt to index them, which can cause errors.
Highlight Displays outlines around the hotspots and links in your PDF output.
hotspots: Dead links and hotspots to missing targets are also highlighted.
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.
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.
See also:
Conditions and Customized Output 399
9.2.2.3.2 Bookmark
This option displays a list of the bookmarks in your current project and allows you to add
new bookmarks. Bookmarks mark topics, not positions within topics. You can only add one
See also:
Comments and bookmarks 143
9.2.2.3.3 Options
This provides links to the main configuration sections for your project in the Project Explorer.
These links are just a convenience, all the sections can be accessed directly in the
Configuration section of the Project Explorer. For full details on the settings dialogs
contained in this section see Project Configuration 652 .
See also:
Project Configuration 652
9.2.2.4 Tools
The Tools group provides direct access to a variety of tools included with Help & Manual,
including a full-featured 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 532 chapter,
and some of them also have their own help files.
See also:
Tools included with Help & Manual 532
9.2.2.4.1 Spelling
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 543 in the chapter on the tools included with
the program.
Note that Help & Manual supports live spell checking that marks incorrectly-spelled words as
you type. Just select Spelling > Configure Spell Checker and activate the Check spelling as
you type option.
Productivity Tip
Spell checking is supported almost
everywhere in Help & Manual where you
can enter text. Just right-click to display the
context menu or click on the upper half of
the Spelling tool in the Project tab to
access.
See also:
The Spell Checker 543
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 532 in Tools Included with Help & Manual.
Click on the Extended >> button to display all the options shown in the screenshot
above.
Dialog options
Window, Automatically identifies and captures windows, buttons and other
control or program elements and controls.
menu:
A free region Captures all the contents of a selected rectangular region of the
of 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 the
background color (see below) to create a fake transparency effect.
Experiment!
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 The color of the drop shadow. Black creates a normal grey shadow,
Color: 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 532 (Instructions)
9.2.2.4.3 Image Editor
By default the Image Editor tool in Project > Tools starts the Impict graphics editing
program included with Help & Manual. You can change this to a different graphics editing
program in View > Program Options > 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 536
9.2.2.4.4 Report Tool
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.
See the Report Tool 534 for full details on how to generate reports.
Note that all options that exclude topics will 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 five different report types, with increasing levels of
detail. See below 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 help window types 121 in the report.
window:
Topics with Include only topics with a specific editing status 209 in the report.
status:
File name: Name and location of the HTML file for saving the report. Use the
Reset Options Resets all the dialog options to their default settings.
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 detailed project summary at the end with a list of all the images used in
report: 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 images used in the project with references to the topics in which each
including image is used. In addition to this there is also a list of images found in
image the project's image folders that are not used in the project (useful for
references: tidying up your project folders).
Missing images and dead links are shown in red.
Missing Special report that only locates topics that do not have any index
keywords keywords.
report:
See also:
Report Tool 534 (Instructions)
9.2.2.4.5 Index Tool
This tool displays an editable and fully-functional version of the finished index of your
project. This enables you to polish and tidy your index very easily. For example you can
quickly correct multiple index entries that are similar, and you can test your index links to
make sure that they point to the right places. You can also use the integrated editing tools to
assign existing and new keywords to multiple topics in a single operation.
The Index Tool can be used most effectively in combination with the index keyword entry
Editing tools
Edit keyword Edit the selected keyword simultaneously in all the topics where the
keyword occurs. You can also add the keyword to additional topics by
including them in the list on the left side of the dialog displayed.
Delete Delete the selected keyword from all the topics where it is used. Use
keyword: the tab behind the main editor window to delete keywords from
individual topics.
See also:
Editing the index directly 275
9.2.2.4.6 Manual Designer
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 537
Using PDF templates 330
The Help Context Tool is a wizard integrated in the main Help & Manual program for
managing the context numbers 205 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 539
in the Tools Included with Help & Manual chapter.
See also:
The Help Context Tool 539
9.2.2.4.8 Synchronize
The Project Synchronization tool is used for updating translated versions of your project.
When your original project has been updated you use Project Synch to compare the
updated original project with the old translated project. Project Synch then creates a new
version for the translator containing the changed and new material that needs to be
translated.
See also:
The Project Synchronization Tool 556
9.2.3 The Write Tab
This is the tab where you will probably be spending most of your time while actually writing
the content of your projects. It contains all your text formatting and editing tools and also all
the tools for inserting special help features like toggles (expanding sections and images),
snippets (reusable text blocks), HTML code objects and so on.
9.2.3.1 Clipboard
The Clipboard group contains a standard set of tools for using the Windows clipboard
(Copy, Cut, Paste, Paste as Text). You can use the clipboard tools for copying both content
in topics and for topics and chapters in the Project Explorer, both within the same project
and between multiple projects.
Remember that Drag & Drop also work both in the editor and in the Project Explorer.
See also:
Copying, cutting and pasting text 139
Moving cutting and pasting topics 199
9.2.3.2 Editing
The Editing group contains basic editing commands for finding, replacing and selecting text
and for undoing your editing operations. All these commands are also available via keyboard
shortcuts. You can view and edit the shortcuts in View > Program Options > Shortcuts.
Undo: Undo the last editing action. Note that this must be selected repeatedly for
some more complex actions.
Undo is not available for operations in the TOC!
Select All: Selects the entire contents of the current topic or the current table cell.
See also:
Creating and Editing Topics 108
The Project Explorer 41
Options & Keyboard Shortcuts 31
This is a 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.
Note that you cannot search for or replace text in the topic captions in the Table of Contents
(TOC).
Note that some of the buttons on the right will be disabled depending on where and how
you are searching. For example, you cannot replace in the Table of Contents, but you
can in Captions (TOC captions, topic titles). Wildcard characters are not supported.
Dialog options:
Find in: Search in the current topic (default), all topics from here or all Topics.
Find Where: · Topic text and header searches the content of your topics.
· Topic keywords searches the keywords stored in the tab.
· Table of Contents locates topics in the TOC by their title. Replace is
not supported in this mode.
· Captions searches the TOC captions (topic title) stored in the tab.
Replace is supported in this mode.
· Image filenames searches for references to graphics files. You can
use this mode to "replace" images in your project by making image
references point to different graphics files.
Find All: Finds all occurrences of the search term and displays them in a report
screen with links to the topics.
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 141
Find Topic 585
Find Referrers 586
9.2.3.3 Styles
The Styles group contains the main functions for editing and manipulating text, paragraph
and table styles. Using styles effectively can radically speed up your work and will also make
your projects look more uniform and professional. They will also save you a lot of time
once you have got styles set up you can change the fonts and formatting in your entire
project in a couple of minutes just by changing your style definitions.
Create Style Uses the text and paragraph settings at the cursor position to create a
from new style or redefine an existing style.
Selection:
Replace Global search and replace operation to replace formatting and styles in
Styles: your entire project. Searches for text attributes and paragraph attributes
separately.
This option turns the current selection into a dynamic style that you can reuse. Formatting
text manually and then turning it into a style is often 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 Redefine an existing style. The style assigned to the current selection
existing or cursor position is the default but you can select another style to
style: redefine.
New style Enter a new name or accept the name of the style you want to redefine.
name:
Based on Select a "parent" child to make the new or redefined style the child of
style: 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:
Edit Styles: Opens the Edit Styles dialog for more detailed styles editing.
See also:
Text Formatting and Styles 155
Defining styles 161
9.2.3.3.2 Edit Styles
This dialog contains all the settings for creating and editing text, paragraph and table styles.
For full details on creating, editing and using styles please see Text Formatting and Styles 155
.
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 change 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.
Remove Style 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.
Copy Styles Copies the styles definition set from another Help & Manual project.
From...
This completely overwrites the current style definition set, replacing
it with the definitions of the other project.
Screen View / You can define two sets of different settings for each style: Screen
Print Manual View is for electronic help formats (HTML Help, Winhelp, Webhelp
View and Windows Exe and ePub eBooks), Print View is for page-style
formats (PDF, Print User Manual, Word RTF).
You can switch between the Screen and Print View style settings in
the Help & Manual editor by clicking on the Screen/Print button in
the status bar at the bottom of the main program window.
Font, These buttons display the dialogs for formatting the Font, Paragraph
Paragraph, and Borders & Backgrounds attributes of the current style. The
Borders (Text & dialogs are exactly the same as the standard Format Font 606 ,
Paragraph Format Paragraph 609 and Format Borders & Backgrounds 611
Styles) dialogs.
Modify Layout Displays the layout settings for table styles. These settings are a
(Table Styles) subset of the normal Table Properties dialog.
Reset Style Resets the current styles to the default settings. Always use this
before defining a text-only style 161 to make sure that you do not
accidentally include paragraph or border attributes.
See also:
Text Formatting and Styles 155
Dynamic Styles 711
9.2.3.3.3 Replace Styles
This is quite a complex and powerful tool for replacing formatting and styles globally
throughout your entire project. It replaces font and paragraph styles and settings separately,
in two separate operations, and requires a little planning to use. See Replacing Formatting
and Styles 497 for details.
See also:
Replacing Formatting and Styles 497
9.2.3.4 Font
Most of the formatting tools in the Font group should be self-explanatory, they are exactly
the same as in any word processor. There are just a couple that deserve extra mention and
explanation.
Protect Text: Protects text from change and translation. Select text
and click to apply. Protected text is displayed with a
shaded background and is tagged with the attribute
translate="false" in the XML source code of your topic
file.
Style selector: Shows the style applied to the current text at the
cursor and can be used to select a new style. Used
for both text and paragraph styles. If text is manually
formatted or imported you must select it first to apply
a style, otherwise the style will be applied to the entire
current paragraph.
See also:
Text Formatting & Styles 155
Formatting Program Source Code 195
9.2.3.4.1 Format Font
Horizontal This "stretches" or "compresses" the text horizontally. The effects are
scaling: shown directly in the preview box.
See also:
Text Formatting and Styles 155
9.2.3.4.2 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 195 .
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 Loads your own list of reserved words to be used by the highlighter for
reserved the current language. Load the words from a plain ASCII file with one
words: 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 Resets all settings for the current language to the default values. This
defaults: also replaces any reserved words you have loaded.
See also:
Formatting program source code 195
9.2.3.5 Paragraph
The Paragraph group contains the tools for formatting paragraphs manually. In addition to
justification, line spacing and indents this also includes tools for creating bulleted and
numbered lists and applying borders and background colors to paragraphs.
The following reference only shows the Paragraph group tools that are not entirely self-
explanatory.
Lists: Tools for bulleted and numbered lists. List definitions are separate
from styles. Click on the arrows next to the list tools to display a list
style gallery and the options for opening the list dialogs.
Indents: Increase and decrease paragraph indents. These tools are disabled
in single-level bulleted and numbered lists. In multi-level outline-style
lists they change the level of the current list element.
Borders and Displays a menu in which you can apply individual simple borders or
Shading: open the full Borders and Backgrounds dialog to set more complex
options for the current paragraph.
Text marks: Clicking this tool displays paragraph end markers and tab characters
in your text so that you can see them more easily. You can turn this
on permanently with the settings in View > Program Options >
Editor.
See also:
Text Formatting and Styles 155
Numbered and bulleted lists 180
9.2.3.5.1 Format Paragraph
Internally, Help & Manual handles all measurements in pixels. For maximum precision
working in pixels rather than inches or centimeters is recommended. You can change your
measurement units setting globally in View > Program Options > Editor > Ruler Units
647 .
should be self-explanatory. Note that tab stops are not supported in HTML-based formats
and should generally only be used in hanging indents, where they are automatically
converted in HTML output. Please see Using indents 172 for details on using indents in
help files.
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 Keeps the paragraph with the next paragraph at a page break.
paragraph Generally only used for headings. If you use empty paragraphs after
with next: 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.
In HTML-based output formats turning off word wrap is achieved by
converting all spaces to non-breaking spaces. You can then also use
leading spaces for indenting text.
See also:
Text Formatting and Styles 155
Using indents 172
Tabs, indents and HTML 722
9.2.3.5.2 Format Borders and Background
This dialog is displayed by clicking on the Borders tool in the Write > Paragraph group
and the selecting Borders and Shading.
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 155 and for defining styles
161 .
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.
Multiple paragraphs with a background color may have white space between them.
Multiple paragraphs with borders will have individual borders around each paragraph
instead of one border around all paragraphs. To avoid these problems press SHIFT-
ENTER instead of ENTER between paragraphs with borders and backgrounds.
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 155
9.2.3.5.3 Format Bullets and Numbering
This dialog is displayed when you click on the Bulleted or Numbered List tool in Write >
Paragraph and then select the Bullets and Numbering option displayed below the list styles
displayed.
To apply a bulleted or numbered list select paragraphs in the editor, display this dialog and
then select one of the list styles.
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 180 for
details.
Restart Select to restart the numbering of the current item or list with a
numbering / different number. You can also use this to reset the numbering of a
Start at: list to begin at 1.
Reset: Select to reset the current bullet or numbering style to its default
settings.
Levels: Number of levels in the list. This is not active for bulleted lists, which
always only have one level.
Level Formatting and style for the current level. Bulleted lists always only have
Format: one level.
Select Select a different character to use for the bullet in the bulleted list. The
Bullet: 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 The format of the number displayed in the list. The variable <L1>
format: 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 Only active for lower levels of outline numbered lists (see below).
numbering at:
Legal Activates legal numbering style for outline numbered lists, with all the
numbering list numbers at the left margin (see below).
style:
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 The format of the number displayed in the list. The variables <L1>,
format: <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 Resets the starting number of the current level. Only active for lower
numbering at: levels of outline numbered lists.
Legal Activates legal numbering style for outline numbered lists, with all the
numbering list numbers at the left margin. This setting must be set separately for
style: each level of an outline numbered list!
See also:
Text Formatting and Styles 155
Numbered and bulleted lists 180
9.2.3.6 Insert / Insert Object
The Insert and Insert Object groups in the Write tab are particularly important. They
contains options for inserting different kinds of hyperlinks and all the objects that you can
use in Help & Manual topics in addition to text. You can also insert tables here so that you
don't have to switch to the Table tab while you are working.
Insert group:
Link: Displays the dialog for inserting hyperlinks in your topic. You can
insert topic links, file links, internet/email links and links that run
scripts or macros. Select text first to create
Table: A graphical tool for inserting tables quickly and a link to the
standard Insert Table dialog.
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 Webhelp.)
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.
HTML Code Displays the dialog for inserting inline HTML code in your topics for
Object: adding features and functionality in HTML-based output formats.
This code is ignored in all non-HTML based output formats.
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
Snippet: Inserts a topic or an external Help & Manual XML file as a snippet
which can be either linked or pasted. Linked snippets are dynamic
and update automatically when the linked file is changed. Pasted
snippets are like ordinary cut and paste.
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 with Bookmark in Project > Project. Comments
and bookmarks are not included in your output.
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.
See also:
Using Graphics 238
Adding video files 269
Re-using content with snippets 149
Using OLE Objects 494
Using Context-Sensitive Help 369
Using Variables 376
Conditions and Customized Output 399
9.2.3.6.1 Link
This dialog contains all the options for inserting hyperlinks in your topics. For detailed
instructions see the Links, Anchors, Macros Scripts and HTML 214 chapter. The appearance
of the dialog changes depending on the kind of link you are inserting.
Style:
Link: The standard link format: text link, displayed in blue with an underline.
Text: Displays the link as plain text that you must format yourself in the
editor. If you don't format the link it will be active but it will not look any
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. The supported
graphics types are indicated by file extensions are displayed in the
dialog displayed when you click on the Browse button to select a 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.
Window: Only relevant in HTML Help and Winhelp. If you have defined
secondary window types for your project you can select a different help
window type for opening the target topic.
In Winhelp selecting a secondary help window here always opens the
topic in an external window, with all the properties of the help window
type (background colors, position, size, viewer buttons and controls).
In HTML Help selecting a secondary help window here only opens an
Target: The topic ID of the topic you want to link to. Select the ID from the list
or type its name in the entry field. Each letter you type will automatically
display the first topic matching that letter.
Anchor: Use to link to an anchor inside the selected topic, so that clicking on the
(drop-down list link takes the user directly to the position of the anchor. Anchors are
next to Target:) 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 or
parameters: a file name to follow an executable program.
Test 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: Webhelp output.
Script: Enter your script or Winhelp macro here. See the documentation of
Microsoft Help Workshop for details on Winhelp macros.
Note on JavaScript:
JavaScript links are generated as follows:
<a href=" contents of Script window ">
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.)
Load from These buttons allow you to save and load blocks of script and macro
File: code that you want to reuse.
Save to File:
Load from file.. loads a text file to the current cursor position in the
script window.
Save to file.. saves the entire contents of the script window to a text
file.
See also:
Inserting script and macro links 223
Scripts, HTML and Macros 758 (Reference)
9.2.3.6.2 Image
This dialog contains all the options for inserting graphics in your topics. For detailed
instructions see the Working with Graphics 238 chapter. In addition to this also see the The
Impict Screenshot Editor 536 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 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
images with ID attributes.
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 Configuration > Publishing
Options > Webhelp / 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 242 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 624 , with which you can add clickable areas
with hyperlinks to your graphics.
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 214 and
Graphics with hotspots, macros and scripts 246 .
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 and
hotspot: position of the hotspot by dragging with the mouse or by entering values
here.
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 214
and Graphics with hotspots, macros and scripts 246 .
See also:
Graphics with hotspots, macros and scripts 246
Links, Anchors, Macros, Scripts and HTML 214
9.2.3.6.4 Movie
This option is used to insert movies in your topics for the output formats that support them.
See Flash Animations and Video 269 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 from
Placeholder: the movie or insert a an image from a graphics file or the Windows
clipboard.
Width / Shows the dimensions of the movie as found by Help & Manual.
Height: 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 results will
generally be terrible! Only use them to correct dimensions to the actual
values.
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 Display simple player controls for the user. You may need to activate
controls: this option in the case of some video formats and/or browsers. This
option is not displayed for Flash movies, which must have their own
embedded controls.
Requires Enter the version of the Flash plugin or player required to play your
Flash: Flash movie. If the user has the incorrect version they will be prompted
to upgrade before playing.
See also:
Adding Video Files 269
9.2.3.6.5 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
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 205 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 281 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 226
9.2.3.6.6 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 More... displays the Text Variables section in your Project Configuration so that
you can edit existing variables or add new ones.
See also:
Using Variables 376
9.2.3.6.7 Conditional Text
This dialog is used to insert include option conditions in your topics to control what is
included and excluded from your output on the text level. See Conditions and Customized
Output 399 for more details.
Note that conditions set in the text work in combination with the options you select in the
Compile Help File 590 dialog when you compile your project.
Dialog options:
IF Marks the beginning of a positive include option condition for all the
options selected in the list on the right (tagged content is included if the
condition evaluates TRUE). You can select multiple conditions.
The text and other content enclosed by the condition will be included in
your output if one or more of the selected conditions are fulfilled (OR
logic).
IFNOT Sets the beginning of a negative include option condition for all the options
selected in the list (tagged content is included if the condition evaluates
FALSE). Here too, you can select multiple conditions.
The text and other content enclosed by the condition will only be included
in your output if none of the selected conditions are fulfilled (OR logic).
ELSE Marks the beginning of text to be included if the previous condition is not
fulfilled. This tag must be inserted between a pair of IF/ENDIF or
IFNOT/ENDIF condition tags.
For example, if the output format is HTML Help (CHM) the following
condition will output TEXT 1, otherwise it will output TEXT 2:
ENDIF Marks the end of an IF or IFNOT condition. If you select text in the editor
before invoking this function the ENDIF tag is added automatically at the
end of the selected text.
Opens the dialog for defining and editing user-defined include options.
See also:
Conditions and Customized Output 399
Compile Help File 590
Publishing Your Projects 311
9.2.3.6.8 Toggle
This dialog is used to insert expanding sections, text and images, known as Toggles 350 , 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.
See also:
Toggles: Expanding Text and Images 350
9.2.3.6.9 HTML Code Object
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 Webhelp 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.
Load from Saves the contents of the editing window to a text file so that you can
File: reuse it.
Save to File: Loads the contents of a text file to the current cursor position in the
editing window.
See also:
Inserting plain HTML code 231
9.2.3.6.10 Comment
This function inserts a comment in the current topic with information, reminders or questions
for the authors or reviewers of the project. Note that comments are an editing aid only – they
are not included in your published output!
· Just type your comment in the editing box and click on OK to insert it at the cursor
position.
· Show comment as icon only displays the comment as a red "pin" icon in the editor.
See also:
Comments and bookmarks 143
Image caption and comment styles 176
9.2.3.6.11 Snippets
This option inserts a topic from the current project or an external Help & Manual XML topic
or snippet file in the current topic at the cursor position. You can insert snippets in two
modes: Paste and Linked. Pasted snippets are just like normal pasted text from any other
source. Linked snippets are dynamically linked to the source topics or files and will updated
automatically when the sources are edited.
When you compile your project a copy of the linked snippets is inserted in the output
linked snippets are only dynamic while you are editing.
Dialog options:
Select Select the topic ID of the topic you want to insert as a snippet.
topic:
Copy & Pastes the contents of the snippet file at the cursor position. After this you
Paste can edit it normally, just like any other text. Pasted snippets are not linked
to the source file.
Snippet is Creates a link to the original topic. The contents of the snippet cannot be
linked edited in the editor but they will update automatically when the original
topic is changed.
Dialog options:
Snippet The snippet file you want to insert. This must be a valid Help & Manual
file: XML topic file or snippet file. You can create snippet files from topics and
selected text with File > Save Snippet in Project > Manage Topics.
Help & Manual Professional only:
If you are using Help & Manual Professional you can save your projects in
the uncompressed XML format (.hmxp option). When you do this you can
load any topic file from another project directly as a snippet.
Copy & Pastes the contents of the snippet file at the cursor position. After this you
Paste can edit it normally, just like any other text. Pasted snippets are not linked
to the source file.
Snippet is Creates a link to the snippet file. The contents of the snippet cannot be
linked edited in the editor but they will update automatically when the original
snippet file is changed.
Use project Select this to add the path to the snippet file to your Project Search Path 656
search in Configuration > Common Properties in the Project Explorer. If you
path do not select this option the path to the snippet will be stored in the topic
with the snippet and the link to the snippet will be dead if the snippet is
ever moved.
It is a good idea to use this option and to keep your snippet files organized
in easily-accessible directories. You can then move your snippets and
Help & Manual will still be able to find them if you update the Project
Search Path. This will make it easier to transport your entire project and to
send out all the components of your project for translation if this ever
becomes necessary.
See also:
Using embedded topics 149
9.2.3.6.12 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
you can edit it.
Depending on how you create them, OLE objects are either embedded in your topic file or
inserted as links. We recommend using the link method, this generates fewer overheads
and allows you to edit the files without opening Help & Manual.
Important: OLE objects are only linked in the Help & Manual editor. In your compiled output
they are just bitmap graphics. This is necessary because the documentation formats do not
support live OLE objects.
When you compile your output OLE objects are converted to bitmap graphics. They are not
exported to your published 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 because they
would be converted to static bitmap images.
Create from File mode dialog options:
Create from Insert an existing file as an OLE object.
File:
Create New: Open an OLE-enabled program to create a new OLE object. See
below.
File: Click on Browse to select the file to insert. This file does not have to be
in your project folder.
Display as Displays an icon to represent the object in the editor instead of the
icon: contents of the OLE object file.
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 Displays an icon to represent the object in the editor instead of the
icon: contents of the OLE object file.
See also:
Using OLE Objects 494
About using OLE objects 757
9.2.3.6.13 Special Characters
This function allows you to insert special characters not available directly via the keyboard. A
number of common special characters are available from the menu. Clicking on More
Symbols... displays the following dialog:
· Just select the font you want to use, then select the character and click on Insert 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 143
Properties: Opens the Table Properties dialog to edit the properties of an existing
table. You must select this if you want to set or change the style for the
current table.
New Table: Opens the dialog for defining and inserting a new table at the current
cursor position. Same options as in the Write tab.
Merge Options for merging, splitting and unmerging table cells and rows. Only
works on selected cells.
Lock Column: Locks or unlocks the width of the selected column or columns. 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.
See also:
Working with Tables 253
9.2.4.1 Table Properties
This dialog is displayed by clicking in a table and selecting Properties in the Table tab. It
defines or changes the formatting, layout and appearance of entire tables and selected parts
of tables. It is also displayed automatically when you create a new table. See Working with
Tables 253 for details on creating and using tables.
Table Size
Rows: If you are creating a new table these values define the total number of
Columns: rows and columns in the table.
In an existing table increasing the values adds rows and columns in the
last row and column and decreasing the values deletes rows and
columns from the last row and column (i.e. rightmost column and
bottom row).
For more precise control over adding and deleting rows and columns
use the Insert and Delete functions 259 in the Table menu.
Table ID: This setting is optional. It assigns an ID attribute to the <table> tag
that you can reference in your own HTML code.
Most users should leave this blank. Only use it if you really plan to
reference your tables by ID with your own HTML and CSS code.
If you assign your own IDs to the tables used in toggles 351 you must be
very careful not to use the same ID more than once in any topic If you
do your toggles will not work properly.
Layout
Table Style: Selecting this applies the selected table style 263 to the table. Any
attributes you change after applying a style will not be under the control
of the style they are like manual formatting in a paragraph formatted
with a style.
Table can Tables can now split automatically at page boundaries for PDFs and
split to next printed manuals generated with Application Button > Print User
page: Manual 575 .
Page breaks are possible inside table rows but not in rows containing
nested tables 266 .
Number of The heading rows option repeats the first x rows of the table at the top
heading of the table when it is continued on the following page.
rows:
If you enter 0 for the heading rows the table will not have a heading.
Alternating Background color for alternating table rows. The main background
row color: color is set by the Table has solid color: setting (see below). This
setting defines the color for every other row.
Autosize Creates a table that calculates its size on the basis of the contents of its
table: 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.
In the editor an autosized table initially occupies the full available width
of the current paragraph (if the paragraph has indents the table will be
narrower than the page). You can adjust column widths with the mouse
after adding content (note that this locks the width 256 of the columns).
In PDF, printed manuals and RTF autosized tables appear exactly as
the are displayed in the editor, filling the entire width of the paragraph/
page.
In HTML-based output formats autosized tables are only as wide as
their content. If all columns contain full paragraphs the table will be as
wide as the page but if the columns only contain small amounts of text
the table will be narrower than the page.
Size table to Creates a table that is permanently maximized to the width of the
fit on page: current paragraph (if the paragraph has indents the table will be
narrower than the page). This is exactly the same as setting a width of
100% with the Size manually option.
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, 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.
Table has This selects an opaque background color. If you also set a color for
solid color: alternating rows (see above) this color is only used for the alternating
rows of the table.
Background This allows you to use a graphics file as the background for your table.
picture: See Using background graphics 267 in the Working with Tables
chapter for details.
Select Tile to repeat the background picture, Center to center it in the
table.
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 This defines the border around the edges of the table.
around 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 266 for details.
Cell Padding and Spacing
Cell padding: This is the space between the edge of the cell contents and the border
of the cell.
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
266 .
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.
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 253
9.2.5 The View Tab
The View menu contains options for changing Help & Manual's appearance and behavior.
In addition to changing the color and style of the program window you can also access the
Program Options 643 dialog with extensive configuration options for all aspects of the
program.
Most of the settings in these dialogs are self-explanatory. For more details see Options &
Keyboard Shortcuts 31 .
Productivity Tip
We have left extra room in this tab to allow
you to customize it for your own needs.
You can use it for storing your own set of
Help & Manual functions and controls
use the Ribbon customization options in
Program Options.
See also:
Customize 643
Customizing Help & Manual 31
9.2.5.1 Program Options
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 Configuration
652 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 652
Options & Keyboard Shortcuts 31
9.2.5.1.1 Program Options - General
These options control how Help & Manual starts up, automatic backups, automatic update
checking and some other general features.
Automatically Checks for the availability of a more recent version of Help & Manual.
check for New versions are published regularly, both to provide new and
updates: 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 "now and then" 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 it, but
more frequently than once a month. It will check more often in the
beginning and less often if it gets frustrated because it hasn't
successfully detected an update for a while. That could be once a
week or so. But it never checks for updates on Sundays and
occasionally does on weekdays, except if the day is a holiday in
Austria. It only checks for updates when it is idle and there are no
other urgent tasks to process and it stops checking when it finds
that you are on lunch break (it figures you will not read the
message while you are away).
Note: The above is not entirely serious...
Visual effects Turn this on if the user interface display in the Project Explorer
are seems to be too slow on your system.
performance-
optimized:
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 are saved in single-file compressed mode with the
extension .hmxz~~ to make them readable Help & Manual projects
just delete the ~~ characters from the file extension.
Open last help Automatically loads the last project(s) you had open when you start
project on Help & Manual.
start:
Empty Automatically clears the Windows Clipboard when you exit the
Clipboard when program.
Help & Manual
closes:
Default image By default Help & Manual starts the integrated Impict graphics editing
editor: program when you click on graphic in the Help & Manual editor and
then select the Image Editor tool in the Project tab. This setting
allows you to change this to a different graphics editing program.
See also:
Options & Keyboard Shortcuts 31
9.2.5.1.2 Program Options - Ribbon
You are free to configure the Ribbon toolbar to suit your own preferences. If you wish, you
can completely rearrange all the tools in all the Ribbon tabs. However, be warned that if you
do this referring to the help will become difficult, because the documentation always refers to
the standard layout.
Tip: You can use the View tab as your own personal tab. We have intentionally left this tab
almost empty and all the standard functions can be removed because they are also
available elsewhere. The Quick Access Toolbar can be customized directly and the
Program Options are also available in the Application Menu.
Ribbon color Change the colors of the Ribbon and the entire program interface.
scheme:
Groups in this The function groups included in the selected tab. Select and use
tab: Remove>>, Move Up and Move Down to edit.
Available Shows all the available function groups. To add a group to the current
groups: tab select it and then click on <<Add.
See also:
Project Properties 652
Options & Keyboard Shortcuts 31
9.2.5.1.3 Program Options - Shortcuts
You can use these options to assign keyboard shortcuts to most program functions. You can
also change the standard keyboard shortcuts that are already assigned if you want, although
this is generally not recommended.
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). Select
shortcut: 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 652
Options & Keyboard Shortcuts 31
9.2.5.1.4 Program Options - Editor
These options adjust the appearance and behavior of the Help & Manual editor.
Ruler units: You can select pixels, inches, centimeters or points. Pixels are
recommended for maximum accuracy – Help & Manual handles all
sizes internally in pixels and all other units must be converted.
Display a vertical Display a vertical ruler to the left of the editor as well as a
ruler: horizontal ruler.
Show paragraph Makes tabs, paragraph end marks and spaces visible in the editor.
and text marks in This can be useful for identifying formatting problems. Can also be
editor: switched on and off with in Write > Paragraph .
Show spaces:
Custom DPI Changes the font size used to display text in the editor pane. This
settings for text does not affect your output, it is only to make text easier to read
editor: 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.
This setting can also be changed with the DPI setting in the status
bar at the bottom of the main Help & Manual program window.
Font settings for Allows you to select a different font for the XML source code editor
XML and HTML and the HTML code editors used for HTML templates, HTML code
editors: objects etc.
Only fixed-space console fonts like Courier New or Lucida Console
will look good in these editors.
Show strong Uses darker and slightly thicker grid lines to show the borders of
table grid lines in tables. Can be useful to make tables more visible on some
edit mode: monitors.
Automatically When this setting is active Internet URLs and email addresses will
detect URLs while automatically be turned into Internet links 218 as you type.
typing text:
Auto-correct Topic IDs containing blanks are invalid in many output formats so
blanks in topic we strongly recommend leaving this option active.
IDs:
Apply status to Choose a status (highlight color and name) to be applied to new
new topics: topics automatically. Note that only the standard status settings
(Needs Review, Out of Date, Under Construction) can be used for
this. User-defined status settings are stored with your project, not
with your program settings, and are thus not available here.
After changes set Automatically change the topic status to the value you specify after
status to: editing changes have been made.
Display color for Sets a custom color for highlighting read-only topics and other
read-only TOC items in the TOC. This is mainly relevant for multi-user editing and
items: can make locked topics easier to identify in the TOC.
See also:
Project Properties 652
Options & Keyboard Shortcuts 31
9.2.5.1.5 Program Options - Compilers
These options configure the paths to the Microsoft compilers used to generate HTML Help,
the obsolete Winhelp format and Visual Studio Help / MS Help 2.0. You can also select the
compiler messages to display during compilation. The paths to these compilers will usually
be found automatically during installation. Only change them if you really need to.
Compiler It is a good idea to leave all these messages activated as they make it
messages: much easier to identify problems when you are compiling.
Export This setting is used to prevent dead links if when you are excluding
excluded topics from your output with Help & Manual's conditional output tools.
topics if When this is selected excluded topics will be exported anyway if they
referenced: are referenced in links in other topics in your project. If it is not
selected you will have dead links in your project.
Topics exported in this way do not have TOC entries they are
exported "invisibly" and will only be displayed when the user clicks on
the links referencing them.
Remove dead This is an alternative method for dealing with dead links to excluded
links to topics. If you select this option Help & Manual will simply delete dead
excluded links to excluded topics when you publish.
topics:
This is really only recommended for testing purposes because the
deleted links may leave gaps in your text!
Help The paths to the Microsoft compilers for Winhelp, HTML Help and
Compilers: 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
only relevant for programmers documenting Visual Studio .NET
components. It is irrelevant for all other purposes and cannot be used
as a general help or documentation format for application programs.
Search for Attempts to locate the necessary compiler executable files in your
compilers: Program Files directory.
See also:
Project Properties 652
Options & Keyboard Shortcuts 31
9.2.5.1.6 Program Options - PDF Export
This tab can be used to set a different "reference printer driver" for generating PDF output.
The PDF engine must have a printer driver to generate PDF files – if you don't have any
printer installed on your computer the screen driver will be used to generate PDFs.
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
Use screen as Uses the computer's screen driver as the reference device for PDF
reference output. Help & Manual defaults to this setting if you have no printer
device: installed. This option is generally preferable unless your projects
contain EMF or WMF graphics. If you use EMF or WMF graphics
you should choose a printer driver, otherwise the graphics may not
display or may be clipped.
Use default Uses the default printer driver for PDF output. Leave this setting
reference selected if your PDF output is OK.
device:
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 652
Options & Keyboard Shortcuts 31
Productivity Tip
You can use both user-defined variables
and global variables in the text fields in
your configuration settings. For example
you could use © <%\YEAR%> by <%
AUTHOR%> for your copyright message.
There are three groups of settings in Project Properties: Common Properties, HTML Page
Templates and Publishing Options. In addition to this the
Common Properties:
These settings define things like the name of your project displayed in help window title
bars, copyright messages, language settings, where images and snippet files used in the
project are stored, text variables used in the project and so on. This is also where you will
find the help window definitions used to configure the help viewers used to display
Microsoft HTML Help (CHM) and Winhelp (HLP) formats.
It is always a good idea to check all the settings in this section when you create a new
project.
content from the editor provides everything that goes between the body tags.
Advanced users can edit the source code of the HTML page templates directly to
customize their output in any way they like.
Publishing Options:
These settings are organized in sections by output format. They allow you to control how
each output format is handled, providing a high degree of customization. For example, in
the Webhelp section you can directly edit all the additional HTML templates that define
the frameset and the Contents, Index and Search pages of your Webhelp output. In
HTML Help you can configure different modes for popup topics, in PDF you can choose
between interactive and static PDF files and so on.
Text Variables:
This section allows you to define and store any number of variables for use in your
project. You can use both plain text variables for inserting text anywhere in your project
(also in the TOC, keywords and Configuration) and HTML variables for inserting HTML
code in your HTML templates and HTML code objects.
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 406 . 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 590 dialog when you
compile.
Help Windows:
Help Window definitions are only used in the Microsoft HTML Help (CHM) and Winhelp
(HLP) formats. They control the appearance and features of the Windows help viewers
used to display these formats. In addition to this they can also be used to display
individual topics in external windows when you link to them from your topics.
Help title: The title of your help project. The text you enter here can be inserted
anywhere in your project with the <%TITLE%> variable.
For example, in HTML Help and Winhelp you can display it in the title
bar of the help viewers by inserting the <%TITLE%> variable in the Title
bar text: field for the Main help window definition in the Help Windows 660
section (this is the default setting).
In Webhelp this text is inserted in the title bar of the web browser by
using the <%TITLE%> variable in the <title> tag of the frameset file in
the Layout 674 section (this is the default setting).
Author: The author of your help project. This text is not used automatically by
Help & Manual. You can insert it yourself anywhere in your project with
the <%AUTHOR%> variable.
Summary: A short text describing your project. This text is not used automatically
by Help & Manual. You can insert it yourself anywhere in your project
with the <%SUMMARY%> variable.
Copyright: The copyright notice for your project. This text is not used automatically
by Help & Manual. You can insert it yourself anywhere in your project
with the <%COPYRIGHT%> variable.
Comment: Space for a comment about your project. This text is for internal
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
Version:
The variables corresponding to the individual components are <%
Build VERSION_MAJOR%>, <%VERSION_MINOR%> and <%VERSION_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 83
Using Variables 376
9.3.1.2 Language Settings
These settings are very important for correct handling of languages and character sets in
your output. Before making any changes here please study the International Languages and
Unicode 819 chapter in the Reference section carefully. For more detailed instructions for
individual languages please also refer to International languages setup 94 in the Creating
Projects chapter.
Language of Defines the language of the help file. This option controls sorting in the
help file: keyword index and full-text search in the published help file. In addition
to this it also identifies the language to the system for proper handling
of languages with special character sets and languages requiring
Unicode 820 for proper processing.
· The default setting (English United States) works correctly for all
Western European languages and should not be changed unless
really necessary.
· The language setting should be changed for Eastern European
languages (including Greek and Turkish) and the Font character set
setting (see below) should then be set to match.
· This setting must be changed for all Asian languages and other
languages requiring Unicode 820 support (all languages with more
than 255 characters that store characters as two bytes). Here too,
the Font character set must also be set to match. Correct Unicode
support for these languages is not possible without a correct
language setting and a matching font character set setting.
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.
Right-to-left support is only available in HTML Help (CHM). It is not
supported in any other output format.
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 Defines the character set to be used both in your compiled help file
character 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 820 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 Microsoft Winhelp and HTML Help for their dialog boxes
and table of contents entries. The default is MS Sans Serif,8,0 and
both Winhelp and HTML Help are optimized for this font. If you change
this font always test thoroughly before publishing your help.
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.
Default This setting specifies the topic that is automatically displayed when an
("Home") electronic help file is opened (Winhelp, HTML Help, Webhelp,
topic: Windows Exe eBooks). This setting is not supported in ePub eBooks.
See also:
International Languages Setup 94 (Procedures)
International Languages and Unicode 819 (Reference)
Test-compiling Asian languages on non-Asian Windows 313
9.3.1.3 Project Search Path
This section contains the relative paths to folders where you store the graphics and external
snippet files 149 used in your project.
Key Information
The project search paths are all relative to
the project directory the full path is only
shown for information. This makes it easier
to move your project and your graphics
and snippets folders.
Controls:
To insert a new entry click on Add Entry and navigate to the folder you
want to add.
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 238
Reusing content with snippets 149
Managing your graphics 249
9.3.1.4 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.
Controls:
Add a new variable to the list. Variable names can contain spaces.
Variable names are converted to all upper case characters automatically.
After creating a variable select the Type (HTML or Text), then enter the
value in the Value column. There is no effective limit on the amount of text
you can enter. The theoretical limit is 2 gigabytes...
Select to delete variables from the list. Does not check whether the
variable is in use in your project.
Undefined variables will be output to your project as the variable name.
You can search for them and remove them as normal text with Find &
Replace in the Write tab.
Imports a list of variables and corresponding values from a plain text file,
adding them to the project's variable list. You must set the variable type
(HTML or Text) manually after importing the list the type cannot be
stored with the 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
WEBSITE=<a href="http://www.acmecoyote.com/">Acme Coyote Products</
a>
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 376
9.3.1.5 Custom Builds
This section allows you to define your own include options, which are also referred to as
build options. These options s 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 Publish
590 dialog when you compile.
See Conditions and Customized Output 399 for details on using this function in your projects.
Controls:
Select to add a new user-defined build option.
Spaces and a number of special characters are not allowed in build option
names. They will simply be removed if you enter them. It is best just to use
A..Z and 0..9. All the characters you enter will also be converted to upper
case.
The Display Text is displayed in the lists of build options used in the
program to help you identify the individual options. By default it is the same
as the build option name but you can change it if you want. Just click in the
text in the Display Text column and edit.
See also:
Conditions and Customized Output 399
9.3.1.6 Topic Status
This section allows you to modify the standard "topic status" colors and names that you can
use to identify topics in the Table of Contents while you are working. You can also define as
many custom status types as you like. When you publish your project you can select Export
"complete" only to exclude unfinished topics from your published output.
Controls:
Define a new custom status. You will first be able to define the new status
name then the color picker will be displayed so that you can define the
highlight color. Choose a light color that will not obscure the black text in
the Table of Contents!
Deletes the current status definition from the list. You can only delete
user-defined status definitions. The three standard definitions cannot be
deleted.
See also:
Topic icon, status and timestamps 209
These settings define the appearance and behavior of the help viewers used to display the
Microsoft HTML Help and Winhelp formats. They are completely irrelevant for all other
formats.
These help viewers are components of Microsoft Windows. The settings in the help window
definitions can only control the features provided by the viewers. For more information see
Help Windows 807 in the Reference section.
See also:
Using help windows 121
Configuring Your Output 292
Templates and Secondary Windows 416
Help Windows 807 (Reference)
9.3.1.7.1 General Options
These common properties are displayed at the top of the editing screen and are always
available no matter which tab is selected.
Select Select a help window definition for editing. By default only the
window: standard Main window is defined. Click on Add to create additional
secondary help windows. Remove deletes the current secondary help
window (Main cannot be deleted).
Window This is the identifying name of your help window type, which is
name: displayed in the Help Window: field in each topic's tab. It is
restricted to a maximum length of 8 characters. No spaces or non-
alphanumeric characters are allowed.
You cannot rename a secondary help window once you have created
it.
Title bar text: This is the text displayed in the title bar of the help viewer in HTML
Help and Winhelp. You can enter different texts for secondary window
definitions to display different titles in the title bars of external
windows.
By default this field contains the <%TITLE%> variable, which
automatically displays the text entered in Help Title: field in the Title &
Copyright 654 section, so you only need to change this if you want to
display a different text.
Size and Defines the size and position of the main help viewer for Main and for
position: external windows for secondary help window definitions.
Note that in HTML Help these settings are only used the first time the
help is opened for the main help viewer. After that Windows stores the
user's own settings and re-uses them the next time the help is
opened. The settings will always be used for external windows,
however.
Position The Position Wizard displays a dummy window that you can position
Wizard and resize on the screen to set the size and position values.
If you have a dual monitor system use the position wizard in the
primary monitor and make sure that the primary monitor is on the left:
On dual-monitor systems the 0,0 position is defined as the top left
corner of the primary monitor, so doing this will make sure that the
resulting values also work on single-monitor computers.
See also:
Using help windows 121
9.3.1.7.2 HTML Help Options
The options in this tab only apply when you compile your project to HTML Help. They control
the appearance and behavior of the main HTML Help viewer (Main help window) and the
viewer windows for external windows 429 (user-defined secondary windows).
Specifying a secondary help window in a hyperlink to a topic will only have any effect in
HTML Help if the option Links to secondary help windows open a new help window is
activated here. If not all the secondary window settings will be ignored and the settings for
Productivity Tip
Note that there is no Keep window on top
setting for HTML Help. This can only be
activated by the programmer in the call to
the HTML Help see the HTML Help API
documentation for details.
Controls:
Links to Activates external windows. When you specify a secondary help
secondary window in the Insert Hyperlink dialog (with the Window: option) the
help windows target window will be opened in an external window with the settings
open a new for the specified secondary window.
help window:
If this option is not activated links to secondary windows will open in
the main help viewer.
Visible These options are used to choose which control buttons are displayed
buttons: in the help viewer. You may want to switch them all off for external
windows 429 .
Window has This option activates or deactivates display of the help viewer's
a navigation navigation panel containing the Table of Contents, keyword index and
panel: other tabs. You may want to disable this for external windows 429 . Note
that if you also disable the Hide/Show button in the Visible Buttons
section 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 tab: Favorites tabs in the navigation panel. Note that if they are disabled it
will not be possible for the user to enable them.
User-defined Allows you to define two HTML URLs as targets for the Home button
buttons: 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.
You can edit the names of the Jump 1 and Jump 2 buttons but you
cannot change the name of the Home button.
The icons displayed for these buttons are hard-wired into the Microsoft
HTML Help viewer and cannot be changed.
See also:
Secondary windows 429
The options in this tab control the appearance and behavior of the main Winhelp viewer
window (Main help window type definition) and the viewer window for secondary windows 429
(user-defined secondary help window type definitions).
Controls:
Background The background colors of the topic and topic header. These colors are
colors: only displayed in the compiled Winhelp file, not in the Help & Manual
editor. If you open a topic in an external window with a link specifying a
secondary help window the target topic will be displayed using the
background colors defined for the secondary help window.
Maximize Automatically maximizes the help viewer when it is opened to fill the
window: user's entire screen. Not recommended the majority of users hate it
when help windows do this!
Keep window Keeps the help window on top of all other windows on the user's
on top: screen. Also not recommended. 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 is extremely annoying!
Window The Winhelp help viewer normally adjusts window sizes and positions
position and you enter interactively on the basis of the user's monitor size and
size are screen resolution. If you activate this option the values you enter for
absolute: 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 These options define the help viewer control buttons to be displayed in
buttons: 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 429
The settings in this section set the read-only attribute for merged child projects and allow
you to automatically generate help context numbers and prefixes for topic IDs for new
topics.
Help context numbers are sometimes used to make direct calls to help topics from
application programs. Topic ID prefixes are useful for preventing duplicate IDs in modular
help systems.
Open child This protects child projects merged into the TOC of the current project
projects against accidental editing. This is the default setting.
read-only:
See Working with Modular Help Systems 446 for more information on
editing merged child projects.
Topic ID Any text you enter here is automatically added as a prefix to the
Prefix: suggested topic ID when you create a new topic. Note that this function
can only be used for new topics; you cannot automatically change
existing topic IDs.
Automatically If you activate this function help context numbers will be assigned to
create: / new topics automatically, starting with the Start with number. Each new
Start with: / number will be generated by incrementing the last number assigned by
Increment the Increment by setting.
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 539 .
Apply to topic This setting will also automatically generate help context numbers for
anchors: new topic anchors 226 so that anchors can also be used for calls to help
topics from applications.
Version This option is only relevant if you have a version control system like
Control Microsoft Visual SourceSafe installed on your computer.
System:
Manually check
By default file check-out and check-in is handled automatically for
out and check projects linked to a VCS – Help & Manual automatically checks topics
in topics out of the VCS database when you edit them and checks them back in
when you save your project and move on to a different topic.
Setting manual check-out/check-in switches this automatic feature off
and sets all the topics in your project to read-only. To edit a topic you
must then first check it out manually, either with Project > File >
Check Out in the Ribbon, or with Version Control System > Check
Out in the context menu displayed when you right-click on the topic in
the Project Explorer.
After editing a topic you must also check it in manually with the Check
In menu options in the same locations. Other users will not be able to
edit the topic until you do this – even if you close your project. (This
allows you to leave a topic checked out even when you are not working
on a project.)
See also:
Topic IDs and context numbers 205
IDs and context numbers in modular help 456
Working with Modular Help Systems 446
Anchors - jump targets 226
Auto and manual check-in/check-out 346
9.3.2 HTML Page Templates
This section allows you to edit the HTML templates that define the layout and general
appearance of your topic pages in all HTML-based output formats. See Using HTML
Templates 430 for full details.
HTML page templates are shared:
Note that the same HTML templates are used for all HTML-based output formats (HTML
Help, Webhelp, Windows Exe and ePub eBooks and MS Help 2.0).
Create new HTML templates and delete existing ones. You can
assign page templates to individual topics when you create them
and in the tab behind the main editor window.
Header /Text Defines the background colors of the topic header and text.
background color:
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.
HTML code is permitted but you are responsible for the correct
syntax.
Topics with Activating this option adds additional navigation links to the
headers have headers of your topic. These links always point to the Top topic
<Top>, (the home topic defined in Configuration > Common
<Previous> and Properties > Language Settings) and the Next and Previous
<Next> links: 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.
See also:
Templates and Secondary Windows 416
Using HTML Templates 430
9.3.3 Publishing Options
The options in this section configure how your project is published to the supported output
formats. You should always check through all the settings in the relevant section before you
output to a new format.
See also:
Publishing 288
Configuring Your Output 292
9.3.3.1 HTML Help
The settings in this section control how your project is exported to HTML Help. Since HTML
Help 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 HTML Export Options section are shared by all HTML-based output
formats (HTML Help, Webhelp, Windows Exe and ePub eBooks and Visual Studio Help/
MS Help 2.0). These settings are accessible in the Webhelp 684 and HTML Help 671
sections of your project configuration.
These are the general settings for all HTML output formats, including 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 these output formats. You cannot enter different
settings for each output format.
See also:
HTML Help 727 (Help Formats)
HTML Help Options 661 (Help Windows)
HTML Page Templates 666
9.3.3.1.1 Popup Topics
These options define how popup topics are exported in HTML Help. For full details see
Creating popup topics 125 and Using JavaScript popups 129 .
Options:
Text-only This activates HTML Help's native popup mode. You cannot use
popups: formatted text (bold, italics etc.), images, hyperlinks, tables or any
other non-text features. When this mode is activated hyperlinks to
popup topics in your help will display as popups automatically.
HTML Help's text-only popups are stored in an internal text file in the
output CHM help file. By default this file is called CSHelp.txt. You can
change this here but since this is the default name of this file you
should only change it if the programmer specifically asks you to.
This mode can be used for field-level popups called from applications.
The calls are made to the plain text file inside the CHM file using the
HTML Help API.
HTML- Selecting this option turns your popups into normal topics without
encoded headers. When this mode is activated links to popup topics will display
topics: the topics in the main help viewer.
This mode cannot be used for field-level popups called from
applications.
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 grid lines 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 field-level popups called from
applications. If you want to use both JavaScript popups and field-level
popups called from your application you must create a separate project
for your context popups.
Click/ Displays the popup on user click or mouseover (i.e. as soon as the user
mouseover: 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 These effects are only supported by MS Internet Explorer. This means
effects: that they are available in HTML Help (which uses MSIE) and in
Webhelp 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 125
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 728 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 settings in the documentation distributed with Microsoft HTML Help
Workshop.
This example shows some of the Extended .HHP settings we used for the old Help &
Manual 3 help, before the Baggage section was available. It is now much easier to add
About paths to referenced files:
When Help & Manual compiles your project all the HTML Help project files 728 , including
the HHP file, are generated in a temporary directory called \~tmpchm and then fed to
the Microsoft HTML Help compiler. This directory is created in your project directory,
which is the directory containing your .hmxp or .hmxz 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:
Working with Modular Help Systems 446
Using Baggage Files 485
Using HTML Templates 430
Inserting HTML Code 231
HTML Help 727 (Help Formats)
HTML Help Options 661 (Help Windows)
9.3.3.1.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
Extension for By default all HTML topic files are exported with the extension .
HTML topic files: htm. You can change this to .html, .asp, .php or a manually-
entered extension but these extensions are only supported in
Webhelp.
The .htm extension is always used for topic files in HTML Help,
and MS Help 2.0.
This setting is irrelevant for eBooks.
CSS stylesheet This setting allows you to change the name of the stylesheet file
file name: exported with the CSS style information. The default file name is
default.css.
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)
Normal style: you 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.
© 1997 - 2009 by EC Software, all rights reserved
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 Webhelp. The HTML Help compiler cannot
674 Help & Manual 5 - User Help
See also:
Configuring Your Output 292
Publishing Your Projects 292
HTML Help 727 (Help Formats)
HTML Help Options 661 (Help Windows)
9.3.3.2 Webhelp
The settings in this section control how your project is exported to Webhelp, which can be
displayed with any modern web browser. Help & Manual's Webhelp provides 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 chapter
entries it also includes a keyword index and full-text search and supports JavaScript popups
129 that will also work transparently on all modern browsers.
Since Webhelp 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 HTML Export Options section are shared by all HTML-based output
formats (HTML Help, Webhelp, Windows Exe and ePub eBooks and Visual Studio Help/
MS Help 2.0). These settings are accessible in the Webhelp 684 and HTML Help 671
sections of your project configuration.
These are the general settings for all HTML output formats, including 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 these output formats. You cannot enter different
settings for each output format.
See also:
Webhelp 730 (Help Formats)
Webhelp 296 (Configuring Your Output)
9.3.3.2.1 Layout
These settings define the layout of your Webhelp output. The default setting is Two
Frames and you should leave this unchanged for most projects.
· For more background information see Webhelp 296 in the Configuring Your Output
chapter and Webhelp 730 and Browser compatibility 731 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 782 in the Reference section.
Controls:
Simple Options / Only select the HTML Code tab if you have a thorough
Edit HTML Code: understanding of editing HTML frameset files. Otherwise you can
select all the layout options you need in the Simple Options tab.
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 project's
frame: 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 Only displayed if the Three Frame option is selected. Defines the
frame: height of the head frame in pixels. 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 Only displayed if the Three Frame option is selected. If you
scrollbars: deselect this no scrollbars will be displayed, even if the content
does not fit in the head frame. Deactivate for a seamless
appearance (you must plan the height of your head frame content
precisely for this to work properly).
Head frame loadsSelect 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
references to your output folder for you! You are responsible for
ensuring that the file and any files it references (graphics etc.) are
stored in the correct location.
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 loaded
HTML code: 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 430 first.
See also:
Webhelp 296 (Configuring your Output)
Webhelp 730 (Help Formats)
HTML template variables 782 (Reference)
Browser compatibility 731
9.3.3.2.2 Navigation
These settings control how the navigation is handled in your Webhelp 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 Webhelp to make absolutely sure
that the help will behave as you want.
For more information see Webhelp 296 in the Configuring Your Output chapter and Webhelp
730 and Browser compatibility 731 in the Reference > Help Formats chapter.
Add ordering Adds topic/chapter numbering to the TOC in your output, using
numbers to Table the standard legal format (1, 1.1, 1.2, 1.2.1 etc).
of Contents:
Lazy content This is a specialized setting for advanced users that should be left
synchronization: turned off for all normal output. Activating it may slightly 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.
Single click on By default, the user must double-click on chapters to expand them
caption in Table in the TOC. This option allows you to change this to expand on a
of Contents single click.
expands chapter:
Note:
We recommend leaving this option off. The default mode allows
you to select chapters without expanding them automatically and
you can still expand chapters with a single click on the chapter
icon.
Automatically When you set this option all chapters except the chapter in which
collapse the user is currently browsing collapse (close) automatically. This
unfocused can make navigation easier in large help projects because you do
entries: not have a large number of chapters open at the same time.
Note:
Selecting this option will disable On load, expand... All Entries
(see below)
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 656 they will be copied to your output
directory automatically.
See also:
Webhelp 296 (Configuring your Output)
Webhelp 730 (Help Formats)
Browser compatibility 731
9.3.3.2.3 Table of Contents
This section allows you to edit the HTML template 427 that defines the layout and appearance
of the Table of Contents pane in your Webhelp output. See Using HTML Templates 430 for
full details.
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!
See also:
Webhelp 730 (Help Formats)
Using HTML Templates 430
HTML Templates 810 (Reference)
9.3.3.2.4 Keyword Index
This section allows you to edit the HTML template 427 that defines the layout and appearance
of the Keyword Index pane in your Webhelp output. See Using HTML Templates 430 for full
details.
Keyword Index These settings define the font styles to be used for the
Font: 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.
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 430
HTML Templates 810 (Reference)
Webhelp 730 (Help Formats)
9.3.3.2.5 Full Text Search
This section configures the Full-text Search function for Webhelp output. It includes both the
options for configuring the behavior of the search function and the HTML template 427 that
defines the layout and appearance of the Search pane in your Webhelp output. See Using
HTML Templates 430 for full details.
· Professional version feature only:
Please note that the support for full-text search in Webhelp is only included in the
Professional version of Help & Manual.
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 some languages.
String Constants / The String Constants table is a list of the texts that are used in
Translation: 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.
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 generally
recommended.
Enable "Sort results When this is activated users can sort the search results by
by date": score (relevance of the topic found) or date.
Search is accent- This converts accents and umlauts to their base characters so
insensitive: that the search doesn't make a difference between base
characters and their accented versions.
This is strongly recommended for highly-accented languages
like French and German, as it will make the searches much
Support for single- This creates a case-insensitive search index. You don't need
case 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 The text here defines what appears at the top of the Search
Search page: pane in the Webhelp 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:
Webhelp 730 (Help Formats)
Using HTML Templates 430
HTML Templates 810 (Reference)
9.3.3.2.6 Popup Topics
These options define how popup topics are handled in Webhelp. Note that only the
JavaScript popups option will export popup topics that really function as popups.
For full details see Creating popup topics 125 and Using JavaScript popups 129 .
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 This mode outputs popup topics using JavaScript code that allows
popups: you to use formatted text (bold, italics etc.), images, topic
hyperlinks, Internet links, 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 user
mouseover: 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
Visual These effects are only supported by MS Internet Explorer. This means
effects: that they are available in HTML Help (which uses MSIE) and in
Webhelp 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 125
Using JavaScript popups 129
9.3.3.2.7 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 stylesheet This setting allows you to change the name of the stylesheet file
file name: exported with the CSS style information. The default file name is
default.css.
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)
Normal style: you 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 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 Webhelp. 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 .
Export Webhelp Only switch this off if you are using PHP code in your project and
with UTF-8 BOM: your server's PHP system is having trouble with the BOM at the
beginning of your webhelp files. If you don't know what PHP is you
don't need to turn this off!
All Help & Manual webhelp files are stored in UTF-8 Unicode. The
UTF-8 BOM (Byte Order Mark) is a special character code at the
beginning of the file that identifies it as UTF-8 Unicode. It is
generally better to leave this in because it will prevent old and
badly-configured servers from misinterpreting the UTF-8 Unicode
formatting. However, the PHP installations on almost all servers
still have trouble with the BOM and so it is better to switch the BOM
off if you are using PHP.
Apply date and When this is on (default setting) the timestamps of your HTML
time stamp of topic files will be set to the date and time of the topic in your
topic to HTML project, which is equivalent to the time of the last change. This
topic files: makes it easier to synchronize your output folder with an old
version on your web server, for example. This is only really relevant
for Webhelp output – in CHM help the topic files are all hidden
inside the CHM.
If you turn this off the timestamps of all HTML files will always be
the date and time at which your entire project was compiled.
Do not turn this setting off unless you have a specific reason to do
so.
Modify archive Turning this on will automatically switch the archive bits of all
bit of topic files modified files in your Webhelp output folder. Use this if you have
depending on an FTP program like Second Copy that can synchronize your
changes: output folder with your web server folder using archive bits.
The advantage of this is that it automatically flags all modified files,
even if their timestamps have not changed. This is important
because the timestamps of your topic files are only changed if the
topics have actually been edited. For example, if you change your
HTML templates this will change all your topic files but it will not
change the timestamps of topic files that have not been edited,
even though their contents change because of the template
changes. Using archive bits guarantees that all modified files are
identified.
Using this option only makes sense if you have an FTP program
that supports folder synchronization on the basis of archive bits,
however...
Export style When this is selected Help & Manual uses the full names of your
names: styles in the stylesheet. 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.
If an image has Images in HTML pages can have an ALT attribute that displays a
no caption small text in a "tooltip" when the user positions the mouse pointer
export file name over the image.
as hint:
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
Impict images:
Which option provides the best results depends on the type of
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.
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 used as they are, without any
changes.
See also:
Configuring Your Output 292
Extension for By default all HTML topic files are exported with the extension .
HTML topic files: htm. You can change this to .html, .asp, .php or a manually-
entered extension but these extensions are only supported in
Webhelp.
The .htm extension is always used for topic files in HTML Help,
and MS Help 2.0.
This setting is irrelevant for eBooks.
CSS stylesheet This setting allows you to change the name of the stylesheet file
file name: exported with the CSS style information. The default file name is
default.css.
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)
Normal style: you 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.
© 1997 - 2009 by EC Software, all rights reserved
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 Webhelp. The HTML Help compiler cannot
690 Help & Manual 5 - User Help
See also:
Configuring Your Output 292
Publishing Your Projects 292
Webhelp 730 (Help Formats)
9.3.3.3 Adobe PDF
The settings in this section control how your project is exported to Adobe PDF, which can be
displayed with Adobe Acrobat or Acrobat Reader version 3 or later. The most important
setting is the link to the print manual template which defines the appearance and layout of
your PDF output.
In addition to selecting the template you can choose whether you want to generate an
interactive PDF with active hyperlinks for on-screen viewing or a print manual style PDF
designed to enable the user to print out a hard copy of the user manual. You can also adjust
a number of security-related settings.
See also:
Customize - PDF Export 650
PDF and Printed Manuals 325
Adobe PDF 737 (Help Formats)
9.3.3.3.1 PDF Layout
The settings in this section have an effect on the appearance and style of your PDF output.
The most important setting is the link to the print manual template 330 which defines the page
layout of your PDF output and adds additional pages and features (cover, index, contents
etc). See PDF and Printed Manuals 325 for details.
Options:
Print Manual This selects the template to be used for formatting your project
Template: when you output to PDF. This template controls the appearance
and layout of your PDF document and the elements it contains.
You can also use the template to specify which elements (index,
TOC etc.) you want to include in your PDF output.
Clicking on the Design button opens the selected template for
editing in the Print Manual Designer 537 program.
Similar to a Generates a static PDF designed for printing rather than on-
printed manual: screen viewing. Automatically disables all the other interactive
options in this section.
Note that this is not the same as the Table of Contents section
configured in the print manual template 330 , which is designed for
use in printed PDFs.
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 214 for more
information. 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: file so that you can distribute additional files with your PDF
document. Only files linked to in your document with file links 220
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 This allows you to choose whether the links in your PDF are
links and paint in visible and defines the color.
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 If you configure your print manual template 330 to start chapters on
pages 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 650
PDF and Printed Manuals 325
Embedding files in PDFs 332
9.3.3.3.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 376 in all the Document Information fields.
See also:
Customize - PDF Export 650
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 considerably, particularly if you are using Unicode-based languages like
Asian languages.
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).
Options:
Embedding If you must embed fonts you can reduce the size of your PDF files by
True Type selecting the right embedding option.
fonts:
Embed TrueType fonts embeds all TrueType fonts except the fonts
you add to the exclusion list (see below).
Embed symbol fonts only embeds fonts like Symbol and Wingdings.
This ensures that special characters that depend on these fonts will be
displayed correctly. Other fonts not found on the user's computers will
be substituted with available similar fonts.
Use Base 14 Type1 fonts tells Acrobat to substitute its own built-in
fonts. This switches off font embedding and will work adequately if your
fonts are similar enough to the Base 14 fonts (Times/Mac or Times
New Roman PS MT /Win; Helvetica/Mac or Arial MT/Win; Courier,
Symbol, and Zapf Dingbats, each with regular, bold, italic or oblique,
and bold italic styles).
Embed TrueType subset only embeds the code pages of the
TrueType fonts that are actually used in your project.
Embed TrueType subset (used characters only) saves even more
space by only embedding the characters that are actually used in your
project. Note that this can slow down compiling considerably with
larger projects.
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 in Configuration > Publishing Options
Mode: > Adobe PDF > Font Embedding can reduce the size of your PDF
for projects written in Unicode-based languages, particularly Asian
languages. In addition to this it also improves the correct rendering of
special Unicode characters in PDF.
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 CID mode for Unicode fonts 332 for more details.
See also:
Customize - PDF Export 650
PDF and Printed Manuals 325
This section provides settings for publishing Visual Studio Help, which is also known as MS
Help 2.0.
Shared settings:
The options in the HTML Export Options section are shared by all HTML-based output
formats (HTML Help, Webhelp, Windows Exe and ePub eBooks and Visual Studio Help/
MS Help 2.0). These settings are accessible in the Webhelp 684 and HTML Help 671
sections of your project configuration.
These are the general settings for all HTML output formats, including 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 these output formats. You cannot enter different
settings for each output format.
See also:
Visual Studio Help 490 (Advanced Procedures)
Visual Studio Help 738 (Reference)
9.3.3.4.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 You can output either a single .HXS file or an .HXS file with a separate .HXL
file type: 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 tabs of your topics.
F-Index Forces the generation of the F-Index file for use in Visual Studio Help.
See also:
Visual Studio Help 490 (Advanced Procedures)
Visual Studio Help 738 (Reference)
9.3.3.4.2 Popup Topics
These options define how popup topics are handled in Visual Studio Help. Note that only the
JavaScript popups option will export popup topics that really function as popups.
For full details see Creating popup topics 125 and Using JavaScript popups 129 .
Popup mode:
Microsoft has completely abandoned popup technology in Visual Studio Help, this format
has no native format for popups and does not support field-level popups. However, you
can add Help & Manual's own JavaScript popups for display within the main help file.
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 This mode outputs popup topics using JavaScript code that allows
popups: 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 user
mouseover: 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 These effects are only supported by MS Internet Explorer. This means
effects: that they are available in HTML Help (which uses MSIE) and in
Webhelp 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 125
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 stylesheet This setting allows you to change the name of the stylesheet file
file name: exported with the CSS style information. The default file name is
default.css.
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)
Normal style: you 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 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 Webhelp. 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 .
Export Webhelp Only switch this off if you are using PHP code in your project and
with UTF-8 BOM: your server's PHP system is having trouble with the BOM at the
beginning of your webhelp files. If you don't know what PHP is you
don't need to turn this off!
All Help & Manual webhelp files are stored in UTF-8 Unicode. The
UTF-8 BOM (Byte Order Mark) is a special character code at the
beginning of the file that identifies it as UTF-8 Unicode. It is
generally better to leave this in because it will prevent old and
badly-configured servers from misinterpreting the UTF-8 Unicode
formatting. However, the PHP installations on almost all servers
still have trouble with the BOM and so it is better to switch the BOM
off if you are using PHP.
Apply date and When this is on (default setting) the timestamps of your HTML
time stamp of topic files will be set to the date and time of the topic in your
topic to HTML project, which is equivalent to the time of the last change. This
topic files: makes it easier to synchronize your output folder with an old
version on your web server, for example. This is only really relevant
for Webhelp output – in CHM help the topic files are all hidden
inside the CHM.
If you turn this off the timestamps of all HTML files will always be
the date and time at which your entire project was compiled.
Do not turn this setting off unless you have a specific reason to do
so.
Modify archive Turning this on will automatically switch the archive bits of all
bit of topic files modified files in your Webhelp output folder. Use this if you have
depending on an FTP program like Second Copy that can synchronize your
changes: output folder with your web server folder using archive bits.
The advantage of this is that it automatically flags all modified files,
even if their timestamps have not changed. This is important
because the timestamps of your topic files are only changed if the
topics have actually been edited. For example, if you change your
HTML templates this will change all your topic files but it will not
change the timestamps of topic files that have not been edited,
even though their contents change because of the template
changes. Using archive bits guarantees that all modified files are
identified.
Using this option only makes sense if you have an FTP program
that supports folder synchronization on the basis of archive bits,
however...
Export style When this is selected Help & Manual uses the full names of your
names: styles in the stylesheet. 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.
If an image has Images in HTML pages can have an ALT attribute that displays a
no caption small text in a "tooltip" when the user positions the mouse pointer
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
Impict images:
Which option provides the best results depends on the type of
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.
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 used as they are, without any
changes.
See also:
Configuring Your Output 292
Publishing Your Projects 292
Visual Studio Help 490 (Advanced Procedures)
Visual Studio Help 738 (Reference)
9.3.3.5 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 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. The 16-bit version of Winhelp is so buggy on 32-bit
and 64-bit versions of Windows that it is unusable.
Since the introduction of Windows 98 HTML Help 727 has been the standard format for help
for Windows applications and it should be used for local help installed on the user's
computer for all new applications. Webhelp 674 should be used for help accessed on network
drives or the Internet.
See also:
Winhelp 740 (Help Formats)
Winhelp Options 663 (Help windows)
9.3.3.5.1 Miscellaneous Settings
These settings configure the basic features of Winhelp in your output file.
Full text If you enable full text search capabilities for Winhelp (HLP) files the
search index: help compiler will generate a full-text search index for the help file and
the Find tab in the Winhelp viewer will be populated the first time the
user selects it.
The only advantage of this is that your users will not be prompted to
generate the index the first time they open the help. On modern
computers generating the index is completed almost instantaneously
and users are used to doing it, so you can speed up compiling and
reduce your distribution file size by turning this option off.
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 your
uses paste text.
You can also use the text entered here anywhere in your project by
using the <%CITATION%> variable. See Using Variables 376 for details.
Encoding of Winhelp treats anchors in topics as absolute IDs that have the same
topic status as topic IDs. If anchor IDs were used on their own it would
anchors: 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 The Winhelp viewer has an uncorrected bug that can cause the viewer
to 256 colors: 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 740 (Help Formats)
Winhelp Options 663 (Help Windows)
Anchors - jump targets 226
Using Variables 376
Keywords and Indexes 273
9.3.3.5.2 Modular Help Options
This option is relevant for the way modular help is handled in Winhelp projects. Please
study Working with Modular Help Systems 446 and Modular Projects 764 before using these
features!
Table of This setting adjusts the indentation ("offset") of your child help modules
contents Table of Contents entries when they are inserted in the TOC of the
offset: 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 740 (Help Formats)
Winhelp Options 663 (Help Windows)
Working with Modular Help Systems 446
Modular Projects 764 (Reference)
Choosing the merge method 451
This section enables you to add or overwrite sections of the HPJ project file used to
generate your Winhelp output. (See Winhelp project files 742 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
Microsoft Help Workshop.
[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
[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 740 (Help Formats)
Winhelp Options 663 (Help Windows)
9.3.3.6 Microsoft Word RTF
The settings in this section control how your project is exported to MS Word RTF, which
generates Rich Text files compatible with the RTF files generated by Microsoft Word.
Support for this format is provided for backward compatibility only, it is not a good format for
high-quality modern documentation.
The options in this section control the layout, appearance and functionality of your MS Word
RTF output. These are the only options that have an effect on Word RTF output. Everything
else is controlled by your formatting in your topics.
Options:
Page Format: These settings configure the basic format of your output pages
and are the same as in Word.
Margins:
Mirror margins automatically reverses asymmetrical margins so
that they are displayed correctly on facing even and odd pages.
Texts for Header, The text and font settings for the headers, footers and page
Footer and numbering. You can use variables 376 in these fields.
"Page":
Note that the page number is inserted automatically 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. The headers will always use the formatting
specified here, not the formatting applied in the header box in
your project.
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 of the poor way in which RTF manages embedded 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 739 (Help Formats)
9.3.3.7 eBooks
The settings in this section control how your project is exported to eBooks, which are self-
contained, single-file formats designed to simulate the experience of reading books on
computers or electronic devices.
Help & Manual supports two eBooks formats: Windows Exe eBooks for Windows only and
the cross-platform ePub eBooks format, which also supports hardware eBook readers. See
the sections on eBooks in the Publishing Formats 732 and Configuring Your Output 292
chapters for more information on these two formats.
See also:
Publishing Formats - eBooks 732
Configuring Your Output - eBooks 304
9.3.3.7.1 Windows Exe eBooks
Windows Exe eBooks can only be viewed on Windows computers and are compatible with
all versions from Windows 95 on up without additional software. They are distributed in an
executable .exe file that also contains the viewer, so they are completely self-contained.
See Windows Exe eBooks 735 in the Publishing Formats chapter for more details.
This is an HTML-based format that shares some settings with the other HTML-based output
formats supported by Help & Manual.
Shared settings:
The options in the HTML Export Options section are shared by all HTML-based output
formats (HTML Help, Webhelp, Windows Exe and ePub eBooks and Visual Studio Help/
MS Help 2.0). These settings are accessible in the Webhelp 684 and HTML Help 671
sections of your project configuration.
These are the general settings for all HTML output formats, including 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 these output formats. You cannot enter different
settings for each output format.
As the name indicates, the settings in this section control the appearance of your Windows
Exe eBooks output. In addition to selecting the template (non-editable) defining the
appearance of the integrated eBook help viewer you can also define the size and position of
the viewer on the screen, a graphic for a splash screen, a file icon and two sound effects.
Options:
Viewer template: This template defines the appearance of the eBook viewer. You
must choose one of the templates stored in the
\Templates\ebooks folder in the Help & Manual program
directory.
These templates are not user-editable. Also, please note that the
graphical templates are not resizable so their size cannot be set
with the Default Position & Size settings (see below).
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 for this.
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. They will be compressed together with the eBook when
you publish your output.
Default position These values define the initial position and size of the eBook
and 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 above).
See also:
Windows Exe eBooks 735 (more information on this format)
9.3.3.7.1.2 Functionality & Security
This section includes options that control how your Windows Exe eBook works, its interface
language and some useful security features to protect your content.
Options:
Language pack: Allows you to select the language to be used for the eBook
interface. Several language packs for common languages are
included with the program. They can be found in the
\Templates\ebooks folder in the Help & Manual program
directory.
Language packs are plain text files with the extension .lng
containing the definitions for the texts used in the viewer.
If there is no language pack available for your language you can
create one yourself by making a copy of the English.lng pack and
editing it. Don't delete or change any variable names and be
careful not to change the format of the file!
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 The text to be displayed when the user clicks on the About icon in
box: the viewer. You can use user-defined variables 378 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 If you select this option the viewer can only be run from a CD with
viewer: the specified serial number. If it is copied to a hard disk or another
CD it will not be functional.
Important:
All your CDs must have the same serial number for this function
to work! Since this capability has been removed from all publicly-
available CD burning programs for security regions this feature
can only be used on pressed CDs where you can apply the same
serial number to all the CDs.
See also:
Windows Exe eBooks 735 (more information on this format)
9.3.3.7.1.3 Popups in eBooks
Popup topics can be used in Windows Exe eBooks and they support hyperlinks and
graphics. However, they are not configurable – that is why there are no settings for them in
the Windows eBooks section of Project Properties. They are sized automatically on the
basis of their content and they use the background color of the HTML Page Template 666
selected for the popup topic.
See also:
Creating popup topics 125
Windows Exe eBooks 735 (more information on this format)
9.3.3.7.2 ePub ebooks
The ePub eBook format is outstanding for universal distribution across many platforms and
devices but precisely because of this it is also more restrictive than some other formats. It is
designed to be more like a book than an electronic document and it thus has some special
requirements and restrictions.
Before publishing to ePub first visit the Adobe Digital Editions download page and install
the Digital Editions eBook reader. This is essential because without it you will not be able to
view your ePub eBooks after you have created them.
You will also need to check whether everything in your project is compatible with ePub.
Please also study the information on ePub eBooks in the Configuring Your Output 305 and
Publishing Formats 732 and Configuration Settings 710 chapters before proceeding.
Configuration settings
The only configuration options you need to enter for generating ePub eBooks are an
identifier and a number of standard information fields. The only field that is absolutely
required is the UID, which is the unique identifier for your eBook.
You can use text variables 376 in all these fields! These settings are available in Project
Explorer > Configuration > Publishing Options > eBooks > ePub Standard.
UID (required): Required!
This is the unique identifier of your eBook, so you should attempt to make
it genuinely unique to avoid confusion with other available publications.
You can use any alphanumeric text string here – for example your web
address plus the name of the book. If the book has an official ISBN book
catalog number then use that.
URI: Optional but recommended
A web link, for example to a page with information about the book on your
website. It's a good idea to include this as eBook readers often have
online access. Always include the http:// prefix with the URI, plain www.
addresses may not work!
Subject: Optional but recommended
A short description of your eBook.
Description: Optional, generally helpful
A longer description of your eBook.
Relation: Optional
Relation information for your eBook, this can be an URI (weblink, the new
term for URLs) or other information.
Creator: Optional but recommended
The author of your eBook – if you have entered the author of your project
in your Common Properties you can insert the Tim Green variable here to
use the same text string automatically.
Publisher: Optional but recommended
The publisher (i.e. your company) of the eBook.
See also:
Text Formatting and Styles 155 (how-to instructions)
9.4.1 Why use dynamic styles?
The advantages of dynamic styles are so great that you will never want to go back to
manual formatting once you have learned how to use them. They will speed up your work,
make it more efficient and make your finished product look more attractive and professional.
If you wish, it is quite possible to use only manual formatting in your Help & Manual projects.
However, if you do this you will create a lot of unnecessary extra work for yourself and your
documentation will not look so good.
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.
Dynamic inheritance
Help & Manual's styles aren't just dynamic, they also have dynamic inheritance. This
means that styles based on other styles automatically "inherit" the properties of their
parent styles. All properties that you do not change in the child styles are dynamically
See also:
Text Formatting and Styles 155 (how-to instructions)
About inheritance in styles 714
9.4.2 How do styles work?
To understand how dynamic styles work you need to understand three concepts: Style
definitions, dynamic linking and dynamic inheritance. Style definitions are how you create
styles, dynamic linking is how your styles are associated with your text and dynamic
inheritance enables you to create related "families" of styles.
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 formatting tools.
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, including
font 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 718 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 167
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:
We say that the style is dynamically linked because all changes in the style definition are
automatically and immediately reflected in all paragraphs and/or text linked to the style. If
you change the font face, font size, paragraph indents and so on in the style definition
these changes are all immediately reflected in all the paragraphs and text linked to the
style.
Dynamic inheritance:
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 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 with
the child style.
This means that you can make changes to entire "families" of styles, and to all the text
formatted with those styles, just by editing one parent style. For example, you can usually
change the font in your entire project by changing the font setting in the Normal style,
because most of styles in your project are usually based on that style.
See About inheritance in styles 714 for full details on this subject.
See also:
Text Formatting and Styles 155 (how-to instructions)
About inheritance in styles 714
9.4.3 About inheritance in styles
Alongside dynamic linking 713 , 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!
that have not been changed in the child styles. As soon as an attribute is changed in a
style it is "fixed", and no longer affected by changes in the parent style. Styles based on
the changed child style will then inherit this new attribute, not the original attribute from
the original parent.
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 161 select (None) in the Based on Style: field for the style definition. You
can also change this later if you want. See Editing styles 164 for details.
The standard Code Example style used for formatting program code with the syntax
highlighter 195 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.
A style without a parent starts a new inheritance tree
A style without a parent does not inherit any attributes from any other styles. This means
that it is "protected" against unexpected changes caused by changes in parent styles.
At the same time, a style without a parent is also the "first parent" in a new inheritance
tree: If you base new styles on this style they will inherit the properties of the style. You
can use these capabilities to create new and separate families of styles. See Style
organization strategies 720 for some more ideas on this.
Switch off inheritance with caution!
When you are learning how to use styles it is tempting to switch off inheritance for many
styles because you may think this will give you greater control over your formatting. In the
short term this is true but in the long term it is better to learn to use inheritance efficiently.
Defining many styles without parents will actually create much more work for you later if
you decide to make far-reaching changes in your formatting. Again, see Style
organization strategies 720 for some more ideas on this.
See also:
Style organization strategies 720
Text Formatting and Styles 155 (how-to instructions)
9.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 195 . 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 143 you can enter in
your project. This style is quite limited compared to most other styles.
See Image caption and comment styles 176 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 239 inserted in your topics.
Caption: Like the Comment style it is quite limited: See Image caption and
comment styles 176 for details.
Notes: This style is reserved for functions that may be added to Help & Manual in
a future release.
See also:
Text Formatting and Styles 155 (how-to instructions)
9.4.5 Paragraph, text and table styles
There are three different kinds of styles: paragraph styles, text styles and table styles.
Paragraph and text styles are closely related, table styles are actually completely separate.
As their names suggest, paragraph styles are for formatting entire paragraphs, text styles
are for formatting text only. See Defining styles 161 and Formatting text with styles 167 and for
details on how to define and use paragraph and text styles.
formatting text and paragraphs. However, the rules of dynamic styles and dynamic
inheritance also apply for table styles. See Table styles 263 in the Working with Tables
chapter for details on using table styles.
style is based on a paragraph style it must inherit its parent's paragraph attributes, and
this makes it impossible for it to be a text style.
See About inheritance in styles 714 for more information on dynamic inheritance.
See also:
Text Formatting and Styles 155 (how-to instructions)
Defining styles 161
Editing styles 164
About inheritance in styles 714
9.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.
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.)
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 714 .
Style name families:
This is simply logical and makes your styles easier to identify and find. It makes sense to
create families of headline styles called Heading1, Heading2, Heading3 and so on. Then
they all appear together in the list and you know what they are for. If you want you can
also include some key information in the names. You can organize your other style
groups like body text and so on in the same way.
Remember that you can rename your styles at any time!
Don't hesitate to rename your styles if you need to! Help & Manual automatically updates
all style references so you can rename them to improve your styles organization
whenever you want.
Style inheritance families:
Styles inherit properties from the styles they are based on. If you base groups of styles
on a common parent style you can make changes to the common properties of the entire
style group by editing the parent style.
For example, you could base all your headline styles on the standard style 717 Heading1, if
you want them to be similar to Heading1. If you don't want them to be similar to Heading1
you could create a new parent style for the headlines you want to use in your topics, and
base your other headline styles on that.
The same applies to other groups of styles for text or paragraphs with similar attributes.
See About inheritance in styles 714 for more background information on this.
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 155 (how-to instructions)
9.4.7 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, Webhelp and Windows Exe and ePub eBooks.
Attempts to use spaces to create indented effects in HTML-based output will also not be
very successful. This is because all HTML browsers ignore multiple spaces: It doesn't matter
whether you enter a single space or 100 spaces, the browser will always render them as a
single space unless you enter hard (non-breaking) spaces with Alt+0160 on the numeric
keypad.
Help & Manual actually converts multiple spaces you enter in the editor to space/hard space
pairs in HTML output to get around this problem, but this still doesn't make spaces a good
tool for indents spaces render with different widths in different fonts and hard and soft
spaces can also have different widths.
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
172 functions.
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 172
9.4.8 About table and column widths
The dynamic behavior of tables in the Help & Manual editor and published output may be a
little unfamiliar and even frustrating at first 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 experience with HTML you will feel
right at home with Help & Manual's table sizing functions.
"Lock Column":
The Lock Column tool in the Table tab locks the current width of the selected column as
a fixed value in pixels. This width will be maintained if possible. This tool also shows
whether the current column is locked or unlocked it is highlighted when the column is
locked.
Column width in the Table Properties dialog:
You can lock the column width to a pixel or percentage value with Table > Properties
> Selected Cells. This width will be maintained if possible.
Height settings
Tables do not have height settings. Their height is always defined by the height of their
content.
Row/cell height is dynamic by default it expands automatically to fit the content. You
can set a minimum fixed height value in pixels in Table > Properties > Selected Cells
. If the content of the cell or row is smaller than this value white space will be added. If the
content is higher the setting is ignored.
See also:
Working with Tables 253
Table Properties 638
Webhelp: 730 Displays in normal web browsers on all platforms (Windows, Linux, Mac
OS X, Unix). An emulation of the HTML Help interface, 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.
Windows Exe This proprietary Help & Manual format packs your entire project into a
eBooks: 735 single executable file with an integrated viewer program that can be
displayed on any Windows computer, from Windows 95 and above
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.
ePub ebooks ePub eBooks are an open format that is rapidly becoming a universal
732 : standard. They are supported by a large number of software readers
for all operating systems and also by hardware readers, including the
Sony Reader, the BeBook Reader, the Apple iPhone and iPod Touch
and many mobile phones. Many thousands of ePub eBooks are already
available.
Adobe PDF: 737 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 Manual feature (in the Application Menu) generates a
manuals: 738 temporary PDF file in the background and outputs it to your printer.
Also supports booklet format (multiple pages per sheet) and duplex
printing.
MS Word RTF: Old print-style format, support is provided for backward compatibility.
739 Outputs your project to an MS Word Rich Text Format RTF file. Many
dynamic help features are not supported, minimum options.
Visual Studio This special format is also known as MS Help 2.0. It is provided for
Help: 738 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 490 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.)
Winhelp: 740 The predecessor of HTML Help, now obsolete and should not be used
for new projects, although Help & Manual includes full support for
Winhelp for backward compatibility. Not supported in Windows Vista by
default. Consists of separate help (HLP) and contents (CNT) files. Not
particularly user-friendly, looks and is out of date. Not recommended
unless it cannot be avoided.
Typical use: Local online help for applications installed on the user's computer
Table of Yes. Integrated in the CHM file and always visible in the viewer.
contents: Excellent, immediately intuitive navigation for the user.
Context sensitive Yes, full context-sensitive help support. Can include text-only field-
help: level popups 372 which can be displayed directly within your
application without the main help window.
Popups: Yes, both in the help viewer and for context-sensitive help. Natively,
HTML Help only supports text-only popups without formatting or
graphics. Only these plain-text popups can be used for field-level
popups displayed in your application.
You can also use Help & Manual's JavaScript popups 129 in HTML
Help. In addition to formatted text and graphics JavaScript popups
also support hyperlinks and even videos and animations.
You cannot mix JavaScript popups and plain-text popups in a single
project but you can create a separate project containing only your
plain-text popups if you want to include JavaScript popups in your
main project.
Printable by The Print function of HTML Help is very limited. The help viewer can
user: 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 430 ), including the
ability to add functions with JavaScript etc. by adding your own code
to topics 231 and templates 430 .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. Severe
restrictions on deployment in networks and the Internet, primarily
suitable for help installed locally on the user's computer together
with the application.
See also:
HTML Help 294 (Configuring Your Output)
HTML Help 667 (Configuration Options)
9.5.1.1 HTML Help project files
When you publish your project to HTML Help Help & Manual creates a temporary directory
called \~tmpchm in your project directory (this is the directory containing your .hmxp or .
hmxz 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.
projectname. This is the map file containing the help context number assignments.
hm:
projectname. This file is generated by the Microsoft HTML Help compiler. It contains
log: the log of the last compile session and any error messages or
warnings.
default.css: This file is generated by Help & Manual and contains the styles
information for your project. It may have a different name if you have
changed it in Configuration > Publishing Options > HTML Help
> HTML Export Options 697 (Note that these settings are shared with
all HTML-based output formats. They are also accessible in the
Webhelp and Visual Studio Help sections of the Configuration
section.)
CSHelp.txt: This file is generated by Help & Manual if you have activated plain-text
popups for HTML Help. It is a plain-text file containing the texts of your
popup topics. It may have a different name if you have changed it in
the the popup options 667 for HTML Help.
hm_popuptopi This file is generated by Help & Manual if you have activated
cs.js: JavaScript popups 129 in your project. It contains the code for your
JavaScript popups. It is added to the compiled CHM help file.
HTML files: These files with the extension .htm or .html contain your topics. They
are generated from your project by Help & Manual so that the
Microsoft compiler can use them to create the compiled CHM help file.
Graphics files: These files are generated from your project in the correct formats by
Help & Manual so that the compiler can use them to create the
compiled CHM help file.
9.5.2 Webhelp
Webhelp outputs your project to normal HTML pages that can be displayed with a standard
web browser, either locally or on the Internet. The Webhelp generated by Help & Manual is
designed to emulate the appearance and functionality of HTML Help, with a TOC tree pane,
a keyword index and full-text search (Pro version only).
The HTML code generated for Webhelp is CSS and DHTML based and is compatible with
all modern browsers on all platforms (Windows, Linux, Mac OS X, Unix). It is intelligent code
that automatically "downgrades gracefully" when it encounters old browses and browsers
with restrictive security functions. On these browsers some of the "eye candy" functions will
be turned off but the help will still be fully functional.
Webhelp is the best choice for help on the Internet and on local intranet systems, where
HTML Help is restricted by Windows security barriers.
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
Browser The Webhelp output generated by Help & Manual is fully compatible
compatibility: with all major browsers. In addition to this the output will also work
transparently on older and security-restricted browsers. It achieves
this by automatically identifying browser capabilities and
"downgrading gracefully", providing less dynamic and formatting
features but still presenting a fully-functional help system.
Typical use: Online help and documentation on the web or on local intranets
where the use of HTML Help is not practical.
Table of Yes
contents:
Full text search: Yes (available in the Professional version of Help & Manual only)
Context-sensitive Context calls from applications 373 to topics and anchors in topics are
help: supported. Field-level context popups displayed within your
applications are not supported.
Popups: Yes, with JavaScript popups 129 that are compatible with all current
browsers and do not trigger popup blockers.
Multimedia: Flash video and other video formats 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! If you really
want to be sure your video will work use Flash.
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 231 and templates 430 .
Cons: Webhelp consists of many individual HTML files, graphics and other
files.
See also:
Webhelp 296 (Configuring Your Output)
Webhelp 674 (Configuration Options)
Browser compatibility 731
9.5.2.1 Browser compatibility
The top priority of the code design of Help & Manual's Webhelp 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 or a browser with
JavaScript turned off won't break your help. This enables you to distribute Webhelp with
confidence because you know that the huge majority of your users will be able to view it
properly.
See also:
Webhelp 296 (Configuring Your Output)
Webhelp 674 (Configuration Options)
9.5.3 eBooks
Enter topic text here.
9.5.3.1 ePub eBooks
Key Information
ePub is simple to make it as universal as
possible. Avoid complex layouts and
formatting, only use simple tables and
don't use invisible topics. Only a..z, A..Z,
0..9 and _ are permitted in topic IDs in
ePub eBooks!
The ePub format (file extension .epub) is a standard for e-books created by the
International Digital Publishing Forum. It is quickly becoming widely established, with many
thousands of ePub eBooks already in circulation. It is already supported by the multi-
platform Adobe Digital Editions software reader, the Sony Reader hardware eBook reader,
the Apple iPhone and iPod Touch, mobile phones and many other devices and software
readers.
See ePub Resources 309 for more details, including sources for reader software and devices.
Format: A single zip archive file containing the XHTML and XML files and
other components.
Keyword index: No
Context-sensitive No support for context-sensitive help, you cannot make direct calls
help: to specific topics in the help
Popups: No
Multimedia: No
Cons: This is really a dedicated format for books in electronic form. Not
appropriate for application help because of the lack of context
sensitive help support. No index, simple formatting only, no
multimedia or popup support. No password protection. Many readers
handle tables poorly.
See also:
ePub eBooks 304 (Configuring Your Output)
ePub eBooks 710 (Configuration Options)
9.5.3.2 ePub resources
This page contains a selection of hardware, software and information resources relating to
the ePub format and ePub eBooks. It is not necessarily complete, but it is a good starting-
point.
Important: The reference software reader is Adobe Digital Editions. Before trying to
create ePub eBooks you should download this free reader from Adobe and install
it. If you don't do this you won't be able to view your ePub eBooks after creating
them with Help & Manual.
TeleRead blog
An informative and entertaining blog about eBooks.
Feedbooks
Free classics in ePub format.
Snee
Free children's picture books in ePUB format
This is a proprietary Help & Manual format that combines a viewer and data in one .exe file
that will run on any 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 Webhelp 730 format.
Key Information
Help & Manual Windows Exe eBooks are
designed to be self-contained and have a
built-in viewer. Use ePub, PDF or Word
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 field-level popups in your applications.
Multimedia: Flash videos are supported if support for playing Flash is installed
on the user's computer. Other video formats are not supported.
Pros: Single file format. Look and feel similar to HTML Help (familiar and
intuitive navigation). Runs immediately without installation of any
additional files on all Windows versions. Password protection is
possible. A number of viewer templates are available for different
layouts and appearances.
Cons: Not appropriate for application help because of the lack of context
sensitive help support – you cannot open specific topics with calls
from your applications. No support for JavaScript or interactive
features, only basic HTML and CSS support. Cannot be displayed
on electronic eBook readers (use ePub 732 , PDF or RTF for these
devices, check the supported formats for your target devices first).
See also:
eBooks 304 (Configuring Your Output)
eBooks 706 (Configuration Options)
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
Adobe 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. Not appropriate for application help because
Other All the topics not included in your project's Table of Contents are
information: excluded from PDF output and printed manuals. This is by design
because PDF is treated as a print format. By definition, there is no
place in print-style documents for topics that are not included in the
TOC, which are only designed to be accessed with hyperlinks.
If you want to include information from topics not included in your
TOC you need to use Help & Manual's conditional output features 399
to make alternative content for the PDF version.
See also:
Adobe PDF 301 (Configuring Your Output)
Adobe PDF 690 (Configuration Options)
PDF and Printed Manuals 325
9.5.5 Printed manuals
When you output a manual to your printer with the Print Manual in the Application Menu
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 330 . For details on printing manuals and using print manual templates see PDF and
Printed Manuals 325 .
See also:
Adobe PDF 301 (Configuring Your Output)
PDF and Printed Manuals 325
9.5.6 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.
Please note that the support for Visual Studio Help/MS Help 2.0 is only included in the
Professional version of Help & Manual.
See also:
Visual Studio Help 490 (Advanced Procedures)
Visual Studio Help 694 (Configuration Options)
9.5.7 MS Word RTF
This format – equivalent to the Rich Text Format files generated by MS Word – is provided
for backward compatibility. Because of its limitations as a help and documentation format 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 not included in your TOC are excluded from RTF
information: output. This is by design because RTF is treated as a print format.
By definition, there is no place in print-style documents for topics
that are not included in the TOC, which are only designed to be
accessed with hyperlinks.
See also:
MS Word RTF 304 (Configuring Your Output)
MS Word RTF 705 (Configuration Options)
9.5.8 Classic Winhelp
Winhelp is now obsolete and is not supported by default in Windows Vista. It was the
original help format introduced with Windows 3.1 in the 1980s. It was improved slightly in the
32-bit version released with Windows 95 but not much has changed since then. Like HTML
Help its primary purpose is to provide local help for applications installed on the user's
computer.
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. Only use this format if you absolutely must for specific reasons.
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
when you publish to Winhelp.
Backgrounds and Winhelp has no support at all for background colors or borders. This
borders: 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: All Windows versions except Windows Vista (support in Vista must
be installed manually by the user). The old 16-bit version of Winhelp
is not supported because it is very buggy on all current Windows
versions it was only designed to run on 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. Supported by virtually
See also:
Winhelp 303 (Configuring Your Output)
Winhelp 700 (Configuration Options)
9.5.8.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 .hmxz or .
hmxp 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 Winhelp manually with MS Word and Microsoft Help Workshop.
projectname. This is the map file containing the help context number
hm: assignments.
projectname.rtf This RTF file contains the topics and help text along with the topic
IDs and keywords.
projectname.cnt This file contains the table of contents (TOC) of the Winhelp project.
In Winhelp this is actually both a project file and a distribution file – it
must be distributed together with the compiled HLP file, otherwise
the Winhelp viewer cannot display the TOC. Because it is also a
distribution file Help & Manual generates it in your project directory
and not in the temporary \~tmphlp directory.
projectname. This file is generated by the Winhelp compiler. It contains the log of
log: the last compile session and any error messages or warnings.
bitmap files (. If the help includes graphics you also need the BMP bitmap source
bmp) files (Winhelp can only use BMP), which may be stored in the
project directory or another directory.
9.6.1 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.
Systems 744
Section 1194.22 Web-based Completed See Section Detail for
internet information and 1194.22.
applications 746
Section 1194.23 Not applicable Help & Manual is not a
Telecommunications Products Telecommunications Product.
Section 1194.24 Video and Not applicable Help & Manual is not a Video
Multi-media Products or Multi-media Product
Section 1194.25 Self- Not applicable Help & Manual is not a Self-
Contained,Closed Products Contained or Closed Product.
Section 1194.26 Desktop and Not applicable Help & Manual is not a
Portable Computers Desktop or Portable
Computer.
Section 1194.31 Functional Completed See Section Detail for
Performance Criteria 749 1194.31.
Section 1194.41 Information, Completed See Section Detail for
Documentation, and Support 1194.41.
750
headers.
Frames, when used, are
(i) Frames shall be titled with automatically titled with
text that facilitates frame Criteria fully met. descriptive names such as
identification and navigation "navigation frame" and
"content frame".
(j) Pages shall be designed to
avoid causing the screen to
flicker with a frequency Criteria fully met.
greater than 2 Hz and lower
than 55 Hz.
(k) A text-only page, with
equivalent information or
functionality, shall be provided
to make a web site comply
with the provisions of this part,
when compliance cannot be Not applicable.
accomplished in any other
way. The content of the text-
only page shall be updated
whenever the primary page
changes.
Help & Manual does not use
(l) When pages utilize scripting languages to display
scripting languages to display content or create interface
content, or to create interface elements. It is, however,
elements, the information possible for the author to
Criteria fully met.
provided by the script shall be customize the output with
identified with functional text user defined scripts. Help &
that can be read by Assistive Manual has no direct
Technology. influence on user defined
content.
Help & Manual does not
require applets or plug-ins to
(m) When a web page be present on the client
requires that an applet, plug- system. It is, however,
in or other application be possible for the author to
present on the client system customize the output and
Criteria fully met.
to interpret page content, the extend content with user
page must provide a link to a defined HTML code that may
plug-in or applet that complies require applets. Help &
with §1194.21(a) through (l). Manual has no direct
influence on user defined
content.
(n) When electronic forms are Help & Manual does not
Not applicable.
designed to be completed on- create electronic forms.
pasted into the current topic and can be edited. Only the text is copied and once the copy
has been made the text is part of the current topic. If the topic you inserted from is edited
nothing changes in the current topic.
This mode is used for text blocks that you want to edit after inserting them, for example
tables that need to be filled out.
When you use Link mode you create a link to the other topic you can't edit the text
inside the current topic but when the original topic is changed the changes are reflected
in the linked copy as well. When you publish your project a static copy is made of the
linked topic, but until then the link is dynamic and all changes in the linked topic are
updated.
Linked snippets can be used in multiple places and all the "copies" will be updated
simultaneously when the linked topic is edited. This mode is used for text that you want to
use in many places in exactly the same way.
The current contents of the source topic are displayed in the editor at the insertion point
with a shaded background.
In addition to this the source topic also exports any index keywords 274 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 281 , topic IDs 205 and help context numbers 205 are not
exported, because this would cause logical problems.
Advantages:
This method has several important advantages over multiple TOC references 208 :
· 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 Re-using content with snippets 149 for instructions on using this feature.
See also:
Multiple TOC entries for one topic 208
Re-using content with snippets 149
The main factor that increases the size of your help files is the use of big graphics with too
many colors. Compared to images text hardly takes up any space at all.
In most cases it is most practical to use standard uncompressed BMP bitmap files for your
graphics in your projects. This may seem odd at first because BMP files are generally larger
than all other graphic formats. However, they can be converted most easily and since they
are completely uncompressed they suffer no quality degradation. Help & Manual converts
the files to the appropriate format and compress them automatically when you publish your
output.
Don't use PNG for images with more than 256 colors
The PNG format is an excellent choice for images with up to 256 colors. It is even more
compact than GIF and has excellent quality. However, PNG files with more than 256
colors are actually a different format. These files are radically larger than the equivalent
JPG files – sometimes they are only a little smaller than BMP files.
This also means that you should make sure that your image conversion settings 671 will
not convert images with more than 256 colors to PNG. If your project contains images
with more than 256 colors it is better to choose JPG as the conversion format.
also make screenshots at reduced sizes directly with Help & Manual's integrated screen
capture utility 532 or with the stand-alone TNT screen capture program.
Reduce the use of photographs.
Lots of full-color photos will also bloat your output files. If you do use them keep them
small and if you are producing HTML Help or Webhelp make sure that your image
conversion settings 671 are set to Convert 256 colors to GIF and True Color to JPEG.
While you are at it, experiment with the JPG compression setting in the same place; your
pictures may be smaller and look just as good with a lower quality setting. A value
between 70 and 80 is generally fine for most purposes and you can often get away with
even higher compression settings.
Don't show the entire image if you don't have to.
Areas of an image that are a single color take up almost no space when the image is
compressed and parts of an image that are not there take up no space. Quite often you
can save space by cropping your images to remove unnecessary information, and this
also focuses user attention on what is important.
You can also crop your screenshots with special effects like Ripped Paper Edge in the
Screen Capture 532 tool and the Impict 536 screenshot editing program. This both saves
space and makes your screenshots look better!
See also:
Using Graphics 238
Image conversion settings 671
9.6.3.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 files as
encapsulated binary data: Embedded OLE objects 494 and images pasted together with text
from word processing programs like Microsoft Word.
See also:
Using Graphics 238
9.6.3.3 About using video files
Video files used in Help & Manual and the output formats it generates are always handled by
the associated players and codecs, not by Help & Manual itself. These players and the
necessary codecs for the specific formats 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 video files in your projects.
HTML Help Supports all video formats supported by Windows. Whether the formats
(CHM) are playable on the user's computer depends on installation of the
associated players and codecs on the user's computer (see below 757 ).
Webhelp ( Supports all media formats supported by the user's browser. Whether
HTML): the formats are playable on the user's computer depends on installation
of the associated codecs and players (see below 757 ).
Windows Exe Flash animations are supported and are embedded in the eBook .exe
eBooks (EXE): file. Other video formats are not supported.
See Conditions and Customized Output 399 for details on creating alternative content for
different output formats.
See also:
Adding video files 269
9.6.3.4 About using OLE objects
OLE support has some restrictions because of the impossibility of supporting OLE in the
compiled output formats generated by Help & Manual. OLE objects in the editor remain
clickable and editable so that you can edit them in their associated applications. However,
when you publish your project the objects are converted into static graphics.
It is best to think of OLE objects as static graphics that remain editable until you compile
your output.
down Help & Manual, particularly on older computers and systems with less memory.
· Embedded objects can only be edited by opening Help & Manual and double-clicking
on the object in the editor. Linked objects can be edited normally as external files
It is thus always preferable to use links to external files instead of embedded OLE
objects.
Only the visible part of For example, if you insert a Word document consisting of
large OLE objects is several pages only the page (or part of the page) that is visible
included in the output. in the Help & Manual editor will be included in your compiled
output. This is a restriction imposed by conversion of the
objects into static graphic images.
Print quality and the This is caused by the conversion to static graphics designed
quality of OLE objects for on-screen viewing and cannot be prevented.
in PDFs may be
slightly inferior.
See also:
Using OLE Objects 494
Insert OLE Object 635
9.6.4 Scripts, HTML and Macros
In addition to creating word-processor style content help authors sometimes want or need to
"get under the hood" of their help output and add their own code in the form of JavaScript,
HTML code or Winhelp macros. Help & Manual has extensive facilities that allow you to do
this:
· You can create links in your text that execute Winhelp macros or JavaScript code 223 in
the appropriate output formats. These links can be inserted both in the text 223 of your
topics and in hotspots 246 in your graphics.
· You can enter inline HTML code 231 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 430 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 page templates, which are
parsed and exported 811 with your output.
The topics in this section provide some extra background information that will help you to
use these features more effectively.
You can enter links that execute JavaScript code both in the text 223 of your topics and in in
hotspots 246 in your graphics. Since JavaScript is an HTML-based technology requiring a
browser this feature is only supported in HTML-based output formats (HTML Help, Webhelp
and Visual Studio Help/MS Help 2.0). Note that although Windoows Exe and ePub eBooks
are also HTML-based, JavaScript is not supported in eBooks: The embedded viewer in Exe
eBooks does not support JavaScript at all. Even though scripting is included in the ePub
specification the majority of readers for ePub eBooks have little or no support for it.
You can also include JavaScript and other script code in plain HTML code inserted in your
topics using the Insert > HTML Code 231 feature. This option is normally preferable to script
links for more complex code. See About inline HTML code 762 for some more information on
this.
referenced scripts should generally be in the <HEAD> section you may want to use one
of the other methods.
can also enter quite complex scripts. You just have to remember the syntax and work
within it:
<a href=" + your code + "> + link caption + </a>
For example, you can also create a complex link tags like this, using multiple quotes
within the tag:
<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 223
Inserting plain HTML code 231
About inline HTML code 762
Using HTML Templates 430
9.6.4.2 About Winhelp macro links
The Winhelp macro option in the Insert > Hyperlink 223 function allows you to insert all the
macros available in Winhelp in your projects. Full documentation of these macros is included
with the Microsoft Help Workshop package, which is installed on your computer
automatically when you install the Winhelp compiler, the latest version of which is always
available from the EC Software website.
ALink() KLink()
TCard() Close()
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.
For details see Inserting script and macro links 223 and Using A-keywords 281 .
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 220
Inserting script and macro links 223
Using A-keywords 281
9.6.4.3 About inline HTML code
The Insert HTML Code Object tool in Write > Insert Object 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, Windows Exe and ePub eBooks and Visual
Studio Help/MS Help 2.0).
This topic assumes that you are already familiar with writing code in HTML and JavaScript.
include links, and you have more freedom to format your code because you are not
restricted by the link insertion syntax.
See also:
Inserting script and macro links 223
About JavaScript Links 759
Inserting plain HTML code 231
The power of editable variables 395
Using HTML Templates 430
presence of the child module in the same folder as the master module.
With a little planning you can easily distribute different versions of your help for different
product versions just by including or excluding individual modules in your distribution
package.
See Runtime and publish time merging 767 for more details on truly modular projects.
Windows Exe The entire modular project is always published to a single eBook. The
and ePub TOCs of the master module and all child modules are integrated in the
eBooks: 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
function in the Application Menu.
See also:
Working with Modular Help Systems 446
9.7.1.1 Runtime and publish time merging
In HTML Help (CHM) and the obsolete Winhelp (HLP) you can create genuine modular help
systems with separate help files that are displayed in a single TOC at runtime (when the
user views them). Alternatively, you can also combine all your modules to one large help
file.
See Choosing the merge method 451 for instructions on how to set the different merge
methods for HTML Help and Winhelp output.
In publish time merging Help & Manual combines all the modules and
creates one big help file when you publish the master module. If you
want to exclude a module you must republish without the module.
Help. The master module containing the main TOC must always be present, but you can
include or exclude the other modules from the help simply by including and excluding the
help files of the child modules from the directory in which the help is stored. If a module's
help file is not present its topics are simply not included in the TOC.
The great advantage of this is the enormous flexibility it gives you. With a little planning
you can reduce the work involved in distributing different versions of your help for
different versions of your product to almost zero. All you need to do is include or exclude
help files from your distribution package.
Important: The project filenames and the output filenames of the HLP or CHM files must
be identical. The references between the child and the master help files are
based on the filenames and if project and output filename don't match the
references will be invalid.
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.
Truly modular, All the component Single help file, You must republish
dynamic help modules must be exactly like those 461 to produce
Truly modular, All the component Single help file, You must republish
dynamic help modules must be exactly like those 461 to produce
See also:
Working with Modular Help Systems 446
Planning modular projects 770
9.7.1.2 Planning modular projects
If you want to get the full benefits from modular projects you need to do some planning.
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.
minimum. If you must create inter-module links you should make absolutely sure that the
target module will always be present when the user runs the help. Alternatively, use A-
links 459 to make sure that links to non-existent modules will display a suitable alternative
topic.
See also:
Working with Modular Help Systems 446
9.7.2 Variables and Conditional Output
This section contains background information on the various kinds of variables and
conditional switches available in Help & Manual and reference lists of all the variables and
switches.
See also:
Using Variables 376
9.7.2.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:
HTML variables:
You can use HTML variables without restriction in HTML
templates. The HTML code stored in the variable will be
inserted in the in the template. You can also use HTML
template variables 778 as part of the value of the HTML variable.
See also:
Using Variables 376
9.7.2.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 376 for details.
All the 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.
Variable Content and/or function of the variable
<%TITLE%> The title of the help project defined in Project > Project
Properties > Common Properties > Title & Copyright
.
<%SUMMARY%> The Summary text for the project defined in Project >
Project Properties > Common Properties > Title &
Copyright.
<%VERSION_MAJOR%> The Major Version text for the project defined in Project >
Project Properties > Common Properties > Title &
Copyright.
<%TITLE%> The title of the help project defined in Project > Project
Properties > Common Properties > Title & Copyright
.
<%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.
<%TITLE%> The title of the help project defined in Project > Project
Properties > Common Properties > Title & Copyright
.
%> edited.
See also:
Using Variables 376
Using HTML Templates 430
9.7.2.3 Date & time formatting in variables
A number of the predefined variables in Help & Manual enter the current date or time or the
date or time associated with an item in your project. Normally these variables will
automatically use the date and time format set in your Windows configuration. However, you
can add a formatting string to the variable to change this if you want.
Note that this only works with variables that return date and time values, if you add format
strings to any other variables the variable will no longer work. Also, you can only use this
option on variable names entered in your topics – you cannot define variables with these
formatting options.
Key Information
You cannot DEFINE variables with date
and time formatting information the
format strings will fail in variable definitions.
You can only use these options by editing
variable names in the editor after inserting
the variables.
Basic syntax
To use this feature you insert the variable in your project, either manually or with the
Insert Variable tool, and then manually type a format string in parentheses inside the
variable name in the Help & Manual editor:
<%NOW(format string)%>
The text within the quotes will be inserted exactly as it is written. Any spaces required
must be included within the quotes and the quotes must be separated from the specifiers
by spaces.
See also:
Using Variables 376
9.7.2.4 HTML template variables
You can use all global predefined variables 774 and user-defined variables 378 in HTML
templates 430 . 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 433 for details on how to use this variable.
<%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 , 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%>" />
(This variable can also be used in normal topic pages.)
<%TOPIC_KEYWORDS%> Inserts all the keywords 274 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 281 of the current topic,
comma-separated.
<%HREF_PREVIOUS_PAGE%> Link address of the previous topic (used for Previous/
Next buttons).
<%HREF_NEXT_PAGE%> Link address of the next topic.
<%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.
<%HREF_PARENT_CHAPTER%> Link address of the parent topic (chapter). This can be
used as an alternative to <%HREF_DEFAULT_PAGE%>.
If the parent is a chapter without text, this is the link
address of the parent's parent. If no valid parent is
available, the variable is the link address of the default
page.
<%HREF_CURRENT_PAGE%> Link address of the current page.
Note on HREF-Variables: All the HREF variables insert the local names of the
corresponding pages within the current directory without
any path information, e.g. topic1name.htm,
topic2name.htm and so on.
See also:
Using Variables 376
Using HTML Templates 430
Editing HTML templates 431
Help Windows 807
9.7.2.5 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 406 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 Webhelp output, because they are only relevant there. See the lists below for
details.
These conditions are like special 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.
In HTML templates you can only use output format conditions for HTML-based output
formats (CHM, HTML, EBOOK and HXS). This is because these templates are only used for
HTML-based output so <IF_PDF> would not have any meaning, for example. Note that the
EBOOK condition applies both for Windows Exe and ePub eBooks.
<IF_TOPIC_HEADER> True if the current topic has a header and the header is not
empty (the variable <%TOPIC_HEADER%> is not equal to "").
<IF_TOPIC_HEADER> True if the current topic has a header and the header is not
empty (the variable <%TOPIC_HEADER%> is not equal to "").
<IF_TOGGLES> True if the current topic contains one or more toggles 350
(expanding text and images).
See also:
User-defined include options 406
Using HTML Templates 430
Conditional output in HTML templates 441
Help Windows 807
9.7.2.6 PDF template variables
You can use all Help & Manual's global predefined variables 774 and your own user-defined
variables 378 in the text objects in PDF print manual templates 330 . 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.
Key Information
Conditions are not supported in PDF print
manual templates. You cannot use
conditional text or any other conditions in
these templates.
See also:
Using Variables 376
PDF and Printed Manuals 325
The Print Manual Designer 537
9.7.2.7 Conditional output
Help & Manual supports multiple levels of conditional output that give you very precise
control over what is included in your published projects on the basis of output format and
user-defined output conditions 406 . These features make it possible to generate different
versions of your project for different purposes and 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 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 publish.
Text Text variables (see Using Variables 376 ) 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 414 with a project skin or a
Modular Help & Manual's modular projects features 446 enable you to
projects: include or exclude entire projects in your help at publish
time. This makes it possible to quickly add or remove entire
blocks with multiple chapters
See also:
Conditions and Customized Output 399
Using Variables 376
Working with Modular Help Systems 446
Conditional output in HTML templates 441
9.7.2.8 Topic entry and topic file include options
Your TOC entries and topic files are actually two separate items: The TOC entries are
connected to the topic files by a kind of hyperlink. The TOC entry and the topic files also
have separate include options. If you work in the TOC you will normally not need to think
about this because the matching include options for the associated topic files will be set
automatically.
However, the situation is different if you have multiple TOC entries 208 for the same topic in
the TOC. Then you need to think about what happens when you set different include options
for TOC entries linked to the same topic file.
How build options are applied to TOC entries and topic files
Working in the TOC:
When you work in the Table of Contents section of the Project Explorer setting or
changing an include option for the TOC item automatically sets the same option for the
topic file to which the TOC entry is linked. Normally this is a 1:1 association and you don'
t need to think about it at all, it is fully automatic. However, the situation is different for
topic files with multiple TOC entries. See below for details.
Working in the Topic Files section:
Setting or changing an include option for a topic file does not automatically change the
include options for any associated TOC entries. For technical reasons, the topic files
cannot be permitted to control the TOC entries. Among other things, this would create a
mess when the TOC contains multiple references to the topic file, each with different
build options.
See also:
Context-Sensitive Help 369 (HowTo)
About field-level popups 794
9.7.3.1 Context-sensitive help technologies
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. If you can make your users aware of this (and that is not easy)
this can significantly reduce support requests.
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.
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 HELP 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 801 so that they can call the appropriate topics.
Training card This is a powerful but rather cumbersome help technology developed
help: by Microsoft and supported in both HTML Help 727 and Winhelp 740 . It
allows you to create interactive tutorials in your help that automatically
perform actions in your application when the user clicks on hotspots
and links in your help. For example, you can invoke functions, display
menus, select options and fill out data fields to show the user how to
do things.
For programming information on implementing training card help see
the MSDN Library on Microsoft's website we can't provide direct
links here because the MSDN web programmers change the
addresses so frequently.
Although training card help is a very powerful tool there are good
reasons why it is very rarely used. It can be quite tricky to implement
and every programming language handles it differently.
It is also very important to design interactive wizards using training
card help wizards very carefully. In particular, you need to give the
user the opportunity to actually practice the procedures you are
explaining. Otherwise you can end up teaching the user how to
operate the wizard rather than the program!
Flash demos: Flash demos are not really a context-sensitive help technology but
they can be a useful addition to interactive wizards. Help & Manual
can insert Flash demos 269 in your help files with just a few mouse
clicks.
These demos are animated movies in the 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 programs,
except they record a movie of what you do on your screen instead of
just a single still image. Some even allow you to include sound
Making Flash demos can be a quite a lot of work but they are an
excellent way of showing beginners how to do things. It is not a good
idea to include them in the main help because users generally don't
need to view them more than a couple of times. It is best to use them
in separate help wizards that users only run when they want to learn
how to perform a specific task.
See also:
Using Context-Sensitive Help 369
Creating popup topics 125
Popup topics 125 should always be created without TOC entries 112 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.
All popup topics can be displayed with links from within your help file. HTML Help and
Winhelp popups can also be displayed within your application, without displaying the main
help viewer; then they are referred to as "field-level popups".
Context- HTML Help and Winhelp popup topics (but not JavaScript popups 129 )
sensitive 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 field-level popups 794 for more
details.
· 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.
· If you need context-sensitive field-level HTML Help or Winhelp popups for display
within your application it may be advisable to make a separate Help & Manual project
just for these popups.
See also:
Context-Sensitive Help 369 (HowTo)
Conditions and Customized Output 399
Using JavaScript popups 129
9.7.3.3 About field-level popups
· 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.
· Field-level 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 your Project Configuration that control how popups
are handled in HTML Help and Webhelp. (See below for more details.)
Help & Manual also supports custom JavaScript popups 129 for formatted popups in HTML
Help and Webhelp. JavaScript popups cannot be used for field-level popups however i.
e. they cannot be called from your application on their own.
JavaScript This popup mode uses JavaScript coding to generate popups that can
popups: 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 Webhelp. However,
JavaScript popups also cannot be used as field-level popups called
from applications. See Using JavaScript popups 129 for details.
See also:
Creating popup topics 125
Using Context-Sensitive Help 369
IDs, Context Numbers and Keywords 801
9.7.3.4 About implementing context help
Generally, implementing context-sensitive help called from the application 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 and the programming language they
are using.
Winhelp (HLP) and HTML Help (CHM) support both context-sensitive calls to specific help
topics and field-level popups displayed within your application. Webhelp only supports calls
to specific topics (see Context calls to Webhelp for details 373 ).
website, where you can also download a comprehensive free tutorial on integrating help
in Delphi applications.
Auto-generating Help & Manual can generate and apply help context numbers to
help context new topics automatically. Go to Project > Project Properties
numbers: > Common Properties > Miscellaneous 665 to set up this
feature.
Applying help You can apply help context numbers to existing topics and import
context numbers to "help context map files" with lists of context numbers provided by
existing topics: your programmers. See The Help Context Tool 539 for details.
Changing topic IDs: Don't despair if you discover that you've been using the wrong
topic ID format! You can edit your topic IDs at any time, Help &
Manual updates all internal links automatically. See Topic IDs
and context numbers 205 for details.
When they are used in this way they are displayed in their own little window that is closed
after the user has read the contents, without displaying the entire help. They are most
commonly used for What's This? help 790 , but they can also be accessed by buttons etc.
If you are going to use field-level popup topics these require some careful planning.
Among other things, you need a full list of all the controls and other program elements for
which you need field-level popups, along with all the topic IDs and/or help context
numbers that are going to be used to access them.
Auto-generating your field-level popup topics
Since there are generally a lot of these topics creating them manually can be time-
consuming, and you will probably start to wish that you could generate them
automatically. Well, you can!
All you need to do is get a "help context map file" from the programmer with a list of the
topic IDs and help context numbers (if applicable). Once you have this you can
automatically generate all the popup topics in Help & Manual together with the matching
IDs and help context numbers. See Auto-generating field-level popups 375 for details.
See also:
Using Context-Sensitive Help 369
The Help Context Tool 539
Creating popup topics 125
Topic IDs and context numbers 205
Auto-generating field-level popups 375
9.7.3.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 Windows Exe 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.
ePub eBooks do not support popups at all.
regular topics. Theoretically, you can also create links between popup topics but this is
not recommended it is confusing for users and often fails because of bugs in the
Winhelp viewer.
All the features of Winhelp popups are also supported when they are used as field-level
popups 794 .
See also:
Creating popup topics 125
Using Context-Sensitive Help 369
Using JavaScript popups 129
9.7.3.6 About map files
The compilers for many modern programming languages have facilities for automatically
generating 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 field-level
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 field-level
popups 375 and The Help Context Tool 539 for details.
However, there are two basic restrictions when you are using map files to generate topics
that do not yet exist in your help project:
You cannot generate topic captions
Since the map file syntax only includes the topic ID and the help context number you
cannot include captions (i.e. the names of the topics in the TOC) for the topics in the map
file and you cannot use the map file to generate captions. All topics generated from map
files use the topic ID as the caption.
You can only generate topics without TOC entries
This second restriction follows from the first. Since auto-generated topics cannot have
captions they are always generated without TOC entries, as topic files in the Topic Files
section of the Project Explorer.
This is generally not a problem since the primary purpose of this function is to auto-
generate field-level popup topics for documenting program components. If you need to
use the function to generate topics in the TOC you must create TOC items 210 for them
manually after importing them.
You cannot assign context numbers to anchors
Help & Manual's context tool can export the information about anchor links to map files
but you cannot import context numbers to existing or new anchors from a map file.
See also:
Auto-generating context-sensitive topics 375
The Help Context Tool 539
Using Context-Sensitive Help 369
Topic IDs:
Every topic in your help project has a unique alphanumeric topic ID, which you can view
by clicking on the topic's 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 803 .
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 IDs can be up to 256 characters long.
topic ID
length:
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 the Anchor Tool in Write > Insert Object. The anchors
stored in each topic are listed in the topic's tab in the Anchor: list. This list 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 226 .
Maximum Anchor IDs can be up to 256 characters long.
anchor ID
length:
Where not Links to anchors are not supported in external windows 429 in HTML
supported: Help.
See also:
Topic IDs and context numbers 205
Anchors - jump targets 226
9.8.1.2 About help context numbers
Help context numbers are a second unique numeric identifier for each topic (the first and
main identifier is the topic ID 801 ). Unlike topic IDs context numbers are optional – you can
use them if you want, but you don't have to.
Introduction:
Like topic IDs context numbers can be viewed and edited in the 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 Topic IDs and context numbers 205 for
details.
Help context numbers were introduced with WinhelpNote that Windows Vista does not support
Winhelp. If you want to be compatible with Vista you must transition to a different help format. 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 801 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.
See also:
Topic IDs and context numbers 205
9.8.1.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 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 273 for details on using these features.
See also:
Keywords and Indexes 273
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.
Introduction to A-keywords
The following brief list describes the main features and capabilities of A-keywords. First
and foremost it is important to understand that A-keywords are a Microsoft help
technology that is only available in HTML Help and the obsolete Winhelp. Their
functionality is not available in any other output format.
A-keywords are invisible
A-keywords are similar to ordinary index keywords ("K-keywords" or "K-link keywords")
but they are never seen by the user. This might seem strange at first what good is a
keyword that nobody can see? That brings us to the purpose of A-keywords:
A-keywords are used for "associative" linking
A-keywords are not used for indexes, they are used for creating "associative" links. When
an A-keyword is accessed it returns a list of links to all the topics in the help that contain
that keyword. We say that the topics are "associated" with the keyword.
These links are not pre-defined by the help author, they are generated actively when the
user views the help. When the user clicks on a special hyperlink that access an A-
keyword the help viewer searches all the topics in the help to see whether they contain
the keyword, including all topics in external help files in modular help systems 446 .
This makes it possible to use them to generate lists of links to "relevant" topics. To add a
topic to the list you just need to include the relevant A-keyword in its .
A-keywords are "soft" and "conditional"
This means that you don't have to "hard code" links to specific topic addresses. Only links
to topics containing the A-keyword (or keywords) at runtime are displayed. This means
you can create links to topics that may or may not be present when the user views the
help, which usually only happens in modular help systems.
A-keywords have their limitations
All this being said, A-keywords do have their drawbacks. They are extremely useful for
creating links to external help files in modular projects. However, as you will discover
yourself when you try, it is a lot of work 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.
See also:
Keywords and Indexes 273
Using A-keywords 281
9.8.2 Help Windows
The Microsoft HTML Help and Winhelp formats use sets of definitions referred to as "help
windows" to configure the help viewers used to display these formats. Help window
definitions can also be used to display individual topics in external windows when you link to
them.
Help window definitions are only relevant for HTML Help and Winhelp output. Their settings
are ignored in all other output formats.
Secondary windows
By default there is only one help window called Main, which defines the configuration of
the main help viewer for HTML Help and Winhelp.
You can define additional "secondary" help windows are used to display topics in external
help viewer windows when you link to them. You do this by selecting the name of the
secondary window in the Insert Hyperlink dialog, in the Window: field.
This is the only use for secondary windows, they have no other purpose and they are only
relevant in HTML Help and Winhelp.
See also:
Help Windows settings 660
Using help windows 121
External windows and invisible topics 808
9.8.2.1 External windows
In HTML Help and Winhelp you can use additional or "secondary" help window definitions to
display topics in external windows. An external window is a full-featured help viewer window
that is displayed separately from the main help window. In a way external windows are like
popups, but they have all the features of the main help viewer.
External windows are only supported in HTML Help and the obsolete Winhelp and can only
be activated by specifying a secondary help window in the definition of a hyperlink.
This makes it possible to display a normal topic with different background colors by
linking to it with a secondary help window.
See also:
Help Windows settings 660
Using secondary windows 429
9.8.2.2 Help windows in HTML Help
In HTML Help the Main help window definition defines the buttons and other features of the
main help viewer window. The size and position settings are only used the first time the user
opens the help after that Windows stores the user' settings and uses those the next time
the help is opened.
Secondary help windows can be used in HTML Help to display topics in external windows
with hyperlinks. This is a global setting (see below) if you turn it on all topics associated
with secondary windows will be displayed in external windows.
Secondary Hyperlinks to topics specifying secondary windows can display the topic
windows: in an external window if this feature is activated in the HTML Help
Options in Configuration > Common Properties > Help
Windows.
If this feature is not activated the Window: option in the Insert Hyperlink
dialog will simply be ignored.
Popups: Help window settings are irrelevant for popup topics. Popup topic files
are defined by selecting "Popup" as the Topic Class, either when
defining the topic or in the tab.
See also:
Help Windows settings 660
Using help windows 121
Creating popup topics 125
In Winhelp the help window defines the header and topic background colors as well as the
buttons and other features of the help viewer.
Hyperlinks to topics specifying a secondary window in the hyperlink definition always open
the target topic in an external window in Winhelp. If the window definition includes different
background colors they will be used when the topic is displayed.
Popups: Help window settings are irrelevant for popup topics. Popup topic files
are defined by selecting "Popup" as the Topic Class, either when
defining the topic or in the tab.
See also:
Help Windows settings 660
Using help windows 121
Creating popup topics 125
9.8.3 HTML Templates
Help & Manual uses editable HTML files referred to as "templates" to define the basic layout
of your topic pages in your published output. There are templates for your topic pages that
are used for all HTML-based output formats and additional templates that are only used for
Webhelp output, which are used to define the overall layout (frameset) and the Table of
Contents, Search and Index panes in the Webhelp help system generated by Help &
Manual.
See also:
Using HTML Templates 430
Templates in Help & Manual 416
Using help windows 121
9.8.3.1 Graphics in HTML templates
You can reference external graphics in HTML templates, using any graphics types
supported in HTML this is generally JPG, GIF and PNG.
See also:
Using Baggage Files 485
Using HTML Templates 430
Editing HTML templates 431
Help Windows 807
9.8.3.2 HTML Template Variables
You can use all global predefined variables 774 and user-defined variables 378 in HTML
templates 430 . 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 433 for details on how to use this variable.
<%TOPIC_TITLE_PATH%> This variable is similar to the breadcrumbs variable
above but it delivers the breadcrumb trail as a plain text
<%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 , 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%>" />
(This variable can also be used in normal topic pages.)
<%TOPIC_KEYWORDS%> Inserts all the keywords 274 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 281 of the current topic,
comma-separated.
<%HREF_PREVIOUS_PAGE%> Link address of the previous topic (used for Previous/
Next buttons).
<%HREF_NEXT_PAGE%> Link address of the next topic.
<%HREF_DEFAULT_PAGE%> Link address of the "Default" topic. This is used for the
Note on HREF-Variables: All the HREF variables insert the local names of the
corresponding pages within the current directory without
any path information, e.g. topic1name.htm,
topic2name.htm and so on.
See also:
Using Variables 376
Using HTML Templates 430
Editing HTML templates 431
Help Windows 807
9.8.3.3 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 406 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 Webhelp output, because they are only relevant there. See the lists below for
details.
These conditions are like special 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.
In HTML templates you can only use output format conditions for HTML-based output
formats (CHM, HTML, EBOOK and HXS). This is because these templates are only used for
HTML-based output so <IF_PDF> would not have any meaning, for example. Note that the
EBOOK condition applies both for Windows Exe and ePub eBooks.
<IF_TOPIC_HEADER> True if the current topic has a header and the header is not
empty (the variable <%TOPIC_HEADER%> is not equal to "").
<IF_TOPIC_HEADER> True if the current topic has a header and the header is not
empty (the variable <%TOPIC_HEADER%> is not equal to "").
<IF_TOGGLES> True if the current topic contains one or more toggles 350
(expanding text and images).
See also:
User-defined include options 406
Using HTML Templates 430
Conditional output in HTML templates 441
Help Windows 807
important to configure your project correctly to avoid problems in your compiled help files.
In addition to this there are also some important requirements for your Windows
configuration for Unicode-based languages, and you need to be aware of these before you
start work on a project in a language requiring Unicode.
The topics in this chapter provide some useful background information on handling
international languages that should make these issues easier to understand.
See also:
Language Settings 654 (Configuration Options)
International Language Setup 94
9.9.1 About H&M's Unicode support
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 94 and
Language Settings 654 for details on configuring your project output in the language you are
using, both with Unicode-based languages and other languages.
Webhelp, Windows Exe and ePub eBooks, RTF, Visual Studio Help / MS Help 2.0:
You can compile Unicode projects to these formats with any version of Windows 2000,
Windows XP or later provided you have the necessary language support installed to
display and edit the language you are using. Help & Manual itself handles the Unicode
output to Webhelp, eBooks and MS Word RTF, and the MS Help 2.0 compiler is fully
Unicode-compliant.
Winhelp and HTML Help:
The Winhelp and HTML Help compilers are not natively Unicode-enabled. (This is a
restriction of the compilers, not of Help & Manual). To be able to compile a project written
in a Unicode-based language to Winhelp or HTML Help the "system locale" of your
version of Windows 2000, Windows XP or later must be set to match the language you
are using. This is necessary to enable the HTML Help and Winhelp compilers to process
the language correctly for Unicode output.
Changing the system locale
Note that the system locale and the user locale are different! Simply setting the display
and/or data entry language does not change the system locale!
1. Log in to a user account with administrator privileges.
2. Open the Regional and Languages section in the Windows Control Panel.
· Windows 2000: Activate your language in the list of languages at the bottom of
the main tab and then select the same language as the locale at the top of the
same tab.
· Windows XP: Select your language as the default language for non-Unicode
programs in the Advanced tab (this tab is only displayed if you have
administrator privileges!).
· Windows Vista: Select the Change System Locale button in the Administrative
tab (this tab is only displayed if you have administrator privileges!).
3. Click on OK to apply the setting and then restart Windows.
See also:
International languages setup 94
Language Settings 654
9.9.2 About project language settings
The language settings for your project in Configuration > Common Properties >
Language Settings 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.
displayed.
See also:
Language Settings 654
International Languages Setup 94
9.9.3 Language settings and PDF
There are some additional settings that are relevant for PDF output when you are publishing
Unicode-based languages like Asian languages.
See also:
Language Settings 654
Program Options - PDF Export 650
PDF Font Embedding 692
X
826 Help & Manual 5 - User Help
Where can I get the Microsoft help compilers for compiling my output?
The free Microsoft help compilers are needed to generate HTML help CHM files and
Winhelp HLP files. These compilers can be freely downloaded from the Microsoft
website.
However, since the compilers are quite hard to find on the Microsoft site and the
locations sometimes change we provide links to most recent versions on our website:
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 MSDN 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.
When this option is used Help & Manual will automatically include topics referenced by
active hyperlinks even if you exclude them from your output with conditional output
controls.
There are a number of other options and methods for dealing with hyperlinks to
excluded topics. See Preventing dead links 404 for more information on all these options.
See also:
Compiling your Output 311
Conditions and Customized Output 399
I can't reformat a new empty paragraph. Applying a new style doesn't seem
to change anything.
A new paragraph must contain some text before you can apply a style correctly. Enter
some text first, then you will be able to apply the style.
all items except the first list item. See Formatting lists 193 for more details.
See also:
Text Formatting and Styles 155
Editing has become very slow and my .hmxz project file is much larger than
I expected!
You probably have a large number of image objects embedded in the text. This can
happen when you copy and paste images and text together MS Word. This
automatically inserts the images as embedded OLE objects, which uses up a very
large amount of memory and computer resources. Inserting a large number of large
OLE objects can also have the same effect, particularly on older and slower computers
with limited memory.
To solve this problem you can convert these embedded images into external graphics
files. Just right-click on the embedded images and select Convert Embedded Image in
the popup menu.
Identifying embedded images:
When you click on an embedded image it does not appear as a "negative" image.
Normally-inserted images appear as negatives with all their colors reversed when you
click on them.
Technically lists need to contain at least two items (paragraphs) because the formatting
of the list is "controlled" by the first paragraph. You can solve this problem by selecting
more than one paragraph or the entire text of a single paragraph before selecting the
bullet or numbering tool in the Toolbar.
Alternatively you can also place the cursor at the very beginning of the paragraph
(before the first paragraph) before selecting the list tool, this will also work.
See also:
Writing and formatting text 132
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. Help & Manual converts multiple spaces to alternating hard and soft
spaces to solve this problem but this will still not be accurate for tabular data.
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. You can use multiple spaces for indenting in code examples if you turn word
wrap off in the paragraph settings then all spaces will be non-breaking spaces, which
will render correctly.
Also use tables to create tabulated lists in HTML-based output formats.
Search isn't working in my HTML Help CHM output, even though I enabled it in my
project configuration!
This is probably a Microsoft HTML Help Workshop installation problem. To correct this
proceed as follows:
1. Uninstall MS HTML Help Workshop.
2. Download the latest version from our website at http://www.ec-software.com/
reshelp.htm
3. Log on to a Windows account with administrator rights (this is essential!) and install
the new version.
Full-text search for Webhelp is only supported in the Professional version of Help &
Manual because a royalty-free license for the search indexing tool is required.
When publishing to Webhelp you should also make sure that your user account has full
read-write access permissions to the Help & Manual program directory. Not having
write access here can sometimes cause generation of the search index to fail.
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. In the Project Explorer select the Default template in Configuration >
HTML Page Templates to change these texts.
If you want to get more fancy and do things like adding buttons with mouseover effects
you will need to edit the HTML code of the template yourself. See Using HTML
Templates 430 for more information on editing HTML templates.
By default the title bar of the help viewer displays the Project Title entered in
Configuration > Common Properties > Title & Copyright 654 .
This text is inserted in the help window title by inserting the <%TITLE%> variable in the
help window definition. This makes it possible to define different titles to be displayed
when topics are displayed in external windows using different help window definitions:
Go to Configuration > Common Properties > Help Windows 660 . Select the Main
help window type and check the Title bar text: field. If you insert <%TITLE%> here it will
insert the topic title, but you can enter any text you like.
Note that if a different title is assigned to the current help window this has priority over
the Help Title entered in the Title & Copyright 654 section. The help window title will
then be displayed in the help viewer title bar when a topic using the corresponding
window type is displayed.
I entered the title correctly but the help viewer of my CHM file always has the title
"HTML Help"!
This is a bug in the Microsoft HTML Help viewer. 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.
The only known solution is to set the Language of the help file in Configuration >
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 822 for more details.
The popups in my HTML Help output are only plain text, although I included bold
and other formatting in my popup topics!
By default, HTML Help only supports plain-text popups without any formatting. Help &
Manual provides another solution for formatted popups in HTML Help. See Creating
popup topics 125 for details
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 publishing.
To prevent this deselect the option Delete temporary files after compilation in the
Publish 590 dialog when you publish your project to HTML Help. You will then find all the
project files in the \~tmpchm folder in your project directory (the directory containing
your project file).
Help & Manual includes 42 predefined icons that can be used in the HTML Help TOC
by selecting Project > Manage Topics > Change > Icon. 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. Please complain to Microsoft. Loudly.
This is a restriction of HTML Help that cannot be changed. The # character is reserved
for bookmark (anchor) references from URLs and cannot be used in the paths. The
only solution is to make sure that there are no # characters in the paths to your help
files.
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 Configuration >
Publishing Options > HTML Help > HTML Export Options 671 .)
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.
HH -mapid 123456 myhelp.chm
Opens the file myhelp.chm and displays a topic referring to its help context number.
Select Context Tool in the Tools tab and then select the option Export Map File. This
exports the Topic IDs and corresponding context numbers to a standard map file. See
The Help Context Tool 539 for full instructions.
See also:
HTML Help 727 (Help Formats)
· Graphics in your PDF template: If you insert very large graphics in your PDF
templates 425 this will also increase the size of your PDF. Check all the template
sections for forgotten graphics, including graphics objects whose size has
accidentally been made very small they will still be exported to the PDF!
Note that the nominal image format doesn't affect the size of your PDF files. All
supported formats are converted to bitmaps.
possible to make these settings in two places (Project Properties and the template),
and this caused conflicts and mistakes for some users.
Graphics in tables extend beyond the edge of the page in PDF output!
When you place graphics on the page without tables they are automatically resized to
fit on the page in PDF. This is not possible for graphics in tables, however, because
here the table cell and not the page is the container for the graphic. When you insert
graphics in tables you need to make sure that your layout will fit on the page. In
addition to graphics clipping oversized graphics in tables will also switch all column
widths to variable in PDF, which will probably mess up your layout.
I created a PDF with active hyperlinks but the links are invisible!
Go to Configuration > Publishing Options > 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 690 .
See also:
Adobe PDF 737 (Help Formats)
See also:
PDF and Printed Manuals 325
Customize - PDF Export 650
See also:
Full-text Search configuration options 680
Check which custom dictionary you have activated for adding terms in the current
project in Spelling > Configure Spell Checker in the Project tab. You can use multiple
dictionaries for spell checking but you can only add new terms to one dictionary at a
time.
See also:
Spell checking 145
Spell Checker 543
Graphics in tables extend beyond the edge of the page in PDF output!
When you place graphics on the page without tables they are automatically resized to
fit on the page in PDF. This is not possible for graphics in tables, however, because
here the table cell and not the page is the container for the graphic. When you insert
graphics in tables you need to make sure that your layout will fit on the page. In
addition to graphics clipping oversized graphics in tables will also switch all column
widths to variable in PDF, which will probably mess up your layout.
See also:
Working with Tables 253
entries.
I undocked a Help & Manual window and now I can't dock it again!
You can always redock a window by double-clicking on its title bar (double-clicking also
works for undocking, by the way). In addition to this you can dock or undock any
dockable window by dragging it to the border of the main Editor window. Most windows
can be docked to any side of the editor window.
See also:
Options & Keyboard Shortcuts 31
See also:
Flash Animations and Video 269
Browse sequences are no longer supported. They were actually only relevant in
Winhelp (HTML Help and all other formats do not support browse sequences), which is
now an obsolete format that is only supported backward compatibility. If you are still
using Winhelp you should consider switching to HTML Help (CHM) or Webhelp (HTML)
as soon as possible.
The "chapters with text" in my project are empty in the Winhelp output!
The obsolete 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 publishing both to Winhelp and to formats that support chapters with text you
can use Help & Manual's conditional output features 399 to create alternative topic and
chapter versions for Winhelp and the other formats.
Single top-level topics become sub-topics of the next chapter above them in
the TOC!
This is an uncorrected bug in the Microsoft Winhelp format. If a chapter in the TOC is
followed by a single top-level topic the single topic will become a sub-topic of the
chapter above it.
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.
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"
The viewer program is located in the Windows directory does not require a path.
Command line parameters:
-Kxxxx
Find a keyword (xxxx)
-Nxxxx
Select Context Tool in the Tools tab and then select the option Export Map File. This
exports the Topic IDs and corresponding context numbers to a standard map file. See
The Help Context Tool 539 for full instructions.
See also:
Winhelp 740 (Help Formats)
Accessibility 743
ALink() macro
translation in HTML Help 223, 761
A-Links for links between modules 79 -B-
anchors background and borders (dialog reference) 611
about 801
background colors 93
assigning help context numbers to 205
backups
cannot import context numbers to 539
.hmxz~~ backup files 643
cannot search keywords in 280
automatic 83, 643
context numbers in 803
Baggage files
dead anchors 226
about 485, 486
do not edit 226
alternative to Extended .HHP settings 670
embedded topics 215
avoiding duplicates 488
hyperlinks to 71
defined 25
in browser-based HTML 226
graphics files, HTML template references 442
in embedded topics 215
include options with 488
Insert dialog (dialog reference) 627
integrating external files 231, 486
inserting 226
non-graphics files 486
linking to 226
removing and exporting 487
linking to anchors in 215
renaming 487
linking to in topics 215
restrictions and handling 488
linking to in Webhelp 229, 801
size of 488
maximum length 801
supported file formats 488
permitted characters 801
Baggage Files section 25
syntax for calling 801
batch files
using keywords with 226, 275, 280
for command line options 480
animations and videos 837
blanks for indents 172, 195
Insert dialog (dialog reference) 625
movie preview function not working 837 BMP images 238
videos not playing properly 837 BODY section of HTML template
Application Button 24 adding HTML code outside of 762
Application Menu BOM, switch off for PHP 671, 684, 697
Print Manual (dialog reference) 575 Bookmark 590
print preview (dialog reference) 577 bookmarks 593
Version Control System 578 bookmarks and comments
archive bit folder synching for FTP 671, 684, 697 inserting, using and editing 143
Asian languages borders
requiring Unicode 820 in tables 268
test-publishing on non-Asian Windows 94, 313 no paragraph borders displayed 828
tolerant option for compiling 649 borders and background (dialog reference) 611
associative linking breadcrumb trail navigation 778
and A-keywords 806 example and how-to 433
auto-correct function 546, 548 browse sequences
dictionary 145 not supported 837
spell checker 145 build conditions 785
automatic numbering 391 conditional text 410
autosize tables 254 defined 400
defining user conditions 406
for topic entries 787
for topic files 787
compilers for Microsoft help formats multiple context numbers per topic 205
compiler messages settings 649 required for CHM popups 125
options 649 value range 205
setting locations 649 Context Tool 600
where to get help compilers 311, 826 context-sensitive help
compile-time merging 461, 767 about 369, 788
compiling vs. publishing 288 about implementing 796
complex search and replace 154 and Webhelp 234, 373
compressed single-file mode 85 application calls and 372
conditional output auto-generating topics for 375
about 772, 785 creating topics for 370
and command line options 475 dual-mode HTML Help not supported 370
build conditions 785 field-level popups 234, 370, 373, 792, 796
conditions for HTML templates 782 in supported output formats 369
explained 400 popup topics for 370
find referrers 402 popups and 792
HTML template conditions 415 technologies for in Windows 789
in HTML templates 810 tutorials and tools for programmers 372, 796
include options 785 converter
links and 785 command line syntax 471
logic 402 converting old H&M projects 51, 87, 550
redefining variables for 414 converting styles 718
topic entry include options 787 converting tables to text 262
topic file include options 787 converting text to tables 262
tutorials 78 converting to plain text 143
using, general instructions 402 copy and paste 43
conditional text 785 between projects 102
insert dialog (dialog reference) 628 copying, cutting and pasting 579, 601
conditional text include options from Word 58
setting and editing 410 text and other content 139
Configuration unformatted text 139
and multi-user editing 518 without style information 139
setting color for read-only topics 518, 647 copyright notice 91
Configuration settings counter variables for numbering 391
variables in 388 creating hyperlinks 71
contact support - email link 652 creating new topics 56
content templates for new topics 110 creating projects (tutorial) 54
context numbers CSS styles 355, 357, 361
and anchors 205 custom builds
assigning automatically 205 settings in Project Configuration 658
assigning manually 205 custom code in HTML templates
auto-generating 205 transferring from .HM3 projects 87, 550
changing globally 456 custom user dictionaries
editing 205 multiple languages 145
finding 141, 290 spell checker 145
generating list 829, 837 customizing Help & Manual 31
Help Context Tool 600 automatic backups 643
in modular projects 456 compiler location settings 649
listing 534
© 1997 - 2009 by EC Software, all rights reserved
844 Help & Manual 5 - User Help
files formatting
excluding from full-text search in Webhelp 300 replacing, about 497
filter TOC by build options searching and replacing, about 498
filter TOC 585 formatting text 58
Find and Replace frames in Webhelp 674
Edit menu 602 frequently-used graphics
font styles 498, 500, 503 creating shortcuts to 251
formatting 498 FTP
graphics 249 archive bit mode for folder synching 671, 684,
images 141, 290 697
in TOC and Invisible Topics 141, 290 Second Copy folder synching program 671,
multi-user editing 518 684, 697
paragraph styles 498, 507, 510 full text search template 810
referrers 141, 290 full-text search
styles 828 excluding files from search index in Webhelp
text 141, 290 300
topics 141, 290 excluding page sections from search index in
Webhelp 300
variables 392
HTML template for Webhelp 438
Find Referrers 402, 404
in Webhelp 731
Topics menu 586
issues in Webhelp 313
F-Index 694
language files for other languages 75
Firefox
not working in HTML Help 829
underlined TOC entries, suppressing 77
settings for Webhelp 680
firewalls special settings for in Webhelp 300
and update checking function 643 template for in Webhelp 300
Flash files 269, 789 full-text search in Webhelp 296
editing HTML code for 271 deleting output folder before publishing 834
in eBooks 756 searching for exact words 834
in output formats 756 searching for phrases not possible 834
inserting in topics 269
font character set (language settings) 94
font size preview 132
changing 58, 132
-G-
font styles Get Latest VCS Version 588
searching and replacing 498, 500, 503 getting help for Help & Manual 37
fonts ghost links 225
change font for XML and HTML editors 647 GIF images 238, 753
CID font mode 692 global predefined variables 774
different in print and help file 175 global variables
embedding in PDF files 692 name syntax 381
Format Font (dialog reference) 606 plain text only 381
formatting tools 155 where supported 381
footers and headers graphics
creating in topics (HTML only) 433 about 753
in HTML pages 123 aligning 241
Format Font (dialog reference) 606 as table background 267
Format menu 604 caption style 717
Syntax Highlighting 607 captions, adding and formatting 239
converting to expanding image toggles 357
levels (outline numbering) 187 generating context numbers and topics with
lines 799
inserting 143 importing 539
link styling tutorial 77 restrictions 799
link texts master and child projects 764
editing 225 master projects 764
linking menu icons 24
to popup topics 125 menus reference
links Help tab 652
dead 288 MERGE command for importing HTML files 107
Insert dialog (dialog reference) 617 merge method in modular projects
preventing dead links 404 choosing and changing 447, 451
styling with CSS, tutorial 77 metafiles 753
to anchors 71, 226 Microsoft help compilers
to anchors in snippets 226 setting locations 649
tutorial 71 where to get 826
types supported 214 missing graphics 288
lists modular help
applying deletes indent 828 about 446
cannot indent 172 A-keywords and 236, 281, 806
output format in HTML 194, 671, 684, 697 linking between modules 236, 281
lists (dialog reference) 612 modular help systems
live spell checking 58 about 764
Load Topic from File 588 modular projects 764
loading multiple projects 43 about 764
loading projects 43 and Webhelp 464
localization 521 changing merge method 447
localization and translation child modules 770
features and support 522 child projects 447, 770
tutorials 522 context numbers, preventing duplicates 456
logic of include options 400 copying 454
Longhorn Help 725, 743 creating 447
editing child projects in master 447
editing in master 447
-M- graphics in 249, 456
hyperlinks between 229
macro links IDs, preventing duplicates 456
creating 223 include options 412
macros (Winhelp) inserting a project in the TOC (quick guide)
about 761 115
translation in HTML Help 223, 761 linking between modules 459, 770
macros and scripts managing modules in the TOC 454
variables in 388 master modules 770
map files master projects 447, 770
about 799 merge methods 451
auto-generating topics with 375 merge options for HTML Help 451
cannot import context nos. to anchors 539 merge options for Winhelp 451
exporting (with custom syntax) 539 nesting modules 770
field-level popups 799 planning 770
OLE objects
embedding 494
embedding vs. linking 757 -P-
examples 497
page breaks
implementation in Help & Manual 757
errors caused by tables 266
Insert dialog (dialog reference) 635
inserting 143
inserting from files 494
page referrers for PDF 575
restrictions 757
page referrers for PDF output 690
organizing styles 720
paragraph end marks
outline numbered lists
cannot select 135
customizing 187
paragraph marks
formatting 187
displaying in editor 647
level reset 187
paragraph styles 167, 718
levels 187
defining 161
number format 187
defining from selection 161, 169
number style 187
naming for easy finding 720
styles in 193
searching and replacing 498, 507, 510
output formats 87
paragraphs
about 725
borders and backgrounds (dialog reference)
Adobe PDF 737
611
configuring (introduction) 292
borders not displayed 828
configuring Adobe PDF output 301
copying problems 828
configuring ePub eBooks output 305
Format menu (dialog reference) 609
configuring HTML Help output 294
formatting tools 155
configuring printed manuals 301
indenting 172
configuring Visual Studio Help output 302
parent style
configuring Webhelp output 296
changing 164
configuring Windows eBooks output 304
paste as text
configuring Winhelp output 303
copying text without formatting 579, 601
configuring Word RTF output 304
PCD images 238
distribution files 319
PDF
eBooks, ePub 732
about 325
eBooks, Windows exe 735
additional pages in 325
ePub restrictions and requirements 305
CID font mode 94, 332, 692, 824
HTML Help 727
clipped graphics 650
Longhorn Help 743
configuring PDF output 301
MS Word RTF 739
embedding files in 220, 332
printed manuals 738
file embedding setting 690
Vista Help 743
font embedding 301
Visual Studio Help/Help 2.0 738
font embedding settings in Project Configuration
Webhelp 730
94, 692
which is best? 826
generating 326
Winhelp 740
including/excluding pages 301, 326, 330, 425
output size
layout settings in Project Configuration 690
larger after resizing graphics 242
linking to specific pages in 220
max. TOC levels 326
named destinations in 220
no graphics 650
page break errors 266
© 1997 - 2009 by EC Software, all rights reserved
856 Help & Manual 5 - User Help
XML Export/Import
text in images 528
XML files
check list for translators and editors 528
editable elements 528
exporting/importing topics 204
importing 102
reusing as snippets 102
XML schema 522
documentation 154
XML schema and stylesheet files 75
XML source code
complex search and replace 493
editing 154, 493
XML Source tab 154, 493
editing XML source code 132
XML topic files
importing into individual topics 100
-Z-
zoom factor for graphics 239, 242