Anki add-on: LaTeX Note Importer

2025-10-01: This add-on is no longer maintained. Please consider the stand-alone python script LaTeX2Anki by the same author instead, which aims to make better use of some of Anki's inbuilt features: cloze deletions and dynamic page rendering based on screen size and user preferences (night mode). Moreover, decks created using LaTeX2Anki are much smaller in file size: while notes created using LaTeX-Note-Importer are essentially static images, notes created and shared using LaTeX2Anki are html based, with maths mixed in and rendered using Anki's built-in MathJax engine. This add-on allows you import notes from LaTeX files, thus allowing you to create LaTeX-heavy Anki notes in your favourite editor. Documentation: on GitHub Source code: on GitHub Related project: amsthm-to-anki This program contributed by Langston Barrett can be used to extract amsthm environments (definitions, propositions, theorems etc.) from a TeX-ed lecture script and convert them into the format expected by the LaTeX Note Importer. Version history for Anki 2.1 addon 2023-07-03: Bugfix following syntax changes in Python 3.11 2021-10-22: Hotfix for incompatiblity with Anki versions 2.1.45 or 2.1.46ff. Many thanks for help from the community, in particular to user Adeline for pointing out the problem, to abdo for putting me on the right track , and to kelciour for providing a complete solution! 2018-06-24: First version Version history for Anki 2.0 addon 2018-06-24: In the summary at the end of an import, do not display all unimported lines. Display only the total number of unimported lines. 2016-08-28: New mechanism for importing tags. ++ makes it possible to update tags of existing notes -- requires some care during import for some files Details in the documentation. 2014-09-02: Whitespace at the beginning of a line is no longer discarded on import. This should make little difference for most users and improve usability for those who want to import verbatim environments/code snippets. (Thanks to Kristopher Bredemeier for pointing this out.) 2014-04-02: Load file went missing in the previous update, now included again 2014-02-11: Bug fix--importing "plain"-fields should now work 2013-06-26: Option "import as HTML" now automatically selected and hidden from view 2013-06-??: First version

GitHub repository: tentativeconvert/latex-note-importer-for-anki
Repository description: Add-on for the memory training program Anki, allowing to import and export notes written in LaTeX.
Languages: Python, Shell
Topics: anki, latex