Commit 22f9c2d8 authored by Momme Butenschoen's avatar Momme Butenschoen

Amended skipping.

parent ad410719
...@@ -445,6 +445,7 @@ class PyProTex: ...@@ -445,6 +445,7 @@ class PyProTex:
# switch off verb, source and inspec # switch off verb, source and inspec
# --------------------- # ---------------------
if Fld[0] == self.bop_string: if Fld[0] == self.bop_string:
self.skip=0
if self.source: self.do_eoc() if self.source: self.do_eoc()
self.Str+=" \n" self.Str+=" \n"
self.Str+="%/////////////////////////////////////////////////////////////\n" self.Str+="%/////////////////////////////////////////////////////////////\n"
...@@ -753,7 +754,7 @@ class PyProTex: ...@@ -753,7 +754,7 @@ class PyProTex:
# Prologue or Introduction, print regular line (except for !) # Prologue or Introduction, print regular line (except for !)
# ----------------------------------------------------------- # -----------------------------------------------------------
if not self.skip and self.prologue or self.intro: if not self.skip and (self.prologue or self.intro):
if self.verb and len(Fld)==1 and Fld[0]==self.comment_string: if self.verb and len(Fld)==1 and Fld[0]==self.comment_string:
return return
elif(self.opt["g"]): elif(self.opt["g"]):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment