Pre-release

@nathanlesage nathanlesage released this Nov 23, 2018

Assets 6

This is the first beta release of version 1.0.0 of Zettlr. It is meant for thorough beta testing.

Please report any bugs, incorrect behaviour and other improvements directly as a GitHub issue! Only this way will version 1.0.0 be stable enough for production uses.

Pre-release

@nathanlesage nathanlesage released this Nov 16, 2018 · 16 commits to 1.x-beta since this release

Assets 6

This is the first beta release of version 1.0.0 of Zettlr. It is meant for thorough beta testing.

Please report any bugs, incorrect behaviour and other improvements directly as a GitHub issue! Only this way will version 1.0.0 be stable enough for production uses.

Assets 6

This release addresses many issues opened on the GitHub repository in the past months. It includes <iframe> and LaTeX-formula previews, a completely overhauled design, and better Zettelkasten functionality. As always, the spotlight features are described in the accompanying blogpost.

Changelog

GUI and functionality

  • Fixed a bug during import that resulted in crashing the app if no Pandoc was found.
  • Updated the styling of the app to make it feel more modern.
  • To open a file directly by typing its name into the search bar you don't have to get the capitalisation correct anymore.
  • It is now possible to traverse the file tree directly by clicking on the directories inside the preview pane. Use a single click to make that directory your current one, or use an Alt-click to traverse back up to its parent directory.
  • Now the "Save changes before quitting?"-Dialog won't appear — all your files will be saved immediately before quitting.
  • Zettlr now remembers your last opened file and the last selected directory and restores them on each restart (if they still exist).
  • Images can now also have pandoc attributes assigned (in curly brackets after the image tag) and will both render correctly inside Zettlr and work as intended on export.
  • The app will now remember its size and position on screen and restore it after a restart.
  • Changes to the design of the dark mode. It's now a little bit blue-ish and the colours are finally adapted to the brand.
  • The directory list is now way less cluttered and looks way better than before.
  • Dropping images onto the app is now possible!
  • Added the long-commented-out blockquote command to the context menu.
  • iframes will now be rendered as well (such as the embed codes by YouTube or Vimeo). Note that only <iframe>-tags will be rendered, so Twitter embed won't work, for example.
  • Removed a small bug that would use the text selection cursor over directories after you've dragged a file.
  • Zettlr now remembers the last directories you were in when you successfully imported a file or opened a directory.
  • Added Droid Sans Mono as monospaced font family and updated the fonts around the app.
  • The Zettelkasten ID doesn't need to be in the format @ID:<your-id> anymore. Also the zkn-links can be customised.
  • The generation of IDs is now up to your creativity.
  • Made the search progress indication better. Now, instead of the background filling up with sometimes ugly colours, a circle just as for the Pomodoro timer is used.
  • The file snippets now hold additional information, such as the ID of the given file or the amount of tags. Additionally, if you hover over the number of tags, a popup will tell you which tags the file holds. Directories also now show their number of children elements (both directories and files).
  • The text snippets have been removed from the app.
  • The Quicklook windows now follow the application's theme.
  • Fixed a bug that generated a falsy first search cursor and prevented case insensitive searching.
  • Added extended statistics. Now you can exactly see when you've written how many words by clicking the new button in the small statistics popup.
  • You may now use #-characters inside tags.
  • macOS users now have an inset titlebar to make the app feel more immersive while not in fullscreen as well.
  • QuickLook windows now display the headings in the correct size again.
  • On smaller displays, Zettlr now has smaller margins and paddings so that each display size's space is used best.
  • Removed the ID-button from the toolbar. The command is still present in the menu and still works using the shortcut Cmd/Ctrl+L.
  • Fixed the bug that the attachment pane tooltip was partially hidden.
  • Quicklook windows are now constrained to the body area, and cannot be dragged over the toolbar.
  • Added validation to the settings so that you can't accidentally set wrong values.
  • The default buttons for dialogs are now reactivated, so you can remove files and folders by simply hitting Return to confirm the removal.
  • Anything markdown-specific (links, tasks, images) won't be rendered in any mode other than markdown anymore. So you can now rest assured that your links won't be converted and comments won't be displayed the size of headings in comment blocks or something.
  • Indented tasks are now rendered.
  • The table of contents now ignores comments in comment-blocks (no matter which language) and also has a better detection for the level of these.
  • Fixed a bug that threw errors on moving directories around.
  • Added Math inline-rendering.

