Xin Shi <shixin...@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, Sebastian _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode