Htmlfontify provides a means of converting individual Emacs buffers, source files, or entire source trees to html, preserving formatting and Emacs colorization / syntax highlighting as much as possible through careful application of CSS stylesheets and html tags.
Questions tagged [htmlfontify]
5 questions
2
votes
0 answers
How can I export compositions with html-fontify?
Prettify-symbols-mode is a very nice way to make source code more readable, especially in math-heavy languages. Unfortunately, exporting to HTML with html-fontify-buffer doesn't respect prettifications.
It can be made to (I wrote the code for that),…

Clément
- 3,924
- 1
- 22
- 37
2
votes
0 answers
How to htmlfontify an ansi-term buffer?
I am using "emacs 24.4.1; htmlfontify 0.21" and try to htmlfontify a ansi-term buffer. But the style in the generated HTML file does not contain colors. This is how it looks:
span.term-bold-0004 { font-size: 105%; text-decoration: none;…

ceving
- 1,308
- 1
- 14
- 28
1
vote
2 answers
How to remove indent on left margin and vertical line from src block when exporting org-mode to ascii?
When I export an org file to an ascii file, using org-export-to-ascii, I get some annoying lines on the left margin and an indent
,----
| .class{
| background:red;
| }
This is what I'm after:
.class{
background:red;
}
I'm using some code to…

F. Certainly.
- 27
- 3
1
vote
0 answers
How can I print a buffer exactly as it looks on the screen?
How can I print a buffer exactly as it looks on screen, including the use of variable-pitch fonts?
(I'm also curious why htmlfontify-buffer ignores variable-pitch-mode.)
I am using org-mode and use variable-pitch fonts. However, the latter are…

Harmeling
- 111
- 2
0
votes
1 answer
face-attribute function returning strange cons with "quote", causing htmlfontify-buffer bug: 'invalid face: quote'
I've been debugging an error when I call htmlfontify-buffer on my *shell* buffer or SLIME.
I found out the problem seems to be a value returned by the face-attribute function that seems to be a cons whose first element is just quote. That gets…

Renato
- 103
- 5