ENDHEADING expected after HEADING

Since ENDHEADING serves to terminate a heading (which is started by the HEADING keyword), it should appear after the heading. Example:

heading
  caption = "My heading"

Add the ENDHEADING keyword to the end of the heading to correct the error:

heading
  caption = "My heading"
endheading

See Also
Errors