From 2a77dc5ec6de961a4fe7ed0815dcd695390c776b Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 29 Apr 2015 18:04:51 +0200 Subject: [PATCH] Forgot to escape the dot --- lib/scripts/lyxpreview2bitmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py index aa37ed03e2..90deec813c 100755 --- a/lib/scripts/lyxpreview2bitmap.py +++ b/lib/scripts/lyxpreview2bitmap.py @@ -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 -- 2.39.5