[opensuse] xdvi showing white on white text, howto default text black?
All, Dabbling with latex and xdvi. Unfortunately the xdvi output is white-on-white. What setting controls default rendering? Try it: $ vim myfile.tex \documentclass{article} \begin{document} This is my \emph{first} document prepared in \LaTeX. \end{document} $ latex myfile.tex $ xdvi myfile.dvi If you see something without have to Options->Fonts Darker (about 20 times), what's the trick? I can use '-bg black' and set the xdvi background black and the text shows fine, but why should it default to while-on-white? kdvi renders fine (black text on white background), so it's just xdvi that is the problem on Leap 42.2. Any hints? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
David C. Rankin wrote:
All,
Dabbling with latex and xdvi. Unfortunately the xdvi output is white-on-white. What setting controls default rendering? Try it:
Whee, haven't used it in a long time - I (and LyX, which I normally use for TeX) use pdf/okular... Still,
If you see something without have to Options->Fonts Darker (about 20 times), what's the trick? I can use '-bg black' and set the xdvi background black and the text shows fine, but why should it default to while-on-white?
If it's really first steps I doubt you have some (old) settings in .xdvirc or .Xresources. Might still try an xrdb -query. Then again, I haven't either, but for me it does show black text without further options. However, this is a TW machine, I don't have a 42.2 machine with installed texlive at hand... Hmm, wait, just tried the machine at home via X. Horrible sloww connection, but I also can see the text there.... So no clue what is wrong. Hmm, no, maybe an idea: I had similar issues with the tooltips in GIMP, IIRC it was the 'Apply colors to non-QT applications' in Settings->Colors that I had to disable (in case you use kde). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/21/2017 12:34 PM, Peter Suetterlin wrote:
If it's really first steps I doubt you have some (old) settings in .xdvirc or .Xresources. Might still try an xrdb -query.
Well Peter, It looks like you get a cookie for pointing me in the right direction. I have a normal dark background and light foreground theme. It appears xvdi is picking up the light foreground xterm color and ignoring the dark background (and since it is KDE, KDE handles the theme properly with kdvi). The xterm colors I set in ~/.Xresources (primarily so they are picked up in the i3 desktop) are: ! Color Specification xterm*background: #06090E xterm*foreground: #eff0f1 So I'll investigate further removing the xterm color settings and see how xdvi behaves. (and for the curious, the reason I'm looking at TeX/LaTeX, is my son started college in that desolate little town on the Texas prairie called Aggieland and apparently as part of the engineering curriculum they use Matlab as a solver and want the output typeset in LaTeX. So I thought I better dabble a bit... And to think, when I was there, all work was done on the Vax with manual <FF> inserted to leave room to cut (with scissors) and paste (with tape) and copy (on the copier). When I graduated, the 286 had just come out..... and scissors, tape and copiers were soon to be relegated to the past :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Mon, 21 Aug 2017, David C. Rankin wrote:
On 08/21/2017 12:34 PM, Peter Suetterlin wrote:
If it's really first steps I doubt you have some (old) settings in .xdvirc or .Xresources. Might still try an xrdb -query.
It looks like you get a cookie for pointing me in the right direction. I have a normal dark background and light foreground theme. It appears xvdi is picking up the light foreground xterm color and ignoring the dark background (and since it is KDE, KDE handles the theme properly with kdvi). The xterm colors I set in ~/.Xresources (primarily so they are picked up in the i3 desktop) are:
! Color Specification xterm*background: #06090E xterm*foreground: #eff0f1
So I'll investigate further removing the xterm color settings and see how xdvi behaves.
That xterm stuff should be no problem. ISTR, that I had the problem you have. I now checked, I there are no settings concerning xdvi, but I had some. So, check the ressources comment your settings in ~/.Xresources: $ xrdb -query | grep -i xdvi $ grep -i xdvi ~/.Xresources ! XDvi*background: rgb:c0/c0/c0 ! XDvi*foreground: rgb:0/0/0 ! XDvi*mfMode: epstylus ! XDvi*pixelsPerInch: 360 ! XDvi*shrinkFactor: 4 ! XDvi*paper: a4 ! XDvi*wwwBrowser: seamonkey ! XDvi*thorough: true ! XDvi*shrinkButton1: 1 ! XDvi*shrinkButton2: 2 ! XDvi*shrinkButton3: 3 ! XDvi*shrinkButton4: 4 ! XDvi*geometry: 850x720 ! XDvi*magnifierSize1: 300x200 ! XDvi*magnifierSize3: 540x360 ! XDvi*magnifierSize2: 750x500 ! !XDvi*palette: color Oooh, I've not been using my Epson printer since about 2003 or so ;) And none for the last 12. I've printed about 8 pages in total since then at my mom's or elsewhere, and alone 5 pages were KK-ing my domains to another provider... Check out those settings! Using echo 'XDvi*background: rgb:c0/c0/c0' | xrdb -merge I could change the background just now. printf 'XDvi*background: rgb:30/30/30 XDvi*foreground: rgb:e0/e0/e0\n' | xrdb -merge or printf 'XDvi*background: rgb:30/30/30\nXDvi*foreground: rgb:e0/e0/e0\n' | xrdb -merge work as expected too. Just reactivated the back- and forground options in my .Xresources, but changing fg to e0/e0/e0 and bg to 00/00/00. I like it a bit off-white. Oh, and BTW: AFAIR neither Qt/KDE nor Gtk/Gnome use Xressources. But you can tweak e.g. all Tk apps ;) Even coding the stuff in perl/Tk is easy. HTH, -dnh -- "What, you don't think "insmod emacs" is a good idea?" -- Joe Moore -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
David C. Rankin
-
David Haller
-
Peter Suetterlin