|
@@ -495,18 +495,18 @@ procedure TLatexWriter.StartSection(SectionName : String);
|
|
begin
|
|
begin
|
|
WriteCommentLine;
|
|
WriteCommentLine;
|
|
WriteComment(SectionName);
|
|
WriteComment(SectionName);
|
|
- WriteComment('\section{'+EscapeText(SectionName)+'}');
|
|
|
|
|
|
+ Writeln('\section{'+EscapeText(SectionName)+'}');
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TLatexWriter.StartSubSection(SubSectionName : String);
|
|
procedure TLatexWriter.StartSubSection(SubSectionName : String);
|
|
begin
|
|
begin
|
|
WriteComment(SubSectionName);
|
|
WriteComment(SubSectionName);
|
|
- Write('\subsection{'+EscapeText(SubSectionName)+'}');
|
|
|
|
|
|
+ Writeln('\subsection{'+EscapeText(SubSectionName)+'}');
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure TLatexWriter.StartSubSubSection(SubSubSectionName : String);
|
|
procedure TLatexWriter.StartSubSubSection(SubSubSectionName : String);
|
|
begin
|
|
begin
|
|
- Write('\subsubsection{'+EscapeText(SubSubSectionName)+'}');
|
|
|
|
|
|
+ Writeln('\subsubsection{'+EscapeText(SubSubSectionName)+'}');
|
|
end;
|
|
end;
|
|
|
|
|
|
procedure CreateLaTeXDocForPackage(APackage: TPasPackage; AEngine: TFPDocEngine);
|
|
procedure CreateLaTeXDocForPackage(APackage: TPasPackage; AEngine: TFPDocEngine);
|
|
@@ -690,7 +690,10 @@ end.
|
|
|
|
|
|
{
|
|
{
|
|
$Log$
|
|
$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
|
|
* truncate log
|
|
|
|
|
|
Revision 1.9 2005/01/12 21:11:41 michael
|
|
Revision 1.9 2005/01/12 21:11:41 michael
|