Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a plugin to export confluence pages as LaTeX source code?

Marcel_R__Ackermann
Contributor
January 6, 2013

Hi. I am looking for a way to export the content of (relatively simple structured) Confluence pages as LaTeX source code fragments. (That is, italics as \emph, headings at \section, \subsection, and so on.) Does someone know of a way of doing this?

Many thanks in advance.

4 answers

1 accepted

1 vote
Answer accepted
NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2013

I am afraid, there is no such plugin. But maybe devloping your own plugin is an option?

If you are using Confluence >= 4 the contents of the pages are stored in XHTML. So you could write an XSL transformation that transforms the XHTML to LaTeX. Maybe [1] or [2] offers a good start. The transformation could be triggered via an entry in the Tools menu.

Regards,
Niels

1: http://www.w3.org/2004/04/xhlt91/
2:
http://www.cse.ohio-state.edu/~gurari/docs/mml-00/xhm2latex.html

Marcel_R__Ackermann
Contributor
January 7, 2013

Yes, this seems to be the way to do it properly. Thanks for the links.

1 vote
NielsJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2013

I am afraid, there is no such plugin. But maybe developing your own plugin is an option?

If you are using Confluence > 4 the contents of your pages are stored in XHTML. You could write an XSL stylesheet that transforms this XHTML to LaTeX. Maybe one of those is a start: [1,2]. The transformation could be triggered via a Tools-menu entry.

Regards,
Niels

1: http://www.w3.org/2004/04/xhlt91/
2:
http://www.cse.ohio-state.edu/~gurari/docs/mml-00/xhm2latex.html

1 vote
AlysonA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 6, 2013

Hi Marcel,

After researching through the https://marketplace.atlassian.com I couldn't find a plugin that fits your request. The only ones that I'd point out are the following:

Hope it helps!

Cheers.

Marcel_R__Ackermann
Contributor
January 6, 2013

Hi Alyson. Thanks for pointing to the marketplace. I have being looking there before myself, although I haven't found a matching plugin either. I was actually pondering on doing the "opposite" of what the both plugins you pointed to (or the MathJax plugin) are doing: exporting wiki content to latex documents (instead of entering latex source and displaying them in Confluence, which is what the plugins are used for).

I am still hoping that maybe someone has done this before and can give me any hint on how to convert Confluence content to latex source.

0 votes
catworkx GmbH
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2013

As long as you only have a few pages to convert, there is a quite simple solution to get confluence pages converted to LaTeX. Just use "Tools -> View Storage format" to get the HTML of your page. Now you can revert to established tools like html2tex (http://www.iwriteiam.nl/html2tex.html).

Cheers,

Sebastian

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, loom ai, atlassian loom ai, loom, atlassian ai, record recaps of meetings, meeting recaps, loom recaps, share meeting recaps,

Loom’s guide to great meetings 📹

Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.

Register today!
AUG Leaders

Atlassian Community Events