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 <
address@hidden> wrote:
I don’t 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— for various letters I’ve had to add other LaTeX packages….
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=1.5in,right=1.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=0.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=0.4]{Your Sig PNG/JPG}
\textbf{Your Name}\\
Illustrious Title\\
Second Illustrious Title\\
Etc.\\
<
<
<
> On Oct 30, 2018, at 7:29 AM, Jeff Filipovits <address@hidden> wrote:
>
> Would you mind sharing them? This is a problem I am trying to figure out as well.
>
> On Tue, Oct 30, 2018, 9:29 AM Eric S Fraga <address@hidden> 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
>