[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

From: Sebastian Rose
Subject: Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output
Date: Thu, 02 Jul 2009 12:44:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Xin Shi <address@hidden> writes:

> Hello Experts,
> I noticed two problems with recent org publishing HTML with js support.
> To make is specific, one can use this page as example:
> http://orgmode.org/Changes.html
> 1.)  The shortcut icon is no longer displayed (the small icon in the address
> bar)

There seems to be a bug in FF. Opera shows the icon, FF hides it after a
short while. I guess this is due to the new handling of links (maybe FF
finds `<link....>' tags if do `document.getElementsByTagName("a")' ??).

> In the HTML, the line is still there:
> <link rel="SHORTCUT ICON" href="/org-mode-unicorn.ico" type="image/x-icon" />
> 2.) Print one webpage into PDF is not working:

The browsers print, what's visible on screen. To print the whole page,
press `m' and `F' (repeatadly) until all the sections are visible.

I agree, this is not very elegant/obvious. We could change the media
type the style sheet is for and use a second stylesheet (or section) for
printing. That would be a good thing, as the TOC is printed on each page
now (which is a waste of ink...).

@media all
      /* Fonts and colors, print and screen */

@media screen
     /* Screen only styles */

@media print
    /* Explicitly show all sections here, no fixed TOC */

Not sure if this will help. I'll better experiement with it a bit before
changing the stylesheets online.

What I could do, is to provide a print function though (switch to plain
view-mode, unfold everything automatically and call `window.print()')

Xin Shi, you keep me busy :)

As you see, I have no quick solutions to these problems - but a weekend
of investigations should make things more clear.

Best wishes,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]