From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [RFC] Org version of the Org manual Date: Sun, 17 Mar 2013 06:50:18 +0100 Message-ID: <1C07DD18-EA12-4D03-9F12-5E0F0CF7F381@gmail.com> References: <87li9nfi7m.fsf@Rainer.invalid> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:40197) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH6UC-0002aM-FJ for emacs-orgmode@gnu.org; Sun, 17 Mar 2013 01:50:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UH6UA-0005SZ-9W for emacs-orgmode@gnu.org; Sun, 17 Mar 2013 01:50:24 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:39052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UH6U9-0005SV-W5 for emacs-orgmode@gnu.org; Sun, 17 Mar 2013 01:50:22 -0400 Received: by mail-wi0-f172.google.com with SMTP id ez12so1653860wid.5 for ; Sat, 16 Mar 2013 22:50:20 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: Achim Gratz , emacs-orgmode@gnu.org On 17.3.2013, at 02:19, Thomas S. Dye wrote: > Hi Achim, >=20 > Achim Gratz writes: >=20 >> Hi Tom, >>=20 >> I'm playing around with the current version, here is what I have so = far: >>=20 >>=20 >> The arguments to #+attr_texinfo need to lose the double quotes >>=20 >> Index entries in description lists must be separated from their entry = by >> at least one blank line like in the example below, otherwise the = second >> such entry gets indented in the exported .texi file and that somehow >> confuses texinfo for some of them. >>=20 >> - {{{kbd(v d)}}} or short {{{kbd(d)}}}, ~org-agenda-day-view~ :: >>=20 >> {{{kindex(v d)}}} >> {{{kindex(d)}}} >> {{{vindex(org-agenda-span)}}} >>=20 >>=20 >> With these hanges I get the manual exported correctly to all formats. >=20 > Done. Thanks. >=20 > I brought the manual up-to-date and used @@info:@@ for the problem = macro > characters, so it should be completely converted to Org now. I tried the file on github, and export to texinfo fails with the = attached backtrace (exports to other backends as well). I love this idea, so I really want to try. Any ideas what might be = wrong on my side? - Carsten Debugger entered--Lisp error: (error "Unknown marker at 281861") signal(error ("Unknown marker at 281861")) error("Unknown marker at %d" 281861) org-element-text-markup-successor(281883) #[(res) "\302\303\304=08\"! !\207" [res limit intern format = "org-element-%s-successor"] 4](text-markup) mapcar(#[(res) "\302\303\304=08\"! !\207" [res limit intern format = "org-element-%s-successor"] 4] (export-snippet footnote-reference = inline-babel-call inline-src-block latex-or-entity line-break link macro = radio-target statistics-cookie sub/superscript target text-markup = timestamp)) org-element--get-next-object-candidates(281883 (export-snippet = footnote-reference inline-babel-call inline-src-block latex-or-entity = line-break link macro radio-target statistics-cookie sub/superscript = target text-markup timestamp) initial) byte-code("\306=08 = \n#\211=12\203\230=01\307\310\311\312\313\n\"\"\n\"\211=1BA\fV\203$=00\314= \315 \"\210\202\224=01=0BAb\210\316\317\320=0B@\"! = =1E=1D\321=0E=1D=1E=1E=1E=1F=0E=1E;\203I=00\322\323=0E=1F=0E=1E#\202Q=00\3= 24=0E=1EA@=0E=1F\"*=1E = \325=0E=1D=1E=1E=1E=1F=0E=1E;\203k=00\322\323=0E=1F=0E=1E#\202s=00\324=0E=1E= A@=0E=1F\"*=1E!\326=0E=1D=1E=1E=1E=1F=0E=1E;\203\215=00\322\323=0E=1F=0E=1E= #\202\225=00\324=0E=1EA@=0E=1F\"*\211=1E\"\fX\203\340=00=0E\"=08U\204\254=00= =0E\"b\210\202\223=01\314\315=0E=1D\327 = =1E#=1E=1F\211=1E=1E;\203\311=00\330=0E=1E\331=0E=1F=0E#$\202\332=00=0E=1E= A\332=0E=1EA@=0E=1F=0E##\240\210=0E=1E+\"\210\202\223=01=0E \203\363=00=0E= \fV\204\363=00=0E!\fW\203'=01\314\315=0E=1D\327 = =1E#=1E=1F\211=1E=1E;\203=10=01\330=0E=1E\331=0E=1F=0E#$\202!=01=0E=1EA\33= 2=0E=1EA@=0E=1F=0E##\240\210=0E=1E+\"\210\202\223=01=0E b\210=0E=1D\327 = =1E#=1E=1F\211=1E=1E;\203F=01\330=0E=1E\331=0E=1F=0E#$\202W=01=0E=1EA\332=0E= =1EA@=0E=1F=0E##\240\210=0E=1E+\210=0E=1D=15=0E=1D\211=1E=1E9\203j=01=0E=1E= \202\210=01=0E=1E\211=1E=1E:\204}=01=0E=1E;\205\207=01\333\202\207=01=0E=1E= @9\205\207=01=0E=1E@)=0E$\236A)=11\334=12=0E!=10,)\202=00=00 \207" [end restriction candidates closest-cand origin parent = org-element--get-next-object-candidates rassq apply min mapcar cdr throw = exit intern format "org-element-%s-parser" :contents-begin = get-text-property 0 plist-get :contents-end :end :parent org-add-props = nil plist-put plain-text initial object element property cbeg cend = obj-end value org-element-object-restrictions] 8) org-element-context() org-macro-replace-all((("modification-time" . "(eval = (format-time-string \"$1\" '(20805 22656)))") ("input-file" . "om.org") = ("time" . "(eval (format-time-string \"$1\"))") ("property" . "(eval = (org-entry-get nil \"$1\" 'selective))") ("page" . "@@info:@page@@") = ("result" . "@@info:@result{}@@") ("enddefopt" . "@@info:@end defopt@@") = ("defopt" . "@@info:@defopt@@") ("enddefun" . "@@info:@end defun@@") = ("defun" . "@@info:@defun@@") ("noindent" . "@@info:@noindent@@") = ("kbdkeys" . "{{{kbd($1{{{key($2)}}}{{{key($3)}}})}}}") ("ksksksksk" . = "{{{kbd($1 {{{key($2)}}} $3 {{{key($4)}}} {{{key($5)}}})}}}") ("ksksksk" = . "{{{kbd($1 {{{key($2)}}} $3 {{{key($4)}}})}}}") ("kbdspckey" . = "{{{kbd($1 {{{key($2)}}})}}}") ("kbdkey" . "{{{kbd($1{{{key($2)}}})}}}") = ("printindex" . "@@info:@printindex $1@@") ("value" . = "{{{markup(value,$1)}}}") ("cite" . "{{{markup(cite,$1)}}}") ("var" . = "{{{markup(var,$1)}}}") ("file" . "{{{markup(file,$1)}}}") ("command" . = "{{{markup(command,$1)}}}") ("samp" . "{{{markup(samp,$1)}}}") ("key" . = "{{{markup(key,$1)}}}") ("kbd" . "{{{markup(kbd,$1)}}}") ("markup" . = "@@info:@$1{@@$2@@info:}@@") ("kindex" . "{{{index(k,$1)}}}") ("vindex" = . "{{{index(v,$1)}}}") ("findex" . "{{{index(f,$1)}}}") ("pindex" . = "{{{index(p,$1)}}}") ("cindex" . "{{{index(c,$1)}}}") ("index" . = "@@info:@$1index $2@@"))) org-export-as(texinfo nil nil nil nil) org-export-to-file(texinfo "./om.texi" nil nil nil nil) org-texinfo-export-to-texinfo(nil nil nil nil) org-export-dispatch(nil) call-interactively(org-export-dispatch nil nil) >=20 > I want to finish editing the Installation instructions, then tag the > commit to indicate that it is "current" with org.texi. >=20 > Then, unless you think there is more to fix with the conversion, I'll > get down to documenting Nicolas' work according to the instructions he > gave me months ago.=20 >=20 > All the best, > Tom >=20 > --=20 > Thomas S. Dye > http://www.tsdye.com >=20