Under the hood

  • Implemented the try/catch construct around ZettlrImport to actually catch the errors that were thrown by this function.
  • Added globally accessible config getters and setters so that the ZettlrConfig-object is now reachable from within all classes in the app.
  • Changes to ZettlrWindow to create windows using programmatical boundaries.
  • Updated the image finding regex again.
  • Reorganised the font families in the less resources.
  • The popup is now much simpler to call.
  • Removed instantiation from both ZettlrImport and ZettlrExport.
  • All Zettlr installations now receive a unique UUID.
  • Using global.config.get it is now possible in the renderer to access the configuration programmatically without the need to send events.
  • Replaced all renderer configuration requests with the new, faster and synchronous method.
  • Fixed a missing dependency in ZettlrAttachment.
  • Updated to electron 3.
  • Changed app.makeSingleInstance to app.requestSingleInstanceLock as recommended by the docs.
  • Updated dependencies to the newest versions.
  • Image preview rendering is now independent of path.
  • Refactored the complete configuration setting process.
  • Explicitly set defaultId on confirmation dialogs.
  • detach() is now called only after the move operation of a ZettlrDir has been completed to remove the parent-pointer.

@nathanlesage nathanlesage released this Sep 7, 2018 · 88 commits to master since this release

Assets 6

It's release day again. We've moved the long descriptions to the release notes section of the website, so head over to our blog post for this release to read the written introduction to Zettlr's new features!

Changelog

