1
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.5//EN">
2
<refentry id="rst2odt_prepstyles">
4
<refentrytitle>rst2odt_prepstyles</refentrytitle>
5
<manvolnum>1</manvolnum>
6
<refmiscinfo class="date">July 2008</refmiscinfo>
7
<refmiscinfo class="source"></refmiscinfo>
8
<refmiscinfo class="title">odtwriter</refmiscinfo>
12
<refname>rst2odt_prepstyles</refname>
13
<refpurpose>strip paper size specifications off of rst2odt stylesheets</refpurpose>
18
<command>rst2odt_prepstyles</command>
19
<arg choice="req"><replaceable>FILE</replaceable></arg>
24
<title>DESCRIPTION</title>
27
<command>rst2odt(1)</command> uses a stylesheet file as a template
28
for the ODT files it creates. The stock
29
<filename>styles.odt</filename> file shipped with it comes without
30
page dimensions. When <command>rst2odt</command> is run and
31
detects that there no paper size is given in the stylesheet, it is
32
automatically determined using <command>paperconf(1)</command>.
36
When editing stylesheets with OpenOffice.org Writer (or similar
37
programs), the resulting files always carry a page size.
38
<command>rst2odt</command> respects this setting and ensures that
39
documents processed with custom stylesheets look the same
40
regardless of the host it is running on. If you want to get the
41
original behavior, i.e. a system-dependent paper size, you can run
42
<command>rst2odt_prepstyles</command> over your custom stylesheet.
43
Remember to re-run the command whenever you change the file with a
52
odtwriter is Copyright © 2006-2008 Dave Kuhlman
53
<<email>dkuhlman@rexx.com</email>>
57
This manual page was written by Michael Schutte for the Debian
58
GNU/Linux system (but may be used by others).
62
<!-- vim: set sw=2 sts=2 et tw=72: -->