From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Tyree Subject: Re: Bug: Impossible to have right bracket in footnotes [7.01trans] Date: Thu, 2 Sep 2010 20:04:57 +1000 Message-ID: References: <4C7CBF7C.5060904@no8wireless.co.nz> <1D6BEB21-B559-469F-996D-F50C3CB0E31E@gmail.com> <20100901081903.613ca266.alantyree@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0740025655==" Return-path: Received: from [140.186.70.92] (port=56035 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Or6fF-000628-5t for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Or6fD-0002Ms-BF for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:05:00 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:62119) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or6fD-0002Ma-6B for emacs-orgmode@gnu.org; Thu, 02 Sep 2010 06:04:59 -0400 Received: by qwf7 with SMTP id 7so500620qwf.0 for ; Thu, 02 Sep 2010 03:04:58 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Aidan Gauland --===============0740025655== Content-Type: multipart/alternative; boundary=0015175ccf724aa096048f43f2a2 --0015175ccf724aa096048f43f2a2 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Sep 2, 2010 at 6:15 PM, Carsten Dominik wrote: > > On Sep 1, 2010, at 12:19 AM, Alan L Tyree wrote: > > On Tue, 31 Aug 2010 14:09:58 +0200 >> Carsten Dominik wrote: >> >> Hi Aidan, >>> >>> unfortunately this is difficult to fix in a good way. >>> I do want to go back to footnotes, because I think there are many >>> things that do not yet work satisfactorily. And then I also hope to >>> address the issue you raised. For the time being, unfortunately, I >>> do not have a solution for you. >>> >> >> I also have problems with footnotes. Jan Boecker kindly devised a >> work-around using non-printing spaces which is OK, but what I would like >> is: >> >> Disable footnotes like [2010], but keep footnotes like [fn:2010] >> > > Also on my list of things to fix when I get there.... > Carsten, Very low priority as far as I am concerned. Be nice, but it is hardly a deal breaker. Thanks for great software! Cheers, Alan > > - Carsten > > > >> The reason is that I write legal texts that have references to case law >> that look like: Marreco v Richardson [1908] 2 KB 584. The dates in >> square brackets are an essential part of the reference. >> >> f:nil in the Options seems to disable all footnotes rather than just >> the [2010] type. The documentation is slightly misleading on this. >> Under "Export options" it says: >> >> f: turn on/off footnotes like this[1]. >> >> I seem to be living more and more in org-mode. Thanks for such great >> software! >> >> Alan >> >> >> >>> - Carsten >>> >>> On Aug 31, 2010, at 10:38 AM, Aidan Gauland wrote: >>> >>> It is impossible to have closing brackets in a footnote, because >>>> they are treated as the closing bracket for the foot note. >>>> Example... >>>> >>>> * A heading >>>> This is a broken footnote.[fn:: Some book at [42-24].] >>>> >>>> This will export to (as ASCII, for example)... >>>> org-fn-bug-example >>>> ================== >>>> >>>> Author: Aidan Gauland >>>> Date: 2010-08-31 20:33:14 NZST >>>> >>>> >>>> Table of Contents >>>> ================= >>>> 1 A heading >>>> >>>> >>>> 1 A heading >>>> ~~~~~~~~~~~~ >>>> This is a broken footnote.[1].] >>>> >>>> This will export to (as ASCII, for example)... >>>> >>>> [1] Some book at [42-24 >>>> >>>> This is how I am required to cite books for my academic essays, so >>>> this >>>> is a pretty serious bug for me (and no doubt other students, as >>>> well). >>>> >>>> Regards, >>>> Aidan Gauland >>>> >>>> Emacs : GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+ >>>> Version 2.20.1) >>>> of 2010-08-29 on dimension8 >>>> Package: Org-mode version 7.01trans >>>> >>>> current state: >>>> ============== >>>> (setq >>>> org-export-latex-after-initial-vars-hook >>>> '(org-beamer-after-initial- vars) >>>> org-agenda-files '("~/uc-files/uc-work.org") >>>> org-agenda-include-diary t >>>> org-completion-use-iswitchb t >>>> org-completion-use-ido t >>>> org-metaup-hook '(org-babel-load-in-session-maybe) >>>> org-after-todo-state-change-hook '(org-clock-out-if-current) >>>> org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) >>>> org-export-latex-format-toc-function 'org-export-latex-format-toc- >>>> default >>>> org-export-preprocess-hook '(org-export-blocks-preprocess) >>>> org-tab-first-hook '(org-hide-block-toggle-maybe >>>> org-babel-hide-result-toggle-maybe) >>>> org-src-mode-hook '(org-src-babel-configure-edit-buffer >>>> org-src-mode-configure-edit-buffer) >>>> org-confirm-shell-link-function 'yes-or-no-p >>>> org-export-first-hook '(org-beamer-initialize-open-trackers) >>>> org-agenda-before-write-hook '(org-agenda-add-entry-text) >>>> org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide- >>>> drawers >>>> org-cycle-show-empty-lines >>>> >>>> org-optimize-window-after-visibility-change) >>>> org-export-preprocess-before-normalizing-links-hook >>>> '(org-remove-file-link-modifiers) >>>> org-mode-hook '(#[nil "\300\301\302\303\304$\207" >>>> >>>> [org-add-hook >>>> change-major-mode-hook org-show-block-all append local] 5] >>>> #[nil >>>> #"\300 >>>> #\301 >>>> #\302 >>>> #\303 >>>> #\304 >>>> #$ >>>> #\207" >>>> >>>> [org-add-hook >>>> change-major-mode-hook org-babel-show-result- all >>>> append local] 5] >>>> >>>> org-babel-result-hide-spec >>>> org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook >>>> '(org-babel-hash-at-point org-babel-execute- safely-maybe) >>>> org-confirm-elisp-link-function 'yes-or-no-p >>>> org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src >>>> org-babel-exp-inline-src-blocks)) >>>> org-occur-hook '(org-first-headline-recenter) >>>> org-outline-path-complete-in-steps nil >>>> org-export-preprocess-before-selecting-backend-code-hook >>>> '(org-beamer-select-beamer-code) >>>> org-export-latex-final-hook '(org-beamer-amend-header >>>> org-beamer-fix- toc >>>> org-beamer-auto-fragile-frames >>>> >>>> >>>> org-beamer-place-default-actions-for-lists) >>>> org-metadown-hook '(org-babel-pop-to-session-maybe) >>>> org-export-blocks '((src org-babel-exp-src-blocks nil) (comment >>>> org-export-blocks-format-comment t) >>>> >>>> (ditaa >>>> org-export-blocks-format-ditaa nil) (dot >>>> org-export-blocks-format-dot nil)) ) >>>> >>>> _______________________________________________ >>>> Emacs-orgmode mailing list >>>> Please use `Reply All' to send replies to the list. >>>> Emacs-orgmode@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>>> >>> >>> - Carsten >>> >>> >>> >>> >>> _______________________________________________ >>> Emacs-orgmode mailing list >>> Please use `Reply All' to send replies to the list. >>> Emacs-orgmode@gnu.org >>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >>> >>> >> >> -- >> Alan L Tyree http://www2.austlii.edu.au/~alan >> Tel: 04 2748 6206 >> >> > - Carsten > > > > -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 --0015175ccf724aa096048f43f2a2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Thu, Sep 2, 2010 at 6:15 PM, Carsten = Dominik <= carsten.dominik@gmail.com> wrote:

