Re: [O] Org/LaTeX set-up for business letters?

2012-07-08 Thread Sebastien Vauban
Hi all,

Thorsten Jolitz wrote:
> Vikas Rawal  writes:
>>> > [1] Off the top of the head I recall a package called `scrlttr'.
>>> 
>>> Yes, part of KOMA (?), but thats rather low level if you have to design
>>> your own letters - and who knows all that stuff about professional letter
>>> design?. I tried that once and the result was ugly, there is a lot of
>>> extra work necesary to make it look fancy and modern. 
>>
>> May be relevant to look at this thread from the list:
>>
>> http://comments.gmane.org/gmane.emacs.orgmode/29926
>
> So package 'isodoc' seems to be another (maybe simpler?) option. However,
> the thread proves again that it is not trivial to do-it-yourself. but there
> are quite a lot of options, it seems.

This is still the solution I'm using -- however, not often sending postal
mails...

The only drawback there is that we need to tangle the buffer, and C-c C-c the
resulting LaTeX file in AUCTeX mode to get the PDF.

IIRC, Eric planed to look at the problem so that we could stay in Org for
making the whole loop.

Best regards,
Seb

-- 
Sebastien Vauban




Re: [O] Org/LaTeX set-up for business letters?

2012-07-07 Thread Thorsten Jolitz
Vikas Rawal  writes:

>> >
>> > [1] Off the top of the head I recall a package called `scrlttr'.
>> 
>> Yes, part of KOMA (?), but thats rather low level if you have to design
>> your own letters - and who knows all that stuff about professional letter
>> design?. I tried that once and the result was ugly, there is a lot of
>> extra work necesary to make it look fancy and modern. 
>
> May be relevant to look at this thread from the list:
>
> http://comments.gmane.org/gmane.emacs.orgmode/29926

So package 'isodoc' seems to be another (maybe simpler?) option.
However, the thread proves again that it is not trivial to
do-it-yourself. but there are quite a lot of options, it seems. 

-- 
cheers,
Thorsten




Re: [O] Org/LaTeX set-up for business letters?

2012-07-07 Thread Thorsten Jolitz
Mehul Sanghvi  writes:

> Just out of curiosity, what was the CV template you used ?

I attach 3 variations of the same template, I used the one from TRAVIS
as a basis for my CV, but the others are nice too.

