Reporting ledger-cli result with LaTex Other options Using latex datatool package in Tex document with external CSV file and key / value data. YouTube: Export Python variables and import them into your LaTeX document -- Combining Python with LaTeX https://ctan.org/pkg/datatool