On Sep 1, 2010, at 12:19 AM, Alan L Tyree wrote:

On Tue, 31 Aug 2010 14:09:58 +0200
Carsten Dominik <carsten.dominik@gmail.com> wrote:

Hi Aidan,

unfortunately this is difficult to fix in a good way.
I do want to go back to footnotes, because I think there are many
things that do not yet work satisfactorily. =A0And then I also hope to
address the issue you raised. =A0For the time being, unfortunately, I
do not have a solution for you.

I also have problems with footnotes. Jan Boecker kindly devised a
work-around using non-printing spaces which is OK, but what I would like is:

Disable footnotes like [2010], but keep footnotes like [fn:2010]

Also on my list of things to fix when I get there....
= Carsten,
Very low priority as far as I am concerned. Be nice, but it is = hardly a deal breaker.

Thanks for great software!

Cheers,
Alan
=A0

- Carsten



The reason is that I write legal texts that have references to case law
that look like: Marreco v Richardson [1908] 2 KB 584. The dates in
square brackets are an essential part of the reference.

f:nil in the Options seems to disable all footnotes rather than just
the [2010] type. The documentation is slightly misleading on this.
Under "Export options" it says:

f: =A0 =A0 =A0turn on/off footnotes like this[1].

I seem to be living more and more in org-mode. Thanks for such great
software!

