[-- Attachment #1.1: Type: text/plain, Size: 734 bytes --] 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) 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: For example, go to page: http://orgmode.org/Changes.html#sec-4.3.5 In firefox (3.0.11), Ctrl+p (File->Print ) into PDF, then open with Adobe reader gives: Adobe Reader: There was an error processing a page. There was a problem reading this document(109). It might due to the org-info.js ... Thanks! Xin [-- Attachment #1.2: Type: text/html, Size: 1301 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
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) > > In the HTML, the line is still there: > > <link rel="SHORTCUT ICON" href="/org-mode-unicorn.ico" type="image/x-icon" /> I didn't notice that. But, yes, it is missing the icon. > > 2.) Print one webpage into PDF is not working: > > For example, go to page: > http://orgmode.org/Changes.html#sec-4.3.5 > > In firefox (3.0.11), Ctrl+p (File->Print ) into PDF, then open with Adobe > reader gives: > Adobe Reader: There was an error processing a page. There was a problem > reading this document(109). I can't reproduce this. Is your browser work for other sites? > > It might due to the org-info.js ... > > Thanks! > > Xin > -- c/* __o/* <\ * (__ */\ <
[-- Attachment #1.1: Type: text/plain, Size: 1554 bytes --] Hi Xiao-Yong, Yes. My broser works on the same page a few weeks ago. I tested on other sites, it is OK. I also tried on the orgmode homepage, same error. Thanks! Xin On Tue, Jun 30, 2009 at 9:43 AM, Xiao-Yong Jin <xj2106@columbia.edu> wrote: > 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) > > > > In the HTML, the line is still there: > > > > <link rel="SHORTCUT ICON" href="/org-mode-unicorn.ico" > type="image/x-icon" /> > > I didn't notice that. But, yes, it is missing the icon. > > > > > 2.) Print one webpage into PDF is not working: > > > > For example, go to page: > > http://orgmode.org/Changes.html#sec-4.3.5 > > > > In firefox (3.0.11), Ctrl+p (File->Print ) into PDF, then open with Adobe > > reader gives: > > Adobe Reader: There was an error processing a page. There was a problem > > reading this document(109). > > I can't reproduce this. Is your browser work for other > sites? > > > > > It might due to the org-info.js ... > > > > Thanks! > > > > Xin > > > -- > c/* __o/* > <\ * (__ > */\ < > > > _______________________________________________ > 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 > [-- Attachment #1.2: Type: text/html, Size: 2526 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
Xin Shi <shixin111@gmail.com> writes:
> Hi Xiao-Yong,
>
> Yes. My broser works on the same page a few weeks ago.
>
> I tested on other sites, it is OK. I also tried on the orgmode homepage, same
> error.
It works for me in firefox, which is compiled and
distributed by archlinux.
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11)
Gecko/2009061314 GranParadiso/3.0.11
Let's see if other people have the same problem as you do.
Xiao-Yong
--
c/* __o/*
<\ * (__
*/\ <
Xin Shi <shixin111@gmail.com> wrote:
> Yes. My broser works on the same page a few weeks ago.
>
> I tested on other sites, it is OK. I also tried on the orgmode homepage,
> same error.
>
I see neither of the problems you see: the icon is in the proper place and
the PDF of the org home page is readable by both xpdf and acroread. But note
that Carsten fixed something having to do with (I'm guessing) with org-info.js,
that was causing the navigation sidebar of the manual to be absent. That may
have fixed the problems that you see, too? In any case, it's worth rechecking.
Thanks,
Nick
[-- Attachment #1.1: Type: text/plain, Size: 853 bytes --] Hi Nick, I tested on another machine with Debian 5.0 /Iceweasel 3.0.6. It can produce the PDF file but the icon is still missing. Xin On Tue, Jun 30, 2009 at 10:53 AM, Nick Dokos <nicholas.dokos@hp.com> wrote: > Xin Shi <shixin111@gmail.com> wrote: > > > > Yes. My broser works on the same page a few weeks ago. > > > > I tested on other sites, it is OK. I also tried on the orgmode homepage, > > same error. > > > > I see neither of the problems you see: the icon is in the proper place and > the PDF of the org home page is readable by both xpdf and acroread. But > note > that Carsten fixed something having to do with (I'm guessing) with > org-info.js, > that was causing the navigation sidebar of the manual to be absent. That > may > have fixed the problems that you see, too? In any case, it's worth > rechecking. > > > Thanks, > Nick > [-- Attachment #1.2: Type: text/html, Size: 1451 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
Hi
> I see neither of the problems you see: the icon is in the proper place and
> the PDF of the org home page is readable by both xpdf and acroread. But note
> that Carsten fixed something having to do with (I'm guessing) with org-info.js,
> that was causing the navigation sidebar of the manual to be absent. That may
> have fixed the problems that you see, too? In any case, it's worth rechecking.
The icon _is_ missing in the online version of the manual. Actually,
there seems to be no html to display the icon or link it.
The home page is fine. Printing to a PDF file seems to be working for me.
Vikram
[-- Attachment #1.1: Type: text/plain, Size: 1015 bytes --] Hi Vikram, I think the manual is a different story than the other HTML pages generated by org-mode. From the source of the manual: http://orgmode.org/manual/index.html One can see that it is generated by: makeinfo, not org-mode. <meta name="generator" content="makeinfo 4.13"> Xin On Tue, Jun 30, 2009 at 1:58 PM, Vikram S V <vkrmsv@gmail.com> wrote: > Hi > > > I see neither of the problems you see: the icon is in the proper place > and > > the PDF of the org home page is readable by both xpdf and acroread. But > note > > that Carsten fixed something having to do with (I'm guessing) with > org-info.js, > > that was causing the navigation sidebar of the manual to be absent. That > may > > have fixed the problems that you see, too? In any case, it's worth > rechecking. > > The icon _is_ missing in the online version of the manual. Actually, > there seems to be no html to display the icon or link it. > The home page is fine. Printing to a PDF file seems to be working for me. > > > > Vikram > [-- Attachment #1.2: Type: text/html, Size: 1912 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
Hi Xin,
> I think the manual is a different story than the other HTML pages generated
> by org-mode.
I see. Thank you for the pointer. As you can see (?), the icon seems
to be missing in the manual pages too.
I am no expert at org-mode, my naive guess is that, probably there is
some common "source" to this problem of missing icons.
Vikram
[-- Attachment #1.1: Type: text/plain, Size: 865 bytes --] Hi Vikram, On Tue, Jun 30, 2009 at 2:17 PM, Vikram S V <vkrmsv@gmail.com> wrote: > Hi Xin, > > > I think the manual is a different story than the other HTML pages > generated > > by org-mode. > I see. Thank you for the pointer. As you can see (?), the icon seems > to be missing in the manual pages too. No problem. You're right. In the manual case, there is no such line in the HTML. > > I am no expert at org-mode, my naive guess is that, probably there is > some common "source" to this problem of missing icons. > However, in the Changes.html, the HTML file has it as I pointed in my first email: <link rel="icon" href="/org-mode-unicorn.ico" type="image/ico" /> When loading that page: http://orgmode.org/Changes.html, if one looks carefully, one can see the icon shows up in the address bar very quickly and then disappear. :) > > Vikram > Xin [-- Attachment #1.2: Type: text/html, Size: 1990 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
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, Sebastian
> 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) >> In the HTML, the line is still there: >> >> <link rel="SHORTCUT ICON" href="/org-mode-unicorn.ico" type="image/x-icon" /> What's needed is: <link .....></link> instead of <link .... /> It's strange, but browsers are that way :) Sebastian