Skip to content

Commit cf59186

Browse files
committed
fix: English documentation
1 parent 866b08b commit cf59186

File tree

10 files changed

+103
-18
lines changed

10 files changed

+103
-18
lines changed

assets/app.css

+13-11
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,22 @@ section.wy-nav-content-wrap a:hover {
1616
}
1717

1818
/* Keyboard shortcuts */
19-
kbd {
20-
background-color: #f0f0f0;
19+
/*
20+
The selector comes from the readthedocs theme CSS file to match specificity
21+
and successfully overwrite their styles.
22+
*/
23+
.rst-content :not(dl.option-list)>:not(dt):not(kbd):not(.kbd)>.kbd,
24+
.rst-content :not(dl.option-list)>:not(dt):not(kbd):not(.kbd)>kbd {
25+
display: inline-block;
26+
min-width: 20px;
27+
background-color: #fbfbfb;
2128
color: #666;
2229
border: 1px solid #c7c6c6;
23-
border-radius: 4px;
24-
font-size: 60%;
25-
cursor: default;
26-
min-width: 26px; /* line-height + border bottom */
27-
line-height: 24px;
30+
border-radius: 3px;
2831
text-align: center;
29-
display: inline-block;
30-
padding: 0px 5px;
31-
margin: 0 4px;
32-
box-shadow: 1px 2px 0 0.5px #8685857e;
32+
padding: 1px 3px;
33+
vertical-align: middle;
34+
box-shadow: inset 0px -1px 0 #c4c4c4;
3335
}
3436

3537
nav.wy-nav-top a,

config/en.yml

+2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ nav:
4141
- Table Editor: core/tables.md
4242
- Print and Preview: core/print-preview.md
4343
- Exporting: core/export.md
44+
- Writing Statistics: core/writing-statistics.md
4445
- Advanced Usage:
4546
- YAML Frontmatter: advanced/yaml-frontmatter.md
4647
- Assets Manager: advanced/assets-manager.md
4748
- Defaults Files: advanced/defaults-files.md
4849
- Custom Templates: advanced/custom-templates.md
4950
- Custom CSS: advanced/custom-css.md
51+
- Tag Manager: advanced/tag-manager.md
5052
- Projects: advanced/projects.md
5153
- Pomodoro Timer: advanced/pomodoro.md
5254
- Zettelkasten Methods: advanced/zkn-method.md

docs/en/advanced/tag-manager.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Tag Manager
2+
3+
Zettlr features a comprehensive tagging system to add keywords to your files for a horizontal, non-hierarchical file sorting system. However, as the amount of files in your setup increases, it can become difficult to maintain overview over the tags. In addition, you may want to use some tags in a more functional way, such as `#todo` or `#needs-review`.
4+
5+
This is why Zettlr contains a powerful tag manager that allows you to manage the tags in your setup. You can open the tag manager by going to "Zettlr" → "Manage tags…" (macOS) or "File" → "Preferences" → "Manage tags…" (Windows/Linux).
6+
7+
![The Tag Manager Window](../img/tag_manager.png)
8+
9+
The tag manager lists all the tags that the app has found across your files alongside a count and an [Inverse Document Frequency (IDF)](https://en.wikipedia.org/wiki/Tf%E2%80%93idf#Inverse_document_frequency) score. The IDF score is reversely proportional to the amount of files a tag occurs in and offers an informational score as to how important a tag is. The lower the number, the less important the keyword likely is for differentiating files from each other. Usually, functional tags will have a very small IDF score, while rarely used tags will have a high score.
10+
11+
## Sorting and Filtering Tags
12+
13+
You have various options of viewing your tags. First, you can filter the tags with the input field on top of the list. This can help you find tags you need more quickly.
14+
15+
Then, you can sort the table based on columns. For example, by clicking on the "IDF" column label, Zettlr will toggle between listing files with the scores ascending and descending. Likewise with the "Count", "name", and "Color" columns.
16+
17+
## Assigning Colors to Tags
18+
19+
In the middle of the tag manager, you will find a "color" column. You can use this to denote "special" tags that will give files that contain this tag a special color in appropriate places such as the file list.
20+
21+
For example, you might want to include a "todo" tag or a "needs review" tag. In order to do this, follow these steps:
22+
23+
1. Assign the tag to at least one file so that it shows up in the tag manager.
24+
2. Then open the tag manager and search for the tag you want to assign a color to.
25+
3. Click "Assign color" to be able to choose a color.
26+
4. Optionally, write a short description into the corresponding field that will be shown when you move your mouse over a color indicator in, e.g., the file list
27+
28+
To remove the color association from a tag, simply click "Remove color".
29+
30+
When you are finished, click "Save" to close the tag manager and apply the changes.
31+
32+
## Renaming Tags
33+
34+
Lastly, the tag manager allows you to rename tags in bulk. For example, if you have used a given tag frequently, but decided it should be named differently, you can click "Rename tag". Insert the new tag in the text field and confirm by clicking on "Rename".
35+
36+
Then, Zettlr will first determine how many files will be affected and give you a final confirmation window that asks you if you really want to replace the provided tag across all of the affected files. Click "Cancel" to abort the process.
37+
38+
After clicking on "Yes", Zettlr will immediately begin replacing the tags in all affected files.

docs/en/core/user-interface.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The file manager has three modes that you can choose in the preferences:
4848
* **Expanded**: Same as the thin mode, but both the folder and file lists will be shown at the same time. Makes most sense if you have a wide monitor.
4949
* **Combined** (default): This is a more classic mode that will show both folders and files interleaved. It shows you less file information at a glance, but is much faster to navigate.
5050

51-
At the top of the file manager, you can find a filter textbox that you can use to quickly search for files and folders inside your workspaces. You can search for any metadata here, including the file or folder name, the file title, or keywords you use inside your files. You can focus the textbox by pressing `Cmd/Ctrol+Shift+T`.
51+
At the top of the file manager, you can find a filter textbox that you can use to quickly search for files and folders inside your workspaces. You can search for any metadata here, including the file or folder name, the file title, or keywords you use inside your files. You can focus the textbox by pressing <kbd>Cmd</kbd>/<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>T</kbd>.
5252

5353
!!! tip
5454

@@ -66,13 +66,13 @@ Editor panes will automatically close once you have closed the last open documen
6666

6767
## Opening new Windows
6868

69-
You can not only split the editor area into multiple parts to view several documents at once, but you can also create additional windows. For this, simply press `Cmd/Ctrl+Shift+N`. You can open as many windows as you like, and split their editor area as finely grained as you want.
69+
You can not only split the editor area into multiple parts to view several documents at once, but you can also create additional windows. For this, simply press <kbd>Cmd</kbd>/<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>N</kbd>. You can open as many windows as you like, and split their editor area as finely grained as you want.
7070

7171
There are other windows, too, which are introduced in the corresponding sections:
7272

7373
* The [**settings window**](../reference/settings.md)
7474
* The [**assets manager**](../advanced/assets-manager.md)
75-
* The [**statistics window**](#TODO)
76-
* The [**tag manager**](#TODO)
75+
* The [**statistics window**](../core/writing-statistics.md)
76+
* The [**tag manager**](../advanced/tag-manager.md)
7777

7878
This concludes the introduction to the user interface. We recommend you follow the guides in the tutorial to learn and experience Zettlr's UI more practically. After you are done going through the tutorial, you can come back here and learn about the various functions in the "Basic Usage" section.

docs/en/core/writing-statistics.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Writing Statistics
2+
3+
Zettlr offers a set of basic writing statistics that can help you understand the way you write. There are statistics based on how much you write day to day as well as general statistics on the Workspaces and files you have open in the app.
4+
5+
The app continuously tracks how many words and characters you type throughout the day. These statistics are relatively simple and are not intended to be precise. They merely serve as indicators for your broad writing behavior and should not be taken as anything more than that.
6+
7+
## How Zettlr Tracks Your Writing
8+
9+
Zettlr uses a very simple algorithm to remember how many words and characters you write throughout the day. It starts when you open a document. As the app opens a document, it calculates how many words and characters are contained therein and notes these numbers. Then, when you save a document – either using autosave or manually pressing <kbd>Cmd</kbd>/<kbd>Ctrl</kbd>+<kbd>S</kbd> – the app will calculate the new word and character counts. What it will track is the difference between these two numbers. It records only positive values, so if you deleted more words than you added, it will not subtract any values from the recorded ones.
10+
11+
This strategy is fairly simple and straight forward, but comes with some caveats:
12+
13+
* If you paste large amounts of text, this can inflate your statistics unnaturally
14+
* The counters are designed to be fast, not precise, so they employ very basic heuristics and may not accurately reflect especially character counts in non-latin scripts such as Arabic, Tamil, Chinese, or Japanese.
15+
* Up until November 2024, Zettlr only tracked word counts, not character counts, so there will be a difference in historic data
16+
17+
!!! tip
18+
19+
If you want to adapt your writing statistics manually after the fact, you can modify the file `stats.json` in the app's data directory. Note that Zettlr must be closed before you can adapt the file, otherwise the app will overwrite your changes. You can find the data directory in the [setup instructions](../getting-started/setup.md).
20+
21+
## Viewing Writing Statistics
22+
23+
To access the writing statistics, click the "View Stats" button in the left section of the toolbar. This will open a popover that contains several pieces of information. First a few counts: the amount of words you have written in the last 30 days, your rolling daily average over the past 30 days, and the amount of words you have written today.
24+
25+
As an additional motivation to get writing, the popover also includes a message indicating if you haven't gotten close to your own rolling average, getting close, or if you have surpassed your average writing statistics.
26+
27+
Lastly, the popover contains a small graph that plots the amount of words over the past 30 days to give you a visual impression of your writing performance. Next to this graph, you will find a button that when clicked will open the full statistics window.
28+
29+
## The Stats Window
30+
31+
The statistics window contains a lot of comprehensive data on your files and your writing process. It is also the window that includes the [graph view](../advanced/graph.md).
32+
33+
![The Statistics Window](../img/stats_window.png)
34+
35+
The first view of the statistics window shows the calendar. It is focused on the running year and gives you an overview over your entire year of writing. It shows you days on which you have not opened the app in gray, and then uses colors to convey the amount of words you have written. Zettlr uses light blue for days on which you have written less than your daily average, purple for days where you have surpassed the daily average, and red for days where you managed to write more than double the amount of daily average words.
36+
37+
Using the buttons below the heading, you can navigate through all the years for which there is data.
38+
39+
The second view in the window includes the same information, but as graphs, indicating either per month or per year how much you have written.
40+
41+
The third view contains data on the files you have loaded into the app. It shows you a variety of summary statistics on the files, folders, and your largest and smallest files.
42+
43+
The fourth view contains the graph view. [Refer to its dedicated section in this documentation to learn more](../advanced/graph.md).

docs/en/guides/journal-latex-template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ zettlr:
8383
8484
!!! note
8585
86-
Note that you may receive some errors while trying to export, indicating missing packages. [Read this to know how to fix them](../getting-started/installing-latex/#installing-additional-packages).
86+
Note that you may receive some errors while trying to export, indicating missing packages. [Read this to know how to fix them](../getting-started/installing-latex.md#installing-additional-packages).
8787
8888
Afterward, your PDF should open with the contents, but you may notice that there are tons of sample code still in there. This is what we now have to get to:
8989

docs/en/img/stats_window.png

183 KB
Loading

docs/en/img/tag_manager.png

177 KB
Loading

docs/en/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Welcome
22

3-
This User Manual is the official documentation for Zettlr. Here you can find detailed descriptions for every feature and how you can tweak those to match your needs. Consult this manual any time you are stuck. You can open this manual from within the app by pressing `F1` or clicking on the menu item 'Help' &rarr; 'Open user manual' (internet connection required).
3+
This User Manual is the official documentation for Zettlr. Here you can find detailed descriptions for every feature and how you can tweak those to match your needs. Consult this manual any time you are stuck. You can open this manual from within the app by pressing <kbd>F1</kbd> or clicking on the menu item 'Help' &rarr; 'Open user manual' (internet connection required).
44

55
!!! note
66

docs/en/reference/settings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In the general tab you find options that you might want to adjust if you begin u
2525

2626
Application language
2727

28-
: Sets the language the application will be displayed in. Your changes are applied after a restart. Note that not all translations are complete, so you may see English strings in some places. If you want to improve a translation, [here we explain how](../getting-started/get-involved/#translating-the-app).
28+
: Sets the language the application will be displayed in. Your changes are applied after a restart. Note that not all translations are complete, so you may see English strings in some places. If you want to improve a translation, [here we explain how](../getting-started/get-involved.md#translating-the-app).
2929

3030
Dark mode
3131

0 commit comments

Comments
 (0)