%% start of file `template_en.tex'.
%% Copyright 2007 Xavier Danaux (xdan...@gmail.com).
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.


\documentclass[11pt,a4paper]{moderncv}

% moderncv themes
\moderncvtheme[red]{casual} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
%\moderncvtheme[green]{classic}% idem

% character encoding
\usepackage[utf8]{inputenc}   % replace by the encoding you are using

% adjust the page margins
\usepackage[scale=0.8]{geometry}
\recomputelengths % required when changes are made to page layout lengths

% personal data
\firstname{Holly}
\familyname{Krieger}
%\title{Resumé title (optional)}   % optional, remove the line if not wanted
\address{851 S. Morgan}{Chicago, IL 60607}% optional, remove the line if not wanted
%\mobile{mobile (optional)}% optional, remove the line if not wanted
\phone{312.996.2132}  % optional, remove the line if not wanted
%\fax{fax (optional)}  % optional, remove the line if not wanted
\email{hkrie...@uic.edu}  % optional, remove the line if not wanted
%\extrainfo{additional information (optional)} % optional, remove the line if not wanted
%\photo[64pt]{picture} % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
\quote{"They can kill you, but the legalities of eating you are quite a bit dicier" - David Foster Wallace} % optional, remove the line if not wanted

%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page


%--
%content
%--
\begin{document}
\maketitle

\section{Education}
\cventry{2007--present}{MS, Mathematics (expected 2008)}{University of Illinois at Chicago}{}{\textit{Chicago, IL}}{} %arguments 3 to 6 are optional
\cventry{2006--2007}{Graduate Study}{Michigan State University}{}{\textit{East Lansing, MI}}{} %arguments 3 to 6 are optional
\cventry{2001--2006}{BS, Mathematics with High Distinction}{University of Illinois at Urbana-Champaign}{}{\textit{Urbana, IL}}{} %arguments 3 to 6 are optional

%\section{Master thesis}
%\cvline{title}{\emph{Title}}
%\cvline{supervisors}{Supervisors}
%\cvline{description}{\small Short thesis abstract}

\section{Experience}
\subsection{Research}
\cventry{2007}{Independent Summer Research}{}{Urbana, IL}{}{- Studied approximations of functions in $L_{p}$ spaces for $0 < p < 1$ \newline{}- Supervised by Richard S. Laugesen}% arguments 3 to 6 are optional
\cventry{2005}{Undergraduate Research Course}{Urbana, IL}{}{}{- Studied invariant polynomials in several complex variables on subgroups of the unitary group \newline{}- Supervised by Bruce Reznick and John P. D'Angelo}% arguments 3 to 6 are optional
\subsection{Teaching}
\cventry{2007--present}{Graduate Teaching Assistant}{University of Illinois at Chicago}{}{}{Supervised an online section of Beginning Algebra}% arguments 3 to 6 are optional
\cventry{2006--2007}{Graduate Teaching Assistant}{Michigan State University}{}{}{Created and taught stand-alone courses in Business Calculus and Mathematics for Teachers}% arguments 3 to 6 are optional
\cventry{2004--2006}{Undergraduate Teaching Assistant}{University of Illinois at Urbana-Champaign}{}{}{Taught a discussion section for Calculus I}% arguments 3 to 6 are optional

\section{Languages}
\cvlanguage{Icelandic}{reading proficient}{language classes taken at H\'{a}sk\'{o}la \'{I}slands, Reykjav\'{i}k}
\cvlanguage{Italian}{reading proficient}{language classes taken at University of Illinois}
%\cvlanguage{language 3}{Skill level}{Comment}

\section{Computer skills}
\cvcomputer{Math Packages}{Mathematica, Matlab}{Programming Languages}{Java, C++}

\section{Other Interests}
\cvline{}{\small I also enjoy travel, music, and good food and wine.}
%\cvline{hobby 2}{\small Description}
%\cvline{hobby 3}{\small Description}

\closesection{}   % needed to renewcommands
\renewcommand{\listitemsymbol}{-} % change the symbol for lists

% Publications from a BibTeX file
\nocite{*}
\bibliographystyle{plain}
\bibliography{publications}   % 'publications' is the name of a BibTeX file

\end{document}


%% end of file `template_en.tex'.
%%

Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Mehul Sanghvi
On Fri, Jul 6, 2012 at 12:35 PM, Thorsten Jolitz  wrote:
>
> Yes, I'm German, and I've used komascript before, and that is definitely
> a  way to achieve what I want.
>
> I'm just trying to repeat the nice experience I had with writing a
> modern CV in LaTeX - download a template, put in your data, and enjoy a
> beautifill CV (or letter) - actually much more beautiful than I would
> have ever managed to produce, and all that without hours or days of
> tweaking.
>

Just out of curiosity, what was the CV template you used ?



-- 
Mehul N. Sanghvi
email: mehul.sang...@gmail.com



Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Vikas Rawal


> >
> > [1] Off the top of the head I recall a package called `scrlttr'.
> 
> Yes, part of KOMA (?), but thats rather low level if you have to design
> your own letters - and who knows all that stuff about professional letter
> design?. I tried that once and the result was ugly, there is a lot of
> extra work necesary to make it look fancy and modern. 

May be relevant to look at this thread from the list:

http://comments.gmane.org/gmane.emacs.orgmode/29926

Vikas



Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Luis Anaya
FWIW:

One format provided by Groff MM macros are business letters. It may not
fit all types of communications, but it was the way business letters 
written in Ma Bell for many years.

Keep in mind that I'm still working on this code.  It is far from
done. 

Source:

http://ppl.ug/AcT6H0xSB1o/

Output:

http://ppl.ug/-isIJ_7crRc/


-- 
Luis Anaya
papo anaya aroba hot mail punto com
"Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo



Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Nicolas Goaziou
Hello,

Bastien  writes:

> A letter is no more than a header with the author, the date, the object
> of the letter, perhaps the client's address and the content of the
> letter.
>
> If you find a nice LaTeX class, it is quite straightforward to create a
> derived LaTeX backend with ̀org-export-define-derived-backend' so that
> you get a .tex file using that class and the correct instructions.

Good idea!

> I would use #+PROPERTY to define the necessary information such as 
> your address, etc.

Another solution could be to create dedicated buffer keywords. With the
following:

#+begin_src emacs-lisp
(org-export-define-derived-backend 'letter 'e-latex
  :options-alist ((:address "ADDRESS" nil nil newline)
  (:destination "DESTINATION" nil nil newline)
  (:object "OBJECT"))
  :translate-alist ((template . org-letter-template)))
#+end_src

you can define an address with:

#+begin_src org
#+ADDRESS: Free Software Foundation
#+ADDRESS: 51 Franklin Street, Fifth Floor
#+ADDRESS: Boston, MA 02110-1301
#+ADDRESS: USA
#+end_src

and access it with (plist-get info :address) in `org-letter-template'.


