You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi Community!
I'd like to create clever system for documentation in combination with LaTeX and Git. My idea is following.
1. To have ability to write articles in Confluence, via Confluence web UI, but under the hood to have LaTeX syntax.
2. To have possibility to store Confluence articles in Git and vice versa, so when
3. someone is writing in LaTeX using e.g. Vim, can push source into Git.
4. Git will have hook into Confluence (maybe with the middle pause with some build tool) and push code into Confluence.
Is this possible to achieve with the confluence? Or is there another way?
We are using 6.4.3
Thanks in advance
Jindra
Thanks for quick response!
Yes, I know that Confluence has own version control back-end. But I wanted to centralize them into one version control.
Why we want to use LaTex is that when you want to publish something from the confluence, i.e to customer, sorry to say, its ugly (we devs really like confluence! :). Some of us are using LaTeX some of others are copying text from confluence and editing text for export in different tools. My idea was, if there are some guys who love LaTeX, and are capable to use that, then why to not store Confluence articles in LaTeX format for those, who are not wiling to write in LaTeX but want to stay in Confluence but using different tools when they need to print nice version for external consumers.
"Replacing Confluence's versioning system with git" is a major project in itself. Part of the main reason Confluence exists is so it tracks page changes.
I guess you could set up some event system which takes a copy of the raw source of confluence pages and dumps them out to git when pages are saved, but the format wouldn't be of much use to other applications. If people edited it other tools and had it pulled into Confluence, the tools would have to be, well, Confluence editors, or they'd have to understand the format.
I think you're trying to solve a problem that isn't really there. Confluence with the Latex macro does almost all you need, including dumping pages out to users in different formats, versioning and presentation. The only bits I think you need to do something about are:
I don't know if there's an add-on for those, but I don't think the export is too hard (I did a WordPerfect one many many years ago - don't ask), and the import probably a little more tricky.