From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rgm@gnu.org, 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__3841.15906567803$1540215785$gmane$org@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
next prev parent reply other threads:[~2018-10-22 13:14 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <531a7f93882cc0d5d09700457d06ea082f47569b.camel@flqt.fr>
2018-09-13 3:35 ` bug#32722: 26.1; Org-publish depend on non-free platform ? Richard Stallman
[not found] ` <83zhwmlnst.fsf@gnu.org>
2018-09-13 7:33 ` Nicolas Floquet
[not found] ` <E1g0IPY-000465-4I@fencepost.gnu.org>
2018-09-13 15:26 ` Glenn Morris
[not found] ` <tqd0thctb6.fsf@fencepost.gnu.org>
2018-09-13 15:36 ` Kaushal Modi
2018-09-13 21:58 ` bug#32722: " Samuel Wales
2018-09-13 21:58 ` Samuel Wales
2018-09-13 21:58 ` Samuel Wales
2018-09-14 2:55 ` bug#32722: " Richard Stallman
[not found] ` <E1g0eGJ-0002Ws-Gt@fencepost.gnu.org>
2018-09-14 6:04 ` Eli Zaretskii
2018-09-16 12:30 ` Adam Porter
2018-09-17 20:21 ` Nick Dokos
2018-09-18 13:12 ` Bernt Hansen
[not found] ` <83sh2ck42e.fsf@gnu.org>
2018-09-18 9:37 ` Nicolas Goaziou
2018-09-18 11:49 ` Eli Zaretskii
2018-09-18 14:21 ` Nick Dokos
2018-09-18 14:49 ` Kaushal Modi
[not found] ` <83zhwff2k8.fsf@gnu.org>
2018-09-18 12:14 ` bug#32722: " Robert Klein
2018-09-19 3:41 ` Richard Stallman
2018-09-19 7:22 ` Eli Zaretskii
2018-09-18 14:43 ` Nicolas Floquet
[not found] ` <dbc243f2281e5b97b59d543f8e29559b1ffdc38f.camel@flqt.fr>
2018-09-18 16:37 ` bug#32722: " Robert Horn
2018-09-19 3:41 ` Richard Stallman
2018-09-19 12:29 ` Nicolas Goaziou
[not found] ` <87h8ilfz6o.fsf@nicolasgoaziou.fr>
2018-09-20 1:50 ` Richard Stallman
[not found] ` <E1g2o6s-0008PG-JL@fencepost.gnu.org>
2018-09-20 12:40 ` Nicolas Goaziou
2018-09-20 12:59 ` Bingo UV
2018-09-21 2:13 ` Richard Stallman
2018-09-21 19:21 ` bug#32722: bug#32722: " Leslie Watter
[not found] ` <CAKoz4gnvbc1tTGW57c_7cVN0gF2KrgAjYRT+kwp29fMOYX3RCA@mail.gmail.com>
2018-09-23 1:38 ` Richard Stallman
[not found] ` <E1g3tLf-0003Es-KN@fencepost.gnu.org>
2018-09-29 14:53 ` Nicolas Goaziou
[not found] ` <87mus0z773.fsf@nicolasgoaziou.fr>
2018-09-29 15:09 ` Eli Zaretskii
[not found] ` <83in2o5oi3.fsf@gnu.org>
2018-09-29 18:33 ` Nicolas Goaziou
2018-09-29 18:58 ` Eli Zaretskii
[not found] ` <83ftxs5dvw.fsf@gnu.org>
2018-09-29 23:35 ` bug#32722: " Kyle Meyer
2018-09-30 11:43 ` Eli Zaretskii
[not found] ` <83y3bj43d8.fsf@gnu.org>
2020-05-24 8:03 ` bug#32722: [O] " Bastien
2018-09-30 9:27 ` Michael Albinus
2018-10-22 9:39 ` Nicolas Goaziou
[not found] ` <87r2giz5ey.fsf@nicolasgoaziou.fr>
2018-10-22 11:07 ` Michael Albinus
[not found] ` <871s8is0i6.fsf@gmx.de>
2018-10-22 13:17 ` Nicolas Goaziou
[not found] ` <87worggx5b.fsf@nicolasgoaziou.fr>
2018-09-20 14:31 ` Michael Albinus
[not found] ` <m3tvmm4v8m.fsf@panix.com>
2018-09-18 16:53 ` bug#32722: " Eli Zaretskii
[not found] ` <83efdqg32d.fsf@gnu.org>
2018-09-18 18:53 ` bug#32722: " Robert Klein
2018-09-18 20:41 ` Glenn Morris
[not found] ` <vain32bksv.fsf_-_@fencepost.gnu.org>
2018-09-18 21:07 ` Nicolas Goaziou
2018-09-19 3:39 ` Richard Stallman
[not found] ` <87lg7yfraw.fsf@nicolasgoaziou.fr>
2018-09-18 22:08 ` bug#32722: " Amin Bandali
2018-09-19 21:16 ` bug#32722: " Kaushal Modi
2018-09-20 1:54 ` Richard Stallman
[not found] ` <E1g2oAo-0000ao-2k@fencepost.gnu.org>
2018-09-20 4:24 ` Eli Zaretskii
2018-09-20 10:43 ` bug#32722: " Joe Corneli
[not found] ` <CAN+qofnbqV8MT0wmKNokXv0S8f9PnXcpK1RdsH-8Zb2i8ckNPw@mail.gmail.com>
2018-09-21 2:13 ` Richard Stallman
2018-09-21 10:22 ` Joe Corneli
[not found] ` <m2zhwbup3a.fsf@dhcp-90-218.inf.ed.ac.uk>
2018-09-22 1:52 ` Richard Stallman
2018-09-20 5:43 ` Eli Zaretskii
[not found] ` <83h8ikenbc.fsf@gnu.org>
2018-09-20 8:13 ` bug#32722: " Robert Klein
2018-09-20 19:17 ` Nicolas Goaziou
2018-09-20 23:17 ` Adam Porter
2018-09-21 0:39 ` Kaushal Modi
2018-09-21 1:54 ` Adam Porter
2018-09-21 21:30 ` Kaushal Modi
[not found] ` <87in30geqo.fsf@nicolasgoaziou.fr>
2018-09-20 20:50 ` Eli Zaretskii
[not found] ` <835zyzevvt.fsf@gnu.org>
2018-10-22 13:13 ` Nicolas Goaziou [this message]
[not found] ` <87d0s2yvi4.fsf@nicolasgoaziou.fr>
2018-10-22 13:48 ` Eli Zaretskii
2018-09-19 3:39 ` Richard Stallman
2018-09-19 7:02 ` Eli Zaretskii
2018-09-20 5:21 ` Adam Porter
[not found] ` <831s9qezqo.fsf@gnu.org>
2018-09-20 17:42 ` Nicolas Goaziou
[not found] ` <87muscgj51.fsf@nicolasgoaziou.fr>
2018-09-20 20:48 ` Eli Zaretskii
2018-09-21 2:18 ` Richard Stallman
[not found] ` <E1g2TLB-000734-Os@fencepost.gnu.org>
2018-09-19 7:04 ` Eli Zaretskii
[not found] ` <83zhwedl2v.fsf@gnu.org>
2018-09-20 1:50 ` Richard Stallman
[not found] ` <E1g2o79-0008S6-UV@fencepost.gnu.org>
2018-09-20 4:22 ` Eli Zaretskii
[not found] ` <83lg7wer1z.fsf@gnu.org>
2018-09-21 2:18 ` Richard Stallman
[not found] ` <E1g3B16-0004U1-2g@fencepost.gnu.org>
2019-05-16 15:16 ` Nicolas Floquet
[not found] ` <c20679912a5c2644bf6e62a65b7c4da118d988f5.camel@flqt.fr>
2019-05-16 15:25 ` Nicolas Floquet
[not found] ` <3554abc2df1167f5b052b021670bbd09fae6dd6f.camel@flqt.fr>
2019-06-09 16:54 ` bug#32722: " Amin Bandali
[not found] ` <20180918205329.2e12c16f@happy.intern.roklein.de>
2018-09-18 18:57 ` bug#32722: bug#32722: " Kaushal Modi
2018-09-18 19:29 ` Kaushal Modi
2018-09-19 3:39 ` Richard Stallman
2018-09-19 3:39 ` Richard Stallman
2018-09-25 23:04 ` Richard Stallman
2018-09-19 3:40 ` Richard Stallman
2018-09-24 9:54 ` Nicolas Floquet
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='87d0s2yvi4.fsf__3841.15906567803$1540215785$gmane$org@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=rgm@gnu.org \
--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/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).