RST2ODT_PREPSTYLES(1)

πŸ“¦
version 0.21.2 Β· 3 versions
, in debian trixie, ubuntu questing

✨ RST2ODT_PREPSTYLES(1) ✨

okay bestie, welcome to section 1 β€” the text processing corner of the manual β€” where we talk about rst2odt_prepstyles. she's a little helper, she's lowkey iconic, and she's about to save your stylesheets. πŸ’…


πŸŽ€ NAME πŸŽ€

rst2odt_prepstyles β€” strip paper size specifications off of rst2odt stylesheets

like... she takes the paper size out. that's the whole job. and she ate. πŸ”₯


πŸ¦‹ SYNOPSIS πŸ¦‹

rst2odt_prepstyles FILE

one file, that's it, that's the vibe. no cap. ✨


🌸 DESCRIPTION 🌸

so here's the lore, bestie. πŸ’– rst2odt(1) uses a stylesheet file as a template for the ODT files it creates. the stock styles.odt file that ships with it comes without page dimensions β€” she's free, she's unbothered, she has no paper size. 🧚

and when rst2odt is run and detects that there is no paper size given in the stylesheet, it gets automatically determined using paperconf(1). slay, delegation. πŸ‘‘

but now here's the plot twist 😭 β€” when you're editing stylesheets with OpenOffice.org Writer (or similar programs), the resulting files always carry a page size. like, they can't help themselves. every single time. πŸ™ˆ

rst2odt respects this setting and ensures that documents processed with custom stylesheets look the same regardless of the host it is running on. consistent. predictable. main character energy. ⭐

but if you want to get the original behavior β€” i.e. a system-dependent paper size β€” you can run rst2odt_prepstyles over your custom stylesheet. that's literally the whole point of her existence. 🫢

⚠️ okay important bestie: remember to re-run the command whenever you change the file with a word processor. every. single. time. the word processor will put the page size right back, no cap. πŸ’€

πŸ’œ AUTHOR πŸ’œ

odtwriter is Copyright Β© 2006-2008 Dave Kuhlman < <dkuhlman@rexx.com> > πŸ’–

This manual page was written by Michael Schutte for the Debian GNU/Linux system (but may be used by others). 🌈


and that's the page, bestie!! πŸŽ€ she lives in section 1 of the text processing manual as rst2odt_prepstyles(1) β€” go forth, prep those styles, and remember: page size who? we don't know her. πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ’…πŸ‘‘

πŸ“¦ where this page comes from