Package: whizzytex
Version: 1.3.2-1.2
Severity: wishlist
File: /usr/share/emacs/site-lisp/whizzytex/whizzytex.el

In a dark background frame, the colours in whizzy-point-face and
whizzy-error-face have too little contrast between white text and their
yellow or orange background.  It'd be good if they had a dark background
setting.  I find the bit below helps.

--- whizzytex.el.orig	2013-10-06 18:17:31.000000000 +1100
+++ whizzytex.el	2014-02-22 16:17:44.000000000 +1100
@@ -3097,8 +3097,12 @@
 
 (unless (facep whizzy-error-face)
   (defface whizzy-error-face
-    '((((class color)) (:background "orange")))
-    "Face used for marking erros in in WhizzyTeX."
+    '((((class color) (background dark))
+       (:background "#A05000")) ;; darker orange for dark background
+      (((class color))
+       (:background "orange")))
+    "Face used for marking errors in WhizzyTeX.
+See variable `whizzy-error-face'."
     :group 'whizzytex))
 
 (defvar whizzy-point-face 'whizzy-point-face
@@ -3112,8 +3116,12 @@
 
 (unless (facep whizzy-point-face)
   (defface whizzy-point-face
-    '((((class color)) (:background "yellow")))
-    "Face used for marking erros in in WhizzyTeX."
+    '((((class color) (background dark))
+       (:background "#A09000"))  ;; darker yellowish for dark background
+      (((class color))
+       (:background "yellow")))
+    "Face used for marking point position in WhizzyTeX.
+See `whizzy-point-visible'."
     :group 'whizzytex)
 )
 
-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages whizzytex depends on:
ii  advi                     1.10.2-2
ii  dpkg                     1.17.6
ii  emacs23-lucid [emacsen]  23.4+1-4.1+b1
ii  emacs24-lucid [emacsen]  24.3+1-2+b1
ii  tex-common               4.04
ii  texlive-latex-base       2013.20140123-1
ii  xemacs21-mule [emacsen]  21.4.22-6

Versions of packages whizzytex recommends:
ii  evince [pdf-viewer]   3.10.0-2
ii  gv [pdf-viewer]       1:3.7.4-1
ii  mupdf [pdf-viewer]    1.3-1
ii  xpdf [pdf-viewer]     3.03-16
ii  zathura [pdf-viewer]  0.2.6-1

whizzytex suggests no packages.

-- Configuration Files:

-- no debconf information

Reply via email to