!subnode Questions concerning Windows Help
!ignore_links

!begin_description

##################################################

!item [WinHelp says that the RTF-File isn't a Windows Help file. Why?] ~

The RTF file UDO saves isn't a Windows Help file. It's just the source code
of a Windows Help file! You have to convert this source code with the
Microsoft Helpcompiler to get a Windows Help file.

##################################################

!item [Where can I get the Microsoft Helpcompiler?] ~

You can download the Microsoft Helpcompiler (!V)HC31.EXE(!v) from
Microsoft's FTP server (ftp.microsoft.com) free of charge. You shall find
the HC where UDO is available, too.

##################################################

!item [Why doesn't want the HC to compile UDO's output?] ~

This can have two reasons:

!begin_enumerate

!item	The UDO source file contains errors. Please take a look at UDO's log
file (suffix ''(!V).ulw(!v)'') and correct the errors you will find there.
If the log file doesn't contain any error messages your source file may
contain errors UDO hasn't detected.

!item	The HC is working incorrectly. Take a look at the HC's error file
(suffix ''(!V).err(!v)''). Unfortunately I can't tell you the sense of the
errors printed in the error file in most cases.

!end_enumerate

#################################################

!item	[What is the file ''(!V).hpj(!v)'' good for?] ~

When converting to Windows Help UDO will save an RTF file and a project file
for the Microsoft Helpcompiler named ''(!V).hpj(!v)''. You have to start the
HC by passing the name of this project file to get a Windows Help file.

This project file contains several information e.g. the title of the help
file, code for adding additional buttons, the size of the main window when
opening the help file.

UDO will overwrite this project file without previously asking you if you
want it. So, if you have changed the project file and you want to protect
your changes you have to write protect the project file.

##################################################

!item	[How does UDO generate headlines?] ~

UDO prints on every page (without the title page and the table of contents) a
headline. In this headline the chapter name is printed inside a
non-scrolling region. Thus you can see always the chapter name  even if you
scroll the text.

If you use the switch (!I)!/no_headlines~[win](!i) inside the preamble no
headlines will be printed.

If you use the command (!I)!/ignore_headline(!i) inside a chapter in this
chapter no headline will be printed.

##################################################

!item	[How does UDO create the context strings?] ~

If you want to create a link from another help file or a program to a help
file that was made with UDO you have to know how UDO creates the context
strings.

Windows Help doesn't allow to use special characters inside context strings.
UDO creates the context strings in the following way:

!begin_enumerate

!item	Special characters are printed in RTF form.

!item	Blanks will be replaced by underscores.

!item	All other characters except numbers and letters will be replaced by
their hexadecimal value with a leading underscore.

!end_enumerate

An example with German words:

!autoref [off]
!begin_quote
!begin_verbatim
UDO:     !node LaTeX-Einführung Teil 1
WinHelp: #{footnote # LaTeX_2DEinf_5C_27FChrung_Teil_1}
!end_verbatim
!end_quote
!autoref [on]

Description:

!begin_enumerate

!item	The hexadecimal ASCII code of the dash is ''(!T)0x2D(!t)''. The dash
will be replaced by ''(!T)_2D(!t)''.

!item	The ''ü'' inside ''Einführung'' is printed in RTF files like
''(!T)\'FC(!t)''. The ASCII code of the backslash (''\'') is
''(!T)0x5C(!t)'', so the backslash will be replaced by ''(!T)_5C(!t)''. The
ASCII code of ''(!T)'(!t)'' is ''(!T)0x27(!t)'', so the apostrophe will be
replaced by ''(!T)_27(!t)''.

!item	The blanks will be replaced by ''(!T)_(!t)''

!end_enumerate

Thus the single letter ""ü"" will be replaced by the really long string
''(!T)_5C_27FC(!t)'' wird. Maybe you want to say that this is quite awkward
but if UDO would simply replace the ""ü"" by ""FC"" problems would appear
very soon. Using the upper way the chance that UDO creates a context string
that is already used is very small.

##################################################

!item [Why doesn't UDO center tables?] ~

It's impossible to center table in Windows Help.


##################################################

!item [Why are there no lines inside tables?] ~

Windows Help doesn't allow it to layout complex tables like in RTF. It's
impossible to tell Windows Help where to draw lines. It's only possible to
tell Windows Help to print table cells with or without frames.

##################################################

!item [Indents in lists and cells in tables are too width, why?] ~

UDO doesn't know the width of the characters you use inside lists and
tables. Thus UDO is forced to calculate with values so that even bold and
italic capital letters will fit the cells. I think that it's better to have
cells with a width that is too large than too small.

##################################################

!item [How can I print graphic characters from the IBM-PC character set?] ~

Sorry, there's no way to print them.

I don't know the reason but Windows Help won't use the fonts ""Terminal"" or
""MS~LineDraw"". Windows Help will always use another font if you want to
use the upper fonts that contain the graphic characters.

Thus UDO will replace the graphic characters of the IBM-PC character set by
""+"", ""-"" or ""|"".

##################################################

!end_description
