emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Xin Shi <shixin111@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Shotcut Icon and PDF problem in the HTML output
Date: Thu, 02 Jul 2009 12:44:42 +0200	[thread overview]
Message-ID: <87eisz9xet.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <5236d6f90906300624r461bd6d6k6b7114aa366875f8@mail.gmail.com> (Xin Shi's message of "Tue, 30 Jun 2009 09:24:45 -0400")

Xin Shi <shixin111@gmail.com> 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,


  parent reply	other threads:[~2009-07-02 10:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-30 13:24 Shotcut Icon and PDF problem in the HTML output Xin Shi
2009-06-30 13:43 ` Xiao-Yong Jin
2009-06-30 14:03   ` Xin Shi
2009-06-30 14:22     ` Xiao-Yong Jin
2009-06-30 14:53     ` Nick Dokos
2009-06-30 17:22       ` Xin Shi
2009-06-30 17:58       ` Vikram S V
2009-06-30 18:07         ` Xin Shi
2009-06-30 18:17           ` Vikram S V
2009-06-30 18:37             ` Xin Shi
2009-07-02 10:44 ` Sebastian Rose [this message]
2009-07-03 20:45   ` Sebastian Rose

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:

  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=87eisz9xet.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=shixin111@gmail.com \


* 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


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).