| Summary: | Background compiling of LaTex documents | ||
|---|---|---|---|
| Product: | [Applications] kile | Reporter: | Andreas Nicolai <Andreas.Nicolai> |
| Component: | general | Assignee: | Jeroen Wijnhout <spam> |
| Status: | CONFIRMED --- | ||
| Severity: | wishlist | CC: | Andreas.Nicolai, lacsilva |
| Priority: | NOR | ||
| Version First Reported In: | trunk-kde4 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andreas Nicolai
2006-10-04 16:54:48 UTC
Particularly useful would be the rendering of math equations while typing. Suggested algorithm (if someone give's me some hands on help to get started, I could code it myself):
- in the editor mode, while typing, test if user is inside a math environment, for starters only the default environments $ $, $$ $$, \begin{equation} \end{equation}, ... etc. need to be supported, if user has custom environments, maybe those could be configured somewhere
- extract all text inside the environment into separate string buffer
- in scheduled intervals (suggest 2 sec. intervals) write temporary file with mini-latex-header
- run latex and create dvi/pdf etc.
- if successful, load dvi/pdf into math preview window, otherwise display some error message in window
Later, some sanity checking could be done while typing, to allow easier checking of faulty equations.
Fixed with the live-preview feature both incremental and on save. See, e.g., Bug 297516. |