Cause Latex to render with colors inverted

4 views
Skip to first unread message

Will Tower

unread,
Nov 23, 2021, 12:39:27 AM (5 days ago) Nov 23
to mnemosyne-proj-users
I would like my Latex to render as white text on a black background. I am on Linux, I have tried to edit the config.py file:

out of the box:
# Latex dvipng command.
dvipng = "dvipng -D 200 -T tight tmp.dvi"

my (unsuccessful) edit:
# Latex dvipng command.
dvipng = "dvipng -D 200 -bg 'rgb 1.0 1.0 1.0' -fg 'rgb 0.0 0.0 0.0' -T tight tmp.dvi"

but changing the dvipng command leads to latex rendering breaking entirely. I searched https://www.tug.org/texinfohtml/dvipng.html#Color-specifications but did not find further info. Command is still broken if option is entered without single quotes, e.g. -bg rgb 1.0 1.0 1.0

Peter Bienstman

unread,
Nov 23, 2021, 12:43:47 AM (5 days ago) Nov 23
to mnemosyne-proj-users
Hi,

Unless what you are trying to do works outside of Mnemosyne, this seems more a LaTeX than a Mnemosyne issue. I'm not a Latex expert, so unless somebody else on this list has an idea, you'll probably have better luck asking somewhere else..

Peter 

--
You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mnemosyne-proj-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mnemosyne-proj-users/c354d856-fe6b-48d0-adca-5a0bd92003ecn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages