Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-05-20 17:29:15 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-05-20 17:29:15 (GMT)
commitad8696b64e93488e3b87d72797bb26570002f059 (patch)
tree763ec74cd6fe09bac4659908e9a5c472b0ee5fc7
parent9fa15b040ad24704216382a5254931e73a0d32a3 (diff)
show container exception
-rw-r--r--taexportlogo.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/taexportlogo.py b/taexportlogo.py
index be20172..4031c2c 100644
--- a/taexportlogo.py
+++ b/taexportlogo.py
@@ -100,6 +100,7 @@ tasetshade :shade \r"
arc = 0
heap = 0
write = 0
+ show = 0
minus = 0
image = 0
for b in bs:
@@ -124,7 +125,7 @@ tasetshade :shade \r"
write = 0
else:
this_stack += str(d)
- elif write == 2:
+ elif show == 2:
# use title for Journal objects
if d[0:8] == '#smedia_':
try:
@@ -135,7 +136,7 @@ tasetshade :shade \r"
this_stack += str(d)
else:
this_stack += str(d)
- write = 0
+ show = 0
else:
# transalate some TA terms into UCB Logo
if namedstack == 1:
@@ -256,9 +257,10 @@ tasetshade :shade \r"
write = 1
elif d == 'show':
this_stack == "label"
+ show = 1
elif d == "container":
- if write == 1:
- write = 2
+ if show == 1:
+ show = 2
elif d == "minus":
this_stack == "taminus"
minus = 1