GUI and functionality

  • Import functionality: Now you can import from nearly all file types pandoc supports into Zettlr. Simply select the desired target directory and select File -> Import files!
  • Added a lot of exporting options. More are still to come!
  • Export Markdown files as reveal.js presentations: From 0.19.0 on, Zettlr will support the export of reveal.js-presentations. Also, there's theme support built in!
  • If you insert a footnote, the cursor is not moved throughout the document so that the writing flow is more immersive.
  • The text field used to edit a footnote reference text is now automatically focused.
  • The editor will now directly mute lines when in full screen as soon as you change the preference setting for this. You don't have to move the cursor anymore for this.
  • Fixed a bug that showed a dedicated file menu when right-clicking directory ribbons and then threw errors if you clicked on anything in the menu.
  • Fixed the strange behaviour of Zettlr telling you there are no suggestions for a word, although you did not right-click a wrongly spelled word.
  • Inline links rendered inside headers are now always the correct size.
  • Email-addresses are now correctly identified and will be rendered as clickable links as well. If you Alt-click on them, they will open the default email option (i.e. they are the same as clicking on any website's email addresses).
  • Fixes to the project feature.
  • Made the dictionaries finally independent from the four default translations.
  • Added about 70 languages to the four default translations. This means: If you now include a custom dictionary or a custom translation, chances are high that it will be detected and translated automatically!
  • Added a bunch of dictionaries that now come shipped with the app.
  • Finally found & fixed the bug that kept detecting whole swathes of text as links and inserted them on link insert or didn't detect any link at all.
  • Transferred the download page in the updater to the new download landing page at zettlr.com/download.
  • Clicking on marked tags in the preview list will now trigger a search for these tags.
  • Added support for TeX-files. So in case you want to export something to PDF, you can add custom LaTeX statements in their respective file to amend the styling Zettlr applies.
  • You can now rest assured that on export of projects with nested files all images, even relative ones, will successfully be rendered in your PDF output.
  • Changes to the HTML exporting template. Now, images should always fit on screen.
  • You can now create LaTeX files by using the extension .tex when creating new files.
  • Better Pomodoro counter.

Under the hood

  • Changes to the runCommand method in ZettlrEditor.
  • Changes to the insertFootnote command.
  • Changes to the _editFootnote() method in ZettlrEditor.
  • Changed the event type the editor is listening to when you finished editing a footnote from keyup to keydown.
  • Moved the inline and block element rendering functions to their own commands to reduce the file size of ZettlrEditor.
  • Fixed the task recognition regex to prevent ugly errors logged to the console if you entered on an empty line a task list item directly followed by braces (such as - [ ](some text)).
  • Additional security checks while building the context menu.
  • Amended the regex for rendering links. Also provided a callback option for CodeMirror to be able to port the plugin fully externally and integrate it into other instances.
  • Added ZettlrImport class for handling file imports.
  • Removed the unnecessary PDF exporting LaTeX template from the pandoc directory.
  • Added another newline character when gluing Markdown files together on project exports.
  • Fixed a bug that would not read in a saved project config on restart.
  • Huge changes to the selection and retrieval of dictionaries for the spellchecking algorithm.
  • Made the regular expression detecting links in the clipboard non-global and limited it to only detecting single links in the clipboard.
  • The download page will now count all updates by users to keep track of how many users are using the app (only the click is counted, no personal information is collected). To avoid detection of you updating, simply visit zettlr.com/download manually.
  • Amended ZettlrRenderer by a function to programmatically trigger global searches.
  • Added .tex to the list of supported file types. Added a mode switch to ZettlrEditors open() method.
  • Small fix to the toolbar CSS for not having a hover effect on the Pomodoro button in dark mode.
  • Change to the less.js script. It now minimises the CSS output to further optimise the styling.
  • Spell checking is now off by default in fresh installations to speed up the first start.
  • Amendments to ZettlrProject, ZettlrFile and ZettlrExport to ensure relative image paths are accurately converted into absolute ones on exporting them.
  • Streamlined setting the ZettlrWindow title. Zettlrwindow::setTitle() is now deprecated.

@nathanlesage nathanlesage released this Aug 25, 2018 · 117 commits to master since this release

Assets 6

Please excuse the inconvenience of yet another release one day after the last, but as some of you might have noticed, I completely messed up with the syntax highlighting. This hotfix fixes this issue among with some smaller bugs.

Also, this hotfix increases your privacy, because the update check now only makes one single request to GitHub, and not four, as until recently.

Changelog

GUI and functionality

  • Now the list design and all other colours and syntax highlighting should be fixed again.
  • ALT-clicking files now opens them as QuickLook windows.
  • Now Quicklook windows render the content automatically as the main editor does. Only the previewable elements will not be rendered.
  • Fixed a bug that allowed you to try to create files, folders and virtual directories although no directory is selected.

Under the hood

  • Cleaned up the mess inside the LESS resource files and removed the global pollution with CSS styles that led to strange rendering behaviour.
  • Replaced the net command to check for updates with the better package got, thereby reducing the amount of requests to one only. Therefore, is-online also has been removed.
  • Updated dependencies. Switched to electron 2.0.8.
  • Changes to the _gen() and select() methods in ZettlrPreview.

@nathanlesage nathanlesage released this Aug 24, 2018 · 128 commits to master since this release

Assets 6

Today's release again contains a lot of bug fixes and smaller improvements. There are, as always, some that deserve a little bit of spotlight:

Removed the annoying "Replace file in editor?" message

As many of you have already noticed (and as an issue actually reported a few days ago), Zettlr always had an annoying problem. Every time when you were editing a file that was stored via a cloud service, such as Dropbox, Nextcloud, or GoogleDrive, it could occasionally happen that Zettlr permanently asked you whether or not you want to replace the remotely-modified file. This message was irrational as you were the only one editing the file, and it broke your workflow every time. The reason for this message is that somehow the detection mechanism of cloud services seem to trigger another "change"-event inside Zettlr, which is then not ignored but passed on to the mechanism that prompted you to replace the file. Now, Zettlr will first determine whether or not the file has really changed since it last checked, and only if that is true, Zettlr will bother you with the prompt.

Syntax highlighting in fenced code blocks

Somehow, Zettlr is becoming more and more popular among coders, which is really nice! As my primary goal is to create a Markdown editor for researchers in the arts and humanities, I didn't initially implement code highlighting, because most of us never really need fenced code blocks to explain some code. But now after the issue has been raised, I decided to activate this functionality of Zettlr. Currently, a variety of popular languages is highlighted, but more can be implemented as well.

Currently implemented are: C, C++, Objective C, C#, Java, Javascript, PHP, Ruby, Python, R, SQL, Swift, YAML, CSS and LESS.

You can activate code highlighting for these languages by using the Commonmark specification for info text (i.e. write the language after your beginning fence, like this: ```javascript`)

The strings that trigger code highlighint are as follows: c, cpp, objectivec, csharp, java, javascript, php, ruby, python, r, sql, swift, yaml, css and less.

Do you want code highlighting enabled for additional languages? No problem, simply head over to the list of modes that CodeMirror supports and tell me. Enabling them is a matter of seconds.


As always, there are a lot of additional fixes and improvements, see the changelog for all of them:

Changelog

GUI and functionality

  • Minor fix to the style of code-blocks in modals.
  • Fixed a bug that prevented you from immediately re-selecting the previous file by simply clicking it again, after you opened an external markdown file in Zettlr, which then was selected automatically.
  • Fixed an error thrown if a root file was removed remotely.
  • Fixed Zettlr always asking to replace a file although it hasn't been modified remotely.
  • Fixed a missing translation for changed files.
  • Fixed the threshold for being close to surpassing average from 50 words below average to the half of average. 50 words were definitely too narrow for anyone to really see the intermediary message.
  • Fixed some design rules.
  • Reallowed arbitrary text selection inside the editor (mainly necessary for macOS's quick lookup functionality).
  • Added styling for horizontal rulers (* * *) and escaped characters (e.g. \*).
  • Fixes to the new tooltips. Now all tags receive the nicer tooltips on mouse over.
  • Replaced the old footnote tooltip bubble, which did not look nice, with the much better tippy.js-bubbles.
  • Added HTML syntax highlighting.
  • Fixed an error on the export of Markdown files with code blocks.
  • Added syntax highlighting capabilities in fenced code blocks for the following languages (use the words in brackets after the beginning of a code block, i.e. ```javascript`):
    • C (c)
    • C# (csharp)
    • C++ (cpp)
    • CSS (css)
    • Java (java)
    • JavaScript (javascript)
    • LESS (less)
    • Objective C (objectivec)
    • PHP (php)
    • Python (python)
    • R (r)
    • Ruby (ruby)
    • SQL (sql)
    • Swift (swift)
    • YAML (yaml)

Under the hood

  • Added an additional check to definitely determine if chokidar has choked or the file has indeed been modified remotely.
  • Lots of documentation has been added to the source code.
  • Moved the tippy() function from the ZettlrRenderer to the correct classes (ZettlrToolbar and ZettlrPreview).
  • Changes to the link detection regex in ZettlrEditor.
  • Changes to the export.tex LaTeX export template. It now provides the Shaded-environment Pandoc requires on exporting files containing fenced code blocks.
  • Added some amount of HTML syntax highlighting.
  • Added a multiplex mode that can highlight fenced code blocks.
  • Changed signature documentation of ZettlrRenderer's setCurrentFile method to reflect the actual process (it is being passed a hash, not a file object).
  • Changes to the _tags-array in ZettlrPreview. Now, the array is never completely regenerated, but resized according to the actual _data-array. The changes have affected the functionality of the functions _gen() and refresh() in this class.
  • Added a remove() method to Zettlr for root files wanting to delete themselves.

@nathanlesage nathanlesage released this Aug 3, 2018 · 142 commits to master since this release

Assets 6

Thank God it's Friday! And with Friday there is, somewhat out of a tradition, a new release. This release fixes many small bugs and improves many features. Most of what has been changed is under the hood and therefore not visible to everyday users. But it has quite bettered the performance of Zettlr. Among the most notable features are:

  • You can now import any translation file to translate Zettlr into whatever language you like. Please also feel free to notify me, if you have translated the app, so that I may include your language files into the source and ship them by default!
  • You can now copy text as HTML, which enables you to paste Markdown into word processors such as Word, Writer or Pages, or into e-mail clients, which will thereby retain the formatting.
  • Also, Zettlr now performs a check to determine whether or not you are online. This means that you won't get these ugly internal errors ever again if you open Zettlr while on the train or somewhere with bad connectivity.

For all changes and improvements, see the changelog:

Changelog

GUI and functionality

  • Now it's possible to download and install custom translations for Zettlr! If you want to use a translation that is not (yet) officially bundled with the app, simply import the translation JSON-file into Zettlr using the respective option. It will immediately be available for selection within your preferences (but a restart to apply the change is still necessary). The language file must be in the format aaa_AAA.json so that the app can detect the language by looking at the file name.
  • Numbers are now localised with the correct delimiters.
  • Zettlr now automatically indents text using four spaces to better work with other Markdown parsers.
  • Changed resizing constraints: Editor can now have 90 percent width at maximum.
  • Fixed a small bug that lets you open non-markdown files as roots.
  • You can now copy selected Markdown text as HTML! Just press Cmd/Ctrl+Alt+C instead of Cmd/Ctrl+C.
  • Added an online-check. From now on, if you are offline, Zettlr won't show you ugly error messages, but a simple notification that you are, in fact, offline and Zettlr can't check for updates.
  • Improved footnote placement.
  • Improved the placement of images in exported PDF files.
  • Increased search speed and fixed internal errors in displaying search results.

Under the hood

  • Changes to getSupportedLangs(): The function now returns a dynamically generated array of all available translations. This also includes language files that are placed inside the app's data directory (in the subdirectory lang).
  • Changes to i18n.js to reflect the fact that a language could also be located inside the application data directory (it now first tries to load the file from within the app, and if this fails searches for the file in the app data directory).
  • Zettlr now preserves the linefeeds of a file on saving.
  • Refactored the app's LESS and style handling.
  • Simplified the theme toggling.
  • Consolidated CSS styles.
  • Updated dependencies. Switched to Electron 2.0.6.
  • Removed package-lock.json, because nobody uses them anyway and yarn 1.9.2 just complained about them.
  • Changed resizing constraints: Editor can now have 90 percent width at maximum.
  • Fixed a logical error in ZettlrConfig that allowed non-markdown-files to be opened as root files.
  • Buffered the update check with an online-check. Renamed the original check() to _fetchReleases().
  • Fixes to the footnote placement.
  • Removed an unused function from ZettlrEditor.
  • Removed excess console.log from ZettlrBody.
  • Added an additional security check before marking results in the editor instance.

@nathanlesage nathanlesage released this Jul 20, 2018 · 165 commits to master since this release

Assets 6

After a month with few updates, I finally found time to implement a new batch of features. The release v0.18.0 is special because now all features are present in Zettlr that I've planned from the beginning. This means that one of the next versions will be 1.0!

But now let's summarise the huge amount of features. First of all, there are a lot of bugfixes and small changes that you may find below. The three major addendums to the app are the following

Tag colour assignments

screen shot 2018-07-20 at 07 16 55

Now you can assign colours and a short description to tags. This means that you can, e.g., tell Zettlr to assign a red colour to the tag #todo. This will then prompt Zettlr to show a red indicator on the file to indicate that this file has been tagged with the respective tag. Of course, multiple tags in one file also work. You can always change and adapt the colours and tags as you need; no limit imposed.

screen shot 2018-07-20 at 07 17 41

Projects

The last feature that was still missing from Zettlr was a possibility to export multiple markdown files as one single PDF file. Therefore, I can now present to you: Projects! Simply right-click any directory to "create" a project. This will add a small hidden file in the directory, indicating that Zettlr should treat the directory as a project. The directory will behave exactly as any other directory, but have two new context menu options. The first gives you the possibility to fine-tune the layouting of the resulting PDF. You can, for instance, add a table of contents, or a title page. To export the project, simply right-click the directory and select the appropriate option. Zettlr will concatenate all markdown files in the directory (in exactly the same way as the preview pane does — so use the file list as an indicator how the files will be ordered!) and then export them into one single PDF file.

screen shot 2018-07-20 at 07 18 31

There is still some work to be done there, but the foundation is done!

Drag files out of Zettlr

Some of you may or may not have wondered why it isn't possible to simply take a file, drag it out of the app and drop it onto another app to share it. This was simply because I haven't had the time to implement it — until now. So if you now drag a file out of Zettlr, you can simply drop it somewhere else. Note that dragging files into different folders on your operating system will copy them, not move. No files are moved from their place except you do it solely from within Zettlr or your file browser.

As always, find below the full changelog:

Changelog

GUI and functionality

  • Added the project feature: Now you can convert directories into "projects" (via context menu). A project is simply the possibility for you to adjust PDF options for a set of files differently than in your general PDF settings and tweak the generation a little bit more. It is thought especially for exporting many files into a single PDF file, and has options to generate a table of contents or a title page. All files in the project directory and all of its sub-directories are concatenated in the same way as the preview list does it. Directories themselves are ignored. Then all these files are simply glued together and exported using the special settings you've given the project.
  • Included tag preferences. These allow you to assign colours to specific tags, so that you can see in the preview list directly which files contain specific tags (such as, e.g., #todo or #in-progress) to have an overview over the work you need to do or categorise your files.
  • Now the editor should correctly resize itself if the window itself changes its size.
  • Now, if you use the combined view, Zettlr recognises a second click on an already selected directory and switches to the preview list instead. If you do so while the expanded mode is active, nothing will happen.
  • I finally found the bug that was showing NaN instead of real numbers in the stats view. Now it should work on all systems just fine. (It only happened when there were less than thirty days of recorded statistical history available.)
  • Adjusted the placement of the dialogs. Now they should definitely be placed in the center, if they are smaller than the window and should never result in a scrollable window.
  • The dialog windows should pop up much faster now.
  • Changed the styles of all dialog windows, and made pretty especially the PDF preferences windows.
  • Replaced the system default's title popups with nicer looking popups.
  • Changed image preview rendering. Now, images smaller than the viewport will not scale up to fill the full width, but remain smaller than the viewport width.
  • Added a preview rendering of task items with checkboxes.
  • Now Zettlr will directly react to you clicking with your mouse into the window and doesn't require you to click a second time after the app has been focused again.
  • Snippets are now off by default.
  • Fixed a small error that led to the editor behaving strange after resizing the sidebar.
  • There is now no lag anymore on saving files. As a side effect, the global search is not exited when you change a little bit and then save the file.
  • Changed PDF export.
  • Small fix to the ZKN tag detection.
  • Added additional error handling in the updater (so you know why Zettlr couldn't tell you why no update check is possible).
  • Renaming files is now faster.
  • If you now begin to drag a file, after you have stopped dragging the file (i.e. either you dropped it onto a directory or you dropped it somewhere else to cancel the move), the preview pane will be shown again.
  • Now it is possible to drag out Markdown files from Zettlr into other apps.
  • Clicking on the "No open files or folders"-notification when there are no open folders or files in the directory tree will automatically show the open-dialog.
  • Fixed the theming in the QuickLook windows. Now they will be the same theme as the app itself.

Under the hood

  • Finally renamed the strong element in the file tiles in the preview list to a simple p to re-gain semantic correctness there.
  • Lots of LESS-code added, several other files have been changed.
  • Added an event listener to Window resizes to change the editor's width accordingly with the resizable activated.
  • Changes to requestDir() function in ZettlrRenderer.
  • Changes to the Statistics viewer.
  • Changes to ZettlrDialog.
  • Changes to ZettlrRenderer. Now the translation strings will be copied into the memory of the renderer process directly. This results in better overall performance, especially in dialogs, for which a lot of such strings are needed.
  • Updated development dependencies: electron is now 2.0.4, electron-builder is now 20.19.2 and less.js is now 3.5.3.
  • Changes to ZettlrBody-proceed function.
  • Added tippy.js to the list of dependencies; replaced standard system titles with Tippy titles.
  • Added the acceptFirstMouse option to the creation of new BrowserWindows.
  • Now refreshing the editor instance after dragstop of the divider between combiner and the editor.
  • Removed an unnecessary if-statement in ZettlrToolbar.
  • Added a method to only update the current file in the renderer process, which speeds up saving a lot.
  • Additional check in ZettlrVirtualDirectory.
  • Changes to the LaTeX export template.
  • Replaced the complicated and unreliable tag recognition to a much simpler regular expression.
  • Error handling in ZettlrUpdater.
  • Changes to the process of renaming files. Now the renaming process should be reflected quicker in the renderer, because we don't send a complete new path object, but only the specific, renamed file.
  • Fixes and changes to the dragging behaviour in the renderer.
  • Added a dragging event, so that the main process automatically enables dragging out of the app.
  • Added the getRenderer()-function to ZettlrDirectories, so that the EmptyPaths-object can send the respective event to the main process.
  • Combined the setContent() and save()-functions in ZettlrFile, because there was simply no need to have them separated. Also, removed the modified-flag from the file.

@nathanlesage nathanlesage released this Jul 7, 2018 · 203 commits to master since this release

Assets 6

In this release, not so much has changed. Yet you will notice that I've combined the preview pane and the tree view, because (at least for my own workflow) this works better than having them separated (which is basically using up a lot of space). Of course, for all of you who don't want this and still need the two panes displayed separated, you can change this setting in the first (general) tab of the preferences. The "Thin" mode uses the combination, while the "Expanded" mode displays both separately.

Additionally, I've finally managed to make the editor/sidebar-separation resizable! Yay!

I have now switched to alien for converting the .deb-package into .rpm. Please let me know if I'm still missing something!

Changelog

GUI and functionality

  • Combined preview and directory pane. Now only one of both is visible, never both, but also never none. Pressing Cmd/Ctrl+1 and Cmd/Ctrl+2 will still toggle visibility of both preview and directory pane, but not in parallel anymore. So hiding the preview pane will automatically show the directory pane and vice versa. Also, if you are on the preview pane, moving with your mouse to the top of the pane will show an arrow that lets you enter the directory pane again. Zettlr will automatically switch to the preview pane in a number of cases: Selection of a directory, searches, and renaming of files.
  • Added syntax highlightning for Markdown tables.
  • Resizing of combined tree view and preview pane as well es the editor is now possible.
  • Changes to the HTML export template. Now tables are better integrated, as well as blockquotes.
  • Added an option to choose whether or not the combined view or the regular, old view should be used for preview and tree view.

Under the hood

  • Removed some unnecessary toggle-functions.
  • Changes to the styles of preview and directory panes.
  • Changes to the main template.
  • Markdown table detection is now handled by the ZKN-mode.
  • Changes to the styles for enabling both extended and narrow sidebar mode.
  • Added another check for popup height in ZettlrPopup to ensure popups can be displayed on screen and don't end up being cut off by the window.

@nathanlesage nathanlesage released this Jun 29, 2018 · 221 commits to master since this release

Assets 5

I've had quite a run the last week and integrated a lot of issues into the app. Therefore, here's version 0.17.0!

Huge changes to the export engine

This version features first and foremost enormous changes to the exporting engine Zettlr uses to create exports to your likings. There have been three changes worth introducing.

HTML export no longer requires Pandoc

First, we've integrated the HTML export into the App itself. Zettlr does not rely on Pandoc for simple HTML exports anymore. For simple previewing and printing of documents, you don't need to install additional software.

But as we don't rely on the comprehensive engine of Pandoc for exporting to HTML, you will notice some inconsistencies. Showdown.js, which we now use for converting the Markdown into HTML, does not support footnotes, and our (not final) workaround does not re-count the footnotes, meaning that they may be messed up (the numbers of your footnotes show in your HTML document the same way they show up in your Markdown file).

Introducing PDF exporting options

Now you have a lot of export options for your PDF files. As we have relied upon a LaTeX-template for exporting to PDF all along, it was only natural to now integrate more flexibility in the building of the template. Therefore, you now have first options to customise your template. Simply press Cmd/Ctrl+Alt+, to open up the PDF exporting preferences. There you can set the most basic options such as pagemargins, papertype, the main font to be used, the font size and the line spacing. Many more options will be added over time, so that in a later version you'll be able to control your PDF export to a degree that you already know from Microsoft Word or LibreOffice Writer.

General export options

Also, we've implemented some more general exporting options. In your preferences dialog, you can now choose whether Zettlr saves your exported files to the temporary directory (as it has been for all the last versions) or directly into your current working directory (i.e. the directory that is currently selected). This makes it easier to directly export your files to a directory of your liking — simply select it prior to exporting. But be aware: There won't be any warning if Zettlr is about to overwrite any old file, because the general workflow doesn't include working with files once they are exported. If you think there should be a warning, and enough other people join in, we'll integrate one, but for now it's less stressful without such a warning. Other options available to you now concern the ZKN-functionality that you can put into your files. You can choose to strip Hashtags, IDs and internal links prior to exporting your files.

Distraction Free Mode

For several months there has been an issue on GitHub asking for a distraction free mode. This has now been integrated into Zettlr! Simply press Cmd/Ctrl+J to enter the distraction free mode, in which you'll only have a slightly dimmed toolbar and the editor visible. Also, you can (in your preferences) choose to dim all paragraphs in which you are not currently working, as well.

Among these things, a bunch of other things have changed, see the full changelog below. Additionally, we still haven't got RPM-exporting up and running. Therefore, Fedora-users still have to use Alien or something else to convert the DEB-package to an installable RPM-package. Sorry!

0.17.0

GUI and functionality

  • Added full stops after TOC-ordinals.
  • The HTML-export (e.g., for printing) does not rely on pandoc to be present on the system anymore. In other words: HTML-export is now working everywhere and has no prerequisites anymore. Attention: As we do not rely on pandoc for HTML exports anymore, this means that the HTML format is likely to suffer from some inconsistencies, as the rendering engine is way less advanced than pandoc. Yet, this should not pose a problem, as the HTML-export is intended to be for quick previews and prints only.
  • Added a bunch of options for exporting files, such as:
    • Choose whether to save the exported files in the temporary directory (which is expunged on each restart of the system) or in your current working directory (meaning they are persistent across system reboots and are also accessible normally through your file explorer).
    • Strip Zettelkasten-IDs (such as @ID:yyyymmddhhmmss).
    • Strip tags (in the format #tag).
    • Completely remove internal Zettelkasten-links (e.g. [[<link-text>]]).
    • Only unlink internal Zettelkaten-links (i.e. transform [[<link-text>]] to <link-text>).
  • Switched to the better xelatex engine to render PDF documents.
  • Added a great number of PDF export customization options. More will be coming in the future (depending on necessities and user wishes).
  • Added a feature that search results now also are shown on the scrollbar so that you know exactly where the matches reside in your document.
  • Replaced the ugly find-in-file dialog with a Zettlr-style popup and added a replace-function as well. Simply press Return while inside the replacement-field to replace the next occurrence of your search term, or press ALT+Return, to replace all occurrences at once. The search is case-insensitive.
  • Introducing a distraction free mode, which can be toggled by pressing Cmd/Ctrl+J. This makes the editor fullscreen and mutes all lines except the one in which you are currently working.
  • Added option to recall up to ten recently used documents.
  • Hashtags are now not rendered, when they are not preceded by a space or are at the start of a line. This prevents links with anchor-names being displayed wrongly.
  • Added a shortcut for inserting footnotes: Ctrl+Alt+F (Windows+Linux) or Cmd+Alt+R (macOS).

Under the hood

  • Moved all exporting functionality to a separate class, ZettlrExport.
  • Removed unnecessary CodeMirror plugins.
  • Removed unnecessary styles and some unnecessary (b/c unused) functionality.