emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [BUG] Colored tags generate an error when C-x C-w'ing the agenda
Date: Fri, 27 Sep 2013 13:35:39 +0200	[thread overview]
Message-ID: <86a9iyebuc.fsf@somewhere.org> (raw)
In-Reply-To: 604C9FB1-9217-4E2A-A6D0-1813F74A4A56@gmail.com

Hi Carsten,

Carsten Dominik wrote:
> On 11.9.2013, at 14:48, Sebastien Vauban <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org> 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	other threads:[~2013-09-27 11:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-11 12:48 [BUG] Colored tags generate an error when C-x C-w'ing the agenda Sebastien Vauban
2013-09-27  7:23 ` Carsten Dominik
2013-09-27 11:35   ` Sebastien Vauban [this message]
2013-09-27 13:15     ` Carsten Dominik
     [not found]     ` <86a9iyebuc.fsf-oHC15RC7JGTNLxjTenLetw@public.gmane.org>
2013-11-07 18:45       ` Sebastien Vauban

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=86a9iyebuc.fsf@somewhere.org \
    --to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.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).