From a8a32ac06f7913e0e5215fd5285740f3e0d2952f Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 10 Mar 2005 20:32:16 +0000 Subject: [PATCH] + Fixed subsection/section writing --- utils/fpdoc/dw_latex.pp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/utils/fpdoc/dw_latex.pp b/utils/fpdoc/dw_latex.pp index c2c8f395c7..bbdca8465d 100644 --- a/utils/fpdoc/dw_latex.pp +++ b/utils/fpdoc/dw_latex.pp @@ -495,18 +495,18 @@ procedure TLatexWriter.StartSection(SectionName : String); begin WriteCommentLine; WriteComment(SectionName); - WriteComment('\section{'+EscapeText(SectionName)+'}'); + Writeln('\section{'+EscapeText(SectionName)+'}'); end; procedure TLatexWriter.StartSubSection(SubSectionName : String); begin WriteComment(SubSectionName); - Write('\subsection{'+EscapeText(SubSectionName)+'}'); + Writeln('\subsection{'+EscapeText(SubSectionName)+'}'); end; procedure TLatexWriter.StartSubSubSection(SubSubSectionName : String); begin - Write('\subsubsection{'+EscapeText(SubSubSectionName)+'}'); + Writeln('\subsubsection{'+EscapeText(SubSubSectionName)+'}'); end; procedure CreateLaTeXDocForPackage(APackage: TPasPackage; AEngine: TFPDocEngine); @@ -690,7 +690,10 @@ end. { $Log$ - Revision 1.10 2005-02-14 17:13:39 peter + Revision 1.11 2005-03-10 20:32:16 michael + + Fixed subsection/section writing + + Revision 1.10 2005/02/14 17:13:39 peter * truncate log Revision 1.9 2005/01/12 21:11:41 michael