From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Shotcut Icon and PDF problem in the HTML output Date: Thu, 02 Jul 2009 12:44:42 +0200 Message-ID: <87eisz9xet.fsf@kassiopeya.MSHEIMNETZ> References: <5236d6f90906300624r461bd6d6k6b7114aa366875f8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMJig-0003kZ-Eb for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 06:40:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMJib-0003gS-Oj for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 06:40:45 -0400 Received: from [199.232.76.173] (port=35939 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMJib-0003gP-Ae for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 06:40:41 -0400 Received: from mail.gmx.net ([213.165.64.20]:51719) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MMJia-0001Pj-O2 for emacs-orgmode@gnu.org; Thu, 02 Jul 2009 06:40:41 -0400 In-Reply-To: <5236d6f90906300624r461bd6d6k6b7114aa366875f8@mail.gmail.com> (Xin Shi's message of "Tue, 30 Jun 2009 09:24:45 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xin Shi Cc: emacs-orgmode Xin Shi 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 `' tags if do `document.getElementsByTagName("a")' ??). > In the HTML, the line is still there: > > > > 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, Sebastian