Regards,

-- 
Nicolas Goaziou



Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Bastien
Hi Thorsten,

Thorsten Jolitz  writes:

> If I find (or make) a nice template, I will announce it ;)

A letter is no more than a header with the author, the date, the object
of the letter, perhaps the client's address and the content of the
letter.

If you find a nice LaTeX class, it is quite straightforward to create a
derived LaTeX backend with ̀org-export-define-derived-backend' so that
you get a .tex file using that class and the correct instructions.

I would use #+PROPERTY to define the necessary information such as 
your address, etc.

-- 
 Bastien



Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Thorsten Jolitz
suvayu ali  writes:

> On Fri, Jul 6, 2012 at 6:35 PM, Thorsten Jolitz
>  wrote:
>> I'm just trying to repeat the nice experience I had with writing a
>> modern CV in LaTeX - download a template, put in your data, and enjoy a
>> beautifill CV (or letter) - actually much more beautiful than I would
>> have ever managed to produce, and all that without hours or days of
>> tweaking.
>
> The way I see it, someone had to invest the time for you to have that
> smooth experience. Maybe no one did that for letters yet. Who knows, we
> could be using your template in the future. ;)

When I start Emacs or use Org mode, my smooth experience depends very
much on time invested by others (for me?). I know one should give back
too, but it doesn't hurt to ask first what is there already.

If I find (or make) a nice template, I will announce it ;)

-- 
cheers,
Thorsten




Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread suvayu ali
On Fri, Jul 6, 2012 at 6:35 PM, Thorsten Jolitz  wrote:
> I'm just trying to repeat the nice experience I had with writing a
> modern CV in LaTeX - download a template, put in your data, and enjoy a
> beautifill CV (or letter) - actually much more beautiful than I would
> have ever managed to produce, and all that without hours or days of
> tweaking.

The way I see it, someone had to invest the time for you to have that
smooth experience. Maybe no one did that for letters yet. Who knows, we
could be using your template in the future. ;)

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Thorsten Jolitz
Michael Strey  writes:

Hi Michael,

> On Fri, Jul 06, 2012 at 12:47:59AM +0200, Thorsten Jolitz wrote:
>> suvayu ali  writes:
> ...
>> > [1] Off the top of the head I recall a package called `scrlttr'.
>> 
>> Yes, part of KOMA (?), but thats rather low level if you have to design
>> your own letters - and who knows all that stuff about professional letter
>> design?...
>
> Letter styles may be very different from country to country.  Thus the
> LaTeX world knows various attempts to create templates for letters that
> comply with national standards and national fancy.  Just for the case
> that you are German, have a look at www.komascript.de and look for the
> examples from Markus Kohms KOMA-Script book.  There are several examples
> how to use the scrlttr2 class and how to tweak it to create an individual
> template.

Yes, I'm German, and I've used komascript before, and that is definitely
a  way to achieve what I want. 

I'm just trying to repeat the nice experience I had with writing a
modern CV in LaTeX - download a template, put in your data, and enjoy a
beautifill CV (or letter) - actually much more beautiful than I would
have ever managed to produce, and all that without hours or days of
tweaking.

But I probably should have a second look at the scrlttr2 class.
Thanks for the tip. 

-- 
cheers,
Thorsten




Re: [O] Org/LaTeX set-up for business letters?

2012-07-06 Thread Michael Strey
Hi Thorsten,

On Fri, Jul 06, 2012 at 12:47:59AM +0200, Thorsten Jolitz wrote:
> suvayu ali  writes:
...
> > [1] Off the top of the head I recall a package called `scrlttr'.
> 
> Yes, part of KOMA (?), but thats rather low level if you have to design
> your own letters - and who knows all that stuff about professional letter
> design?...

Letter styles may be very different from country to country.  Thus the
LaTeX world knows various attempts to create templates for letters that
comply with national standards and national fancy.  Just for the case
that you are German, have a look at www.komascript.de and look for the
examples from Markus Kohms KOMA-Script book.  There are several examples
how to use the scrlttr2 class and how to tweak it to create an individual
template.

-- 
Regards
Michael



Re: [O] Org/LaTeX set-up for business letters?

2012-07-05 Thread Thorsten Jolitz
suvayu ali  writes:

> Well I assumed it would be since you already have a "quite nice"
> OpenOffice template. 

It looks like a professional letter, while everything I found in the web
rathers proves that programmers are not designers, even with a tool like
LaTeX at hand. 

