all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Displaying Pretty fontification of source code blocks
@ 2012-12-09 21:59 Rodolfo Aramayo
  2012-12-10  3:33 ` Jambunathan K
  0 siblings, 1 reply; 3+ messages in thread
From: Rodolfo Aramayo @ 2012-12-09 21:59 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 567 bytes --]

Hi,
I have downloaded the org-source file corresponding to:
http://orgmode.org/worg/org-contrib/babel/examples/fontify-src-code-blocks.html
Installed color-theme-leuven.el<https://github.com/fniessen/color-theme-leuven/blob/master/color-theme-leuven.el>
Opened the file in emacs and exported as html
Despite my best efforts I cannot make the file display the pretty color I
see in the web site for the emacs-lisp code block
The emacs-lisp code blocks seems to be properly displayed in emacs (I can
see blus and green fonts) but never in the html file

Ideas?

Thanks

[-- Attachment #2: Type: text/html, Size: 721 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Displaying Pretty fontification of source code blocks
  2012-12-09 21:59 Displaying Pretty fontification of source code blocks Rodolfo Aramayo
@ 2012-12-10  3:33 ` Jambunathan K
  2012-12-10  3:44   ` Rodolfo Aramayo
  0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2012-12-10  3:33 UTC (permalink / raw)
  To: Rodolfo Aramayo; +Cc: emacs-orgmode

Rodolfo Aramayo <raramayo@gmail.com> writes:

> Hi,
> I have downloaded the org-source file corresponding to:
> http://orgmode.org/worg/org-contrib/babel/examples/fontify-src-code-blocks.
> html
> Installed color-theme-leuven.el
> Opened the file in emacs and exported as html
> Despite my best efforts I cannot make the file display the pretty
> color I see in the web site for the emacs-lisp code block
> The emacs-lisp code blocks seems to be properly displayed in emacs (I
> can see blus and green fonts) but never in the html file

Screenshot of your Emacs frame and HTML file please.

I suspect that the problem is with css.  Also tell if you are using your
own CSS for code blocks or the one generated by htmlize.el itself.

There is a bug whereby Emacs default fg/bg (one or both) don't get
passed on to exported HTML file.  This has been around for a long time.
But nobody has complained yet and I am surprised.


> Ideas?
>
> Thanks
>
>

-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Displaying Pretty fontification of source code blocks
  2012-12-10  3:33 ` Jambunathan K
@ 2012-12-10  3:44   ` Rodolfo Aramayo
  0 siblings, 0 replies; 3+ messages in thread
From: Rodolfo Aramayo @ 2012-12-10  3:44 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1277 bytes --]

Here we go...
No I am NOT using my own CSS but the one generated by htmlize.el itself
First picture demo that my emacs is loading clean
Second picture is how I see the file

Thanks

--R


On Sun, Dec 9, 2012 at 9:33 PM, Jambunathan K <kjambunathan@gmail.com>wrote:

> Rodolfo Aramayo <raramayo@gmail.com> writes:
>
> > Hi,
> > I have downloaded the org-source file corresponding to:
> >
> http://orgmode.org/worg/org-contrib/babel/examples/fontify-src-code-blocks
> .
> > html
> > Installed color-theme-leuven.el
> > Opened the file in emacs and exported as html
> > Despite my best efforts I cannot make the file display the pretty
> > color I see in the web site for the emacs-lisp code block
> > The emacs-lisp code blocks seems to be properly displayed in emacs (I
> > can see blus and green fonts) but never in the html file
>
> Screenshot of your Emacs frame and HTML file please.
>
> I suspect that the problem is with css.  Also tell if you are using your
> own CSS for code blocks or the one generated by htmlize.el itself.
>
> There is a bug whereby Emacs default fg/bg (one or both) don't get
> passed on to exported HTML file.  This has been around for a long time.
> But nobody has complained yet and I am surprised.
>
>
> > Ideas?
> >
> > Thanks
> >
> >
>
> --
>

[-- Attachment #1.2: Type: text/html, Size: 1985 bytes --]

[-- Attachment #2: fontify-src-code-blocks.org.html --]
[-- Type: text/html, Size: 6524 bytes --]

[-- Attachment #3: Screen shot 2012-12-09 at 9.39.28 PM.png --]
[-- Type: image/png, Size: 138313 bytes --]

[-- Attachment #4: Screen shot 2012-12-09 at 9.40.42 PM.png --]
[-- Type: image/png, Size: 232932 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-10  3:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-09 21:59 Displaying Pretty fontification of source code blocks Rodolfo Aramayo
2012-12-10  3:33 ` Jambunathan K
2012-12-10  3:44   ` Rodolfo Aramayo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.