Alan



- Carsten

On Aug 31, 2010, at 10:38 AM, Aidan Gauland wrote:

It is impossible to have closing brackets in a footnote, because
they are treated as the closing bracket for the foot note.
Example...

* A heading
This is a broken footnote.[fn:: Some book at [42-24].]

This will export to (as ASCII, for example)...
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org-fn-bug-example
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D

Author: Aidan Gauland
Date: 2010-08-31 20:33:14 NZST


Table of Contents
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
1 A heading


1 A heading
~~~~~~~~~~~~
This is a broken footnote.[1].]

This will export to (as ASCII, for example)...

[1] Some book at [42-24

This is how I am required to cite books for my academic essays, so
this
is a pretty serious bug for me (and no doubt other students, as
well).

Regards,
Aidan Gauland

Emacs =A0: GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+
Version 2.20.1)
of 2010-08-29 on dimension8
Package: Org-mode version 7.01trans

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(setq
org-export-latex-after-initial-vars-hook
'(org-beamer-after-initial- vars)
org-agenda-files '("~/uc-files/uc-work.org")
org-agenda-include-diary t
org-completion-use-iswitchb t
org-completion-use-ido t
org-metaup-hook '(org-babel-load-in-session-maybe)
org-after-todo-state-change-hook '(org-clock-out-if-current)
org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup)
org-export-latex-format-toc-function 'org-export-latex-format-toc-
default
org-export-preprocess-hook '(org-export-blocks-preprocess)
org-tab-first-hook '(org-hide-block-toggle-maybe
org-babel-hide-result-toggle-maybe)
org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
org-confirm-shell-link-function 'yes-or-no-p
org-export-first-hook '(org-beamer-initialize-open-trackers)
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-
drawers
org-cycle-show-empty-lines
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0org-= optimize-window-after-visibility-change)
org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
org-mode-hook '(#[nil "\300\301\302\303\304$\207"
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 [or= g-add-hook
change-major-mode-hook org-show-block-all append local] 5]
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #[nil
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 #"\300
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 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 =A0 =A0 =A0 =A0 =A0 =A0 org-babel-result-hi= de-spec
org-babel-hide-all-hashes) org-ctrl-c-ctrl-c-hook
'(org-babel-hash-at-point org-babel-execute- safely-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src
org-babel-exp-inline-src-blocks))
org-occur-hook '(org-first-headline-recenter)
org-outline-path-complete-in-steps nil
org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
org-export-latex-final-hook '(org-beamer-amend-header
org-beamer-fix- toc
org-beamer-auto-fragile-frames
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 org-beamer-place-default-actions-for-lists)
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-export-blocks '((src org-babel-exp-src-blocks nil) (comment
org-export-blocks-format-comment t)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 (ditaa
org-export-blocks-format-ditaa nil) (dot
org-export-blocks-format-dot nil)) )

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten




_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--
Alan L Tyree =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://www2.austlii.edu.au/~alan<= /a>
Tel: =A004 2748 6206


- Carsten






--
Alan L Tyree=A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0
http://www2.austlii.edu.au/~alan
Tel:=A0 04 2748 6206

--0015175ccf724aa096048f43f2a2-- --===============0740025655== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0740025655==--