emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: emacs-orgmode@gnu.org
Subject: Re: Problem with LaTeX class scrlttr2
Date: Fri, 3 Apr 2020 21:25:40 -0400	[thread overview]
Message-ID: <bf01f64f-9c54-befa-180f-b34ad8c17b20@verizon.net> (raw)
In-Reply-To: <CA+M2ft_FYqW82JKxqFRXxGuLomV6hrTTaEJi3u3piGUDwkKV=g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1859 bytes --]

On 4/3/20 7:19 PM, John Hendy wrote:
> Please attach an actual .org file so we can test/reproduce.
> 

See attached
> Generally "unknown latex class" means you don't have the package
> installed. How about posting the output of this:
> 
> $ tlmgr list --only-installed | grep scrlttr2
> 
 >
No output; however I have TeXlive package, Debian testing, installed. I
found an example that uses scrlttr2 at

https://tex.stackexchange.com/questions/229032/how-to-add-company-name-to-return-back-address-in-scrlttr2#229037

and ran it using TexStudio - no problem, i.e. resulted with a letter. So
I expect that scrlttr2 is installed as part of the TexLive komascript.
> 
> On Fri, Apr 3, 2020 at 4:06 PM Charles Millar <millarc@verizon.net> wrote:
>>
>> I apologize for reposting - I forgot to complete my
>>
>>
>> -------- Forwarded Message --------
>> Subject: Problem
>> Date: Fri, 3 Apr 2020 16:49:15 -0400
>> From: Charles Millar <millarc@verizon.net>
>> To: emacs-orgmode@gnu.org <emacs-orgmode@gnu.org>
>>
>> I am attempting to use ox-koma-letter, etc.
>>
>> My set up
>>
>> GNU Emacs 28.0.50 (build 84, x86_64-pc-linux-gnu, GTK+ Version 3.24.14,
>> cairo version 1.16.0) of 2020-04-03
>> Org mode version 9.3.6 (release_9.3.6-449-gb99357 @
>> /usr/local/share/org-mode/lisp/)
>>
>> org-latex-classes includes
>>
>> "default-koma-letter" "\\documentclass[11pt]{scrlttr2}"
>>
>> There are no other entries that include scrlttr2 in org-latex-classes
>>
>> I have a barebones header
>>
>> #+LATEX_CLASS: scrlttr2 (I also have tried 'default-koma-letter')
>>
>> and then entered the Romeo to Juliet letter
>>
>> and i receive the following error
>>
>> Unknown LaTex class scrlttr2
>>
>> I searched the list and one suggested problem does not seem to be
>> applicable - I do not have a mixed org installation.
>>
>> Any suggestions.
>>
>> Charlie Millar
>>
> 
> 


[-- Attachment #2: LearnKomaLetter.org --]
[-- Type: text/plain, Size: 2244 bytes --]

#+LATEX_CLASS: scrltttr2

* Preamble							   :noexport:
#+TITLE:  Mis-shapen chaos of well-seeming forms!
#+SUBJECT: Or: org-mode and KOMA-Script letters
#+DATE: 1580

#+AUTHOR: Romeo
#+PLACE: Verona, Italy

#+LCO: DINmtext
# NOTE: Check the KOMA-Script manual to find a LCO that fits the
#       envelope standards of your country.

# NOTE: Change the order of the backletter, use smart quotes and
#       include backaddress
#+OPTIONS: after-closing-order:(my_after_signature ps cc encl)
#+options: ':t backaddress:t subject:centered

# Remove the first header
#+LATEX_HEADER: \setkomavar{firsthead}{}

* To-address of the lovely Juliet 					 :to:
# NOTE: Explicit newlines are not necessary in TO and FROM
Juliet
House of Capulet
Verona

* From 								       :from:
House of Montague
Verona
* Location							   :location:
#+LATEX_HEADER: \usepackage{tikz}
#+BEGIN_CENTER
*Montague*
#+BEGIN_EXPORT latex
\tikz \draw (0,0) --+ (0,-1)
       arc [radius=1, start angle=-180, end angle=0]
       --+ (0,1) -- cycle
       node [below=1.5em,midway] {\bfseries M};
#+END_EXPORT
#+END_CENTER

* Dear Juliet,
# NOTE: Your letter is the first non-special heading.  The title of
# this heading may used as an opening.

#+BEGIN_VERSE
Then plainly know my heart's dear love is set
On the fair daughter of rich Capulet:
As mine on hers, so hers is set on mine;
And all combin'd, save what thou must combine
By holy marriage: when, and where, and how
We met, we woo'd, and made exchange of vow,
I'll tell thee as we pass; but this I pray,
That thou consent to marry us to-day.
#+END_VERSE

* Yours truly,							    :closing:
Romeo of House Montague
* some arbitrary LaTeX code				 :my_after_signature:
#+BEGIN_EXPORT latex
% this special heading was added dynamically.
#+END_EXPORT
* PS									 :ps:
PS: "PS" is not typeset automatically by KOMA-Script

@@latex:\noindent@@ PPS: This is a feature!
* CC									 :cc:
Paris and Lawrence.
* ENCL								       :encl:
See also [[https://en.wikisource.org/wiki/The_Tragedy_of_Romeo_and_Juliet][The Tragedy of Romeo and Juliet]]
* some more arbitrary LaTeX code 			       :after_letter:
#+BEGIN_EXPORT latex
% here we can place random LaTeX code, e.g. including PDFs via the pdfpages package.
#+END_EXPORT


  reply	other threads:[~2020-04-04  1:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cfb79959-0ac6-737b-cc2a-d16f5b984c86.ref@verizon.net>
2020-04-03 20:49 ` Problem Charles Millar
2020-04-03 21:05   ` Problem with LaTeX class scrlttr2 Charles Millar
2020-04-03 23:19     ` John Hendy
2020-04-04  1:25       ` Charles Millar [this message]
2020-04-04  2:30         ` John Hendy
2020-04-04 12:01           ` Charles Millar
2020-04-04  6:22         ` Julius Dittmar
2020-04-04 12:03           ` Charles Millar
2020-04-04  7:43   ` Problem Robert Klein
2020-04-04 11:34     ` Problem Eric S Fraga
2020-04-04 12:22       ` Problem Charles Millar
2020-04-04 12:19     ` Problem Charles Millar
2020-04-04 11:30   ` Problem Eric S Fraga
2020-04-04 17:13     ` Problem Charles Millar
2020-04-06  8:37       ` Problem Eric S Fraga
2020-04-06 11:49         ` Problem Charles Millar
2020-04-06 12:04           ` Problem Eric S Fraga
2020-04-06 12:33             ` Problem Nicolas Goaziou
2020-04-06 14:18               ` Problem Charles Millar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf01f64f-9c54-befa-180f-b34ad8c17b20@verizon.net \
    --to=millarc@verizon.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).