pdf-tools

Emacs support library for PDF files.

GPL-3.0 License

Stars
618
Committers
84

Bot releases are visible (Hide)

pdf-tools - Release v1.1.0 Latest Release

Published by vedang over 1 year ago

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
pdf-tools - Release v1.0.0

Published by vedang almost 2 years ago

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!

pdf-tools - Release v0.91

Published by vedang almost 3 years ago

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.