emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: preview latex fragments
Date: Thu, 24 May 2012 14:18:30 +0200	[thread overview]
Message-ID: <87ehq9wz55.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 87ipflwzqc.fsf@med.uni-goettingen.de

Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:

> Hi Bastien,
>
> Bastien <bzg@gnu.org> writes:
>
>> Hi Andreas,
>>
>> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>
>>> I experience a problem with the preview of latex fragments:  I can not
>>> change the foreground color (in org-format-latex-options).  On a dark
>>> background, the black fragments are barely visible.
>>>
>>> The settings for background and scale (in the same variable) are
>>> honored, though.
>>
>> Can you post a reproducible case with a specific Org version?
>
> Thanks a lot for looking into this, but:
> No, I can not.  Now it works as it should.  No clue what happened
> actually.  Sorry for the noise.
>
> - Andreas


Actually, now I can again reproduce it.  The problem seems to be tikz:
With tikz in the latex header, foreground is always black.  So probably
more a LaTeX-issue?

Example: Change the :foreground color in org-format-latex-options to
"Red" and do the preview (C-c C-x C-l) on this subtree:

#+begin_org
#+LATEX_HEADER: \usepackage{tikz}


* Test 
  Hi, 

  set :foreground in org-format-latex-options to "Red" and take this
  fragment $1 = 2$ and press C-c C-x C-l.
#+end_org


So the question becomes:
Can I make the foreground changing work even with tikz loaded in the
latex document?

Cheers,
Andreas

  reply	other threads:[~2012-05-24 12:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23 21:46 preview latex fragments Andreas Leha
2012-05-24  9:10 ` Bastien
2012-05-24 12:05   ` Andreas Leha
2012-05-24 12:18     ` Andreas Leha [this message]
2012-05-24 15:39       ` Nick Dokos
2012-05-28  4:56         ` Nick Dokos
2012-08-03 18:26 ` Bastien
2012-08-03 19:10   ` Andreas Leha
2012-08-06 16:36     ` darcamo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ehq9wz55.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).