");
+ HTMLHead();
+ TexOutput("");
TexOutput(ReferencesNameString);
TexOutput("\n");
OutputBodyStart();
@@ -2896,7 +2922,7 @@ bool HTMLGo(void)
OnError("Cannot open output file!");
return FALSE;
}
- AddTexRef("contents", FileNameFromPath(TitlepageName), ContentsNameString);
+ AddTexRef("contents", wxFileNameFromPath(TitlepageName), ContentsNameString);
fprintf(Contents, "%s
\n", ContentsNameString);
@@ -2968,17 +2994,19 @@ bool HTMLGo(void)
if (DocumentTitle)
{
SetCurrentOutput(tmpTitle);
- TexOutput("\n\n
");
+ HTMLHead();
+ TexOutput("\n");
TraverseChildrenFromChunk(DocumentTitle);
TexOutput("\n");
}
else
{
SetCurrentOutput(tmpTitle);
+ HTMLHeadTo(tmpTitle);
if (contentsString)
- fprintf(tmpTitle, "%s\n\n", contentsString);
+ fprintf(tmpTitle, "%s\n\n", contentsString);
else
- fprintf(tmpTitle, "%s\n\n", FileNameFromPath(FileRoot));
+ fprintf(tmpTitle, "%s\n\n", wxFileNameFromPath(FileRoot));
}
// Output frame information
@@ -2992,8 +3020,8 @@ bool HTMLGo(void)
fprintf(tmpTitle, "