From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: letterhead and signature in odt export Date: Tue, 30 Oct 2018 21:26:47 -0400 Message-ID: References: <87r2g7rkkw.fsf@gmail.com> <877ehzpnrv.fsf@gmail.com> <6EFB79F4-F86A-4544-A10B-C8546E649EAE@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000087f15b05797c3041" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHfHN-0002FB-PT for emacs-orgmode@gnu.org; Tue, 30 Oct 2018 21:26:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHfHM-0001L4-JM for emacs-orgmode@gnu.org; Tue, 30 Oct 2018 21:26:41 -0400 Received: from mail-it1-x12c.google.com ([2607:f8b0:4864:20::12c]:36051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHfHM-0001Gu-Dy for emacs-orgmode@gnu.org; Tue, 30 Oct 2018 21:26:40 -0400 Received: by mail-it1-x12c.google.com with SMTP id t4-v6so7867845itf.1 for ; Tue, 30 Oct 2018 18:26:21 -0700 (PDT) In-Reply-To: <6EFB79F4-F86A-4544-A10B-C8546E649EAE@gmail.com> 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" To: ckelty@gmail.com Cc: jrfilipovits@gmail.com, Org Mode --00000000000087f15b05797c3041 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi again Chris! OK, so I understand a little bit of this. I would like to keep all my letters in subheadings in a single org doc, and just export once. This version requires a fair amount of latex in every subtree. It would be nicer if the exporter just took care of the latex for me and I didn't have to look at it while I'm composing (I know that's not an issue for you, Chris). Is my best option to create an export-derived-backend based on latex (I see that's what John K has done in scimax)? Or is the preferred method to create a new latex class (whatever that is -- really I have no idea) and add the header and closing lines to that? Also... where should I go to learn more about latex (I have beengoogling, I've found some places, am wondering what the *best* place is)? It appears I am approaching adulthood and am ready to learn how to use it, after years of resisting :-/ m On Tue, Oct 30, 2018 at 11:56 AM ckelty ckelty wrote: > I don=E2=80=99t mess around with LibreOffice, but if you want to do it in= Org, > this is what I do and it works fine. Some of the preamble is superfluous= =E2=80=94 > for various letters I=E2=80=99ve had to add other LaTeX packages=E2=80=A6= . > > ck > > > > > > > > > > #+STARTUP: indent > #+LANGUAGE: en > #+OPTIONS: num:nil toc:nil ':t > #+AUTHOR: Your Name Here > #+EMAIL: Your Email Here > #+LATEX_HEADER: \usepackage[utf8]{inputenc} > #+LATEX_HEADER: \usepackage[T1]{fontenc} > #+LATEX_HEADER: \usepackage{graphicx} > #+LATEX_HEADER: \usepackage{float} > #+LATEX_HEADER: \usepackage{wrapfig} > #+LATEX_HEADER: \usepackage{rotating} > #+LATEX_HEADER: \usepackage[normalem]{ulem} > #+LATEX_HEADER: \usepackage{hyperref} > #+LATEX_HEADER: \usepackage{setspace} > #+LATEX_HEADER: \usepackage{libertine} > #+LATEX_HEADER: \usepackage[left=3D1.5in,right=3D1.5in]{geometry} > #+LATEX_HEADER: \setlength{\parskip}{1em} > #+LATEX_HEADER: \setlength{\parindent}{0pt} > > # Insert your graphic here-- getting the scale right can take some work > \includegraphics[scale=3D0.145]{Your LetterHead PNG/JPG} > > \hfill \today > > [ Greeting Here ] > > # I use setspace and onehalfspacing to control line spacing > \onehalfspacing > > [ Insert Inflated Rhetoric About Here ] > > Yours sincerely,\\ > > # Insert your sig here... ditto on scale. > \includegraphics[scale=3D0.4]{Your Sig PNG/JPG} > > \textbf{Your Name}\\ > Illustrious Title\\ > Second Illustrious Title\\ > Etc.\\ > > > < > < > < > > > On Oct 30, 2018, at 7:29 AM, Jeff Filipovits > wrote: > > > > Would you mind sharing them? This is a problem I am trying to figure ou= t > as well. > > > > On Tue, Oct 30, 2018, 9:29 AM Eric S Fraga wrote: > > Matt, > > > > I've replied directly to you with some files. > > -- > > Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4 > > > > --00000000000087f15b05797c3041 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi again Chris!

OK, so I und= erstand a little bit of this. I would like to keep all my letters in subhea= dings in a single org doc, and just export once. This version requires a fa= ir amount of latex in every subtree. It would be nicer if the exporter just= took care of the latex for me and I didn't have to look at it while I&= #39;m composing (I know that's not an issue for you, Chris).=C2=A0
=

Is my best option to create an export-derived-bac= kend based on latex (I see that's what John K has done in scimax)? Or i= s the preferred method to create a new latex class (whatever that is -- rea= lly I have no idea) and=C2=A0 add the header and closing lines to that?

Also... where should I go to learn more about la= tex (I have beengoogling, I've found some places, am wondering what the= *best* place is)? It appears I am approaching adulthood and am ready to le= arn how to use it, after years of resisting :-/

m<= br>

On Tue, Oct 3= 0, 2018 at 11:56 AM ckelty ckelty <c= kelty@gmail.com> wrote:
I do= n=E2=80=99t mess around with LibreOffice, but if you want to do it in Org, = this is what I do and it works fine. Some of the preamble is superfluous=E2= =80=94 for various letters I=E2=80=99ve had to add other LaTeX packages=E2= =80=A6.

ck


>
>
>

#+STARTUP: indent
#+LANGUAGE: en
#+OPTIONS: num:nil=C2=A0 toc:nil ':t
#+AUTHOR: Your Name Here
#+EMAIL: Your Email Here
#+LATEX_HEADER: \usepackage[utf8]{inputenc}
#+LATEX_HEADER: \usepackage[T1]{fontenc}
#+LATEX_HEADER: \usepackage{graphicx}
#+LATEX_HEADER: \usepackage{float}
#+LATEX_HEADER: \usepackage{wrapfig}
#+LATEX_HEADER: \usepackage{rotating}
#+LATEX_HEADER: \usepackage[normalem]{ulem}
#+LATEX_HEADER: \usepackage{hyperref}
#+LATEX_HEADER: \usepackage{setspace}
#+LATEX_HEADER: \usepackage{libertine}
#+LATEX_HEADER: \usepackage[left=3D1.5in,right=3D1.5in]{geometry}
#+LATEX_HEADER: \setlength{\parskip}{1em}
#+LATEX_HEADER: \setlength{\parindent}{0pt}

# Insert your graphic here-- getting the scale right can take some work
\includegraphics[scale=3D0.145]{Your LetterHead PNG/JPG}

\hfill \today

[ Greeting Here ]

# I use setspace and onehalfspacing to control line spacing
\onehalfspacing

[ Insert Inflated Rhetoric About Here ]

Yours sincerely,\\

# Insert your sig here... ditto on scale.
\includegraphics[scale=3D0.4]{Your Sig PNG/JPG}

\textbf{Your Name}\\
Illustrious Title\\
Second Illustrious Title\\
Etc.\\


<
<
<

> On Oct 30, 2018, at 7:29 AM, Jeff Filipovits <jrfilipovits@gmail.com> wrote= :
>
> Would you mind sharing them? This is a problem I am trying to figure o= ut as well.
>
> On Tue, Oct 30, 2018, 9:29 AM Eric S Fraga <esflists@gmail.com> wrote:
> Matt,
>
> I've replied directly to you with some files.
> --
> Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4
>

--00000000000087f15b05797c3041--