Perhaps even simpler is to add new converter definitions so the user can
use the standard File>Export> route.
Three new ones:
- Email (plain text)
- Email (HTML)
- Email (PDF attachment) <-- using whatever engine is default
As far as passing it to mail clients... It's a real cringeworthy idea
but don't mailto: links support `?subject=` and `?body=` arguments? At
least for plain-text and HTML, one could use the system default for
mailto: links and pass one giant, *ugly string. Not that I would condone it.
I don't personally see any advantage to composing emails in Lyx. OP
suggested it because of the beautiful formatting provided by LaTeX but
HTML isn't capable of such beauty. If you need the aesthetics, you're
stuck emailing it as an attachment anyway.
Patrick
On 2014-04-27 7:23, Tommaso Cucinotta wrote:
On 24/04/14 14:18, Kornel Benko wrote:
Not really. Still it looks for me as a valid feature request. Even if I was
>
> not planing to use it.
>
Probably the user is free to create a "Send by e-mail..." menu entry
that simply spawns the preferred e-mail client on the machine, adding
the LyX file currently being edited as attachment, for e-mail clients
that would support that from the command-line.
Would something like this be possible ?
T.