Export To TeX

by Zach Raines
5
4
3
2
1
Score: 46/100

Description

Category: Coding & Technical Tools

The Export To TeX plugin enables seamless conversion of Obsidian notes to LaTeX format, making it easy to incorporate your notes into TeX files for professional document creation. It resolves embeds, strips WikiLinks, and auto-generates labels for headings and blocks, converting internal references into LaTeX \ref commands. Users can customize settings such as math environment handling, newline compression, and image path formatting. Export options include saving to a file or copying directly to the clipboard, ensuring flexibility for various workflows. The plugin is highly configurable and supports advanced LaTeX features for efficient academic or technical writing.

Reviews

No reviews yet.

Stats

44
stars
9,395
downloads
4
forks
1,978
days
1,418
days
1,418
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
34
total issues
10
open issues
24
closed issues
0
commits

Latest Version

4 years ago

Changelog

README file from

Github

obsidian-export-to-tex

License: MIT

Export to obsidian notes to LaTeX format, suitable for pasting into a TeX file.

Installation

If you have Obsidian version 0.9.8 or greater:

  1. Open the options pane
  2. Go to Third-party plugins
  3. Ensure that safe-mode is off. (WARNING: Please verify for yourself the safety of any plugins before using them.)
  4. Click Browse next to Community Plugins
  5. Search for Export To TeX
  6. Click Install
  7. Go back to the Third-party plugins page and enable Export To TeX

To update simply go back to the Third-Party plugins page for Export To TeX and click Update.

Manual Installation

To manually install

  1. download the latest zipfrom the latest Github Release
  2. unzip the contents into the .plugins/obsidian-export-to-tex subdirectory of your vault.
  3. reload obsidian
  4. go into settings > third party plugins and activate obsidian-export-to-tex

For details see the forums.

Usage

This plugin allows Obsidian files to exported to TeX format. When doing so:

  • WikiLinks to other files are stripped
  • Embeds are resolved
  • By default, headings and blocks are associated with labels

Commands

Export to TeX provides two commands

Export to TeX

This command will produce a save as dialog. The contents of the current file will be converted to TeX and saved to that file.

Export to Clipboard

The contents of the current file will be converted to TeX and copied to the clipboard.

Settings

Generate labels and refs

Default: true

By default, Export to TeX will auto generate labels for headings and blocks. Links to these from within the same file will be converted to \ref calls.

Ref command

Default: '\cref'

The command to use for generating refs: defaults to \cref.

Additional math environments

Default: []

Export to TeX will by default strip the surrounding displaymath delimeters from toplevel math environments such as equation. If there are other environments you which to do this for, they can be added to this list.

Default to equation

Default: false

By default, display math environments

$$
x^2
$$

will be exported as display math

\[
x^2
\]

if there is no top level environment present.

With default to equation on this well instead be exported as

\begin{equation}
x^2
\end{equation}

Compress Newlines

Default: false

When enabled, exported TeX will have any instance of more than one blank line in a row compressed to a single blank line.

Image path format

Default: Relative to vault root

Determines how image paths are written when converting image embeddings ![[image.png]] to \includgraphics calls. Options are

  • Relative to vault root: uses to file path relative to the root of the current vault, \includegraphics{Figures/image.png}
  • Absolute path: uses the absolute path to the file on your filesystem, \includegraphics{/Users/user/Documents/Vault/Figures/image.png}
  • File base name: uses only the base name of the image file: \includegraphics{image}
  • Relative to export directory: gives the file path relative to the export TeX directory, (if copying to clipboard will be relative to default export directory).

Default export directory

*Defaults to vault root

