Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for the hightlighter feature in sumatraPdf. #747

Closed
Ne-vermind opened this issue Mar 12, 2017 · 21 comments
Closed

Request for the hightlighter feature in sumatraPdf. #747

Ne-vermind opened this issue Mar 12, 2017 · 21 comments

Comments

@Ne-vermind
Copy link

Sir I am a regular user of sumatraPdf i.e 24X7 user. If you can add features such as highlighter and read-out-text option then it may help others as well. When I need to hightlight some text inside a pdf file then I have to move myself for adobe reader as adobe reader does the work perfectly and it also comes with colour variation features. Please try to incorporate these features in the coming versions of sumatraPdf, thank you.

@zklhp
Copy link
Contributor

zklhp commented Mar 13, 2017

Please download the pre-release version here:

http://www.sumatrapdfreader.org/prerelease.html

It has the highlight feature.

Select some text, press H key, the content will be highlighted. Select the same text, press H, the highlight disappears.

@SumatraPeter
Copy link

Duplicate of #185

@jlanza
Copy link

jlanza commented Sep 14, 2017

I'm testing this feature now and it is not working properly. If I select the exact same text I manage to remove the hightlighting, but if I select just part of it, it includes another hightlight layer on it. And from them on is a complete mess to remove the highlight.

@SumatraPeter
Copy link

SumatraPeter commented Sep 17, 2017

@jlanza: Yes, the highlight feature is indeed quite buggy, but unfortunately the dev who was working on it seems to have left the project. You can try the third-party Sumatra Highlight Helper instead.

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Aug 15, 2019

Just an updatory comment that Audio Reading and Highlighting are both considered experimental in SumatraPDF.

There are well supported and good comparable (lighter weight than acrobat) Audio pdf readers such as NVDA (initial Binary File =23.3 MB)

For annotation (e.g. highlighting) SumatraPDF uses some limited features from the MuPDF engine and thus more recent copies of MuPDF-GL are most useful for producing and editing annotation that is highly compatible with SumatraPDF reader

@misrarmm
Copy link

highlighting feature not working in SumatraPDF
SHIFT+h is for previous page.

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Oct 12, 2019

@misrarmm As stated above highlight was ONLY available in the pre-release version from https://www.sumatrapdfreader.org/prerelease.html and that should still be the case NOTE it is control mouse to select an area or click and drag across text then simply A (no shift) for temporary highlighting the selected area and deselecting is not usually possible after it gets saved (hence buggy). There are two save modes so keep a backup of the original just in case you want to go back to a version without the highlights. I suggest save into file is best set to false then you can more easily edit the highlights using notepad in the .smx file
Also be aware there are the shortfalls mentioned above and elsewhere so I highly recommend using the lightweight MuPDF GL version which can add and remove highlights as the companion editor since its highly compatible with SumatraPDF. The two can be linked in SumatraPDF such that reading a page in SumatraPDF via the menu it can then be called in MuPDF for editing.

@stevenlis
Copy link

For some reasons, it doesn't work on my end. Am I missing something?

demo

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Dec 11, 2019

@StevenLi-DS Please read issue #1304 it is working but invisible in pre-release
image

also see https://forum.sumatrapdfreader.org/t/highlighting-problem-in-prerelease-version/2496

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Jan 3, 2020

Ok just a heads up that Audio Reading a PDF, highlighting it and adding Notes (comments) are all features of Windows 10 via Edge
I am not a fan of using Edge for browsing (Firefox is my default browser) but it provides all these functions in a dual user working fashion (as long as the file is under 32MB)
This not too different to the way a 1GB Latex Editor is combined with SumatraPDF as the fast light previewer (but with a zero GB installation overhead)

image

@SumatraPeter
Copy link

Ok just a heads up that Audio Reading a PDF, highlighting it and adding Notes (comments) are all features of Windows 10 via Edge
I am not a fan of using Edge for browsing (Firefox is my default browser) but it provides all these functions in a dual user working fashion (as long as the file is under 32MB)

@GitHubRulesOK: The new Edge-Chromium (which I like) is officially scheduled to replace the old Edge via Windows Update a few days from now, so guess we need to start testing with it instead. Note that it may not (yet) offer all the PDF-related functions of the old version.

@GitHubRulesOK
Copy link
Collaborator

@SumatraPeter I had heard the engine could change but was not aware its imminent thanks for the heads up on that
PS any idea how to reliably pass a file:///name to edge, I tried several ways to call alias exe and protocol:// without any joy but since I knobled http(s) protocol from opening edge that may be part of the cause

@SumatraPeter
Copy link

Haven't looked into it, but given that legacy Edge is a UWP app I'm not at all surprised it causes such issues. 🙄 Thankfully Edge-Chromium is a standard Win32 EXE!

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Jan 4, 2020

@SumatraPeter that sounds promising if they keep it as a standard.exe but edge using an alias looks like MicrosoftEdge.exe however when I call it it just flashes on and then closes without visible feedback,. One of the many reasons I use FirefoxPortable.exe

@SumatraPeter
Copy link

SumatraPeter commented Jan 5, 2020

@GitHubRulesOK: I guess you can try downloading the latest binary for Edge Launcher from MS, then invoke it with something like MicrosoftEdgeLauncher.exe file:///C:/path/to/file.pdf

@GitHubRulesOK
Copy link
Collaborator

@GitHubRulesOK
Copy link
Collaborator

Just an update to the comments above about edge which is now chromium based and easier to access

The command to open the current html or pdf page in edGe for highlighting / read aloud is now

ExternalViewers [
	[
		CommandLine = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" file://"%1#page=%p"
		Name = Ed&ge
		Filter = *.htm;*.html;*.pdf
	]
]

in this case I have set the shortcut to Alt+F+G

@SumatraPeter
Copy link

What I find really idiotic is why MS is so slavishly following everything Chrome/Chromium does. I would have expected them to correct some of the more egregious errors at least, but no, just as 64-bit Chrome dating back to half a decade or more ended up in Program Files (x86), so does 64-bit ChrEdge in 2020. 🙄

The command to open the current html or pdf page in edGe for highlighting / read aloud is now

Unfortunately they removed Read Aloud for PDFs from ChrEdge quite a few months ago and there's still no sign of it as far as I can see. 😞

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented May 2, 2020

@SumatraPeter
Agreed the location is odd, but at least it is accessible, which as you rightly point out, is not the case for "Read aloud", (it currently reads out html, but not pdf, unlike before !)

I still keep a portable acrobat reader since nothing else can equal its display of Adobe modified PDFs (i.e. 3D, XFA and to some extent accesibility tagging)

Edge highlighting is also degraded in several ways (especially can't see the previous comments feature) is limited to 4 pale colours and generally inferior to any other solution.

I now only tend to send htm and html from SumatraPDF to edge for rendering.

@SumatraPeter
Copy link

SumatraPeter commented May 18, 2020

@GitHubRulesOK: Read Aloud for PDFs is finally returning to ChrEdge!

@GitHubRulesOK
Copy link
Collaborator

Closing as the core issue of adding highlights is covered by pre-release annotation ability and the prime historic complaint of changing or removing (deleting) is now also addressed by a different method in recent build.
Fresh issues should be raised individually against the new broader pre-release annotations functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants