Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-07-03 Thread Sebastian Rose
 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)



 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


___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-07-02 Thread Sebastian Rose
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xiao-Yong Jin
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)

 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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
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 xj2...@columbia.edu wrote:

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

___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xiao-Yong Jin
Xin Shi shixin...@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/*
\ * (__
*/\  


___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Nick Dokos
Xin Shi shixin...@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


___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
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.do...@hp.com wrote:

 Xin Shi shixin...@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

___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Vikram S V
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


___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
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 vkr...@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

___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Vikram S V
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


___
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


Re: [Orgmode] Shotcut Icon and PDF problem in the HTML output

2009-06-30 Thread Xin Shi
Hi Vikram,


On Tue, Jun 30, 2009 at 2:17 PM, Vikram S V vkr...@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
___
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