Skip to content

Releases: vedang/pdf-tools

Release v1.1.0

10 Jun 15:15
v1.1.0
Compare
Choose a tag to compare

Improve overall user experience

  • Make selection-style configurable when selecting text, via
    pdf-view-selection-style @hrdl-github #73
    • This feature enabled us to change the default selection-style used
      in pdf-tools from GLYPH to WORD.
    • The change makes highlighting / selecting text much snappier. If
      you want to go back to the old behaviour of selecting by glyph
      instead of word, or if you want to select a whole line instead,
      customize pdf-view-selection-style
  • Track rotation of pages and add a command to make rotation of pages
    easy @Vizs #165
    • The new command is bound to R in pdf-view-mode-map.
  • Add support for maintaining hue in pdf-view-midnight-minor-mode
    using the OKLab color space @smithzvk #69 #197
    • This inversion method is now enabled by default and can be
      controlled by the pdf-view-midnight-invert variable. Check out the
      images in the PR for how beautiful the colors look in midnight mode
      now.
    • Also thanks to @Atreyagaurav for pushing fixes which improved this
      feature.

Functionality fixes and improvements

  • Fix: Saving a PDF when buffer-file-name is missing will now prompt
    for a filename (eg: in EWW) @akater #178
  • Fix: Ensure pixel-scroll-precision-mode is deactivated correctly
    @mssdvd #206

Installation and Platform Compatibility improvements

Please note: as of this release, users are not expected to manually set
anything on their machines during installation. (for example:
$PKG_CONFIG_PATH). The installation should just work. If it does
not, please open a ticket so that we can track it.

  • Add cairo-devel to Void Linux package list @crzjp #203

Release v1.0.0

29 Nov 06:36
v1.0.0
Compare
Choose a tag to compare

Breaking changes:

  • Raise the minimum supported version of Emacs to 26.3 #26
    Drop support for Emacs 24 and 25. This allows for some code
    cleanup. This is a major breaking change.

  • Change the default value of pdf-view-use-scaling #133
    pdf-view-use-scaling is now true by default, leading to rendering
    of crisp images on high-resolution screens. This should not cause
    problems on low-resolution screen (other than taking up more cache
    space / increasing rendering time), but if it does, please (setq pdf-view-use-scaling nil) in your configuration.


Other than the breaking changes, this release contains a lot of
changes related to user experience improvements and installation /
compatibility improvements.

It also sets up the stage for adding new features and closing
long-standing PRs into pdf-tools. I'm hoping to follow this release
up with a 1.1.0 release before the year is out, which will contain
some of these pending PR changes.

Thanks, and enjoy!

Release v0.91

31 Dec 11:10
v0.91
Compare
Choose a tag to compare

This is the last release to support Emacs 24.x. Release 1.0.0 will update the minimum supported Emacs version.

NEWS:

  • Make changes required by newer versions of Emacs: A number of changes are made to support new elisp / package changes. There is no impact of this on existing users.
    • Emacs 27, Emacs 28 and Emacs 29 are supported now.
    • Synctex 1.21 is supported now.
  • Improve overall install experience
    • Running M-x pdf-tools-install should just work now.
  • Add support for high-resolution displays (Retina display on Mac)
    • Setting pdf-view-use-scaling to a non-nil value now renders crisp images on high-resolution displays.
  • Change the keybindings for traversing history
    • This is a minor but breaking change. l (backward) and r (forward) are the conventional bindings for history navigation in Emacs, but pdf-tools uses B and N. The previous keybindings are kept as-is for people who were used to it, while introducing l and r keybindings as well.
    • This is a breaking change because r was previously bound to revert-buffer. However, g is also bound to revert-buffer and is the conventional binding for revert so this should be okay.