kjambunathan / org-mode-ox-odt

The Authoritative fork of Org mode's ODT exporter
GNU General Public License v3.0
45 stars 9 forks source link

Pre-install other commonly used page styles (a3, a5 etc). Also how do I insert a A3-sized page (with an image in it) in pre-dominantly A4-sized document? #271

Open kjambunathan opened 6 months ago

kjambunathan commented 6 months ago

Discussed in https://github.com/kjambunathan/org-mode-ox-odt/discussions/270

Originally posted by **PiotrPanasiuk** March 18, 2024 Hi, for last few days I'm looking for solution to insert a3 wide page size with svg picture inside to the document where other pages in the document has a4 page size. During searching for potential solution in the internet I have met on mailing list an old solution which I could use: `#+ATTR_ODT: :style "OrgPageBreakLandscape"` `#+ATTR_ODT: :style "a3wide"` `#+PAGEBREAK:` `#+ATTR_ODT: :width 5 :style "OrgPageImage" :anchor "page"` `#+BEGIN_TEXTBOX` `| a | b |` `| e | f |` `#+END_TEXTBOX` `#+ATTR_ODT: :style "OrgPageBreakDefault"` `#+PAGEBREAK:` in that manner(I hope) i have created an ott file with a3wide page style: `` after that I have adapted my org file to use it, but for unknown reason ox-odt exporter do not apply it during export. Now my only solution is to manually edit exported odt file to change pages size. Is there a possibility to configure export for such page size from inside org file?
kjambunathan commented 6 months ago

@PiotrPanasiuk, I have a solution for you. But I need to make some minor adjustments to existing code. So, I have siphoned off your https://github.com/kjambunathan/org-mode-ox-odt/discussions/270, to Pre-install commonly other commonly used page styles (a3, a5 etc). Also how do I insert a A3-sized page (with an image in it) in pre-dominantly A4-sized document

You will hear from me in a day or tow.