|
@@ -776,35 +776,41 @@ var
|
|
begin
|
|
begin
|
|
if pos('tex4ht:',Comment)=0 then
|
|
if pos('tex4ht:',Comment)=0 then
|
|
exit;
|
|
exit;
|
|
|
|
+{$ifdef DEBUG}
|
|
DebugMessage(GetFileName,'tex4ht comment "'
|
|
DebugMessage(GetFileName,'tex4ht comment "'
|
|
+Comment+'"',Line,1);
|
|
+Comment+'"',Line,1);
|
|
|
|
+{$endif DEBUG}
|
|
if SuppressOutput then
|
|
if SuppressOutput then
|
|
begin
|
|
begin
|
|
if (pos(SuppressUntil,Comment)=0) then
|
|
if (pos(SuppressUntil,Comment)=0) then
|
|
exit
|
|
exit
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
|
|
+{$ifdef DEBUG}
|
|
DebugMessage(GetFileName,' Found '+SuppressUntil+'comment "'
|
|
DebugMessage(GetFileName,' Found '+SuppressUntil+'comment "'
|
|
+Comment+'" SuppressOuput reset to false',Line,1);
|
|
+Comment+'" SuppressOuput reset to false',Line,1);
|
|
|
|
+{$endif DEBUG}
|
|
SuppressOutput:=false;
|
|
SuppressOutput:=false;
|
|
SuppressUntil:='';
|
|
SuppressUntil:='';
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
-{$ifdef DEBUG}
|
|
|
|
if (pos('tex4ht:graphics ',Comment)>0) and
|
|
if (pos('tex4ht:graphics ',Comment)>0) and
|
|
LastAnsiLoadFailed then
|
|
LastAnsiLoadFailed then
|
|
begin
|
|
begin
|
|
|
|
+{$ifdef DEBUG}
|
|
DebugMessage(GetFileName,' Using tex4ht comment "'
|
|
DebugMessage(GetFileName,' Using tex4ht comment "'
|
|
+Comment+'"',Line,1);
|
|
+Comment+'"',Line,1);
|
|
|
|
+{$endif DEBUG}
|
|
{ Try again with this info }
|
|
{ Try again with this info }
|
|
TagParams:=Comment;
|
|
TagParams:=Comment;
|
|
DocImage;
|
|
DocImage;
|
|
end;
|
|
end;
|
|
-{$endif DEBUG}
|
|
|
|
if (pos('tex4ht:syntaxdiagram ',Comment)>0) then
|
|
if (pos('tex4ht:syntaxdiagram ',Comment)>0) then
|
|
begin
|
|
begin
|
|
|
|
+{$ifdef DEBUG}
|
|
DebugMessage(GetFileName,' Using tex4ht:syntaxdiagram comment "'
|
|
DebugMessage(GetFileName,' Using tex4ht:syntaxdiagram comment "'
|
|
+Comment+'"',Line,1);
|
|
+Comment+'"',Line,1);
|
|
|
|
+{$endif DEBUG}
|
|
{ Try again with this info }
|
|
{ Try again with this info }
|
|
TagParams:=Comment;
|
|
TagParams:=Comment;
|
|
DocImage;
|
|
DocImage;
|
|
@@ -816,8 +822,10 @@ begin
|
|
end;
|
|
end;
|
|
if (pos('tex4ht:mysyntdiag ',Comment)>0) then
|
|
if (pos('tex4ht:mysyntdiag ',Comment)>0) then
|
|
begin
|
|
begin
|
|
|
|
+{$ifdef DEBUG}
|
|
DebugMessage(GetFileName,' Using tex4ht:mysyntdiag comment "'
|
|
DebugMessage(GetFileName,' Using tex4ht:mysyntdiag comment "'
|
|
+Comment+'"',Line,1);
|
|
+Comment+'"',Line,1);
|
|
|
|
+{$endif DEBUG}
|
|
{ Try again with this info }
|
|
{ Try again with this info }
|
|
TagParams:=Comment;
|
|
TagParams:=Comment;
|
|
DocGetTagParam('SRC',src);
|
|
DocGetTagParam('SRC',src);
|