From: Viktor Rosenfeld <listuser36@gmail.com>
To: Robert Klein <kleinrob@mpip-mainz.mpg.de>
Cc: emacs-orgmode@gnu.org, Rasmus <rasmus@gmx.us>
Subject: Re: [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4])
Date: Sun, 26 May 2013 13:04:09 +0200 [thread overview]
Message-ID: <20130526110409.GC716@kenny.local> (raw)
In-Reply-To: <51A1245D.606@mpip-mainz.mpg.de>
Hi Robert,
Robert Klein wrote:
> Hello,
> On 05/25/2013 03:57 PM, Rasmus wrote:
> > Alan Schmitt <alan.schmitt@polytechnique.org> writes:
> >
> >> Hello,
> >>
> >> Viktor Rosenfeld writes:
> >>
> >>> Hi Robert,
> >>>
> >>> Robert Klein wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> FWIW, from a users view it would be nice if:
> >>>>
> >>>> - Use Author/Email information from org file
> >>>> - If not present use information from LCO file
> >>>> - if neither org file nor LCO file has any information use
> >>>> user-full-name and user-email-address
> >>>>
> >>>> Could this be solved by having several e.g. `setkomavar{fromname}'
> >>>> and so on in the tex file, so is created as follows:
> >
> > I'd go with 'no'. It's not aesthetically pleasing and I don't want my
> > output to look like LyX. When feasible we should go for beautiful
> > output. This isn't always the case at the moment, but still.
> >
> >>>> if no #+AUTHOR in org-file and user-full-name is set:
> >>>> add user-full-name
> >>>> if #+LCO(s) in org-file:
> >>>> add LCO file(s)
> >>>> if #+AUTHOR in org-file:
> >>>> add \setkomavar{fromname}{#+AUTHOR}
> >>>> .... same for email
> >
> > Currently the ordering is: #+AUTHOR > #+LCO and AUTHOR default to
> > (user-full-name).
>
> hmm, sorry, I did not express myself in a good way.
>
> what I meant is, if #+AUTHOR defaults to (user-full-name), could the
> \setkomavar commands be placed /before/ \LoadLetterOption in the TeX
> file, and after \LoadLetterOptions if #+AUTHOR is set in the .org file?
>
> So you'd still get only one set of \setkomavar in the TeX file, but get
> a (for me) more useful order of #+AUTHOR != (user-full-name) > #+LCO >
> #+AUTHOR == (user-full-name)
I'm still having trouble to understand what would be gained by placing
\setkomavar{author}{.} before \LoadLetterOption if it defaults to
user-full-name. Could you maybe describe your setup and what you want to
achieve?
Cheers,
Viktor
>
>
> Best regards
> Robert
>
>
next prev parent reply other threads:[~2013-05-26 11:04 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 0:28 [patch] ox-koma-letter.el: credit [1/4] Rasmus
2013-05-20 0:40 ` [patch] ox-koma-letter.el: subject changes [2/4] Rasmus
2013-05-20 15:49 ` Alan Schmitt
2013-05-20 18:23 ` Rasmus
2013-05-21 7:24 ` Alan Schmitt
2013-05-21 15:52 ` Viktor Rosenfeld
2013-05-21 17:48 ` Rasmus
2013-05-20 0:51 ` [patch] ox-koma-letter.el: credit [3/4] Rasmus
2013-05-20 15:52 ` Alan Schmitt
2013-05-21 16:56 ` Viktor Rosenfeld
2013-05-21 17:35 ` Rasmus
2013-05-21 20:06 ` Viktor Rosenfeld
[not found] ` <87zjvo7xkl.fsf@pank.eu>
[not found] ` <20130522145312.GB61443@kenny.local>
2013-05-22 17:16 ` Rasmus
2013-05-22 17:38 ` Viktor Rosenfeld
2013-05-20 0:54 ` [patch] ox-koma-letter.el: clean-up/semantic bug [4/4] Rasmus
[not found] ` <m2ehd1tziq.fsf@polytechnique.org>
2013-05-21 9:05 ` Rasmus
2013-05-21 11:32 ` Alan Schmitt
2013-05-21 12:22 ` Rasmus
2013-05-21 17:02 ` Viktor Rosenfeld
2013-05-21 18:13 ` Rasmus
2013-05-21 19:54 ` Viktor Rosenfeld
2013-05-21 23:23 ` Rasmus
2013-05-22 14:39 ` Viktor Rosenfeld
2013-05-22 22:06 ` [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4]) Viktor Rosenfeld
2013-05-25 5:13 ` Robert Klein
2013-05-25 8:05 ` Viktor Rosenfeld
2013-05-25 9:20 ` Alan Schmitt
2013-05-25 13:57 ` Rasmus
2013-05-25 17:03 ` Viktor Rosenfeld
2013-05-25 17:48 ` [PATCH][ox-koma-letter]: sender, email and cleanup (was: [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults) Rasmus
2013-05-25 21:27 ` [PATCH][ox-koma-letter]: sender, email and cleanup Rasmus
2013-05-26 10:58 ` Viktor Rosenfeld
2013-05-26 14:38 ` Rasmus
2013-05-26 10:54 ` [PATCH][ox-koma-letter]: sender, email and cleanup (was: [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults) Viktor Rosenfeld
2013-05-26 14:36 ` [PATCH][ox-koma-letter]: sender, email and cleanup Rasmus
2013-05-27 6:25 ` Alan Schmitt
2013-05-27 9:22 ` Xavier Garrido
2013-05-27 9:51 ` Rasmus
2013-05-27 18:31 ` Viktor Rosenfeld
2013-05-27 20:42 ` Xavier Garrido
2013-05-26 14:51 ` Rasmus
2013-05-25 20:51 ` [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults (was Re: [patch] ox-koma-letter.el: clean-up/semantic bug [4/4]) Robert Klein
2013-05-25 21:41 ` [PATCH] ox-koma-letter.el: Reintroduce variables removed in commit 832c6fd with proper defaults Rasmus
2013-05-26 11:04 ` Viktor Rosenfeld [this message]
2013-05-20 15:44 ` [patch] ox-koma-letter.el: credit [1/4] Alan Schmitt
2013-05-20 15:49 ` Rasmus
2013-05-20 16:01 ` Alan Schmitt
2013-05-21 17:06 ` Viktor Rosenfeld
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130526110409.GC716@kenny.local \
--to=listuser36@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kleinrob@mpip-mainz.mpg.de \
--cc=rasmus@gmx.us \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.