- Research Article
- 10.5281/zenodo.4293323
Zettlr/Zettlr: Release 1.8.0
- Nov 27, 2020
- Zenodo (CERN European Organization for Nuclear Research)
- Hendrik Erz + 28 more +28
This release brings to you a whole new Zettlr experience – we have fixed so many things the changelog will keep you scrolling for quite some time! This also means that Zettlr 1.8 demarcates a quantum jump from the 1.7 series, so make sure to check it out! At a glance, here's the most important improvements: Introducing the Typewriter mode macOS builds are now resource-friendly – always Windows and Linux now feature completely reworked application menus The sidebar now features a Table of Contents The Quicklook windows have received a paint job You can now change the levels of your headings at the press of a button Citations are now rendered if you copy text as HTML The contents of table cells are now pre-rendered Code blocks are now autocompleteable … and much, much more! Make sure to check out our blogpost and also read the changelog below to get to know all the changes we've implemented! Do you enjoy Zettlr? We would like to encourage you to support our development over at Patreon or PayPal to cover hardware and software expenses as well as the occational coffee. Even a symbolic dollar per month will keep Zettlr free for everyone. <a href="https://www.patreon.com/bePatron?u=18115838" data-patreon-widget-type="become-patron-button"><img width="300" src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" alt="Become a Patron"></a> Changeloog Breaking Changes Renamed the <strong>sidebar</strong> to <strong>file manager</strong>. We finally decided on better terminology for distinguishing the right from the left sidebar. This means: The left sidebar, formerly known only as "sidebar," is now the "file manager." The right sidebar, formerly known as "attachment sidebar," is now "the" sidebar. This change was introduced to reduce user confusion and provide a better user experience. The shortcut for opening the developer tools on Windows and Linux is now <code>Ctrl+Alt+I</code> (was: <code>Ctrl+Shift+I</code>) to resolve a conflict with the shortcut <code>Ctrl+Shift+I</code> (insert images). Renamed <strong>Root Directories</strong> to <strong>Workspaces</strong>. The term "root" is rather technical, and for most people, it makes most sense to think of those roots as workspaces, albeit other than being opened at the root level of the application, they have no difference to regular directories. The shortcut <code>Cmd/Ctrl+O</code>, which previously would let you open <em>workspaces</em>, now opens files. To open a workspace, use <code>Cmd/Ctrl+Shift+O</code>. This is now in line with many other programs. GUI and Functionality <strong>New Feature</strong>: Typewriter mode. By pressing <code>Cmd/Ctrl+Alt+T</code>, you can activate the typewriter mode, which will keep the current line in the editor always centered so that you have to move your eyes less while editing a text. This also works in combination with the distraction free mode so that you can fully focus on what you're editing right at the moment. <strong>New Feature</strong>: The sidebar (formerly attachment sidebar) is now tabbified. That means you have three distinct tabs to choose from with regard to displaying important information: the non-markdown files in your currently selected directory, the references in the current file, and the table of contents of the current file. <strong>New Feature</strong>: When hovering over links, they now appear in a separate tooltip to click them without holding down Ctrl/Cmd. <strong>New Feature</strong>: The QuickLook windows now share the main editor including its appearance. The same options apply for Quicklook windows as they are set in the global preferences (e.g. if you turned off image previewing, images would also not be displayed in the Quicklooks, etc). <strong>New Feature</strong>: Now you have an additional option in the "Advanced" preferences to choose between a "native" appearance of all Zettlr Windows (that is, a frameless window with inset traffic lights on macOS, and standard window decorations on Windows and Linux) or a custom built-in appearance (that is, for all platforms a frameless window with custom drawn menu and window control buttons, which mimick the Windows 10 design). <strong>New Feature</strong>: The heading tag elements (those <code>h1</code> to <code>h6</code>-tags replacing the Markdown heading characters) finally serve a purpose: Clicking on them reveals a small menu which lets you quickly choose a different heading level. <strong>New Feature</strong>: Improvement in the citation rendering capabilities: Both when copying Markdown as HTML, and when viewing footnote tooltips, any citation will be correctly rendered by the citeproc provider. <strong>New Feature</strong>: The TableEditor now pre-renders table cells so that it looks more like it will when you export it! <strong>New Feature</strong>: A selection of notifications will now be displayed using your operating system's notification service (if available), for instance export messages, errors, and updates. All notifications will still be displayed in the main window, so if you do not like this behaviour, you can turn notifications off for Zettlr within your operating system settings. <strong>New Feature</strong>: Whenever you begin a code block (<code>\</code>```), Zettlr now offers you to autocomplete the syntax highlighting language. Added syntax highlighting modes (with keywords): <strong>diff</strong>: <code>diff</code> <strong>Dockerfile</strong>: <code>docker</code>/<code>dockerfile</code> <strong>TOML</strong>: <code>toml</code>/<code>ini</code> Fixed the fold-gutter being too close to the text. The editor link autocompletion now respects the setting to use headings level 1 instead of YAML frontmatter titles where possible. The paste image dialog now also provides the original image size as a default value, so that you simply can use the arrow buttons on the field to adjust the image size. Fixed a rare bug where changes would be discarded if you renamed the modified file quickly enough. HTML export should now centre both figures and figure captions. Sorting files by name now takes into account possible settings such as using headings of level 1 or YAML frontmatter titles so that sorted files now correspond to their display again. You can now select rendered references from the right sidebar. The file tabs now have their own, dedicated menu, containing a new "Close all tabs" command to close all open file tabs (thanks to @anoopengineer for implementing). The file info now displays the selection information, if there is any. The popup that opens when you click the counter then lists all selections within your document. When you initiate a keyword search from the tag cloud by clicking on a tag, it'll be automatically enclosed in quotes, enabling searches for keywords with spaces in them. The image paste dialog now shows you the resolved path of the directory into which the image you are about to paste will be saved to. Fixed a missing translatable string from the paste image dialog. Fixed the width of the word counter in order to make the toolbar more "stiff." Enabled Dart syntax highlighting (thanks to @Kangie for implementing). Reduced the added margins for overflowing dialog windows from 15 % to 2 %, making the visible gap on smaller screens smaller. Remove the intermediary <code>.ztr-project</code>-migration code, which means you should update to Zettlr 1.7.x before updating to 1.8.x, if you still use an older version of Zettlr. Fixed (= monkeypatched) a weird bug that would cause selections on specially indented lines (e.g. wrapped blockquotes, list items, etc.) to be padded by precisely four pixels, making the selection not look like a box. Double clicks on file tabs now make files intransient (if they were transient before). The editor is now in a non-editable mode if no file is open. If the editor is read-only, the Zettlr logo will display in the background to indicate that fact. Empty files, on the other hand, will not yield the feather logo anymore. This should now meet up with users' expectations about file editing better. The last opened file will now reliably open whenever you start the application again. File loading (especially on boot) is now much faster, because the opened tabs won't be switched through during load anymore. Only the relevant, last file will be opened and displayed. Fixed a bug that would prevent you from exporting standalone files. Non-breaking spaces (NBSP) are now considered word delimiters in the spellchecker. Fixed a bug that would not close all tabs when the corresponding entry was selected from the tab context menu. Fixed a bug where checkboxes of tasks would be strangely hidden on undo/redo operations that checked/unchecked those checkboxes. Fixed a bug that would throw errors and not actually remove the file if said file was a root. Fixed broken shortcuts <code>Cmd/Ctrl+Shift+E</code> (focus the editor) and <code>Cmd/Ctrl+Shift+T</code> (focus the file list). Markdown links to local files that are absolute are now attempted to be opened internally, without recurring to external programs. The various rendering methods now only update anything that is within the viewport, thereby increasing the performance vastly. This is especially noticable for large documents. Fixed a bug that led to the exporter ignoring custom templates and always reverting to the default. Fixed the date formatter, as the moment.js locales are not found when compiling using <code>electron-forge</code>. Fixed a bug that would mess up the tag-tooltip on files under certain circumstances. Fixed a bug that would throw errors instead of exporting, if the export-directory is set to the current working directory and a non-root file is being exported. Fixed a bug which would not let you create duplicates of root files. Now, you can and the duplicate is being placed in the currently selected directory. Fixed a rendering edge condition where if you wanted to retain multiple single-line breaks wi
Read more