Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

13 Converting to HTML/XHTML > 13.3 Including starting code and entity references


13.3 Including starting code and entity references

You can specify macro code to be inserted at the very beginning of each HTML output file, and entity references to be inserted before the <head> element:

[Inserts]

; location = macro to insert, can call another macro

; BeginFile is placed at the very start of the file

; Entities is placed before the HEAD element

See §28 Working with macros.

To specify an entity reference, create a macro with the entity reference code as the body of the macro, and indicate that the macro is to be placed before the <head> element. For example:

[Inserts]

Entities=<$MyEntities>

[MyEntities]

<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1//EN//HTML">

%HTMLlat1;

<!ENTITY % HTMLsymbol PUBLIC "-//W3C//ENTITIES Symbols//EN//HTML">

%HTMLsymbol;

Entity references are placed before the <head> element in each HTML output file, including split and extracted files.



13 Converting to HTML/XHTML > 13.3 Including starting code and entity references