github dheerajshenoy/lektra v0.7.0

latest releases: v0.7.2, v0.7.1
22 days ago

Features

  • Windows operating system support
  • Synctex is now bundled with LEKTRA instead of using the system installed synctex,
    which should improve synctex support and make it available on all platforms without requiring users
    to install synctex separately. This can be disabled by passing --without-synctex in the configure script.
  • Add optional Imagemagick image rendering library support for handling more image file formats.
    • Requires ImageMagick to be installed on the system and Magick++ development libraries for compilation.
    • Animated image support (e.g. animated GIFs, WEBP, AJPG) using ImageMagick for rendering.

Image Support
Image support; Image stops playback when losing focus

- Hide unrelevant actions from the menu bar based on the file type of the currently opened document. - Add "pan" mouse action in `[mousebindings]` section. Used for panning around the page my clicking and dragging the mouse
Example:

```toml
[mousebindings]
pan = "Alt+LeftButton"
```
  • New actions in [picker.keys] section:

    • expand: if on a heirarchy node, expand it (in flat_mode = false) (default: Tab)
    • collapse: if on a heirarchy node, collapse it (in flat_mode = false) (default: Tab)
    • section_prev: move to the previous section (e.g. previous chapter in the outline picker) (default: Ctrl+Shift+k)
    • section_next: move to the next section (e.g. next chapter in the outline picker) (default: Ctrl+Shift+j)
  • Default mouse bindings:

    • pan => Alt+LeftButton
    • preview => Alt+Shift+LeftButton
    • portal => Ctrl+LeftButton
    • synctex_jump => Shift+LeftButton
  • Searching now searches from the current page/location to the end of the document.

Bug Fixes

  • Add ImageMagick to the AboutDialog's libraries used section
  • Stop animated image playback when not visible (different tab) to save resources and avoid unnecessary CPU usage.
  • Hide mode, color and progress info in the statusbar when in non-supported file types (e.g. images) to avoid confusion
  • Fix invert color menu button not working
  • Make search behave more like in vim/emacs
  • Fix linux #ifdefs
  • Set minimum size for the InputDialog widget
  • Remove redundant file dialog formats
  • Picker next, prev navigation now goes through all the items instead of just the top level items when in flat_mode = false (hierarchical mode),
    which makes navigation in the picker more intuitive and consistent regardless of the mode.
  • Picker not navigable when search bar is opened. (Issue reported by: @linewaytin)
  • Fix --check-config not working with [keybindings], [mousebindings] sections. (Issue reported by: @lineick)
  • Don't null out the statusbar item spacings which caused the statusbar items to have 0 padding and look weird.
  • Fix ColorDialog not showing up the colored buttons.
  • Make RecentFilesPicker be flat structured by default instead of hierarchical (it makes more sense to have flat structure)
  • Handle Esc key to quit open pickers.

Breaking Changes

  • Remove search_from_here command as it's not useful anymore since the default behavior is to search from the current location.
  • Move sessions and last_pages.json file to QStandardPaths::AppDataLocation for better compliance with platform standards for application data storage
    (previously stored in the QStandardPaths::AppConfigLocation, which is meant for configuration files).
  • Remove LLM support (current implementation was not good), but it will be added back in the future with a better implementation.
  • Removed shell scripts support as it was never implemented and there are no current plans to implement it.

Config changes:

  • Organised [statusbar] components into it's own sections.

    • [statusbar.component] for the actual components to show in the statusbar and their order
      • [statusbar.component.mode] for the interaction mode component settings
      • [statusbar.component.filename] for the file name component settings
      • [statusbar.component.zoom] for the zoom indicator component settings
      • [statusbar.component.pagenumber] for the split indicator component settings
      • [statusbar.component.progress] for the link hint indicator component settings
  • Ability to have configurable colors in the Color Dialog

[misc]
color_dialog_colors = [ "#FF500055", "#FF000055"] # Can have any number of colors

Don't miss a new lektra release

NewReleases is sending notifications on new releases.