sLister WLX plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: sheep, Hacker, Stefan2, white

Post Reply
iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2012-03-25, 21:36 UTC

I build it here you go
SumatraPDF portable 2.1 rev 6058
http://www.mediafire.com/?97xdk5xwx6ul2lv

sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp » 2012-03-26, 06:02 UTC

Alextp wrote:Can i put Ghostscript into sLister folder, w/o running any BATs, only portable installing and EPS supported?
Yes, if you add gs's path to PATH before running sumatrapdf. Universal viewer can change its own copy of PATH when it starts. That's what I do with TC with the autoruns plugin. No BATs needed.
Autoruns plugin, add below lines to autorun.cfg

Code: Select all

# add portable ghostscript path for SumatraPDF as invoked by wlx slister plugin
# adapt paths to your setup
SetEnv /EV /A PATH ;%COMMANDER_PATH%\..\ghostscript\bin


User avatar
MaxX
Power Member
Power Member
Posts: 644
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2012-03-26, 11:42 UTC

2iana
thanks, it works good

sgp
Senior Member
Senior Member
Posts: 355
Joined: 2005-01-31, 16:04 UTC

Post by *sgp » 2012-03-26, 11:48 UTC

iana wrote:The "full version" comes with a browser plugin (for browsers that support netscape plugins like Firefox, Chrome, Opera no ie)
here's the latest build 2.1 r6046:

SumatraPDF2.1r6046-Installer 4.1MiB:
http://www.mediafire.com/?g44ioqkm4td1ib2
The browser plugin works with a portable browser. I just tested Opera portable on Windows 7 32-bit. Download installer from the above link, hit Ctrl+PgDown and unpack four files in your browser's plugins folder, and follow configuration instructions from http://blog.kowalczyk.info/software/sumatrapdf/manual.html
Unpack these files:
  • SumatraPDF.exe
    npPdfViewer.dll
    libmupdf.dll
    DroidSansFallback.ttf

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2012-03-26, 13:24 UTC

The browser plugin works with a portable browser.
Yes and if you want a portable browser all you need is the portable version of sumatrapdf.exe and the npPdfViewer.dll, just copy these two files to your browsers plugin directory, newer browsers have an optional plugins dir in the Application Data.
Here are the updated SumatraPDF 2.1 rev 6064 files:
1. SumatraPDF 2.1 rev 6064 Portable 1,69 MB:
http://www.mediafire.com/?u85hexao36l7f5s
2. SumatraPDF 2.1 rev 6064 Installer 4,19 MB:
http://www.mediafire.com/?nd636adyqkgn3zs
3. Browser Plugin npPdfViewer 2.1 rev 6064 8,18 KB:
http://www.mediafire.com/?zv8naalw5lty9qr

For a portable browser you only need the 1st and 3rd file, for a full install (Explorer Extension, ifilter, Browser plugin) the 2nd file.
The DroidSansFallback.ttf is a free Unicode Font needed for badly created pdf files (files that use Unicode characters but the font isn't embedded for most users it's not needed). I only uploaded this files beacose of the improved epub support , I won't be uploading every build that would make this thread extremely long and useless.

User avatar
MaxX
Power Member
Power Member
Posts: 644
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2012-03-30, 16:01 UTC

Ok, now plugin (and program directly) work's well, does not fall while opening fb2 & epub files.
But, cover-images (first page must be) of almost all books are shown only for few files, not fot all.

E.g.
http://www.etextlib.ru/Book/Details/4137 - epub shows cover normally, fb2 - not
http://www.etextlib.ru/Book/Details/19184 - both of files are shown normally (just some diffrence in text, due to file's content)

What we have and what must be.
It's simple - we must see first-paged book cover.

I say it's a bug because another TC plugin (OOoViewer.wlx) shows covers normally.

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2012-03-30, 21:40 UTC

