Overview
Zettlr is your final mile writing tool - where you transform research synthesis into polished academic papers. While Obsidian excels at creating a web of interconnected research notes, Zettlr is built specifically for linear document authoring with professional citations and export capabilities. Key Benefits for Research Memex Users:- @citekey autocomplete using your Better BibTeX citation keys from Zotero
- LaTeX math formulas rendered in real-time
- Visual table editor for results and comparisons
- Export to Word/PDF/LaTeX for journal submission
- Projects for organizing multi-chapter documents
- Open source with no vendor lock-in
Zettlr vs Obsidian: Think of Obsidian as your research lab (exploring, connecting, synthesizing ideas) and Zettlr as your publishing house (drafting, formatting, exporting papers). Both use plain markdown files, so you can seamlessly move between them!
When to Use Zettlr vs Obsidian
Use Obsidian for:- Daily research notes
- Literature note-taking from Zotero
- Building connections between ideas
- AI conversation storage
- Synthesis and theory development
- Drafting journal articles
- Writing dissertation chapters
- Papers with heavy citations
- Documents with math formulas/equations
- Exporting to Word/LaTeX/PDF for submission
Step 1: Install Zettlr
1.1 Download and Install
- Visit zettlr.com/download
- Download for your operating system (macOS, Windows, Linux)
- Install the application
- Launch Zettlr
1.2 First Launch Configuration
- Choose a workspace folder (can be the same as your Obsidian vault or separate)
- Select your preferred theme (Light or Dark)
- Configure editor settings (line numbers, spellcheck language)
Recommendation: Create a dedicated folder like
/Research-Papers/
separate from your Obsidian vault. This keeps research notes (Obsidian) distinct from paper drafts (Zettlr).Step 2: Connect to Zotero (CRITICAL)
This is where Zettlr’s citation superpowers come alive! You’ll connect it to your Zotero library via Better BibTeX.2.1 Export Better BibTeX Library from Zotero
- In Zotero: File → Export Library
- Format: Better CSL JSON (recommended) or Better BibTeX
- Check: ✅ “Keep updated” (auto-sync when library changes)
- Save location: Choose a stable location like:
- Click OK
Auto-Sync Magic: With “Keep updated” checked, Zotero automatically updates this file whenever you add papers. Zettlr always has access to your latest references!
2.2 Configure Citation Database in Zettlr
- In Zettlr: Preferences → Export
- Under “Citation Database”:
- Click “Add Database”
- Navigate to your exported library file (e.g.,
My-Library.json
) - Click “Open”
- Verify: You should see the database path listed
2.3 Test Citation Autocomplete
- Create a new file in Zettlr
- Type
@
followed by a few letters from any author’s last name - You should see autocomplete suggestions!
- Select a citation → it inserts as
[@smith2024a]
Citation Keys Match Zotero! If you followed the Zotero Setup Guide and configured Better BibTeX with the
[auth:lower][year]
pattern, your citation keys will be smith2024a
, jones2024b
, etc. Same keys in Zotero, Obsidian, AND Zettlr!2.4 Configure Citation Style
- Preferences → Export → Citation Style
- Default is Chicago style
- To change: Download .csl file from Citation Style Language
- Common academic styles:
- APA 7th edition
- MLA 9th edition
- Harvard
- IEEE
- Nature
- Your journal’s specific style
Step 3: Core Writing Features
3.1 Citations with @citekey (The Killer Feature!)
Basic Citation Syntax:- Parenthetical:
[@smith2024a]
→ (Smith, 2024) - In-text:
@smith2024a
→ Smith (2024) - With page:
[@smith2024a, p. 45]
→ (Smith, 2024, p. 45) - Multiple:
[@smith2024a; @jones2024b]
→ (Smith, 2024; Jones, 2024)
- Type
@
and start typing author name - Fuzzy search works (type
@smi
finds Smith, Smithers, etc.) - Arrow keys to select, Enter to insert
- Bibliography auto-generates in preview
3.2 Math Formulas with LaTeX
Inline Math:- Statistical models
- Economic equations
- Mathematical proofs
- Chemical formulas
- Algorithmic notation
Live Preview: Zettlr renders LaTeX math in real-time! Students often ask about LaTeX in markdown - Zettlr makes it seamless.
3.3 Visual Table Editor
- Click the “Insert Table” button (or Cmd/Ctrl+T)
- Select grid size (rows × columns)
- Edit cells directly - Tab to navigate
- Right-click for options:
- Add/remove rows
- Add/remove columns
- Align columns (left/center/right)
3.4 Comments for Drafting
Add Hidden Notes:- Leave notes to yourself
- Mark sections for revision
- Hide text temporarily without deleting
- Add reviewer responses (invisible in export)
Step 4: Projects for Long Documents
Projects help you organize dissertations, book chapters, or multi-section papers.4.1 Create a Project
-
Create a folder structure:
- Right-click the folder → Properties
- Check “Treat as project”
- Folder turns red with special icon
4.2 Configure Project Export
- Click the folder
- Configure:
- Title page information
- Export formats (PDF, DOCX, etc.)
- Table of contents settings
- Bibliography options
4.3 Compile Your Paper
- Right-click project folder → Export Project
- Zettlr concatenates all files in order
- Generates single output with:
- Proper citations
- Formatted bibliography
- Table of contents
- Page numbers
Modular Writing: Break your dissertation into chapters, work on them separately in Obsidian for research, then draft in Zettlr. When ready, compile everything into one polished document!
Step 5: Export Workflow
5.1 Export to PDF (via LaTeX)
Prerequisites:- LaTeX distribution installed (MacTeX, MiKTeX, or TeX Live)
- Cmd/Ctrl+E or click “Share” icon
- Choose “PDF (LaTeX)”
- First export may take time (downloading packages)
- Result: Professional PDF with formatted bibliography
5.2 Export to Word (.docx)
No LaTeX Required:- Cmd/Ctrl+E → “Word (docx)”
- Opens in Microsoft Word or compatible app
- Citations formatted according to CSL style
- Bibliography auto-generated at end
- Journal submissions requiring Word
- Collaboration with non-markdown users
- Track changes and comments in Word
5.3 Export to LaTeX Source
For Advanced Users:- Export → “LaTeX”
- Generates .tex file
- Compile with your own LaTeX editor
- Full control over LaTeX formatting
5.4 Configure Export Settings
Preferences → Export:- Paper size: A4 or Letter
- Font: Choose academic font (Times, Palatino)
- Line spacing: 1.5 or 2.0 for drafts
- Bibliography style: Select your .csl file
- Remove ZKN IDs: Check this for clean output
Step 6: Integration with Research Memex Workflow
6.1 From Obsidian to Zettlr
Scenario: You’ve synthesized findings in Obsidian. Now write the paper. Workflow:- In Obsidian: Create synthesis notes with key arguments
- Copy to Zettlr: Create new .md file for paper section
- Transform: Convert bullet points → paragraphs
- Add citations: Use @citekey for every claim
- Export: Generate PDF/Word when ready
6.2 From AI Conversations to Structured Sections
- Export Cherry Studio conversations to markdown
- Review AI-generated synthesis
- Copy useful passages to Zettlr
- Add proper citations (AI can hallucinate these!)
- Verify every claim against your Zotero library
Citation Verification Required: AI-generated text often includes plausible-sounding citations that don’t exist. Always verify using @citekey autocomplete. If the citation doesn’t autocomplete, it’s not in your library!
6.3 Zotero → Zettlr Direct Citations
No copy-paste needed:- Know your citation key from Zotero (e.g.,
smith2024a
) - In Zettlr: Type
@smith
→ autocomplete suggests it - Select → inserts
[@smith2024a]
- Export → bibliography auto-generated
Step 7: Best Practices
7.1 When to Switch from Obsidian to Zettlr
Stay in Obsidian when:- Exploring new topics
- Taking literature notes
- Building conceptual frameworks
- Connecting ideas across papers
- You have a clear paper outline
- Ready to draft linear sections
- Need citations in final format
- Preparing for submission
7.2 File Organization Strategy
Recommended Structure:7.3 Version Control with Git
Zettlr files are plain markdown - perfect for Git! Workflow:- Track every revision
- Revert to earlier versions
- Collaborate via GitHub
- Never lose work
7.4 Collaborative Writing
Option 1: Git-Based (Technical)- Push to GitHub private repo
- Collaborators pull, edit, push
- Merge changes
- Requires Git knowledge
- Export to .docx
- Share via email/cloud
- Collaborators use Track Changes
- Import revisions back to markdown
Step 8: Keyboard Shortcuts for Speed
Essential Shortcuts:Cmd/Ctrl+E
: Export documentCmd/Ctrl+B
: BoldCmd/Ctrl+I
: ItalicCmd/Ctrl+K
: Insert linkCmd/Ctrl+Shift+C
: Insert commentCmd/Ctrl+T
: Insert tableCmd/Ctrl+F
: SearchCmd/Ctrl+R
: Replace
- Type
@
→ Citation autocomplete - Type
#
→ Headings - Type
$
→ Inline math - Type
$$
→ Display math
Step 9: Advanced Features
9.1 Zettelkasten IDs (Optional)
Zettlr supports Zettelkasten-style linking:- Format:
[[202501151420]]
(timestamp-based IDs) - Auto-generated with Cmd/Ctrl+L
- Creates unique identifiers for notes
9.2 Custom CSS for Styling
- Preferences → Display → Custom CSS
- Add custom styles for preview
- Example: Change heading colors, font sizes, etc.
9.3 Snippet Manager
Create reusable text snippets:- Preferences → Snippets
- Add snippets with shortcuts
- Examples:
@@email
→ your email address@@affiliation
→ your institution@@template
→ paper template structure
Step 10: Troubleshooting
Citation Library Not Loading
Symptoms: @citekey autocomplete doesn’t work Solutions:- Verify library path in Preferences → Export
- Check file format (must be CSL JSON or BibTeX)
- Re-export from Zotero with “Keep updated”
- Restart Zettlr
Export to PDF Fails
Symptoms: “LaTeX not found” error Solutions:- Install LaTeX distribution:
- macOS: MacTeX (4GB) or BasicTeX (100MB)
- Windows: MiKTeX
- Linux: TeX Live
- Or export to Word instead (no LaTeX needed)
Bibliography Not Appearing
Symptoms: Citations work but no bibliography at end Solutions:- Ensure citation style (.csl) is selected
- Check that you have at least one citation in the document
- Try exporting to different format
- Verify Better BibTeX export is up-to-date
Math Formulas Not Rendering
Symptoms: LaTeX math shows as plain text Solutions:- Check syntax: no spaces after
$
in inline math - Verify you’re in preview mode (Cmd/Ctrl+Alt+E)
- Test with simple formula:
$x^2$
- Check KaTeX documentation for supported commands
Integration with Research Memex Workflow
Complete Workflow Example
Phase 1: Research (Weeks 1-4)- Zotero: Collect 50+ papers, configure Better BibTeX
- Research Rabbit: Expand citation network
- Obsidian: Take literature notes, synthesize themes
- Cherry Studio: AI-powered analysis of patterns
- Obsidian: Build conceptual framework
- Zotero: Refine collection, verify citations
- Zettlr: Draft paper sections
- Use @citekey for every claim
- Add math formulas where needed
- Build results tables
- Export: Generate PDF for advisor review
- Zettlr: Incorporate feedback
- Use comments for tracking changes
- Update citations
- Refine arguments
- Export: Final submission to journal
Tool Handoff Points
From Obsidian to Zettlr:- Identify completed synthesis notes in Obsidian
- Create new Zettlr file for paper section
- Copy key arguments and evidence
- Transform from notes → prose
- Add proper citations with @citekey
- Export Zettlr paper to markdown
- Save in Obsidian vault for archiving
- Link to related research notes
- Track published work
Checklist
By the end of this guide, you should have:- Installed Zettlr
- Connected to Zotero Better BibTeX library
- Tested @citekey autocomplete
- Configured citation style (e.g., APA, MLA)
- Created a test document with citations
- Inserted a math formula (if needed)
- Created a table
- Exported to PDF or Word successfully
- (Optional) Created a project for multi-file paper
- (Optional) Installed LaTeX for PDF export
Quick Test: Create a file with this content and export to PDF:If the bibliography appears at the end, you’re all set!
Quick Reference
Obsidian vs Zettlr Decision Matrix
Task | Use Obsidian | Use Zettlr |
---|---|---|
Literature notes from Zotero | ✅ | ❌ |
Connecting ideas across papers | ✅ | ❌ |
AI conversation exports | ✅ | ❌ |
Drafting journal article | ❌ | ✅ |
Heavy citations (20+ refs) | ❌ | ✅ |
Math formulas | ❌ | ✅ |
Export to Word/PDF | ❌ | ✅ |
Complex tables | ❌ | ✅ |
Dissertation chapters | ❌ | ✅ |
Essential Keyboard Shortcuts
Action | Shortcut |
---|---|
Export | Cmd/Ctrl+E |
Insert citation | Type @ |
Insert comment | Cmd/Ctrl+Shift+C |
Insert table | Cmd/Ctrl+T |
Bold | Cmd/Ctrl+B |
Italic | Cmd/Ctrl+I |
Search | Cmd/Ctrl+F |
Toggle preview | Cmd/Ctrl+Alt+E |
Resources
Zettlr Documentation
- Citation Guide
- Tables
- Math Formulas
- Projects
- Export Formats
- Writing Markdown in Zettlr
- File Renaming (Zotero)
Integration with Other Tools
- Zotero Setup Guide - Configure Better BibTeX citation keys
- Obsidian Setup Guide - Research note-taking
- Cherry Studio Setup Guide - AI-powered analysis
External Resources
- Citation Style Language - Download .csl files for any journal
- Pandoc Documentation - Zettlr’s export engine
- KaTeX Documentation - Math formula reference
- Zettlr Forum - Community support
Common Questions
Q: Should I use Zettlr OR Obsidian? A: Use BOTH! Obsidian for research and thinking, Zettlr for writing and exporting. They complement each other perfectly. Q: Can I use the same folder for both? A: Yes, but not recommended. Keep research notes (Obsidian) separate from paper drafts (Zettlr) for clarity. Q: Do citation keys work the same way? A: Yes! Both use Better BibTeX citation keys from Zotero. Configure once in the Zotero guide, use everywhere. Q: Is Zettlr required for Research Memex? A: No, it’s optional. But if you’re writing papers (not just taking notes), Zettlr makes citations and export much easier than Obsidian. Q: Can I write my entire dissertation in Zettlr? A: Absolutely! Use Projects to organize chapters, then compile into a single PDF or Word document.Next Steps
- Install Zettlr and connect to your Zotero library
- Create a test document with 3-5 citations
- Export to PDF or Word to verify setup
- Start drafting your next paper section in Zettlr
- Keep using Obsidian for research notes and synthesis
Workflow Recap: Research in Obsidian → Draft in Zettlr → Export to journals. Both use the same citation keys from Zotero via Better BibTeX!