OutputCurrentSection();
if (winHelp)
- wxFprintf(Contents, _T("}{\\v %s}\\par\\pard\n"), topicName);
+ {
+ wxFprintf(Contents, _T("}{\\v %s}\\pard\\par\n"), topicName);
+ //WriteEnvironmentStyles();
+ }
else if ((macroId == ltCHAPTER) || (macroId == ltCHAPTERHEADING))
wxFprintf(Contents, _T("}\\par\\par\\pard\n"));
if (winHelp)
{
if (!InPopups())
- wxFprintf(jumpFrom, _T("}{\\v %s}\\par\\pard\n"), topicName);
+ {
+ wxFprintf(jumpFrom, _T("}{\\v %s}\\pard\\par\n"), topicName);
+ //WriteEnvironmentStyles();
+ }
}
else if ((macroId != ltSECTIONSTAR) && (macroId != ltGLOSS))
{
if (winHelp)
{
if (!InPopups())
- wxFprintf(Sections, _T("}{\\v %s}\\par\\pard\n"), topicName);
+ {
+ wxFprintf(Sections, _T("}{\\v %s}\\pard\\par\n"), topicName);
+ //WriteEnvironmentStyles();
+ }
}
else if ((macroId != ltSUBSECTIONSTAR) && (macroId != ltMEMBERSECTION) &&
(macroId != ltFUNCTIONSECTION))
OutputCurrentSection();
if (winHelp)
- wxFprintf(Subsections, _T("}{\\v %s}\\par\\pard\n"), topicName);
+ {
+ wxFprintf(Subsections, _T("}{\\v %s}\\pard\\par\n"), topicName);
+ //WriteEnvironmentStyles();
+ }
else if ((DocumentStyle == LATEX_ARTICLE) && (macroId != ltSUBSUBSECTIONSTAR))
wxFprintf(Contents, _T("\\par\\pard\n"));
// Extra par if parskip is more than zero (usually looks best.)
// N.B. JACS 2004-02-21: shouldn't need this for linear RTF if
// we have a suitable set of styles.
+#if 0
if (winHelp && !inTabular && (ParSkip > 0))
{
TexOutput(_T("\\par"));
issuedNewParagraph ++;
}
+#endif
WriteEnvironmentStyles();
}
// 1 is a whole paragraph if ParSkip == 0,
// Don't need a par at all if we've already had one,
// and ParSkip == 0.
+#if 0
// Extra par if parskip is more than zero (usually looks best.)
if (winHelp && !inTabular && (ParSkip > 0))
{
TexOutput(_T("\\par"));
issuedNewParagraph ++;
}
+#endif
WriteEnvironmentStyles();
}
/*
wxChar *topicName = _T("bibliography");
if (winHelp)
+ {
wxFprintf(Contents, _T("{\\v %s}\\par\\pard\n"), topicName);
+ WriteEnvironmentStyles();
+ }
else
wxFprintf(Contents, _T("\\par\\par\\pard\n"));