[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] pgfplots and tikz break LaTeX inline overlay colors

From: Ulrich J. Herter
Subject: Re: [O] pgfplots and tikz break LaTeX inline overlay colors
Date: Mon, 25 Jul 2016 16:32:16 +0200

Hi Nicolas,

thanks for looking into this!

Am Montag, den 25.07.2016, 15:07 +0200 schrieb Nicolas Goaziou:
"Ulrich J. Herter" <address@hidden> writes:

When using pgfplots and tikz LaTeX packages for graphics in a
document, the colouring of LaTeX overlays in org-mode is broken.
font colour of snippets is always black, super hard to read in on a
dark colour scheme. See attached images.

Steps to reproduce:
- Do C-c C-x C-l on one of the formulas.
- When pgfplots or tikz is loaded, the :foreground setting in
org-format-latex-options is ignored...

Any help with that would be much appreciated!

I cannot reproduce it in development version, where formula display
mechanism was rewritten recently.

Could you update Org and try again?

I'm sorry, but I'm still getting this error in release_8.3.5-1000-
g9d3a4a.dirty (installed from Arch linux AUR), I attached a screenshot.
Could it be something with my config? The striped .emacs along with the
examples below.

(require 'org-install)

 '(custom-enabled-themes (quote (tsdh-dark))))

(require 'org)
(require 'ox-latex)

(add-hook 'org-mode-hook 'turn-on-org-cdlatex)
(setq org-latex-create-formula-image-program 'dvipng)
(setq org-highlight-latex-and-related '(latex script entities))
(plist-put org-format-latex-options :scale 3)

(add-to-list 'org-latex-default-packages-alist '("" "caption" nil))
(add-to-list 'org-latex-packages-alist '("" "parskip" nil))
(add-to-list 'org-latex-packages-alist '("" "xcolor" nil))
(add-to-list 'org-latex-packages-alist '("" "siunitx" t))
(add-to-list 'org-latex-packages-alist '("" "minted" nil)) ; Code
(setq org-latex-listings 'minted)
(setq org-latex-minted-options
              '(("frame" "lines") ("linenos=true") ("stepnumber" "5")
("framesep" "6pt")
    ("mathescape" "true") ("fontsize" "\\footnotesize")))

(add-to-list 'org-latex-classes
             ("\\section{%s}" . "\\section*{%s}")
             ("\\subsection{%s}" . "\\subsection*{%s}")
             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
             ("\\paragraph{%s}" . "\\paragraph*{%s}")
             ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

# #+LATEX_HEADER: \usepackage{pgfplots,tikz}

#+LATEX_HEADER: \usepackage{pgfplots,tikz}

Thanks and regards

Attachment: Bildschirmfoto vom 2016-07-25 16-07-28.png
Description: PNG image

reply via email to

[Prev in Thread] Current Thread [Next in Thread]