Summary: | Support for message rendering using LaTeX | ||
---|---|---|---|
Product: | [Applications] kmail | Reporter: | Dik Takken <kde> |
Component: | GUI | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED WAITINGFORINFO | ||
Severity: | wishlist | CC: | gschintgen, luigi.toscano |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Dik Takken
2005-01-31 23:28:56 UTC
Just to say that this is a longshot, but there's precedent: Kopete has a LaTeX plugin. If enabled, and if LaTeX is installed on the host, it will render $$math-code$$ as an equation. Do you know of any mailers that support sending text/x-tex MIME parts? > Do you know of any mailers that support sending text/x-tex MIME parts?
Nope.. :)
I guess, either KMail needs to autodetect if an incoming plain-text message contains LaTeX commands (only when the user configured KMail to do so), or there should be an option to set the LaTeX renderer as default renderer for plain-text messages. Even if a plain-text message does not contain any LaTeX at all, it will still look good when fed to LaTeX, provided that you replace empty lines with paragraph markers and such.
On Wednesday 02 February 2005 10:45, Dik Takken wrote:
> I guess, either KMail needs to autodetect if an incoming plain-text message
> contains LaTeX commands (only when the user configured KMail to do so), or
> there should be an option to set the LaTeX renderer as default renderer for
> plain-text messages. Even if a plain-text message does not contain any
> LaTeX at all, it will still look good when fed to LaTeX, provided that you
> replace empty lines with paragraph markers and such.
You can do that yourself by writing a BodyPartFormatter plugin for text/plain.
Check out kdepim/plugins/kmail/bodypartformatter for examples. The text/diff
one is probably a good example case. Make sure to share it, if you write such
a thing. :)
> You can do that yourself by writing a BodyPartFormatter plugin
Ah, but can this body formatter also pass the formatted body to LaTeX and tell KMail to use the KGhostview KPart to display it? This involves a little bit more than plain text processing...
On Wednesday 02 February 2005 21:14, Dik Takken wrote: > > You can do that yourself by writing a BodyPartFormatter plugin > > Ah, but can this body formatter also pass the formatted body to LaTeX and > tell KMail to use the KGhostview KPart to display it? This involves a > little bit more than plain text processing... No, the bpf plugin writes into KMail's html buffer, which is then rendered. So you'd need to somehow produce html with temp images and pass that back in. Should be doable, though. Till This will surely be implemented once we have "decorator" plugins which are used to "decorate" the HTML which has been produced by some bpf plugin. Thank you for your feature request. Kmail1 is currently unmaintained so we are closing all wishes. Please feel free to reopen a feature request for Kmail2 if it has not already been implemented. Thank you for your understanding. Instead of creating a new feature request, please confirm here if the wishlist is still valid for kmail2. |