Re: [O] Is Worg publishing?
Hi Tom, t...@tsdye.com (Thomas S. Dye) writes: I pushed some small additions to Worg yesterday, but they aren't showing on the web page. I just pushed a test change which shows fine, and I see yours is here: http://orgmode.org/worg/org-contrib/babel/languages.html (But I have noticed some hiccups too with previous changes.) Best, -- Bastien
Re: [O] Is Worg publishing?
Hi Bastien, Bastien b...@altern.org writes: Hi Tom, t...@tsdye.com (Thomas S. Dye) writes: I pushed some small additions to Worg yesterday, but they aren't showing on the web page. I just pushed a test change which shows fine, and I see yours is here: http://orgmode.org/worg/org-contrib/babel/languages.html (But I have noticed some hiccups too with previous changes.) There it is. Thanks. Nice to see the unicorn back to original colors :) All the best, Tom -- T.S. Dye Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
[O] Is Worg publishing?
Aloha all, I pushed some small additions to Worg yesterday, but they aren't showing on the web page. All the best, Tom -- T.S. Dye Colleagues, Archaeologists 735 Bishop St, Suite 315, Honolulu, HI 96813 Tel: 808-529-0866, Fax: 808-529-0884 http://www.tsdye.com
[O] Future Worg publishing failure :)
org-glossary.org contains the following text at one point: ... The number of days is 14. Current org code takes the 14. as an item in a numbered list. When exporting to HTML, this causes an error in org-html-export-list-line - hence the subject line. It's not a problem right now but it will be when orgmode.org gets the updated version. I reformatted the line to avoid the awkward newline, so the future publishing failure will not happen. I'll let Nicolas worry about what should be done about the error. Nick Org-mode version 7.5 (release_7.5.77.g74268.dirty) Here's the backtrace of the error: Debugger entered--Lisp error: (args-out-of-range #(14. 0 3 (fontified t list-item 11895 list-struct ((11895 0 14. nil nil nil 11899)) list-prevs ((11895)) list-context nil)) 9 10) match-string(3 #(14. 0 3 (fontified t list-item 11895 list-struct ((11895 0 14. nil nil nil 11899)) list-prevs ((11895)) list-context nil))) (let* ((checkbox (match-string 3 line)) (desc-tag (or (match-string 4 line) ???)) (body (or (match-string 5 line) )) (list-beg (org-list-get-list-begin pos struct prevs)) (firstp (= list-beg pos)) (type (funcall get-type list-beg struct prevs)) (counter (let ((count-tmp (org-list-get-counter pos struct))) (cond ((not count-tmp) nil) ((string-match [A-Za-z] count-tmp) (- (string-to-char ...) 64)) ((string-match [0-9]+ count-tmp) count-tmp) (when firstp (org-close-par-maybe) (insert (format %sl\n type))) (insert (cond ((equal type d) (format dt%s/dtdd desc-tag)) ((and (equal type o) counter) (format li value=\%s\ counter)) (t li))) (when checkbox (setq body (concat (cond ((string-match X checkbox) code[X]/code ) ((string-match checkbox) code[nbsp;]/code ) (t code[-]/code )) body))) body) (cond ((assq pos struct) (string-match (concat [ ]*\\(\\S-+[ ]+\\) \\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)? \\(?:\\(\\[[ X-]\\]\\)[]+\\)? \\(?:\\(.*\\)[ ]+::[ ]+\\)? \\(.*\\)) line) (let* ((checkbox (match-string 3 line)) (desc-tag (or (match-string 4 line) ???)) (body (or (match-string 5 line) )) (list-beg (org-list-get-list-begin pos struct prevs)) (firstp (= list-beg pos)) (type (funcall get-type list-beg struct prevs)) (counter (let ((count-tmp ...)) (cond (... nil) (... ...) (... count-tmp) (when firstp (org-close-par-maybe) (insert (format %sl\n type))) (insert (cond ((equal type d) (format dt%s/dtdd desc-tag)) ((and (equal type o) counter) (format li value=\%s\ counter)) (t li))) (when checkbox (setq body (concat (cond (... code[X]/code ) (... code[nbsp;]/code ) (t code[-]/code )) body))) body)) ((equal ORG-LIST-END-MARKER line) (throw (quote nextline) nil)) (t line)) (let* ((get-type (function (lambda (pos struct prevs) (let ((type ...)) (cond (... o) (... d) (t u)) (get-closings (function (lambda (pos) (let (out) (catch (quote exit) (mapc ... struct)) out) (mapc (lambda (e) (let* ((lastp (= (org-list-get-last-item e struct prevs) e)) (first-item (org-list-get-list-begin e struct prevs)) (type (funcall get-type first-item struct prevs))) (org-close-par-maybe) (org-close-li type) (when lastp (insert (format /%sl\n type)) (org-open-par (funcall get-closings pos)) (cond ((assq pos struct) (string-match (concat [ ]*\\(\\S-+[ ]+\\) \\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\]\\)? \\(?:\\(\\[[ X-]\\]\\)[]+\\)? \\(?:\\(.*\\)[ ]+::[ ]+\\)? \\(.*\\)) line) (let* ((checkbox (match-string 3 line)) (desc-tag (or (match-string 4 line) ???)) (body (or (match-string 5 line) )) (list-beg (org-list-get-list-begin pos struct prevs)) (firstp (= list-beg pos)) (type (funcall get-type list-beg struct prevs)) ( counter (let (...) (cond ... ... ... (when firstp (org-close-par-maybe) (insert (format %sl\n type))) (insert (cond ((equal type d) (format dt%s/dtdd desc-tag)) ((and ... counter) (format li value=\%s\ counter)) (t li))) (when checkbox (setq body (concat (cond ... ... ...) body))) body)) ((equal ORG-LIST-END-MARKER line) (throw (quote nextline) nil)) (t line))) org-html-export-list-line(#(14. 0 3 (fontified t list-item 11895 list-struct ((11895 0 14. nil nil nil 11899)) list-prevs ((11895)) list-context nil)) 11895 ((11895 0 14. nil nil nil 11899)) ((11895))) (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line))) (progn (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line (if (get-text-property 0 (quote list-item) line) (progn (setq line (org-html-export-list-line line (get-text-property 0 (quote list-item) line) (get-text-property 0 (quote list-struct) line) (get-text-property 0 (quote list-prevs) line) (when (get-text-property 0 (quote list-item) line) (setq line (org-html-export-list-line
Re: [O] Future Worg publishing failure :)
Hi Nick, Nick Dokos nicholas.do...@hp.com writes: Current org code takes the 14. as an item in a numbered list. When exporting to HTML, this causes an error in org-html-export-list-line - hence the subject line. It's not a problem right now but it will be when orgmode.org gets the updated version. I reformatted the line to avoid the awkward newline, so the future publishing failure will not happen. Thanks for that! I'll let Nicolas worry about what should be done about the error. Let's not leave Nicolas alone here :) I'll take a look myself into it over the week-end. Best, -- Bastien