* koma letter export receiver address
@ 2016-03-05 17:16 York Zhao
2016-03-06 19:06 ` Rasmus
0 siblings, 1 reply; 13+ messages in thread
From: York Zhao @ 2016-03-05 17:16 UTC (permalink / raw)
To: emacs-orgmode
Dear org-mode koma letter developers,
I just noticed that when using org koma letter export, the receiver's address
has been moved from left side to page center. Is this the new default or an
introduced bug? If it's the new default, how do I change it back to the old
behavior?
Thanks,
York
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-03-05 17:16 koma letter export receiver address York Zhao
@ 2016-03-06 19:06 ` Rasmus
2016-03-07 1:34 ` York Zhao
0 siblings, 1 reply; 13+ messages in thread
From: Rasmus @ 2016-03-06 19:06 UTC (permalink / raw)
To: emacs-orgmode
York Zhao <gtdplatform@gmail.com> writes:
> Dear org-mode koma letter developers,
>
> I just noticed that when using org koma letter export, the receiver's address
> has been moved from left side to page center. Is this the new default or an
> introduced bug? If it's the new default, how do I change it back to the old
> behavior?
I guess it would depend on the style/LCO files you are using. There
should be no such change.
Could you share an example which produces the wrong pdf when starting
Emacs without your configuration, i.e. start Emacs as "emacs -q" and load
ox-koma-letter.
Thanks,
Rasmus
--
Dung makes an excellent fertilizer
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-03-06 19:06 ` Rasmus
@ 2016-03-07 1:34 ` York Zhao
2016-04-22 4:38 ` York Zhao
0 siblings, 1 reply; 13+ messages in thread
From: York Zhao @ 2016-03-07 1:34 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1188 bytes --]
Hi Rasmus,
Thanks for your help. Here's my .emacs:
#+BEGIN_SRC emacs-lisp
(require 'org)
(add-to-list 'load-path
"~/.emacs.d/lisp/vendor/org-mode/contrib/lisp")
(require 'ox-koma-letter)
#+END_SRC
M-x org-version produces:
Org-mode version 8.3.3 (release_8.3.3-640-g2b3c72 @
/usr/local/share/emacs/site-lisp/org/)
Please find attach the file "test.org" and "test.pdf" produced by hitting C-c
C-e C-s k o.
Thanks,
York
On Sun, Mar 6, 2016 at 2:06 PM, Rasmus <rasmus@gmx.us> wrote:
> York Zhao <gtdplatform@gmail.com> writes:
>
>> Dear org-mode koma letter developers,
>>
>> I just noticed that when using org koma letter export, the receiver's address
>> has been moved from left side to page center. Is this the new default or an
>> introduced bug? If it's the new default, how do I change it back to the old
>> behavior?
>
> I guess it would depend on the style/LCO files you are using. There
> should be no such change.
>
> Could you share an example which produces the wrong pdf when starting
> Emacs without your configuration, i.e. start Emacs as "emacs -q" and load
> ox-koma-letter.
>
> Thanks,
> Rasmus
>
> --
> Dung makes an excellent fertilizer
>
>
[-- Attachment #2: test.org --]
[-- Type: application/octet-stream, Size: 440 bytes --]
* Cancel my previous written consent
:PROPERTIES:
:EXPORT_DATE: 2016-03-05
:EXPORT_AUTHOR: York
:EXPORT_CLOSING: Sincerely yours,
:EXPORT_OPTIONS: after-closing-order:(ps cc encl) :t backaddress:t title:nil
:END:
** To-address :to:
Receiver's address
** From :from:
My address
** Dear XXX
Blah blah blah
[-- Attachment #3: test.pdf --]
[-- Type: application/pdf, Size: 20949 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-03-07 1:34 ` York Zhao
@ 2016-04-22 4:38 ` York Zhao
2016-04-22 9:51 ` Rasmus
0 siblings, 1 reply; 13+ messages in thread
From: York Zhao @ 2016-04-22 4:38 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1542 bytes --]
Just wanted to follow up with this issue. I just tested it with the latest
org-mode (git commit 7e320e2), the problem was still there. Any chance this
can
be addressed?
Thanks,
York
On Sun, Mar 6, 2016 at 8:34 PM, York Zhao <gtdplatform@gmail.com> wrote:
> Hi Rasmus,
>
> Thanks for your help. Here's my .emacs:
>
> #+BEGIN_SRC emacs-lisp
> (require 'org)
> (add-to-list 'load-path
> "~/.emacs.d/lisp/vendor/org-mode/contrib/lisp")
> (require 'ox-koma-letter)
> #+END_SRC
>
> M-x org-version produces:
>
> Org-mode version 8.3.3 (release_8.3.3-640-g2b3c72 @
> /usr/local/share/emacs/site-lisp/org/)
>
> Please find attach the file "test.org" and "test.pdf" produced by hitting
> C-c
> C-e C-s k o.
>
> Thanks,
> York
>
> On Sun, Mar 6, 2016 at 2:06 PM, Rasmus <rasmus@gmx.us> wrote:
> > York Zhao <gtdplatform@gmail.com> writes:
> >
> >> Dear org-mode koma letter developers,
> >>
> >> I just noticed that when using org koma letter export, the receiver's
> address
> >> has been moved from left side to page center. Is this the new default
> or an
> >> introduced bug? If it's the new default, how do I change it back to the
> old
> >> behavior?
> >
> > I guess it would depend on the style/LCO files you are using. There
> > should be no such change.
> >
> > Could you share an example which produces the wrong pdf when starting
> > Emacs without your configuration, i.e. start Emacs as "emacs -q" and load
> > ox-koma-letter.
> >
> > Thanks,
> > Rasmus
> >
> > --
> > Dung makes an excellent fertilizer
> >
> >
>
[-- Attachment #2: Type: text/html, Size: 2359 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-22 4:38 ` York Zhao
@ 2016-04-22 9:51 ` Rasmus
2016-04-23 3:53 ` York Zhao
0 siblings, 1 reply; 13+ messages in thread
From: Rasmus @ 2016-04-22 9:51 UTC (permalink / raw)
To: emacs-orgmode
Hi,
York Zhao <gtdplatform@gmail.com> writes:
> Just wanted to follow up with this issue. I just tested it with the latest
> org-mode (git commit 7e320e2), the problem was still there. Any chance this
> can
> be addressed?
Can you please provide a minimal example where you observe the problem
from Emacs -q and also provide the resulting tex file?
Thanks,
Rasmus
>
> Thanks,
> York
>
>
> On Sun, Mar 6, 2016 at 8:34 PM, York Zhao <gtdplatform@gmail.com> wrote:
>
>> Hi Rasmus,
>>
>> Thanks for your help. Here's my .emacs:
>>
>> #+BEGIN_SRC emacs-lisp
>> (require 'org)
>> (add-to-list 'load-path
>> "~/.emacs.d/lisp/vendor/org-mode/contrib/lisp")
>> (require 'ox-koma-letter)
>> #+END_SRC
>>
>> M-x org-version produces:
>>
>> Org-mode version 8.3.3 (release_8.3.3-640-g2b3c72 @
>> /usr/local/share/emacs/site-lisp/org/)
>>
>> Please find attach the file "test.org" and "test.pdf" produced by hitting
>> C-c
>> C-e C-s k o.
>>
>> Thanks,
>> York
>>
>> On Sun, Mar 6, 2016 at 2:06 PM, Rasmus <rasmus@gmx.us> wrote:
>> > York Zhao <gtdplatform@gmail.com> writes:
>> >
>> >> Dear org-mode koma letter developers,
>> >>
>> >> I just noticed that when using org koma letter export, the receiver's
>> address
>> >> has been moved from left side to page center. Is this the new default
>> or an
>> >> introduced bug? If it's the new default, how do I change it back to the
>> old
>> >> behavior?
>> >
>> > I guess it would depend on the style/LCO files you are using. There
>> > should be no such change.
>> >
>> > Could you share an example which produces the wrong pdf when starting
>> > Emacs without your configuration, i.e. start Emacs as "emacs -q" and load
>> > ox-koma-letter.
>> >
>> > Thanks,
>> > Rasmus
>> >
>> > --
>> > Dung makes an excellent fertilizer
>> >
>> >
>>
--
Enough with the blah blah!
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-22 9:51 ` Rasmus
@ 2016-04-23 3:53 ` York Zhao
2016-04-23 13:18 ` Rasmus
0 siblings, 1 reply; 13+ messages in thread
From: York Zhao @ 2016-04-23 3:53 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 2902 bytes --]
> Can you please provide a minimal example where you observe the problem
from
> Emacs -q and also provide the resulting tex file?
I've already provided a minimal example on Mar 6, sent to you and this
list. The
following is that email:
> Hi Rasmus,
>
> Thanks for your help. Here's my .emacs:
>
> #+BEGIN_SRC emacs-lisp
> (require 'org)
> (add-to-list 'load-path
> "~/.emacs.d/lisp/vendor/org-mode/contrib/lisp")
> (require 'ox-koma-letter)
> #+END_SRC
>
> M-x org-version produces:
>
> Org-mode version 8.3.3 (release_8.3.3-640-g2b3c72 @
> /usr/local/share/emacs/site-lisp/org/)
>
> Please find attach the file "test.org" and "test.pdf" produced by
hitting C-c
> C-e C-s k o.
For your convenience, I've attached the two files again with this post. Hope
this helps.
Thanks,
York
On Fri, Apr 22, 2016 at 5:51 AM, Rasmus <rasmus@gmx.us> wrote:
> Hi,
>
> York Zhao <gtdplatform@gmail.com> writes:
>
> > Just wanted to follow up with this issue. I just tested it with the
> latest
> > org-mode (git commit 7e320e2), the problem was still there. Any chance
> this
> > can
> > be addressed?
>
> Can you please provide a minimal example where you observe the problem
> from Emacs -q and also provide the resulting tex file?
>
> Thanks,
> Rasmus
>
> >
> > Thanks,
> > York
> >
> >
> > On Sun, Mar 6, 2016 at 8:34 PM, York Zhao <gtdplatform@gmail.com> wrote:
> >
> >> Hi Rasmus,
> >>
> >> Thanks for your help. Here's my .emacs:
> >>
> >> #+BEGIN_SRC emacs-lisp
> >> (require 'org)
> >> (add-to-list 'load-path
> >> "~/.emacs.d/lisp/vendor/org-mode/contrib/lisp")
> >> (require 'ox-koma-letter)
> >> #+END_SRC
> >>
> >> M-x org-version produces:
> >>
> >> Org-mode version 8.3.3 (release_8.3.3-640-g2b3c72 @
> >> /usr/local/share/emacs/site-lisp/org/)
> >>
> >> Please find attach the file "test.org" and "test.pdf" produced by
> hitting
> >> C-c
> >> C-e C-s k o.
> >>
> >> Thanks,
> >> York
> >>
> >> On Sun, Mar 6, 2016 at 2:06 PM, Rasmus <rasmus@gmx.us> wrote:
> >> > York Zhao <gtdplatform@gmail.com> writes:
> >> >
> >> >> Dear org-mode koma letter developers,
> >> >>
> >> >> I just noticed that when using org koma letter export, the receiver's
> >> address
> >> >> has been moved from left side to page center. Is this the new default
> >> or an
> >> >> introduced bug? If it's the new default, how do I change it back to
> the
> >> old
> >> >> behavior?
> >> >
> >> > I guess it would depend on the style/LCO files you are using. There
> >> > should be no such change.
> >> >
> >> > Could you share an example which produces the wrong pdf when starting
> >> > Emacs without your configuration, i.e. start Emacs as "emacs -q" and
> load
> >> > ox-koma-letter.
> >> >
> >> > Thanks,
> >> > Rasmus
> >> >
> >> > --
> >> > Dung makes an excellent fertilizer
> >> >
> >> >
> >>
>
> --
> Enough with the blah blah!
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 4580 bytes --]
[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 20949 bytes --]
[-- Attachment #3: test.org --]
[-- Type: application/octet-stream, Size: 440 bytes --]
* Cancel my previous written consent
:PROPERTIES:
:EXPORT_DATE: 2016-03-05
:EXPORT_AUTHOR: York
:EXPORT_CLOSING: Sincerely yours,
:EXPORT_OPTIONS: after-closing-order:(ps cc encl) :t backaddress:t title:nil
:END:
** To-address :to:
Receiver's address
** From :from:
My address
** Dear XXX
Blah blah blah
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-23 3:53 ` York Zhao
@ 2016-04-23 13:18 ` Rasmus
2016-04-23 14:15 ` York Zhao
0 siblings, 1 reply; 13+ messages in thread
From: Rasmus @ 2016-04-23 13:18 UTC (permalink / raw)
To: gtdplatform; +Cc: emacs-orgmode
Hi,
Can you just change the template to DIN or must you use the French format?
E.g.:
#+LCO: DIN
Rasmus
--
Need more coffee. . .
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-23 13:18 ` Rasmus
@ 2016-04-23 14:15 ` York Zhao
2016-04-23 14:18 ` Rasmus
0 siblings, 1 reply; 13+ messages in thread
From: York Zhao @ 2016-04-23 14:15 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 335 bytes --]
Sorry Rasmus, but I don't understand what you are talking about. Have you
sent to a wrong subject?
Thanks,
York
On Sat, Apr 23, 2016 at 9:18 AM, Rasmus <rasmus@gmx.us> wrote:
> Hi,
>
> Can you just change the template to DIN or must you use the French format?
> E.g.:
>
> #+LCO: DIN
>
> Rasmus
>
> --
> Need more coffee. . .
>
[-- Attachment #2: Type: text/html, Size: 759 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-23 14:15 ` York Zhao
@ 2016-04-23 14:18 ` Rasmus
2016-04-24 3:30 ` York Zhao
0 siblings, 1 reply; 13+ messages in thread
From: Rasmus @ 2016-04-23 14:18 UTC (permalink / raw)
To: gtdplatform; +Cc: emacs-orgmode
York Zhao <gtdplatform@gmail.com> writes:
> Sorry Rasmus, but I don't understand what you are talking about. Have you
> sent to a wrong subject?
No.
As I understand you are unhappy about the default, French, letter
template, so I'm asking if you can use another one, like DIN.
I’ve modified your example below.
Hope it helps,
Rasmus
#+LCO: DIN
* Cancel my previous written consent
:PROPERTIES:
:EXPORT_DATE: 2016-03-05
:EXPORT_AUTHOR: York
:EXPORT_CLOSING: Sincerely yours,
:EXPORT_OPTIONS: after-closing-order:(ps cc encl) :t backaddress:t title:nil
:END:
** To-address :to:
Receiver's address
** From :from:
My address
** Dear XXX
Blah blah blah
--
Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-23 14:18 ` Rasmus
@ 2016-04-24 3:30 ` York Zhao
2016-04-25 6:39 ` Rasmus
0 siblings, 1 reply; 13+ messages in thread
From: York Zhao @ 2016-04-24 3:30 UTC (permalink / raw)
To: Rasmus; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]
Hi Rasmus,
Oop! My apology! I've totally forgot this LCO thing. When I used koma
letter for
the first time, I think I had already figured this out, and had set to using
UScommercial9. I created my own class, and assigned my class name to
`org-koma-letter-default-class'. Unfortunately, after a long time not using
it,
when I've forgot the LCO thing, ox-koma-letter.el, at some point, had
changed to
always producing "\LoadLetterOption{NF}", which overwrites the setting in
my own
class.
Instead of setting the option in each org-mode file, I changed the value of
`org-koma-letter-class-option-file' to "UScommercial9". Thanks again for
pointing this out. Because of this issue, I've actually given up using koma
letter, and have been using the old letter class for a while.
I'm wondering why using a French style as default, while the vast majority
of
the users are from the English world, I believe! Just a suggestion.
Thanks,
York
On Sat, Apr 23, 2016 at 10:18 AM, Rasmus <rasmus@gmx.us> wrote:
> York Zhao <gtdplatform@gmail.com> writes:
>
> > Sorry Rasmus, but I don't understand what you are talking about. Have you
> > sent to a wrong subject?
>
> No.
>
> As I understand you are unhappy about the default, French, letter
> template, so I'm asking if you can use another one, like DIN.
> I’ve modified your example below.
>
> Hope it helps,
> Rasmus
>
>
> #+LCO: DIN
> * Cancel my previous written consent
> :PROPERTIES:
> :EXPORT_DATE: 2016-03-05
> :EXPORT_AUTHOR: York
> :EXPORT_CLOSING: Sincerely yours,
> :EXPORT_OPTIONS: after-closing-order:(ps cc encl) :t backaddress:t
> title:nil
> :END:
> ** To-address
> :to:
> Receiver's address
>
> ** From
> :from:
> My address
>
> ** Dear XXX
> Blah blah blah
>
>
>
> --
> Lasciate ogni speranza o voi che entrate: siete nella mani di'machellaio
>
[-- Attachment #2: Type: text/html, Size: 2677 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-24 3:30 ` York Zhao
@ 2016-04-25 6:39 ` Rasmus
2016-04-25 9:00 ` Nicolas Goaziou
0 siblings, 1 reply; 13+ messages in thread
From: Rasmus @ 2016-04-25 6:39 UTC (permalink / raw)
To: gtdplatform; +Cc: emacs-orgmode
Hi,
York Zhao <gtdplatform@gmail.com> writes:
> I'm wondering why using a French style as default, while the vast
> majority of the users are from the English world, I believe! Just a
> suggestion.
I don’t know why the NF is the default. IMO the "correct" default would
be not to load any class unless specified. I won’t have time to change it
currently, but I would accept a patch that did it.
Rasmus
--
Don't slow down Johnny, leave the Cadillac runnin'
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-25 6:39 ` Rasmus
@ 2016-04-25 9:00 ` Nicolas Goaziou
2016-04-25 11:00 ` Rasmus
0 siblings, 1 reply; 13+ messages in thread
From: Nicolas Goaziou @ 2016-04-25 9:00 UTC (permalink / raw)
To: Rasmus; +Cc: gtdplatform, emacs-orgmode
Hello,
Rasmus <rasmus@gmx.us> writes:
> I don’t know why the NF is the default.
I initially wrote the library for my own needs.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: koma letter export receiver address
2016-04-25 9:00 ` Nicolas Goaziou
@ 2016-04-25 11:00 ` Rasmus
0 siblings, 0 replies; 13+ messages in thread
From: Rasmus @ 2016-04-25 11:00 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> Rasmus <rasmus@gmx.us> writes:
>
>> I don’t know why the NF is the default.
>
> I initially wrote the library for my own needs.
That’s fair. Perhaps it would still be better to only set the letter
class if explicitly set and otherwise rely on the default (which is DIN
cf. pp. 198 of the KOMA-manual). OTOH, it’s an unnecessary break of
config.
Aside: I noticed \LoadLetterOptions{list of names} which might be more
elegant to use if multiple LCO files are loaded. If I remember, I will
look into that in a while.
Rasmus
--
Lasciate ogni speranza, voi che leggete questo.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2016-04-25 11:00 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-05 17:16 koma letter export receiver address York Zhao
2016-03-06 19:06 ` Rasmus
2016-03-07 1:34 ` York Zhao
2016-04-22 4:38 ` York Zhao
2016-04-22 9:51 ` Rasmus
2016-04-23 3:53 ` York Zhao
2016-04-23 13:18 ` Rasmus
2016-04-23 14:15 ` York Zhao
2016-04-23 14:18 ` Rasmus
2016-04-24 3:30 ` York Zhao
2016-04-25 6:39 ` Rasmus
2016-04-25 9:00 ` Nicolas Goaziou
2016-04-25 11:00 ` Rasmus
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).