summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-10-12 18:53:46 +0100
committerTom Hacohen <tom@stosb.com>2013-10-12 18:53:46 +0100
commit7934d2c1bc3d4dafbd77fc67b7363a984276c3f7 (patch)
tree2dcd1f43f07b2e5d76646293a975017fbae2e5c8
parent5e44c9677e193bf115270d793c3fe8e1c96a04a8 (diff)
Match against \NOTE instead of %NOTE and force having {}.HEADmaster
-rwxr-xr-xlatex-pdfpc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/latex-pdfpc.py b/latex-pdfpc.py
index 9a22a4d..5c31bd1 100755
--- a/latex-pdfpc.py
+++ b/latex-pdfpc.py
@@ -17,7 +17,7 @@ if not f:
17 exit(2) 17 exit(2)
18 18
19for line in f: 19for line in f:
20 match = re.search("%NOTE{?([^}]*)}?", line) 20 match = re.search("\\NOTE{([^}]*)}", line)
21 if match: 21 if match:
22 current_notes.append(match.group(1)) 22 current_notes.append(match.group(1))
23 elif re.search("\\end{frame}", line): 23 elif re.search("\\end{frame}", line):