On 6/26/2013 10:20 AM, luigi scarso
wrote:
TYPO: It's l-pdfview.lua sometimes my memory....
From my standalone (updated yesterday)
..[snip]..
if os.type == "windows" then
opencalls = {
['default'] = "pdfopen --rxi --file",
['acrobat'] = "pdfopen --rxi --file",
['fullacrobat'] = "pdfopen --axi --file",
['okular'] = 'start "test"
"c:/data/system/kde/bin/okular.exe" --unique', -- todo!
['sumatra'] = 'start "test"
"c:/data/system/sumatrapdf/sumatrapdf.exe" -reuse-instance',
['okular'] = 'start "test" "okular.exe" --unique',
['sumatra'] = 'start "test" "sumatrapdf.exe"
-reuse-instance -bg-color 0xCCCCCC',
}
closecalls= {
['default'] = "pdfclose --file",
['acrobat'] = "pdfclose --file",
['okular'] = false,
['sumatra'] = false,
}
allcalls = {
['default'] = "pdfclose --all",
['acrobat'] = "pdfclose --all",
['okular'] = false,
['sumatra'] = false,
}
pdfview.method = "acrobat" -- no longer useful due to green pop
up line and clasing reader/full
pdfview.method = "sumatra" <===========================
runner = function(cmd)
os.execute(cmd) -- .. " > /null"
end
else
..[snip]..
Although I first discovered this when trying to use SciTE, it does
the same thing if invoked from the command line. The pdf viewer does
not appear in any of the SciTE *.properties files.
--
Bill Meahan
Westland, Michigan
"The nice thing about standards is there are so many of them."
--Henry Spencer