]> git.lyx.org Git - features.git/commitdiff
Forgot to escape the dot
authorEnrico Forestieri <forenr@lyx.org>
Wed, 29 Apr 2015 16:04:51 +0000 (18:04 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Wed, 29 Apr 2015 16:04:51 +0000 (18:04 +0200)
lib/scripts/lyxpreview2bitmap.py

index aa37ed03e2ec27299ac3db510b7a856a1d9969b5..90deec813c0f71b321d377de1497906354da2bdb 100755 (executable)
@@ -221,7 +221,7 @@ def find_ps_pages(dvi_file):
     dv2dt_status, dv2dt_output = run_command(dv2dt_call)
     psliteral_re = re.compile("^special[1-4] [0-9]+ '(\"|ps:)")
     hyperref_re = re.compile("^special[1-4] [0-9]+ 'ps:.*/DEST pdfmark")
-    pdffile_re = re.compile("^special[1-4] [0-9]+ 'PSfile=.*.(pdf|png|jpg|jpeg|PDF|PNG|JPG|JPEG)")
+    pdffile_re = re.compile("^special[1-4] [0-9]+ 'PSfile=.*\\.(pdf|png|jpg|jpeg|PDF|PNG|JPG|JPEG)")
 
     # Parse the dtl file looking for PostScript specials and pdflatex files.
     # Pages using PostScript specials or pdflatex files are recorded in