For lecture notes/papers/website documents, a system of Pandoc and scripts does all that I need (usually Pandoc is sufficient). For my calendar, first I moved to the system that came with my email, then eventually to a small script I wrote so I could have things the way I like.