summaryrefslogtreecommitdiff
path: root/scripts/context/ruby/base/pdf.rb
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2013-10-20 01:20:14 +0300
committerMarius <mariausol@gmail.com>2013-10-20 01:20:14 +0300
commit965214d981e6129b782c67adcaf3a81aedcb0bac (patch)
tree84f5945aae8efc9b6eb1898b873be5453cafe43d /scripts/context/ruby/base/pdf.rb
parente7d0d90a434e5452ff9e86c8abab5a4cac35e2f1 (diff)
downloadcontext-965214d981e6129b782c67adcaf3a81aedcb0bac.tar.gz
stable 2013.05.28 00:36
Diffstat (limited to 'scripts/context/ruby/base/pdf.rb')
-rw-r--r--scripts/context/ruby/base/pdf.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/scripts/context/ruby/base/pdf.rb b/scripts/context/ruby/base/pdf.rb
index 6be0d3f98..5aec06fc5 100644
--- a/scripts/context/ruby/base/pdf.rb
+++ b/scripts/context/ruby/base/pdf.rb
@@ -5,24 +5,16 @@ module PDFview
@closecalls = Hash.new
@allcalls = Hash.new
- # acrobat no longer is a valid default as (1) it keeps crashing with pdfopen due to a dual acrobat/reader install (a side effect
- # of the api changing every version, and (2) because there are all these anyoing popups with respect to signed, review, online
- # this and that stuff ... hardly useable as fast previewer, and (3) sumatra is faster and nicer and doesn't block (okay, we have to
- # get rid of this horrible yellow bg-coloring buts that is doable
-
- @method = 'sumatra' # 'default' # 'xpdf'
+ @method = 'default' # 'xpdf'
@opencalls['default'] = "pdfopen --file" # "pdfopen --back --file"
@opencalls['xpdf'] = "xpdfopen"
- @opencalls['sumatra'] = 'start "test" sumatrapdf.exe -reuse-instance -bg-color 0xCCCCCC'
@closecalls['default'] = "pdfclose --file"
@closecalls['xpdf'] = nil
- @closecalls['sumatra'] = nil
@allcalls['default'] = "pdfclose --all"
@allcalls['xpdf'] = nil
- @allcalls['sumatra'] = nil
def PDFview.setmethod(method)
@method = method