unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: n@flqt.fr, rms@gnu.org, amin@gnu.org, 32722@debbugs.gnu.org,
	rjhorniii@gmail.com, kaushal.modi@gmail.com
Subject: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?
Date: Mon, 22 Oct 2018 15:13:39 +0200	[thread overview]
Message-ID: <87d0s2yvi4.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <835zyzevvt.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Sep 2018 23:50:30 +0300")

Hello,

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>

>> I assume this is the only way out of this, so I'll have a look at it.
>
> Thank you.

In an attempt to move Org from htmlize to htmlfontify, I'm encountering
an issue with the generated CSS. Exporting the same simple document with
htmlize, I get:

--8<---------------cut here---------------start------------->8---
    <style type="text/css">
    <!--
      body {
        color: #b2b2b2;
        background-color: #292b2e;
      }
      .bold {
        /* bold */
        font-weight: bold;
      }
      .comment {
        /* font-lock-comment-face */
        color: #2aa1ae;
      }
      .function-name {
        /* font-lock-function-name-face */
        color: #bc6ec5;
        font-weight: bold;
      }
      .italic {
        /* italic */
        font-style: italic;
      }
      .keyword {
        /* font-lock-keyword-face */
        color: #4f97d7;
        font-weight: bold;
      }
      .org-block {
        /* org-block */
        color: #cbc1d5;
        background-color: #2f2b33;
      }
      .org-block-begin-line {
        /* org-block-begin-line */
        color: #827591;
        background-color: #373040;
      }
      .org-block-end-line {
        /* org-block-end-line */
        color: #827591;
        background-color: #373040;
      }
      .org-level-1 {
        /* org-level-1 */
        color: #4f97d7;
      }
      .parenthesis {
        /* parenthesis */
        color: #686868;
      }
      .type {
        /* font-lock-type-face */
        color: #ce537a;
        font-weight: bold;
      }

      a {
        color: inherit;
        background-color: inherit;
        font: inherit;
        text-decoration: inherit;
      }
      a:hover {
        text-decoration: underline;
      }
    -->
    </style>
--8<---------------cut here---------------end--------------->8---

Then, with htmlfontify:

