I have recently started using org-mode as an electronic lab notebook for my work, and would like to combine these files with the files that I have set up in my old lab notebook, which was done in LaTeX.
The way my old notebook works is that each day goes under a file, e.g. 20161129.tex
, and this file is added to the notebook using the \input{}
command, so there is no preamble or \begin{document}
in 20161129.tex
, and it just starts with \section{2016-11-29 Tuesday}
.
Given my file in org-mode
, e.g.,
* Logbook
:PROPERTIES:
:DATE_TREE:
:END:
** 2016
*** 2016-11 November
**** 2016-11-29 Tuesday
***** Validation cases for subgrid
Some text and some math ($a + b = c$) to export.
I would like to export the 2016-11-09 subtree so that the resulting TeX file only contains the following content:
\section{2016-11-29 Tuesday}
Some text and some math ($a + b = c$) to export.
Preferably, this would be auto-exported and saved with the date (2016-11-29.tex
), but having the same thing in a LaTeX buffer would be almost as good.