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

可以添加或编辑书签吗? #4618

Open
ligl opened this issue Nov 3, 2024 · 3 comments
Open

可以添加或编辑书签吗? #4618

ligl opened this issue Nov 3, 2024 · 3 comments

Comments

@ligl
Copy link

ligl commented Nov 3, 2024

No description provided.

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Nov 3, 2024

Please use English and the requested format as much as possible.

Question) = Can I add or edit bookmarks?

Answer) = No not normally with a PDF reader (This has been tried using "sidecar" files but dropped as difficult to maintain)

Since it is an Editor Function you need a Document Editor to add bookmarks to a source document, Thus for PDF an editor such as GUI Tracker or Command Line PDFtk.

image
image

image

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Nov 3, 2024

MuPDF viewer as such has no means to edit outline entries. simply read and navigate via them.
image

However we can use external tools to add them
image

image

@GitHubRulesOK
Copy link
Collaborator

GitHubRulesOK commented Nov 4, 2024

OK have added ability it to my Plus functions it is quirky and raw but functions well enough for beta testers :-)

  1. Note no bookmark for page 3 so we can add one

image

  1. Press the B key,
    image

  2. There are limitations so Page 3 in this case can be top level 0 or sub Level 1 as seen here

  3. The other oddity in this early version is the entry can ONLY be at the end of the list (there is no order or sorting)
    image

Beware ONLY work on a COPY of the source file because if it goes wrong it is down to you as "Editor in Chief"
image

File is at
https://github.com/GitHubRulesOK/SumatraPDF-Plus/blob/master/Plus/AddBookmark.cmd

Designed to be placed and run from a PLUS folder in the folder where the SumatraPDF settings.txt is
image

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

2 participants