--8<---------------cut here---------------start------------->8---
<style type="text/css"><!-- 
body { font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.default   { font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.default a { font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.italic   { font-style: italic;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.italic a { font-style: italic;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.bold   { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.bold a { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.org-block-end-line   { color: #827591;  background: #373040;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  font-size: 9pt;  text-decoration: none; }
span.org-block-end-line a { color: #827591;  background: #373040;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  font-size: 9pt;  text-decoration: underline; }
span.type   { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.type a { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.function-name   { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.function-name a { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.org-block   { color: #cbc1d5;  background: #2f2b33;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  font-size: 9pt;  text-decoration: none; }
span.org-block a { color: #cbc1d5;  background: #2f2b33;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  font-size: 9pt;  text-decoration: underline; }
span.keyword   { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.keyword a { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.parenthesis   { color: #686868;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.parenthesis a { color: #686868;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.org-block-begin-line   { color: #827591;  background: #373040;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  font-size: 9pt;  text-decoration: none; }
span.org-block-begin-line a { color: #827591;  background: #373040;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  font-style: normal;  font-size: 9pt;  text-decoration: underline; }
span.org-level-1   { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.org-level-1 a { font-weight: 700;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-style: normal;  color: #b2b2b2;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
span.comment   { color: #2aa1ae;  font-style: normal;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  background: #292b2e;  font-size: 9pt;  text-decoration: none; }
span.comment a { color: #2aa1ae;  font-style: normal;  font-family: DejaVu Sans Mono;  font-stretch: normal;  font-weight: 500;  background: #292b2e;  font-size: 9pt;  text-decoration: underline; }
 --></style>
--8<---------------cut here---------------end--------------->8---

Some users reported that htmlfontify output is too verbose (font-style,
font-family, font-size...). 

Is there a way to clean up the output from htmlfontify and include only
minimal information? It might be something related to
`hfy-default-face-def', but the documentation is not clear to me.

Thank you for any help.

Regards,

-- 
Nicolas Goaziou





  reply	other threads:[~2018-10-22 13:13 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-12 14:06 bug#32722: 26.1; Org-publish depend on non-free platform ? Nicolas Floquet
2018-09-12 15:48 ` Eli Zaretskii
2018-09-13  7:33   ` Nicolas Floquet
2018-09-13  3:35 ` Richard Stallman
2018-09-13 15:26   ` Glenn Morris
2018-09-13 15:36     ` bug#32722: [O] " Kaushal Modi
     [not found]     ` <CAFyQvY2Z7cvRVb1fMpiGGG1NN-ynb=avyceC_k2xCGTj9_1m_w@mail.gmail.com>
2018-09-13 21:58       ` Samuel Wales
2018-09-14  2:55       ` Richard Stallman
2018-09-14  6:04         ` Eli Zaretskii
2018-09-18  9:37           ` Nicolas Goaziou
     [not found]           ` <87va73gn90.fsf@nicolasgoaziou.fr>
2018-09-18 11:49             ` Eli Zaretskii
2018-09-18 12:14               ` bug#32722: [O] bug#32722: " Robert Klein
     [not found]               ` <20180918141427.55178577@lt70.mpip-mainz.mpg.de>
2018-09-19  3:41                 ` Richard Stallman
2018-09-19  7:22                 ` Eli Zaretskii
2018-09-18 14:43             ` bug#32722: [O] " Nicolas Floquet
2018-09-18 16:37               ` bug#32722: [O] bug#32722: " Robert Horn
2018-09-18 16:53                 ` Eli Zaretskii
2018-09-18 18:53                   ` bug#32722: [O] bug#32722: " Robert Klein
2018-09-18 18:57                     ` Kaushal Modi
     [not found]                     ` <CAFyQvY2t7MP5yN5+LgZdRZ5tFg7FmfXVsF15i=43XCJxL890Zg@mail.gmail.com>
2018-09-18 19:29                       ` bug#32722: [O] bug#32722: " Kaushal Modi
     [not found]                       ` <CAFyQvY2rFpTsctDnVqKs4N1VYhG26jb2f+JOgUuAj4EREqRoJw@mail.gmail.com>
2018-09-19  3:39                         ` Richard Stallman
2018-09-19  3:39                     ` bug#32722: [O] " Richard Stallman
2018-09-25 23:04                     ` Richard Stallman
2018-09-18 20:41                   ` Glenn Morris
2018-09-18 21:07                     ` Nicolas Goaziou
2018-09-18 22:08                       ` bug#32722: [O] " Amin Bandali
2018-09-19  3:39                       ` Richard Stallman
2018-09-19  7:02                       ` Eli Zaretskii
2018-09-20 17:42                         ` Nicolas Goaziou
2018-09-20 20:48                           ` Eli Zaretskii
2018-09-21  2:18                           ` Richard Stallman
     [not found]                       ` <874leme9vp.fsf@aminb.org>
2018-09-19 21:16                         ` bug#32722: [O] bug#32722: " Kaushal Modi
     [not found]                         ` <CAFyQvY353PvS6nJatS-hdtWc0BNKi=GSFTQc-1p5Gvczb6sGuw@mail.gmail.com>
2018-09-20  1:54                           ` Richard Stallman
2018-09-20  4:24                             ` Eli Zaretskii
2018-09-20 10:43                             ` bug#32722: [O] bug#32722: " Joe Corneli
2018-09-21  2:13                               ` Richard Stallman
     [not found]                               ` <E1g3Awz-0003j5-9G@fencepost.gnu.org>
2018-09-21 10:22                                 ` Joe Corneli
2018-09-22  1:52                                   ` Richard Stallman
2018-09-20  5:43                           ` bug#32722: [O] " Eli Zaretskii
2018-09-20  8:13                             ` bug#32722: [O] bug#32722: " Robert Klein
2018-09-20 19:17                             ` bug#32722: [O] " Nicolas Goaziou
2018-09-20 20:50                               ` Eli Zaretskii
2018-10-22 13:13                                 ` Nicolas Goaziou [this message]
2018-10-22 13:48                                   ` bug#32722: " Eli Zaretskii
2018-09-19  3:39                     ` Richard Stallman
2018-09-19  7:04                       ` Eli Zaretskii
2018-09-20  1:50                         ` Richard Stallman
2018-09-20  4:22                           ` Eli Zaretskii
2018-09-21  2:18                             ` Richard Stallman
2019-05-16 15:16                               ` Nicolas Floquet
2019-05-16 15:25                                 ` Nicolas Floquet
2019-06-09 16:54                                   ` bug#32722: [O] " Amin Bandali
2018-09-19  3:40                 ` bug#32722: [O] bug#32722: " Richard Stallman
2018-09-24  9:54                 ` Nicolas Floquet
2018-09-19  3:41               ` bug#32722: [O] " Richard Stallman
     [not found]               ` <E1g2TMj-0007QN-So@fencepost.gnu.org>
2018-09-19 12:29                 ` Nicolas Goaziou
2018-09-20  1:50                   ` Richard Stallman
2018-09-20 12:40                     ` Nicolas Goaziou
2018-09-20 14:31                       ` Michael Albinus
2018-09-20 12:59                     ` bug#32722: [O] bug#32722: " Bingo UV
     [not found]                     ` <20180920182929.61517206@gmail.com>
2018-09-21  2:13                       ` Richard Stallman
     [not found]                       ` <E1g3Ax1-0003ju-M6@fencepost.gnu.org>
2018-09-21 19:21                         ` bug#32722: [O] bug#32722: " Leslie Watter
2018-09-23  1:38                           ` Richard Stallman
2018-09-29 14:53                             ` bug#32722: " Nicolas Goaziou
2018-09-29 15:09                               ` Eli Zaretskii
2018-09-29 18:33                                 ` Nicolas Goaziou
     [not found]                                 ` <87in2oywzk.fsf@nicolasgoaziou.fr>
2018-09-29 18:58                                   ` Eli Zaretskii
2018-09-29 23:35                                     ` bug#32722: [O] " Kyle Meyer
     [not found]                                     ` <87a7nzri6a.fsf@kyleam.com>
2018-09-30 11:43                                       ` Eli Zaretskii
2020-05-24  8:03                                         ` Bastien
2018-09-30  9:27                               ` Michael Albinus
     [not found]                               ` <87wor3e3mr.fsf@gmx.de>
2018-10-22  9:39                                 ` Nicolas Goaziou
2018-10-22 11:07                                   ` Michael Albinus
2018-10-22 13:17                                     ` Nicolas Goaziou

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87d0s2yvi4.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=32722@debbugs.gnu.org \
    --cc=amin@gnu.org \
    --cc=eliz@gnu.org \
    --cc=kaushal.modi@gmail.com \
    --cc=n@flqt.fr \
    --cc=rjhorniii@gmail.com \
    --cc=rms@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.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).