protz / LatexIt

An extension for Thunderbird that allows you to generate LaTeX in your emails and send it as inline images
http://www.xulforum.org/go_code
37 stars 16 forks source link

Fixed the insertion of complex LaTeX (Bug #43): #46

Closed sphh closed 4 years ago

sphh commented 4 years ago
  1. Got the dialog to work. The problem was, that neither the stock Ok nor the stock Cancel button called the call-back method. Added a new "Insert" button and removed the callback method for the Cancel button.
  2. Added debug message to the insertion code.
  3. Added xhr.overrideMimeType("image/png"); to extended LaTeX (https://github.com/indigestion/LatexIt/commit/0164e1deb3ff3bd882aae87c0199bf5b4787e6ff only added it to pictures generated from an inline LaTeX).
  4. Removed img.title.
  5. Made the dialog resizeable.
  6. Select the marker on opening the insertion dialog (commit https://github.com/protz/LatexIt/pull/46/commits/eba432cc69c28cb20793a1188c632c51d4e3328b).
  7. Cleaned up the configuration dialog (commit https://github.com/protz/LatexIt/pull/46/commits/eba432cc69c28cb20793a1188c632c51d4e3328b).
  8. Replaces the marker __REPLACEME__ with __REPLACE_ME__ which IMHO is easier to spot (commit https://github.com/protz/LatexIt/pull/46/commits/5a7842291c24e6b4335a80e208aa338abfcb274e).
sphh commented 4 years ago

Maybe Close instead of Quit might be a better caption for the Exit/Quit/Close button ... It's up to you!

protz commented 4 years ago

Close is better, yes. Thanks!