emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG] Colored tags generate an error when C-x C-w'ing the agenda


From: Sebastien Vauban
Subject: Re: [O] [BUG] Colored tags generate an error when C-x C-w'ing the agenda
Date: Fri, 27 Sep 2013 13:35:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt)

Hi Carsten,

Carsten Dominik wrote:
> On 11.9.2013, at 14:48, Sebastien Vauban <address@hidden> wrote:
>> If you have colors for tags:
>> 
>> --8<---------------cut here---------------start------------->8---
>>  ;; faces for specific tags
>>  (setq org-tag-faces
>>        '(("home" .
>>           (:slant italic
>>            :foreground "#5C88D3" :background "#BBDDFF"))
>>          ("work" .
>>           (:slant italic
>>            :foreground "#5F7C43" :background "#C1D996"))))
>> --8<---------------cut here---------------end--------------->8---
>> 
>> you can't export the agenda views anymore; they all generate the following
>> error:
>
> It does seem to work if you specify the faces like this (without the dot).
>
>  (setq org-tag-faces
>        '(("home" 
>           (:slant italic
>            :foreground "#5C88D3" :background "#BBDDFF"))
>          ("work" 
>           (:slant italic
>            :foreground "#5F7C43" :background "#C1D996"))))

Without the dot [1], I confirm that I can export both to HTML and PDF with no
error.

Though, in the PDF, these tags have a white background, not the one specified.
This is a small annoyance...

> Since Emacs does display correctly with this way to specify a font, I'd say
> this is a bug in ps-print and should be reported to Emacs as such.

... which I'll report (with your analysis) to Emacs.

Thanks for your help!

Best regards,
  Seb

[1] I'd never ever have thought to remove the "dot". How did you discover or
know that?

-- 
Sebastien Vauban




reply via email to

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