Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): mention printing PDF manually from browser
Elian Doran00720ae58f6f
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.htmlindex 2d1ee73fb8..3104cac573 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.html@@ -4,7 +4,6 @@<figcaption>Screenshot of the note contextual menu indicating the “Export as PDF”option.</figcaption></figure>-<h2>Printing</h2><p>This feature allows printing of notes. It works on both the desktop client,but also on the web.</p>@@ -38,6 +37,13 @@ class="admonition note"><p>To print a note, select the<img src="1_Printing & Exporting as PD.png">button to the right of the note and select <em>Export as PDF</em>. Afterwardsyou will be prompted to select where to save the PDF file.</p>+ <aside class="admonition tip">+ <p>Although direct export as PDF is not available in the browser version+ of the application, it's still possible to generate a PDF by selecting+ the <em>Print </em>option instead and selecting “Save to PDF” as the printer+ (depending on the browser). Generally, Mozilla Firefox has better printing+ capabilities.</p>+ </aside><h3>Automatic opening of the file</h3><p>When the PDF is exported, it is automatically opened with the system defaultapplication for easy preview.</p>@@ -53,9 +59,9 @@ class="admonition note">href="#root/_help_zEY4DaJG4YT5">Attributes</a> to adjust some of thesettings:</p><ul>- <li>To print in landscape mode instead of portrait (useful for big diagrams+ <li data-list-item-id="e91eb69cdf42469e4f21852a6b27616b3">To print in landscape mode instead of portrait (useful for big diagramsor slides), add <code>#printLandscape</code>.</li>- <li>By default, the resulting PDF will be in Letter format. It is possible+ <li data-list-item-id="e111f43a2b5200816649515c5718b6c31">By default, the resulting PDF will be in Letter format. It is possibleto adjust it to another page size via the <code>#printPageSize</code> attribute,with one of the following values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</li></ul>@@ -69,9 +75,9 @@ class="admonition note">href="#root/_help_4TIF1oA4VQRO">Options</a> and assigning a key combinationfor:</p><ul>- <li><em>Print Active Note</em>+ <li class="ck-list-marker-italic" data-list-item-id="e4065a346baa2fcc2f0bfe436f4026375"><em>Print Active Note</em></li>- <li><em>Export Active Note as PDF</em>+ <li class="ck-list-marker-italic" data-list-item-id="e358a65968ddc456ba39276f3d03e67ab"><em>Export Active Note as PDF</em></li></ul><h2>Constraints & limitations</h2>@@ -79,24 +85,24 @@ class="admonition note">supported when printing, in which case the <em>Print</em> and <em>Export as PDF</em> optionswill be disabled.</p><ul>- <li>For <a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a> notes:+ <li data-list-item-id="e10824952bca3d35d824df6ff828a674f">For <a class="reference-link" href="#root/_help_6f9hih2hXXZk">Code</a> notes:<ul>- <li>Line numbers are not printed.</li>- <li>Syntax highlighting is enabled, however a default theme (Visual Studio)+ <li data-list-item-id="ea6c43aec2902c6e071541491e8bd60ac">Line numbers are not printed.</li>+ <li data-list-item-id="efddf7e53853db4e34d16d154b8ed4928">Syntax highlighting is enabled, however a default theme (Visual Studio)is enforced.</li></ul></li>- <li>For <a class="reference-link" href="#root/_help_GTwFsgaA0lCt">Collections</a>:+ <li data-list-item-id="e015b49c0f3289d6899c5a8b234d5be8b">For <a class="reference-link" href="#root/_help_GTwFsgaA0lCt">Collections</a>:<ul>- <li>Only <a class="reference-link" href="#root/_help_zP3PMqaG71Ct">Presentation View</a> is+ <li data-list-item-id="ee53ebf2cbc850302a779b29475441b0b">Only <a class="reference-link" href="#root/_help_zP3PMqaG71Ct">Presentation View</a> iscurrently supported.</li>- <li>We plan to add support for all the collection types at some point.</li>+ <li data-list-item-id="ebb55f62a0f525b810fd11fadc01e86ac">We plan to add support for all the collection types at some point.</li></ul></li>- <li>Using <a class="reference-link" href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a> for+ <li data-list-item-id="e25476c9600ab387eda79fa5eec0b5394">Using <a class="reference-link" href="#root/_help_AlhDUqhENtH7">Custom app-wide CSS</a> forprinting is not longer supported, due to a more stable but isolated mechanism.<ul>- <li>We plan to introduce a new mechanism specifically for a print CSS.</li>+ <li data-list-item-id="eeb0dc52913013746ad4c3709296fab6b">We plan to introduce a new mechanism specifically for a print CSS.</li></ul></li></ul>diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Collections.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Collections.htmlindex 2a774a3f3c..0c06f12794 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Collections.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Note Types/Collections.html@@ -4,31 +4,29 @@child notes into one continuous view. This makes it ideal for reading extensiveinformation broken into smaller, manageable segments.</p><ul>- <li data-list-item-id="e43cd5203be3a89cff2aa8ceb3ca62b84"><a class="reference-link" href="#root/_help_8QqnMzx393bx">Grid View</a> which+ <li><a class="reference-link" href="#root/_help_8QqnMzx393bx">Grid View</a> whichis the default presentation method for child notes (see <a class="reference-link"href="#root/_help_0ESUbbAxVnoK">Note List</a>), where the notes are displayedas tiles with their title and content being visible.</li>- <li data-list-item-id="e8a1944c0c300ec0e5566276ab78ab481"><a class="reference-link" href="#root/_help_mULW0Q3VojwY">List View</a> is+ <li><a class="reference-link" href="#root/_help_mULW0Q3VojwY">List View</a> issimilar to <a class="reference-link" href="#root/_help_8QqnMzx393bx">Grid View</a>,but it displays the notes one under the other with the content being expandable/collapsible,but also works recursively.</li></ul><p>More specialized collections were introduced, such as the:</p><ul>- <li data-list-item-id="e391040c6f8f6d683e77dd8b91155faf8"><a class="reference-link" href="#root/_help_xWbu3jpNWapp">Calendar View</a> which+ <li><a class="reference-link" href="#root/_help_xWbu3jpNWapp">Calendar View</a> whichdisplays a week, month or year calendar with the notes being shown as events.New events can be added easily by dragging across the calendar.</li>- <li- data-list-item-id="e81b950279f4564360b8998573086eeb2"><a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map View</a> which+ <li><a class="reference-link" href="#root/_help_81SGnPGMk7Xc">Geo Map View</a> whichdisplays a geographical map in which the notes are represented as markers/pinson the map. New events can be easily added by pointing on the map.</li>- <li- data-list-item-id="e889775ae8dc3f0c2fc51a86f9a75239c"><a class="reference-link" href="#root/_help_2FvYrpmOXm29">Table View</a> displays- each note as a row in a table, with <a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a> being- shown as well. This makes it easy to visualize attributes of notes, as- well as making them easily editable.</li>- <li data-list-item-id="e971c7ef8f4d30119638933042d983745"><a class="reference-link" href="#root/_help_CtBQqbwXDx1w">Board View</a> (Kanban)- displays notes in columns, grouped by the value of a label.</li>+ <li><a class="reference-link" href="#root/_help_2FvYrpmOXm29">Table View</a> displays+ each note as a row in a table, with <a class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a> being+ shown as well. This makes it easy to visualize attributes of notes, as+ well as making them easily editable.</li>+ <li><a class="reference-link" href="#root/_help_CtBQqbwXDx1w">Board View</a> (Kanban)+ displays notes in columns, grouped by the value of a label.</li></ul><p>For a quick presentation of all the supported view types, see the childnotes of this help page, including screenshots.</p>@@ -44,58 +42,57 @@<h3>Adding a description to a collection</h3><p>To add a text before the collection, for example to describe it:</p><ol>- <li data-list-item-id="e37baa04a3c9707bb5047695c99677742">Create a new collection.</li>- <li data-list-item-id="e07e2627d54230a1d2aebca5d8676cfef">In the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>,+ <li>Create a new collection.</li>+ <li>In the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>,go to <em>Basic Properties</em> and change the note type from <em>Collection</em> to <em>Text</em>.</li></ol><p>Now the text will be displayed above while still maintaining the collectionview.</p><h3>Using saved search</h3><p>Collections, by default, only display the child notes. However, it is- possible to use the <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/wArbEsdSae6g/_help_eIg8jdvaoNNd">Search</a> functionality+ possible to use the <a class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a> functionalityto display notes all across the tree, with advanced querying functionality.</p>-<p>To do so, simply start a <a class="reference-link" href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/wArbEsdSae6g/_help_eIg8jdvaoNNd">Search</a> and+<p>To do so, simply start a <a class="reference-link" href="#root/_help_eIg8jdvaoNNd">Search</a> andgo to the <em>Collection Properties</em> tab in the <a class="reference-link"- href="#root/pOsGYCXsbNQG/gh7bpGYxajRS/Vc8PjrjAGuOp/_help_BlN9DFI679QC">Ribbon</a> and- select a desired type of collection. To keep the search-based collection,- use a <a class="reference-link" href="#root/pOsGYCXsbNQG/KSZ04uQ2D1St/_help_m523cpzocqaD">Saved Search</a>.</p>-<aside-class="admonition important">+ href="#root/_help_BlN9DFI679QC">Ribbon</a> and select a desired type+ of collection. To keep the search-based collection, use a <a class="reference-link"+ href="#root/_help_m523cpzocqaD">Saved Search</a>.</p>+<aside class="admonition important"><p>While in search, none of the collections will not display the child notesof the search results. The reason is that the search might hit a note multipletimes, causing an exponential rise in the number of results.</p>- </aside>- <h3>Creating a collection from scratch</h3>- <p>By default, collections come with a default configuration and sometimes- even sample notes. To create a collection completely from scratch:</p>- <ol>- <li data-list-item-id="eb60e8b061b0c7f5b991a1727c422c754">Create a new note of type <em>Text</em> (or any type).</li>- <li data-list-item-id="ef92adf795f76377d72653f69f5928bda">In the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>,- go to <em>Basic Properties</em> and select <em>Collection</em> as the note- type.</li>- <li data-list-item-id="eea4322a308b85751aac73e476eb46cb5">Still in the ribbon, go to <em>Collection Properties</em> and select the- desired view type.</li>- <li data-list-item-id="e0d2ab82221d6a9e3b4f116f0c9cae200">Consult the help page of the corresponding view type in order to understand- how to configure them.</li>- </ol>- <h2>Archived notes</h2>- <p>By default, archived notes will not be shown in collections. This behaviour- can be changed by going to <em>Collection Properties</em> in the - <a- class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a> and checking <em>Show archived notes</em>.</p>- <p>Archived notes will be generally indicated by being greyed out as opposed- to the normal ones.</p>- <h2>Under the hood</h2>- <p>Collections by themselves are simply notes with no content that rely on- the <a class="reference-link" href="#root/_help_0ESUbbAxVnoK">Note List</a> mechanism- (the one that lists the children notes at the bottom of a note) to display- information.</p>- <p>By default, new collections use predefined <a class="reference-link"- href="#root/_help_KC1HB96bqqHX">Templates</a> that are stored safely- in the <a class="reference-link" href="#root/_help_2mUhVmZK8RF3">Hidden Notes</a> to- define some basic configuration such as the type of view, but also some - <a- class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a> to make editing easier.</p>- <p>Collections don't store their configuration (e.g. the position on the- map, the hidden columns in a table) in the content of the note itself,- but as attachments.</p>\ No newline at end of file+</aside>+<h3>Creating a collection from scratch</h3>+<p>By default, collections come with a default configuration and sometimes+ even sample notes. To create a collection completely from scratch:</p>+<ol>+ <li>Create a new note of type <em>Text</em> (or any type).</li>+ <li>In the <a class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a>,+ go to <em>Basic Properties</em> and select <em>Collection</em> as the note+ type.</li>+ <li>Still in the ribbon, go to <em>Collection Properties</em> and select the+ desired view type.</li>+ <li>Consult the help page of the corresponding view type in order to understand+ how to configure them.</li>+</ol>+<h2>Archived notes</h2>+<p>By default, archived notes will not be shown in collections. This behaviour+ can be changed by going to <em>Collection Properties</em> in the + <a+ class="reference-link" href="#root/_help_BlN9DFI679QC">Ribbon</a> and checking <em>Show archived notes</em>.</p>+<p>Archived notes will be generally indicated by being greyed out as opposed+ to the normal ones.</p>+<h2>Under the hood</h2>+<p>Collections by themselves are simply notes with no content that rely on+ the <a class="reference-link" href="#root/_help_0ESUbbAxVnoK">Note List</a> mechanism+ (the one that lists the children notes at the bottom of a note) to display+ information.</p>+<p>By default, new collections use predefined <a class="reference-link"+ href="#root/_help_KC1HB96bqqHX">Templates</a> that are stored safely+ in the <a class="reference-link" href="#root/_help_2mUhVmZK8RF3">Hidden Notes</a> to+ define some basic configuration such as the type of view, but also some + <a+ class="reference-link" href="#root/_help_OFXdgB2nNk1F">Promoted Attributes</a> to make editing easier.</p>+<p>Collections don't store their configuration (e.g. the position on the+ map, the hidden columns in a table) in the content of the note itself,+ but as attachments.</p>\ No newline at end of filediff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex f42b42ae07..b73efe6a6d 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -8122,17 +8122,31 @@{"type": "relation","name": "internalLink",- "value": "KC1HB96bqqHX",+ "value": "eIg8jdvaoNNd",+ "isInheritable": false,+ "position": 110+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "m523cpzocqaD","isInheritable": false,"position": 120},{"type": "relation","name": "internalLink",- "value": "2mUhVmZK8RF3",+ "value": "KC1HB96bqqHX","isInheritable": false,"position": 130},+ {+ "type": "relation",+ "name": "internalLink",+ "value": "2mUhVmZK8RF3",+ "isInheritable": false,+ "position": 140+ },{"type": "label","name": "shareAlias",@@ -8146,20 +8160,6 @@"value": "bx bx-book","isInheritable": false,"position": 20- },- {- "type": "relation",- "name": "internalLink",- "value": "eIg8jdvaoNNd",- "isInheritable": false,- "position": 140- },- {- "type": "relation",- "name": "internalLink",- "value": "m523cpzocqaD",- "isInheritable": false,- "position": 150}],"format": "markdown",diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.mdindex 928b134c6d..6873fd8a5e 100644--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md@@ -24,6 +24,9 @@ On the desktop application of Trilium it is possible to export a note as PDF. OnTo print a note, select the  button to the right of the note and select _Export as PDF_. Afterwards you will be prompted to select where to save the PDF file.+> [!TIP]+> Although direct export as PDF is not available in the browser version of the application, it's still possible to generate a PDF by selecting the _Print_ option instead and selecting “Save to PDF” as the printer (depending on the browser). Generally, Mozilla Firefox has better printing capabilities.+### Automatic opening of the fileWhen the PDF is exported, it is automatically opened with the system default application for easy preview.