> If you are after latex templates for letters in specific, I think Org
> mode might be the wrong tool for that. The tree structure is a
> fundamental part of Org. This works very well for articles, reports,
> theses; however I'm not sure it works as well for letters. You might
> be better off by just using latex directly.
>
> That said, maybe you could look for a latex template on CTAN[1]. Then
> you could customise org-export-latex-classes to include the
> documentclass provided by the package. Although I'm not sure how a tree
> structure could be mapped to a letter.
>
> If you do succeed, I would be interested to know.

Thanks for the tips, but I don't have time for that at the moment and
was rather hoping that somebody already did the work and likes to share.
Of course this is not a LaTeX list, but it would be OK too to just have a
nice LaTeX template and write with AucTeX, even if Org mode is not used
(yet). 

> Footnotes:
>
> [1] Off the top of the head I recall a package called `scrlttr'.

Yes, part of KOMA (?), but thats rather low level if you have to design
your own letters - and who knows all that stuff about professional letter
design?. I tried that once and the result was ugly, there is a lot of
extra work necesary to make it look fancy and modern. 

-- 
cheers,
Thorsten




Re: [O] Org/LaTeX set-up for business letters?

2012-07-05 Thread suvayu ali
On Thu, Jul 5, 2012 at 9:00 PM, Thorsten Jolitz  wrote:
> suvayu ali  writes:
>
>> On Thu, Jul 5, 2012 at 2:49 PM, Thorsten Jolitz
>>  wrote:
>>> although using Emacs/Org-mode for almost everything, I still write my
>>> "official" correspondence with a (quite nice) OpenOffice template. It
>>> would be so much easier and faster to just use Org mode for that too.
>>
>> You can use opendocument export and use your Libreoffice template with
>> it. Check the archives for Jambunathan's post detailing how to do
>> that.
>
> Ok, thanks, though that would not be my perfered solution.

Well I assumed it would be since you already have a "quite nice"
OpenOffice template. If you are after latex templates for letters in
specific, I think Org mode might be the wrong tool for that. The tree
structure is a fundamental part of Org. This works very well for
articles, reports, theses; however I'm not sure it works as well for
letters. You might be better off by just using latex directly.

That said, maybe you could look for a latex template on CTAN[1]. Then
you could customise org-export-latex-classes to include the
documentclass provided by the package. Although I'm not sure how a tree
structure could be mapped to a letter.

If you do succeed, I would be interested to know.

GL

Footnotes:

[1] Off the top of the head I recall a package called `scrlttr'.


-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Org/LaTeX set-up for business letters?

2012-07-05 Thread Thorsten Jolitz
suvayu ali  writes:

> On Thu, Jul 5, 2012 at 2:49 PM, Thorsten Jolitz
>  wrote:
>> although using Emacs/Org-mode for almost everything, I still write my
>> "official" correspondence with a (quite nice) OpenOffice template. It
>> would be so much easier and faster to just use Org mode for that too.
>
> You can use opendocument export and use your Libreoffice template with
> it. Check the archives for Jambunathan's post detailing how to do
> that.

Ok, thanks, though that would not be my perfered solution. 
-- 
cheers,
Thorsten




Re: [O] Org/LaTeX set-up for business letters?

2012-07-05 Thread suvayu ali
On Thu, Jul 5, 2012 at 2:49 PM, Thorsten Jolitz  wrote:
> although using Emacs/Org-mode for almost everything, I still write my
> "official" correspondence with a (quite nice) OpenOffice template. It
> would be so much easier and faster to just use Org mode for that too.

You can use opendocument export and use your Libreoffice template with
it. Check the archives for Jambunathan's post detailing how to do
that.

-- 
Suvayu

Open source is the future. It sets us free.



[O] Org/LaTeX set-up for business letters?

2012-07-05 Thread Thorsten Jolitz

Hi List, 

although using Emacs/Org-mode for almost everything, I still write my
"official" correspondence with a (quite nice) OpenOffice template. It
would be so much easier and faster to just use Org mode for that too.

I tried some LaTeX templates from the web, but they were ugly. I know
one could use the "Do It Yourself" approach, but I would rather save the
time and effort and like to ask if anybody on the list has a nice
looking Org-mode/ LaTeX setup for business letters and/or facturations
and doesn't mind to share it?

I found this interesting thread about the same topic:

,
| http://web.archiveorange.com/archive/v/Fv8aAut19uyEPkEUnsM8
`

but I could not figure out if it resulted in a kind of final setup that
is now used by some people and can be downloaded somewhere.

Thanks in advance

-- 
cheers,
Thorsten