You should report this at the sumatrapdf forum
http://forums.fofou.org/sumatrapdf/
They've added support for embedded images in fb2 and zipped fb2's, you should report that file at their forum it maybe a format issue (could be an unsupported format maybe gif not sure gif's are supported).
While I'm here here's a link to the portable build 2.1 revision 6109:
(vc9 build should work on 2k too)
~1.7MiB
http://www.mediafire.com/?7p7cbdyj109opvy

User avatar
MaxX
Power Member
Power Member
Posts: 644
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2012-03-30, 21:43 UTC

iana wrote:You should report this at the sumatrapdf forum
http://forums.fofou.org/sumatrapdf/
Sorry, can't report. I'm not reg-ed there.
Please, if you can - do it for me.

As the exampe files you can take any book-file you can download from that site.

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2012-03-30, 22:08 UTC

Their forum doesn't require registration, btw I reported that file, and Zeniko will fix it soon.

User avatar
MaxX
Power Member
Power Member
Posts: 644
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2012-03-31, 15:55 UTC

Tnx

sophron
Junior Member
Junior Member
Posts: 3
Joined: 2012-04-03, 04:51 UTC

Where is bookmark column of a PDF file?

Post by *sophron » 2012-04-03, 05:06 UTC

With the latest Official SumatraPDF 2.0 and slister 1.1.2, the bookmark tab of a PDF file disappears. But with SumatraPDF 1.8, it has no problem.

Does anybody experience the same as me?

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2012-04-05, 12:41 UTC

@sophron not sure about 1.8 but yes with 2.0 and 2.1 beta by default the bookmarks are hidden, if the file has bookmarks just hit F12 they will be shown, it maybe a feature or a bug not sure I think it's an slister issue as bookmarks are shown in the standalone sumatra viewer.
Unfortunately in the latest svn release of SumatraPDF, epub uses the new window layout and can't be embedded with slister (bookmarks and links don't work either :( ) so the detection string should now be

Code: Select all

MULTIMEDIA& (EXT="PDF" | EXT="DJVU" | EXT="DJV"| EXT="XPS" | EXT="CBZ" | EXT="CBR" | EXT="CHM" | EXT="PS" | EXT="EPS" | EXT="FB2")

update:
according to zeniko his builds use the old layout for epub, so if you're using zeniko's builds you can have as your detection string:

Code: Select all

MULTIMEDIA& (EXT="PDF" | EXT="DJVU" | EXT="DJV"| EXT="XPS" | EXT="CBZ" | EXT="CBR" | EXT="CHM" | EXT="PS" | EXT="EPS" | EXT="FB2" | EXT="EPUB")
for epub in lister use zeniko's builds http://www.zeniko.ch/#SumatraPDF
According to zeniko to enable epub with the old layout you should:

Code: Select all

#define DISABLE_EBOOK_UI

in SumatraPDF.h

#define ENABLE_EBOOK_ENGINES

at the top of EngineManager.h.
in the future the mobile formats will use the mobile window format so this is only a temporary fix.

update:
by disabling the "ebook UI" mobi files can be embedded in lister
so if you build it yourself or get zeniko's build the string can read:

Code: Select all

MULTIMEDIA& (EXT="PDF" | EXT="DJVU" | EXT="DJV"| EXT="XPS" | EXT="CBZ" | EXT="CBR" | EXT="CHM" | EXT="PS" | EXT="EPS" | EXT="FB2" | EXT="EPUB" | EXT="MOBI")

User avatar
MaxX
Power Member
Power Member
Posts: 644
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2012-04-13, 14:45 UTC

Have a bug in SumatraPDF's any newer versions after 2.1.0.6259 (this one build is last good).

Just simply set "Ctrl+8" faced (2 pages with title-page) view without scrolling:
• 2.1.0.6259 (and previous) shows normally
  1. http://i060.radikal.ru/1204/9d/88b406462d05.png
  2. http://s019.radikal.ru/i611/1204/37/708d699a6f50.png
• any newer builds (e.g. 2.1.0.6319 on my screenshots) show second page twice:
  1. http://s019.radikal.ru/i640/1204/d6/d2a14848364b.png <- here's bug
  2. http://s019.radikal.ru/i611/1204/37/708d699a6f50.png

Edit:
1. This bug can be reprodused with any document - pdf / fb2 / epub...
2. I use only Zeniko's builds from here.
3. I've tested now official prerelease from here build 6325 (this one) from Kowalczyk -> I'm getting the same trouble.

iana
Senior Member
Senior Member
Posts: 342
Joined: 2010-07-27, 22:00 UTC

Post by *iana » 2012-04-13, 18:10 UTC

Have a bug in SumatraPDF's any newer versions after 2.1.0.6259
Yea I can confirm that with rev 6329, you should write on Sumatra's forum, their forums are open no need for registering just provide a username (whatever you want) and an email (doesn't need to be a real one) and you can post there, they'll probably fix it soon.
http://forums.fofou.org/sumatrapdf/ or simply go to the this link:
http://forums.fofou.org/sumatrapdf/post

btw good news for XP users, the explorer preview handler has been ported to XP, at the moment only pdf files are supported but cbz/cbr/xps/fb2 are planned, unfortinetly zeniko doesn't provide Installer builds of the prerelease, only portable and kris's builds don't include epub/fb2 support you'll need to build it your self or if someone want's it, write and I'll provide a build :)

User avatar
MaxX
Power Member
Power Member
Posts: 644
Joined: 2012-03-23, 18:15 UTC
Location: Earth

Post by *MaxX » 2012-04-13, 19:09 UTC

Posted there: http://forums.fofou.org/sumatrapdf/topic?id=2597370
Waiting for reply.

Edit:

I've just seen this:
iana wrote:by disabling the "ebook UI" mobi files can be embedded in lister
so if you build it yourself or get zeniko's build the string can read:
[face=courier]MULTIMEDIA&(EXT="PDF"|EXT="DJVU"|EXT="DJV"|EXT="XPS"|EXT="CBZ"|EXT="CBR"|EXT="CHM"|EXT="PS"|EXT="EPS"|EXT="FB2"|EXT="EPUB"|EXT="MOBI")[/face]
As I see, *.mobi files are supported now. Where can I get them to try this feature?

Post Reply