org-mode-ox-odt icon indicating copy to clipboard operation
org-mode-ox-odt copied to clipboard

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?

Open kjambunathan opened this issue 11 months ago • 1 comments

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: <style:master-page style:name="a3wide" style:page-layout-name="Mpm8" draw:style-name="Mdp1"> 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 avatar Mar 18 '24 10:03 kjambunathan

@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.

kjambunathan avatar Mar 18 '24 10:03 kjambunathan