* Shotcut Icon and PDF problem in the HTML output
@ 2009-06-30 13:24 Xin Shi
2009-06-30 13:43 ` Xiao-Yong Jin
2009-07-02 10:44 ` Sebastian Rose
0 siblings, 2 replies; 12+ messages in thread
From: Xin Shi @ 2009-06-30 13:24 UTC (permalink / raw)
To: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
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-07-02 10:44 ` Sebastian Rose
1 sibling, 1 reply; 12+ messages in thread
From: Xiao-Yong Jin @ 2009-06-30 13:43 UTC (permalink / raw)
To: 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/*
<\ * (__
*/\ <
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
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
0 siblings, 2 replies; 12+ messages in thread
From: Xin Shi @ 2009-06-30 14:03 UTC (permalink / raw)
To: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
2009-06-30 14:03 ` Xin Shi
@ 2009-06-30 14:22 ` Xiao-Yong Jin
2009-06-30 14:53 ` Nick Dokos
1 sibling, 0 replies; 12+ messages in thread
From: Xiao-Yong Jin @ 2009-06-30 14:22 UTC (permalink / raw)
To: 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/*
<\ * (__
*/\ <
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
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
1 sibling, 2 replies; 12+ messages in thread
From: Nick Dokos @ 2009-06-30 14:53 UTC (permalink / raw)
To: Xin Shi; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
2009-06-30 14:53 ` Nick Dokos
@ 2009-06-30 17:22 ` Xin Shi
2009-06-30 17:58 ` Vikram S V
1 sibling, 0 replies; 12+ messages in thread
From: Xin Shi @ 2009-06-30 17:22 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
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
1 sibling, 1 reply; 12+ messages in thread
From: Vikram S V @ 2009-06-30 17:58 UTC (permalink / raw)
To: nicholas.dokos; +Cc: 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
2009-06-30 17:58 ` Vikram S V
@ 2009-06-30 18:07 ` Xin Shi
2009-06-30 18:17 ` Vikram S V
0 siblings, 1 reply; 12+ messages in thread
From: Xin Shi @ 2009-06-30 18:07 UTC (permalink / raw)
To: Vikram S V; +Cc: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
2009-06-30 18:07 ` Xin Shi
@ 2009-06-30 18:17 ` Vikram S V
2009-06-30 18:37 ` Xin Shi
0 siblings, 1 reply; 12+ messages in thread
From: Vikram S V @ 2009-06-30 18:17 UTC (permalink / raw)
To: Xin Shi; +Cc: 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
2009-06-30 18:17 ` Vikram S V
@ 2009-06-30 18:37 ` Xin Shi
0 siblings, 0 replies; 12+ messages in thread
From: Xin Shi @ 2009-06-30 18:37 UTC (permalink / raw)
To: Vikram S V; +Cc: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
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-07-02 10:44 ` Sebastian Rose
2009-07-03 20:45 ` Sebastian Rose
1 sibling, 1 reply; 12+ messages in thread
From: Sebastian Rose @ 2009-07-02 10:44 UTC (permalink / raw)
To: Xin Shi; +Cc: 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Shotcut Icon and PDF problem in the HTML output
2009-07-02 10:44 ` Sebastian Rose
@ 2009-07-03 20:45 ` Sebastian Rose
0 siblings, 0 replies; 12+ messages in thread
From: Sebastian Rose @ 2009-07-03 20:45 UTC (permalink / raw)
To: Xin Shi; +Cc: emacs-orgmode, carsten.dominik
> 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
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-07-03 20:41 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2009-07-03 20:45 ` Sebastian Rose
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).