git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27660
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( combineSubSections && !subsectionStarted )
{
if ( combineSubSections && !subsectionStarted )
{
// Read old .con file in at this point
wxChar buf[256];
wxStrcpy(buf, CurrentSectionFile);
// Read old .con file in at this point
wxChar buf[256];
wxStrcpy(buf, CurrentSectionFile);
+ // NB: if this is uncommented, the table of contents
+ // completely disappears. If left commented, it's in the wrong
+ // place.
+ //fflush(Titlepage);
+
FILE *fd = wxFopen(ContentsName, _T("r"));
if (fd)
{
FILE *fd = wxFopen(ContentsName, _T("r"));
if (fd)
{
ch = getc(fd);
}
fclose(fd);
ch = getc(fd);
}
fclose(fd);
{
SetCurrentOutput(tmpTitle);
HTMLHead();
{
SetCurrentOutput(tmpTitle);
HTMLHead();
- TexOutput(_T("\n<HEAD><TITLE>"));
+ TexOutput(_T("\n<TITLE>"));
TraverseChildrenFromChunk(DocumentTitle);
TexOutput(_T("</TITLE></HEAD>\n"));
}
TraverseChildrenFromChunk(DocumentTitle);
TexOutput(_T("</TITLE></HEAD>\n"));
}
// Output <BODY...> to temporary title page
OutputBodyStart();
// Output <BODY...> to temporary title page
OutputBodyStart();
// Concat titlepage
FILE *fd = wxFopen(TitlepageName, _T("r"));
// Concat titlepage
FILE *fd = wxFopen(TitlepageName, _T("r"));