Tag Archives: geany

Folding Latex files in geany

It’s been a long hiatus, but since I’ve spent most of the morning working on this one, I thought I’d share.

To the horror of all of my colleagues, I write latex documents (and even slides for presentations) by hand* , using geany. It annoys the heck out of me that geany doesn’t support folding in latex documents.

But inspired by the use of manual break-points somewhere else, I hacked together something that should do the same for latex.So, just add this function to LexOthers.cxx, add it and rebuild from source (I used geany Then adding %%{ and %%} sequences will define folding blocks in your document.

Caveat emptor, use at your own risk, your mileage may vary, keep out of direct sunlight

*not like this :Image