If set the file picker will open to the chosen directory for export.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Pandoc
5 years ago by Oliver Balfour
Pandoc document export plugin for Obsidian (https://obsidian.md)
Latex Suite
4 years ago by artisticat1
Make typesetting LaTeX as fast as handwriting through snippets, text expansion, and editor enhancements
Obsidian Enhancing Export
4 years ago by YISH
This is an enhancing export plugin base on Pandoc for Obsidian (https://obsidian.md/ ). It's allow you to export to formats like Markdown、Markdown (Hugo https://gohugo.io/ )、Html、docx、Latex etc.
Better Export PDF
2 years ago by l1xnan
Obsidian PDF export enhancement plugin
Quick LaTeX
5 years ago by joeyuping
Webpage HTML Export
3 years ago by Nathan George
Export html from single files, canvas pages, or whole vaults. Direct access to the exported HTML files allows you to publish your digital garden anywhere. Focuses on flexibility, features, and style parity.
Completr
4 years ago by tth05
Auto-completion plugin for the obsidian editor.
Extended MathJax
5 years ago by Xavier Denis & Ng Wei En
TikZJax
4 years ago by artisticat1
Render LaTeX and TikZ diagrams in your notes
Obsidian markdown export
3 years ago by bingryan
This plugin allows to export directory/single markdown to a folder. support output format(html/markdown/text)
Math Booster
3 years ago by Ryota Ushio
A powerful indexing & referencing system for theorems & equations in your Obsidian vault.
Latex Environments
6 years ago by Zach Raines
Quickly insert and change latex environments within math blocks in Obsidian.
MathLive
3 years ago by Dan Zilberman
The must-have plugin for math in Obsidian
Metadata Extractor
5 years ago by kometenstaub
Obsidian Plugin that provides metadata export for use with third-party apps.
Pseudocode
3 years ago by Yaotian Liu
An obsidian plugin that helps to render a LaTeX-style pseudocode inside a code block.
PDF break page
2 years ago by CG
Plugin for obsidian that adding shortcuts to create breakpages for pdf exports.
Latex OCR
2 years ago by Lucas Van Mol
Generate LaTeX equations from images in your clipboard or vault
Typst Mate
3 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
Copy as LaTeX
5 years ago by mo-seph
Quick plugin to be able to copy/paste from Obsidian/Markdown into a Latex document
Kindle Export
4 years ago by Simeon Stanek
A plugin which converts .md files from Obsidian to your Kindle/PocketBook
Obsidian matrix
4 years ago by Jonas Mohr
Obsidian asciimath
3 years ago by widcardw
Asciimath support for Obsidian (based on asciimath-parser)
Calctex
3 years ago by Mike
An Obsidian plugin for automatic calculation of LaTeX formulas.
No more flickering inline math
3 years ago by Ryota Ushio
No longer disturbed by flickering inline math in Obsidian.
Export Graph View
a year ago by Sean McGhee
Plugin to export your vault's graph view.
Linked Note Exporter
9 months ago by the-c0d3r
Obsidian plugin to export a note along with all its attachments and linked notes—cleanly, conveniently, and ready to share.
Image2LaTEX
3 years ago by Hugo Persson
This is a plugin for obsidian that will read your latest copied image from clipboard and generate math latex from it
LaTeX Math
a year ago by Zarstensen
Integrated CAS (via. Sympy) plugin for Obsidian, with a LaTeX focused workflow.
SwiftLaTeX Render
2 years ago by gboyd068
LaTeX Algorithms
3 years ago by SamZhang02
A simple plugin for writing Algorithms and pseudocodes in Obsidian.md
Screwdriver
4 years ago by vorotamoroz
LaTeX to unicode converter
3 years ago by fjdu
Convert LaTeX commands into unicode sequences
Latex Matrices
3 years ago by Daniele Susino
An obsidian plugin to create latex matrices.
Import/Export TiddlyWiki
3 years ago by Lucas Bordeau
Import/export TiddlyWiki tiddler files with Obsidian
Image Magician
2 years ago by luxmargos
This is a plugin for Obsidian (https://obsidian.md). Supports viewing and exporting various image formats using ImageMagick.
Wypst
2 years ago by 0xpapercut
High quality rendering of Typst in Obsidian, powered by wypst.
Auto-\displaystyle Inline Math
2 years ago by Ryota Ushio
An Obsidian.md plugin to automatically make all inline maths \displaystyle.
Latex Exporter
a year ago by Matthew S. Scott
Strapi Exporter AI
2 years ago by Cinquin Andy
[prod] - 🚀 Strapi Exporter: Supercharge Your Obsidian-to-Strapi Workflow, export an obsidian notes directly to your Strapi API
my anime list text exporter
2 years ago by XmoncocoX
a plugin who create an obsidian page for an anime with the data from my anime list.
MathLive in Editor Mode
2 years ago by MizarZh
MathLive input in editor mode.
Math Indicator Changer
2 years ago by Ori Replication
Asciidoctor editor
2 years ago by dzruyk
Obsidian asciidoc editor plugin
Transfer LaTeX from GPT
2 years ago by Xixia
LaTeX-OCR
2 years ago by Jack Barker
Static Site MD Exporter
2 years ago by Yunfi
Export specific notes to general md for static site generation, such as Hexo, Hugo, or Astro
Gitlab Wiki Exporter
2 years ago by Josef Rabmer
WhatsApp export note
a year ago by JoaoEmanuell
Obsidian plugin to export notes for whatsapp
Plot Vectors and Graphs
2 years ago by Nicole Tan YiTong
Obsidian Plugin to generate graphs given the function.
MathType
a year ago by slateblua
Type math faster
AI LaTeX Generator
2 years ago by Aayush Shah
An Obsidian plugin that generates latex code from natural language inputs.
Quarto Exporter
2 years ago by Andreas Varotsis
Export Obsidian notes to Quarto-compatible QMD files.
Yandex Wiki Integration
10 months ago by Pavel Sokolov
LaTeX Panel Helper
5 months ago by Luster
A powerful and convenient LaTeX symbol panel for Obsidian to enhance your mathematical and scientific note-taking efficiency.
LaTeX autocomplete
6 months ago by Yanis Gerst
Copy Local Graph Paths
a year ago by Amy Z
copy-local-graph-paths is a simple Obsidian plugin that copies the paths of notes linked to your current page.
Auto Math
2 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.
Quick Matrix
6 months ago by Charlie Flowe
Plugin for Obsidian.md that allows for faster interactions with matrices in LaTeX