Skip to content

Zettelkasten software configuration

F Lengyel edited this page Jul 3, 2026 · 11 revisions

This page documents some of the software configuration files used with the Zettelkasten software inventory.

Obsidian Templater templates

New File Template

The New File Template is available at NewFileTemplate.md.

The New File Template is bound to Alt+n.: This template creates a new Zettel with a unique identifier and a YAML header, ensuring a consistent structure for all notes. It prompts the user to enter an alpha keyword and a title for the note, generating a unique ID based on the current timestamp combined with the alpha keyword. The generated note includes metadata such as id, title, and reference-section-title. It also provides a basic structure with sections like "SEE ALSO" and "References" for further organization. Finally, the template renames the file to match the unique ID.

Timestamp Template

The Timestamp Template is bound to Alt+t. This template generates a timestamp of the form [yyyy-mm-dd hh:mm:ss] at the beginning of the line. I use this mostly with weekly notes, in conjunction with the Periodic Notes Obsidian plugin.

Wikilink Title Template

The Wikilink Title template is available at WikilinkTitle.md.

  • Wikilink Title Template (bound to Alt+w): This template appends the title of a note to an existing Wikilink without altering the rest of the line. It ensures that each Wikilink includes its corresponding note title, providing better context directly in the referencing line. This template automates the process, preserving existing text and formatting while enriching the link with descriptive information.

Pandoc defaults files

I have modified the arguments in the Enhancing Export plugin, version 1.10.8, to refer to modified defaults files I borrowed from my former Zettlr configuration.

These modifications required a few changes to the Pandoc template.tex file. Here's mine: template.tex. This template was adapted from https://github.com/jgm/pandoc/blob/master/data/templates/default.latex. There are two modifications.

  1. The first modification occurs immediately after the following two lines.

usepackage{beamerarticle} % needs to be loaded first
$endif$
% MODIFICATIONS FOR ZETTLR BY FL 2022/06/26
\usepackage{tabularray}
\UseTblrLibrary{amsmath}
\usepackage{amssymb,amsthm}
%\usepackage{amsmath,amssymb}
% (END OF MODIFICATIONS FOR ZETTLR BY FL)

  1. The second modification occurs immediately after the following two lines.

$header-includes$
$endfor$
% MODIFICATIONS FOR ZETTLR BY FL 2022/06/26
$if(more-header-includes)$
$for(more-header-includes)$
$more-header-includes$
$endfor$
$endif$
% (END OF MODIFICATIONS FOR ZETTLR BY FL 2022/06/26)

The template file is installed in my own TEXMF directory. For reference, the location is

C:\Users\fleng\mytexmf\tex\latex\templates\template.tex

The modified Pandoc export defaults files need to refer to the new template, which belongs in your TEXMF directory, the configuration of which follows.

LaTeX Integration Notes

Your LaTeX system will need to know about your TEXMF directory. In the MiKTeX console--I use MiKTeX, you can add this directory and update its database through the following screen:

TEXMF directories

See Your own TEXMF root directories. Also see this StackExchange question and answer. StackExchange is the definitive repository of software documentation on the web, bar none. That includes vendor documentation. (This is an exaggeration.)

And here's the LaTeX style file of every LaTeX color I could locate: LatexColors.incl.sty. This style file was borrowed from https://github.com/Inventium/latexcolor.com, which I was led to from http://latexcolor.com/. The site http://latexcolor.com lists the LaTeX color swatches in alphabetical order.

Clone this wiki locally