I'm planning to write my master thesis using LyX. In order to keep track of recent changes, I want to export the LyX source files to normal LaTeX source files and put these in a Git repository. In the LaTeX source files, I want each sentence to be on its own line so that I can track changes of my text in a more fine-grained way.
Is there maybe a macro or a command with which I can tell LyX to put each sentence on its own line in the exported LaTeX source files? If not, is there a way to write my own macro which can achieve that? Thank you very much in advance!
latexdiff
?\\
doesn't help here because I don't want each sentence to be on a separate line in the generated PDF file but only in the LaTeX source file.latexdiff
but it's not as nice as a real version control system. Besides that, it's not an answer to my question.