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. (This is why Help+Manual uses a flat-file model without sub-folders in its CHM and WebHelp output, by the way: easier referencing in your code.)
You can use Baggage files for files referenced in the code entered with Insert > HTML Code, the HTML code editing function of the Insert Video Tool, all the HTML editing functions for HTML templates and the code you enter in scripts and macros.
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 .
2.In the Ribbon select Add File > Add New File in
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!
|
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
Videos and Online Media
Using HTML Templates
Inserting script and macro links