From a79f98621cca3304c06ab3312603b3314bfe773f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Jul 2014 19:29:33 -0400 Subject: v5 v6: ensure reset of parsed document directory path * needed in the case of html for some subsequent processing --- lib/sisu/v5/texpdf.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/sisu/v5/texpdf.rb') diff --git a/lib/sisu/v5/texpdf.rb b/lib/sisu/v5/texpdf.rb index 7d12b249..8d6a01c5 100644 --- a/lib/sisu/v5/texpdf.rb +++ b/lib/sisu/v5/texpdf.rb @@ -114,7 +114,11 @@ module SiSU_TeX end end def read - song + begin + song + ensure + Dir.chdir(@opt.f_pth[:pth]) + end end def song begin -- cgit v1.2.3