Summary | Support LaTeX Rendering |
Queue | IMP |
Queue Version | Git master |
Type | Enhancement |
State | Accepted |
Priority | 1. Low |
Owners | |
Requester | r_reitzi (at) cs (dot) uni-kl (dot) de |
Created | 06/10/2011 (5087 days ago) |
Due | |
Updated | 07/26/2011 (5041 days ago) |
Assigned | |
Resolved | |
Milestone | |
Patch | No |
representation of contents.
There is no difference between "attached files" and text parts.
They are all the same. Every part is an attachment, and every
attachment is a message part.
It is a lot easier, though, if you use MathJax: if you include their
JS, it automatically parses all LaTeX it can find. See
http://www.mathjax.org/docs/1.1/start.html#mathjax-cdn
I was just not able to find the place where I had to include the
script tag because apparently code that creates a "simple" mail
viewing frame is scattered over dozens of files (in Imp 4.3.4; was not
able to install the newest version yet.)
talking about syntax highlighting the rendered data inside of a
Latex file, this is not syntax highlighting as the term is commonly
used. Syntax highlighting refers to marking up source code based on
the language's grammar - which we (should) already support for latex
files.
brought this up at all because it is not important for this ticket.
representation of the contents.
representation of contents.
There is no difference between "attached files" and text parts. They
are all the same. Every part is an attachment, and every attachment
is a message part.
Essentially, there are two ways to handle a message part - allow a
user to download the raw data to be handled by their local computer,
or to attempt to parse this data and produce some sort of useful
output. The former is essentially the download button, the latter is
what a Mime Viewer does.
A syntax highlighter is not supposed to do anything else (e.g. render
the data).
have been ambiguous wrt syntax highlighting).
talking about syntax highlighting the rendered data inside of a Latex
file, this is not syntax highlighting as the term is commonly used.
Syntax highlighting refers to marking up source code based on the
language's grammar - which we (should) already support for latex files.
representation of the contents.
the point of this ticket (see above).
A syntax highlighter is not supposed to do anything else (e.g.
render the data).
have been ambiguous wrt syntax highlighting).
Horde to display entire LaTeX files. Or do you mean one could write
an alternative for the standard plain driver to handle LaTeX?
To be clear: I was thinking of parsing standard math environments
like $...$ or \[...\] using some backend.
representation of the contents.
driver (horde/config/mime_drivers.php).
syntax in attached files, doesn't it?
syntax highlighter is not supposed to do anything else (e.g. render
the data).
Horde to display entire LaTeX files. Or do you mean one could write an
alternative for the standard plain driver to handle LaTeX?
To be clear: I was thinking of parsing standard math environments like
$...$ or \[...\] using some backend.
driver (horde/config/mime_drivers.php).
in attached files, doesn't it?
State ⇒ Accepted
time set in (pseudo) LaTeX for sake of mutual understanding.
Obviously, reading plain LaTeX code is not optimal.
Horde could easily render LaTeX in mails (notes, ...). If it were to
use MathJax, including one Javascript file in appropriate places
would be sufficient.
techy folk than it already is. While you are at it, think about
syntax highlighting, too. ;))
driver (horde/config/mime_drivers.php).
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Support LaTeX Rendering
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ New
time set in (pseudo) LaTeX for sake of mutual understanding.
Obviously, reading plain LaTeX code is not optimal.
Horde could easily render LaTeX in mails (notes, ...). If it were to
use MathJax, including one Javascript file in appropriate places would
be sufficient.
(Supporting mathy mails might make Horde even more attractive to techy
folk than it already is. While you are at it, think about syntax
highlighting, too. ;))