From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mehul Sanghvi Subject: Re: org-odt: specifying fonts Date: Wed, 19 Oct 2011 11:16:19 -0400 Message-ID: References: <4E9DDBB7.5050806@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGXsa-0003Mv-TO for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 11:16:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGXsS-0001iE-HR for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 11:16:28 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:37652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGXsS-0001i9-Bl for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 11:16:20 -0400 Received: by wyg34 with SMTP id 34so2213583wyg.0 for ; Wed, 19 Oct 2011 08:16:19 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matt Price Cc: emacs-orgmode@gnu.org, mail@christianmoe.com, Jambunathan K On Wed, Oct 19, 2011 at 10:35, Matt Price wrote: > > > On Tue, Oct 18, 2011 at 5:15 PM, Mehul Sanghvi > wrote: >> >> Christian, >> >> =A0 =A0 =A0Thanks for the stopgap measure. =A0As 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. =A0It should be, >> at least I think so for now, to do this with any exporting backend. >> >> If you send me a styles.odt, and I do not like the fonts you are >> using, it becomes cumbersome to be editing the styles.odt >> for each font and making sure to change it in all possible places >> until I settle on a proper font I want to use. >> >> If I could instead specify the font in org file itself, it would be a >> matter of changing the header and re-generating the file. >> >> The ODT_STYLE is certainly a good enhancement. >> > I think the problem here, Mehul, is that odt export works with styles, no= t > fonts.=A0 So to do what you want, the exporter would need to be able to t= weak > the styles manually(so, I guess, first run some kind of xml transform on = the > stylesheet, then apply the stylesheet itself).=A0 If there are hidden > inconsistencies in the original stylesheet, you may end up with > difficult-to-diagnose breakage. I'd definitely suggest just modifying hte > stylesheet and saving it somewhere safe. > m > > I will most likely end up it that way and using that as my workflow. 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 :) Now I just got to figure out the fonts that Latex is using for my resume and re-use those same ones in my style and apply them correctly in the ODT styles. --=20 Mehul N. Sanghvi email: mehul.sanghvi@gmail.com