Help & Manual 5 - User Help

Adding and referencing files

Hide Navigation Pane

Adding and referencing files

Previous topic Next topic No directory for this topic Expand/collapse all hidden text  

Adding and referencing files

Previous topic Next topic Topic directory requires JavaScript JavaScript is required for expanding text JavaScript is required for the print function  

All files you add to the Baggage Files section are automatically included/exported in your HTML-based output. This is the best way to include files referenced in manually-edited code in your projects. You can reference all files in the Baggage section directly in your code. You don't have to add any path information because the files are always available on the same directory level as the other help files. All necessary copying and references are handled automatically by Help & Manual.

Note that non-graphics Baggage files are only exported in HTML-based formats (HTML Help and Webhelp). They are ignored in all other formats.

You can use Baggage files for files referenced in the code entered with Insert > HTML Code, the HTML code editing function of the Insert Movie Tool, all the HTML editing functions for HTML templates and the code you enter in scripts and macros.

Adding files to the Baggage section

Files you place in the Baggage section become part of your project and are always available. They do not have to be loaded from any external directory – you can even delete the original files after adding them to your Baggage.

1.In the Project Explorer, select Project Files > Baggage Files.
2.In the Ribbon select Add File > Add New File in Project > Manage Topics.
3.Select the file you want to add and click on OK. The file will be added to the Baggage list and will become part of your project.

Note that you can use include options for Baggage files!

Referencing Baggage files in your HTML code

Baggage files are always directly accessible for your code and they are always in the same directory as the other files in your output. This also applies in HTML Help – here the Baggage files are in the same internal "virtual directory" inside the CHM file as all the other files in your HTML Help system.

Baggage files can be referenced directly without any path information because they are always stored on the same directory level as the other help files. Just enter the name of the file as it is shown in the list in the Baggage section.

See also:

Inserting plain HTML code

Flash Animations and Video

Using HTML Templates

Inserting script and macro links