emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ox-koma-letter support for \cc and \encl?
@ 2013-06-11  2:15 Vikas Rawal
  2013-06-11  5:30 ` Viktor Rosenfeld
  0 siblings, 1 reply; 7+ messages in thread
From: Vikas Rawal @ 2013-06-11  2:15 UTC (permalink / raw)
  To: emacs-orgmode

Does ox-koma-letter support \cc and \encl?

Vikas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ox-koma-letter support for \cc and \encl?
  2013-06-11  2:15 ox-koma-letter support for \cc and \encl? Vikas Rawal
@ 2013-06-11  5:30 ` Viktor Rosenfeld
  2013-06-11 18:06   ` Vikas Rawal
  0 siblings, 1 reply; 7+ messages in thread
From: Viktor Rosenfeld @ 2013-06-11  5:30 UTC (permalink / raw)
  To: emacs-orgmode

Hi Vikas,

Vikas Rawal wrote:

> Does ox-koma-letter support \cc and \encl?
> 
> Vikas
> 

Yes. Add two headlines to your letter, one tagged with :CC: and one with
:ENCL:. The content below these headlines will be converted to the
relevant LaTeX code. This also works with :PS:. However, you need a
fairly recent version of ox-koma-letter.

Cheers,
Viktor

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ox-koma-letter support for \cc and \encl?
  2013-06-11  5:30 ` Viktor Rosenfeld
@ 2013-06-11 18:06   ` Vikas Rawal
  2013-06-11 20:04     ` Rasmus
  2013-06-11 21:05     ` Viktor Rosenfeld
  0 siblings, 2 replies; 7+ messages in thread
From: Vikas Rawal @ 2013-06-11 18:06 UTC (permalink / raw)
  To: emacs-orgmode


> 
> Yes. Add two headlines to your letter, one tagged with :CC: and one with
> :ENCL:. The content below these headlines will be converted to the
> relevant LaTeX code. This also works with :PS:. However, you need a
> fairly recent version of ox-koma-letter.

Thanks. Works perfect. Is it documented anywhere?

Best,

Vikas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ox-koma-letter support for \cc and \encl?
  2013-06-11 18:06   ` Vikas Rawal
@ 2013-06-11 20:04     ` Rasmus
  2013-06-11 21:07       ` Viktor Rosenfeld
  2013-06-11 21:05     ` Viktor Rosenfeld
  1 sibling, 1 reply; 7+ messages in thread
From: Rasmus @ 2013-06-11 20:04 UTC (permalink / raw)
  To: emacs-orgmode

Vikas Rawal <vikaslists@agrarianresearch.org> writes:

>> 
>> Yes. Add two headlines to your letter, one tagged with :CC: and one with
>> :ENCL:. The content below these headlines will be converted to the
>> relevant LaTeX code. This also works with :PS:. However, you need a
>> fairly recent version of ox-koma-letter.
>
> Thanks. Works perfect. Is it documented anywhere?

In the changelogs mostly.  I have some documentation locally as well
that hasn't been applied.  Here's an unpolished quote:

;; Headlines are in general ignored.  However, headlines with special
;; tags can be used for specified contents like postscript (ps), carbon
;; copy (cc), encloses (encl) and code to be inserted after
;; \end{letter} (after_letter).

–Rasmus

-- 
Hvor meget poesi tror De kommer ud af et glas isvand?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ox-koma-letter support for \cc and \encl?
  2013-06-11 18:06   ` Vikas Rawal
  2013-06-11 20:04     ` Rasmus
@ 2013-06-11 21:05     ` Viktor Rosenfeld
  1 sibling, 0 replies; 7+ messages in thread
From: Viktor Rosenfeld @ 2013-06-11 21:05 UTC (permalink / raw)
  To: emacs-orgmode

Hi Vikas,

Vikas Rawal wrote:

> 
> > 
> > Yes. Add two headlines to your letter, one tagged with :CC: and one with
> > :ENCL:. The content below these headlines will be converted to the
> > relevant LaTeX code. This also works with :PS:. However, you need a
> > fairly recent version of ox-koma-letter.
> 
> Thanks. Works perfect. Is it documented anywhere?

I'll document it in the tutorial once Org-mode 8.1 is released. Right
now this feature is only available in master.

Cheers,
Viktor

> 
> Best,
> 
> Vikas
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ox-koma-letter support for \cc and \encl?
  2013-06-11 20:04     ` Rasmus
@ 2013-06-11 21:07       ` Viktor Rosenfeld
  2013-06-11 21:59         ` Rasmus
  0 siblings, 1 reply; 7+ messages in thread
From: Viktor Rosenfeld @ 2013-06-11 21:07 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

Hi Rasmus,

I didn't have time to look at your code on the weekend, but I had to
write a letter with ENCL and it worked perfectly. I'm liking this setup
more and more. I don't know if you went ahead and implemented the
:with-legacy option, but I think it should default to `nil', so the
stuff in the headlines takes precedence.

Cheers,
Viktor

Rasmus wrote:

> Vikas Rawal <vikaslists@agrarianresearch.org> writes:
> 
> >> 
> >> Yes. Add two headlines to your letter, one tagged with :CC: and one with
> >> :ENCL:. The content below these headlines will be converted to the
> >> relevant LaTeX code. This also works with :PS:. However, you need a
> >> fairly recent version of ox-koma-letter.
> >
> > Thanks. Works perfect. Is it documented anywhere?
> 
> In the changelogs mostly.  I have some documentation locally as well
> that hasn't been applied.  Here's an unpolished quote:
> 
> ;; Headlines are in general ignored.  However, headlines with special
> ;; tags can be used for specified contents like postscript (ps), carbon
> ;; copy (cc), encloses (encl) and code to be inserted after
> ;; \end{letter} (after_letter).
> 
> –Rasmus
> 
> -- 
> Hvor meget poesi tror De kommer ud af et glas isvand?
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ox-koma-letter support for \cc and \encl?
  2013-06-11 21:07       ` Viktor Rosenfeld
@ 2013-06-11 21:59         ` Rasmus
  0 siblings, 0 replies; 7+ messages in thread
From: Rasmus @ 2013-06-11 21:59 UTC (permalink / raw)
  To: emacs-orgmode

Viktor Rosenfeld <listuser36@gmail.com> writes:

> I didn't have time to look at your code on the weekend, but I had to
> write a letter with ENCL and it worked perfectly. I'm liking this setup
> more and more. I don't know if you went ahead and implemented the
> :with-legacy option, but I think it should default to `nil', so the
> stuff in the headlines takes precedence.

The :with-legacy was too harsh a name ¹, I never wanted to call it
that.  It's implemented as "(not :with-legacy)", i.e. a
:prefer-special-headings or something like that.  It's in the second
patch I that I just re-posted.  Also, I updated the documentation in
the top of the file.  While my prose is not as clear as the tutorial,
it should be hopefully be understandable.

–Rasmus

-- 
May contains speling mistake

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-11 22:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-11  2:15 ox-koma-letter support for \cc and \encl? Vikas Rawal
2013-06-11  5:30 ` Viktor Rosenfeld
2013-06-11 18:06   ` Vikas Rawal
2013-06-11 20:04     ` Rasmus
2013-06-11 21:07       ` Viktor Rosenfeld
2013-06-11 21:59         ` Rasmus
2013-06-11 21:05     ` Viktor Rosenfeld

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).