emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Re: Paging HTML export by script -- preview


From: Sebastian Rose
Subject: Re: [Orgmode] Re: Paging HTML export by script -- preview
Date: Wed, 12 Mar 2008 11:36:46 +0100
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)

Rainer Stengele schrieb:
Dear Sebastian,

at the moment I can't see anything than a help line at the top of the page in K-Meleon, Firefox, SeaMonkey or Internet Explorer 7. The contents - which I could see yesterday - is shown for a second and then disappearing.



Yes, my fault - sorry.

Wow K-Meleon - I'll have google that one :-)

Bastien was so kind to update the script several times for me now. The current version should at least show something again. The code for the 'minibuffer' is, as is the rest, very experimental :) - the reaction on first input is very delayed somehow and there are now messages yet (like 'already the first/last page' ...)

And the movement works mainly for the info view mode now, but I will add more later (weekend maybe) when the basic keyboard code is working better. The aim is to support single key navigation AND multikey commands/filters for creating sparse trees, todo trees and maybe in the far future a column view even. org-export-html will by then replace all that ical stuff ;-D

Since I changed the whole thing very much yesterday, the most of the docs is obsolete now.

Please see the source of of the HTML file for usage and read the new section 'ChangeLog' for details.

One more to say:

The current version works with a new XHTML structure to better support scripting and traversing the DOM in general. Carsten was so nice to rewrite the HTML-export to have produce a first draft of this 'future version' of HTML-export and send it here. The new folding is entirely based on that new structure.

It now needs some thinking about the UI of the script. The folding in combination with keys and view toggling espacially (maybe unfold the current section when toggling from info to 'plain' view and scroll the window to that point as a start).

Any ideas about that are very much appreciated.


Regards,

    Sebastian


rainer

Sebastian Rose schrieb:
Dear reader,


have you ever dreamed of seeing an HTML exported org file in info view mode :-P ??? Wonder what that is? No?

Then you really should visit

 http://www.legito.net/org-info-js/

I somehow managed to sqeeze a lot of meaningless and completely wrong bunch of digits and chars in on horrible file, copy protected the code by additional hard shaking, named it org-info.js and after all this is what came out of it.

This cruel hack somehow works any way and is meant as an appetizer for more of this sort.

Bastien Guerry was so kind to give this unfinished durty piece work a place on his otherwise clean an polished site.

Visit the URL and play around there a little bit. Dropping a note here if your browser is daring to play this script and sloped enough to display it's results in a human readable way, so we can add his name AND version to hall of fame of supported browsers.

You should be able to do part of the navigation by using the accesskey feature of current browsers (i.e. in Opera prefix each of the keys by SHIFT-ESC):

  'n' - next            (info view mode)
  'p' - previous        (info view mode)
  'i' - go to the index (info view mode)
  't' - toggle view     (always)


The code currently gets completely reworked to own up all the promisses of it's documentation.


Since the accesskeys in some current webbrowsers are for disabled people (a third hand or even a 6th finger will do to press all those keys at once), I'd appreciate a good idea (or some code) to get arround these accesskey thing (preferably without a 30 code lines browser detection) to be able to move around the file with idealy one five fingered hand. I could imagine an invisible textfield grapping the focus if lost and using standard 'onkeyup' or something. If this works, it works in most browsers I think. My hope is, that this way we could even use the famous standard emacs accesskey C-x M-c butterfly :-D (which is a mega-accesskey actualy).



I have to close now, and start to do the ever lasting code clean up.



Regards,

    Sebastian


------------------------------------------------------------------------

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Attachment: sebastian_rose.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]