#+STARTUP: align fold nodlcheck hidestars oddeven lognotestate #+TITLE: ORG-INFO.JS: Changes #+AUTHOR: Sebastian Rose #+EMAIL: #+LANGUAGE: en #+INFOJS_OPT: path:org-info.js #+INFOJS_OPT: toc:nil localtoc:t view:info mouse:underline #+INFOJS_OPT: up:http://orgmode.org/worg/ #+INFOJS_OPT: home:http://orgmode.org buttons:nil * 2010-11-24 Benny Simonsen Part 1 * classNames for T.O.C links to highlight the current page in the TOC. * Add hooks. Currently, names of OrgNode's and OrgHtmlManger's members are different in plain and compressed versions of the script (see "sed.txt"). Should we change that for some of them? * 2010-09-01 --- t.TITLE * Make sure the correct heading is used as the =org-html-manager.TITLE= property. * Thanks to tgbit on http://github.com/tgbit for the hint. * 2010-04-24 --- Valid CSS2 IDs * Changed =org_html_manager::SID_REGEX= to match valid CSS-IDs. Dots are not valid in IDs as of CSS 2 (see http://www.w3.org/TR/CSS2/grammar.html). The regexp still supports the `old' style IDs we used to be backward compatible. * =SECNUM_REGEX= was not in use. Removed. * 2010-02-14 --- Title and #sec-1 in plain view, TOC anywhere * Some corrections of indentation and obsolet comments. * Show the title in plain view mode, if showing the first section. * Make the initial scan work, even if the table of contents is somewhere else, but on top of the page. Honor the =[TABLE-OF-CONTENTS]= setting in Org-mode files this way. * Fix for different behaviour of Opera-10 when requesting a page with `#sec-1' jump target (any jump target for a tall section actually). Pressing the reload button caused Opera-10 to scroll the view to the sections heading in info view mode. * 2010-01-11 * Chao Lu was right. The current behaviour of VIEW=content is not what the documentation promises. This is now fixed, finally. To open a section in `...html?VIEW=content' or `...html?VIEW=overview', one has to explicitly request a section like this: `http://orgmode.org/worg/code/org-info-js/index.html?VIEW=content#sec-1' * Tags where not removed from local TOCs (sections with subsections). Fix Regexp and use the right one. * When loading a page with the `?VIEW=...' query parameters, navigating changed the view mode to one hard coded in the
section of the document, in case it were different. This is now fixed. * 2010-02-11 * Inhibit reloading the page on startup. Fixes startup with `?VIEW=overview#sec-1'. * 2009-07-06 * Existing access-keys now use the same keys as the shortcuts do. * When FIXED_TOC, re-focus the last link in the TOC when pressing `i'. * Allow TAB to traverse the TOC. * 2009-07-04 * Jumping TOC. Seems fixed now (hopefully). * Added `W' for printing. For printing, the whole document has to be in plain view mode and expanded. Browsers print what's visible on screen only. * 2009-06-28 Show the version number below the shortcut table. * 2009-06-27 Bugfix for links nested in lists. Thanks to Xin Shi for finding this and sending a testfile. * 2009-06-25 * Fix for start section. I a section was removed and the *.org file was published again, we saw an empty page when browsing to that old location (e.g. =xy.html#sec-11=). Now the first section is shown instead. * 2009-06-22 * *NOTE: now GPL 3* * FIX: go to previous sibling, even if it's the first one. * Removed some more unused stuff and fixed typos (=this.INPUT_FIELD=, =DEBUG=...). * All names of regular expressions end in =_REGEX=. * FIX: Altering the history lead to jumping of the page. * Uppercase names everywehre. I want this to distinguish class fields from functions and temporary variables. Stay YUI compressor friendly when we shorten the names. Needed for the rest of the todays changes. * Replaced =this.= by a local variable where possible. Decreased org-info.js size by 1.8 Kb. * Add a Makefile target for realy small org-info.js. This is not exactly perfect, but decreases the resulting file by about 10 Kb. * Added =hacking.org= to explain what happens here a bit. * Reworked the Docs. Oha, I wonder how noone complained about that... * FIX html tags in local toc. * 2009-06-17 + Manipulate the histories current location. So if one clicks a link to an external file, the browser's `back' button will bring the user back to the last section visited in the file. + If one faces the internal histories end using `b' and `B', he may now go back/forward in the browsers history by repeatedly pressing `b' and `B' respectively. * 2009-04-22 + Choose the human-readable IDs for links by regexp again. + Fix the `g' command. + Fix: still support old section IDs. * 2009-04-21 - Org-mode 6.26 + New way to detect the IDs for sections. The script does not search for '#sec-' anymore. Instead, the new human readable IDs are used as well. To not break the old human readable IDs in anchors inside of headlines, those are still prefered. + org-info.js is now minified without obfuscation. This decreases the filesize by about 40%. * 2009-03-04 Mi + Fixed title. Title was not displayed in info-view-mode. + Title above is now optiona. Append =\_title-above= to your view option, to always leave the title alone: =view:info\_title-above= * 2009-03-03 Di Org-mode v. 6.23, commit a68eb4b1e64cbe6e495fdd2c1eaf8ae597bf8602, introduced a new* :: If you use org-info.js, the text before first headline is now wrapped into a =p= element: :
text
+ *Tag index* :: =C= now shows an index based on tags. This was an [[http://lists.gnu.org/archive/html/emacs-orgmode/2008-07/msg00434.html][idea of Rick Moynihan]]. + *Fixed appearance of 'HELP' link et al* :: I.e. added href attribute instead of onclick. * 2008-08-03 So + *Next and previous sibling* :: Shortcuts: '=N=' and '=P='. * 2008-07-27 So + Close the minibuffer, when reading :: do this, when a link ('next'...) is clicked. + Close help screen on ANY key press :: ...not only if a printable key was pressed. * 2008-07-25 Fr + Broken links for 'l' and 'L' :: Thank's again to Carsten for reporting. + Startup help is now optional :: We have a little 'HELP' link now to click on. * 2008-07-23 Mi + Any key to proceed :: Now it's realy any key that shuts down the minibuffer. + More hardcoded styles :: ...to avoid a border around the input field in the minibuffer and too much padding in the minibuffers =