Emacs org mode: how to choose a page style when exporting to odt?

I export the org document to odt using org-odt-export-to-odt (Org-mode version 8.2.6 and emacs 23), and I would like the first page to get the OrgFirstPage style and the next page to get the OrgPage style.

I tried using a custom style file created by exporting an empty org file to odt and modifying it with LibreOffice so that the first page has an OrgFirstPage style and the second a OrgPage style. I referenced it in my C # + ODT_STYLES_FILE org file: but all the pages in the exported document have a standard style. I am sure my exported odt file uses my custom style file because I also added a header to the standard page style and I see it in the exported odt file.

Is there a way to set the page style in an org file?

+4
source share

Source: https://habr.com/ru/post/1542543/


All Articles