浏览代码

+ More EscapeTex calls needed

michael 22 年之前
父节点
当前提交
425747c338
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      utils/fpdoc/dw_latex.pp

+ 5 - 2
utils/fpdoc/dw_latex.pp

@@ -263,7 +263,7 @@ begin
       Module := TPasModule(Package.Modules[i]);
       Module := TPasModule(Package.Modules[i]);
       ModuleName := LowerCase(Module.Name);
       ModuleName := LowerCase(Module.Name);
       WriteLn('');
       WriteLn('');
-      WriteLnF('\chapter{%s}', [Format(SDocUnitTitle, [Module.Name])]);
+      WriteLnF('\chapter{%s}', [EscapeTex(Format(SDocUnitTitle, [Module.Name]))]);
       WriteLabel(Module);
       WriteLabel(Module);
       ProcessSection(Module.InterfaceSection);
       ProcessSection(Module.InterfaceSection);
     end;
     end;
@@ -1298,7 +1298,10 @@ end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.2  2003-03-18 01:11:51  michael
+  Revision 1.3  2003-03-18 19:12:29  michael
+  + More EscapeTex calls needed
+
+  Revision 1.2  2003/03/18 01:11:51  michael
   + Some fixes to deal with illegal tex characters
   + Some fixes to deal with illegal tex characters
 
 
   Revision 1.1  2003/03/17 23:03:20  michael
   Revision 1.1  2003/03/17 23:03:20  michael