Re: [O] org-odt: specifying fonts

2011-10-19 Thread Christian Moe
Hi, Mehul, It's not that I would be opposed to a fonts option, of course, but I don't see it as a priority or even necessary. As long as org-odt handles the document structure and semantics right, and allows attaching an external stylesheet, I think it's done its job. There are other develop

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Christian Moe
On 10/19/11 7:54 PM, Jambunathan K wrote: #+ODT_STYLES_FILE: "/path/to/styles.xml" Perfect. Thanks for the quick response! Yours, Christian

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Mehul Sanghvi
On Wed, Oct 19, 2011 at 13:54, Jambunathan K wrote: > >> I agree with Mehul it would be great to have an option to specify a >> styles file on a per-file basis. Something like: >> >>    #+ODT_STYLE: ~/org/odt-templates/cv.odt > > I have gone with `#+ODT_STYLES_FILE: '[1]. Refer the docstring below

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
> I agree with Mehul it would be great to have an option to specify a > styles file on a per-file basis. Something like: > >#+ODT_STYLE: ~/org/odt-templates/cv.odt I have gone with `#+ODT_STYLES_FILE: '[1]. Refer the docstring below for a sample setting. ,[ C-h v org-export-odt-styles-f

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
Jambunathan K writes: >> The font thing was just something coming out from the fact that I do >> not know or understand ODT styles. Something new to learn now :) > > This is how you will change the fonts. > > 1. Export your resume.org to resume.odt (without using any custom >styles) > 2. Ope

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
Matt Price writes: > I think the problem here, Mehul, is that odt export works with > styles, not fonts.  So to do what you want, the exporter would need > to be able to tweak the styles manually(so, I guess, first run some > kind of xml transform on the stylesheet, then apply the stylesheet > i

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Jambunathan K
> The font thing was just something coming out from the fact that I do > not know or understand ODT styles. Something new to learn now :) This is how you will change the fonts. 1. Export your resume.org to resume.odt (without using any custom styles) 2. Open resume.odt in LibreOffice 3. F11

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Mehul Sanghvi
On Wed, Oct 19, 2011 at 10:35, Matt Price wrote: > > > On Tue, Oct 18, 2011 at 5:15 PM, Mehul Sanghvi > wrote: >> >> Christian, >> >>      Thanks for the stopgap measure.  As for fonts, like styles, it >> would be easier, simpler and more elegant >> to be able to do that without having to edit st

Re: [O] org-odt: specifying fonts

2011-10-19 Thread Matt Price
On Tue, Oct 18, 2011 at 5:15 PM, Mehul Sanghvi wrote: > Christian, > > Thanks for the stopgap measure. As for fonts, like styles, it > would be easier, simpler and more elegant > to be able to do that without having to edit styles.odt every time. > This is not specific to org-odt. It should

Re: [O] org-odt: specifying fonts

2011-10-18 Thread Mehul Sanghvi
Christian, Thanks for the stopgap measure. As for fonts, like styles, it would be easier, simpler and more elegant to be able to do that without having to edit styles.odt every time. This is not specific to org-odt. It should be, at least I think so for now, to do this with any exporting b

Re: [O] org-odt: specifying fonts

2011-10-18 Thread Christian Moe
Hi, Mehul, cc: Jambunathan, I agree with Mehul it would be great to have an option to specify a styles file on a per-file basis. Something like: #+ODT_STYLE: ~/org/odt-templates/cv.odt Jambunathan, please consider this a feature request (if you haven't implemented it already, and I've miss

[O] org-odt: specifying fonts

2011-10-18 Thread Mehul Sanghvi
This may not be specific to org-odt, but maybe applies to Org itself. I have a LaTeX file which I use for my resume at the moment. The fonts that are being used with it are great for what I want. How do I specify fonts that I want to use, rather then the defaults? Do I have to do that through sty