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

How do I go about showing page number in pdf view mode? #10

Open
simurgh9 opened this issue Oct 28, 2021 · 0 comments · May be fixed by #11
Open

How do I go about showing page number in pdf view mode? #10

simurgh9 opened this issue Oct 28, 2021 · 0 comments · May be fixed by #11

Comments

@simurgh9
Copy link

I'd like to add page-number in the mode-line when looking at a pdf in pdf-view-mode from pdf tools package.

(format "%d/%d " (eval `(pdf-view-current-page))
      (pdf-cache-number-of-pages))

This returns what I want in the mode-line.

You might checkout the doom mode-line. It already has this number shown in the pdf mode I am referring to.

@simurgh9 simurgh9 linked a pull request Jan 19, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant