* Bug: Impossible to have right bracket in footnotes [7.01trans]
@ 2010-08-31 8:38 Aidan Gauland
2010-08-31 10:43 ` Giovanni Ridolfi
2010-08-31 12:09 ` Carsten Dominik
0 siblings, 2 replies; 14+ messages in thread
From: Aidan Gauland @ 2010-08-31 8:38 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3274 bytes --]
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))
)
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 8:38 Bug: Impossible to have right bracket in footnotes [7.01trans] Aidan Gauland
@ 2010-08-31 10:43 ` Giovanni Ridolfi
2010-08-31 12:11 ` Andreas Röhler
2010-08-31 14:12 ` Christian Moe
2010-08-31 12:09 ` Carsten Dominik
1 sibling, 2 replies; 14+ messages in thread
From: Giovanni Ridolfi @ 2010-08-31 10:43 UTC (permalink / raw)
To: Aidan Gauland; +Cc: emacs-orgmode
Aidan Gauland <aidalgol@no8wireless.co.nz> writes:
> 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
> 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)...
>
> 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).
>
GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
Org-mode version
7.01trans-commit-1d1439f91e63e71f39e93622a0af439762522c00
Also escaping the brackets does not work Example:
** A heading
This is a broken footnote.[fn:: Some book at \[42-24\].]
Exports to:
1 A heading
~~~~~~~~~~~~
This is a broken footnote.[1].]
[1] Some book at \[42-24\
Giovanni
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 8:38 Bug: Impossible to have right bracket in footnotes [7.01trans] Aidan Gauland
2010-08-31 10:43 ` Giovanni Ridolfi
@ 2010-08-31 12:09 ` Carsten Dominik
2010-08-31 14:13 ` Giovanni Ridolfi
` (2 more replies)
1 sibling, 3 replies; 14+ messages in thread
From: Carsten Dominik @ 2010-08-31 12:09 UTC (permalink / raw)
To: Aidan Gauland; +Cc: emacs-orgmode
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.
- 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 10:43 ` Giovanni Ridolfi
@ 2010-08-31 12:11 ` Andreas Röhler
2010-08-31 14:12 ` Christian Moe
1 sibling, 0 replies; 14+ messages in thread
From: Andreas Röhler @ 2010-08-31 12:11 UTC (permalink / raw)
To: emacs-orgmode
Am 31.08.2010 12:43, schrieb Giovanni Ridolfi:
> Aidan Gauland<aidalgol@no8wireless.co.nz> writes:
>
>> 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
>
>> 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)...
>>
>> 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).
>>
> GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
> Org-mode version
> 7.01trans-commit-1d1439f91e63e71f39e93622a0af439762522c00
>
> Also escaping the brackets does not work Example:
>
> ** A heading
> This is a broken footnote.[fn:: Some book at \[42-24\].]
>
> Exports to:
>
> 1 A heading
> ~~~~~~~~~~~~
> This is a broken footnote.[1].]
> [1] Some book at \[42-24\
>
> Giovanni
>
>
>
>
Should be a way to change footnote-style, so it doesn't use brackets.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 10:43 ` Giovanni Ridolfi
2010-08-31 12:11 ` Andreas Röhler
@ 2010-08-31 14:12 ` Christian Moe
1 sibling, 0 replies; 14+ messages in thread
From: Christian Moe @ 2010-08-31 14:12 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: emacs-orgmode, Aidan Gauland
This is a two-part problem.
1. Right square bracket in inline footnote prematurely terminates the
footnote.
IMO this is not a bug, it's an inherent and quite reasonable
limitation on the inline footnote format, and is easily solved by
falling back on the block footnote syntax.
#+BEGIN_EXAMPLE
** A heading
This is a broken footnote.[fn:somebook]
[fn:somebook] Some book at [42-24].
#+END_EXAMPLE
2. A number in square brackets is interpreted as a footnote marker
(even inside another footnote).
In ASCII export, as in Aidan's example, this doesn't matter because
footnote markers are exported in ... square brackets. But in other
export formats it's an occasional pain.
Some workarounds for this problem, involving =fn:nil= or invisible
zero-space characters, were recently posted on the list:
http://comments.gmane.org/gmane.emacs.orgmode/28191
Cheers,
Christian
Giovanni Ridolfi wrote:
> Aidan Gauland <aidalgol@no8wireless.co.nz> writes:
>
>> 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
>
>> 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)...
>>
>> 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).
>>
> GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
> Org-mode version
> 7.01trans-commit-1d1439f91e63e71f39e93622a0af439762522c00
>
> Also escaping the brackets does not work Example:
>
> ** A heading
> This is a broken footnote.[fn:: Some book at \[42-24\].]
>
> Exports to:
>
> 1 A heading
> ~~~~~~~~~~~~
> This is a broken footnote.[1].]
> [1] Some book at \[42-24\
>
> Giovanni
>
>
>
>
> _______________________________________________
> 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
>
--
Christian Moe
E-mail: mail@christianmoe.com
Website: http://christianmoe.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 12:09 ` Carsten Dominik
@ 2010-08-31 14:13 ` Giovanni Ridolfi
2010-08-31 14:20 ` Scot Becker
2010-09-01 0:19 ` Aidan Gauland
2010-08-31 22:19 ` Alan L Tyree
2010-09-03 3:38 ` Samuel Wales
2 siblings, 2 replies; 14+ messages in thread
From: Giovanni Ridolfi @ 2010-08-31 14:13 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Aidan Gauland
Carsten Dominik <carsten.dominik@gmail.com> writes:
> 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 have a workaround.
If the author uses the a special code for [ and ], e.g.
#91; and #93; then the note is exported correctly.
--------------------------------------------------------
** example
This is not anymore a broken footnote.[fn:: Some book at #91; 42-24 #93;.]
Exports to:
This is not anymore broken footnote.[1]
[1] Some book at #91; 42-24 #93;.
----------------------------------------------------------
But then the file have to be post-processed to substitute #91; and #93;
Place these lines in .emacs, or evaluate them (goto the last ") " and hit C-x C-e)
for the current session :
----------------------------------------------------------------------
(add-hook 'org-export-html-final-hook 'gio/replace-square-brackets)
(add-hook 'org-export-ascii-final-hook 'gio/replace-square-brackets)
(defun gio/replace-square-brackets ()
"Replace #91; with [ and #93; with ] "
(interactive)
(setq a "#91;") ; use "\[" for LaTeX export
(setq a1 "[")
(setq b "#93;") ; use "\]" for LaTeX export
(setq b1 "]")
(ignore-errors (goto-char 1) (setq p (point))
(while (< p (point-max))
(re-search-forward a nil nil) (replace-match a1) (setq p (point)) ) )
;;
(ignore-errors (goto-char 1) (setq p (point))
(while (< p (point-max))
(re-search-forward b nil nil) (replace-match b1) (setq p (point)) ) )
(save-buffer) )
----------------------------------------------------------
Tested for HTML, ASCII.
For the LaTeX export the line:
This is not anymore a broken footnote.[fn:: Some book at #91;
42-24#93;.]
exports to:
This is not anymore a broken footnote.\footnote{Some book at \[
42-24 \]. }
So the LaTeX seems to convert directly the #9?; character.
Not tested for docbook.
HTH
Giovanni
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 14:13 ` Giovanni Ridolfi
@ 2010-08-31 14:20 ` Scot Becker
2010-09-01 0:19 ` Aidan Gauland
1 sibling, 0 replies; 14+ messages in thread
From: Scot Becker @ 2010-08-31 14:20 UTC (permalink / raw)
To: Giovanni Ridolfi; +Cc: emacs-orgmode, Aidan Gauland, Carsten Dominik
[-- Attachment #1.1: Type: text/plain, Size: 2746 bytes --]
Giovanni,
Thanks for that. I have the same problem, since I put citations in my
footnotes in the format \cite[50]{Ridolfi_2011_Autobiography}. This is
great. It's also a nice model for a few other petty troubles I want to
postprocess away.
Scot
On Tue, Aug 31, 2010 at 3:13 PM, Giovanni Ridolfi <giovanni.ridolfi@yahoo.it
> wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
> > 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 have a workaround.
> If the author uses the a special code for [ and ], e.g.
> #91; and #93; then the note is exported correctly.
> --------------------------------------------------------
> ** example
> This is not anymore a broken footnote.[fn:: Some book at #91; 42-24 #93;.]
>
> Exports to:
> This is not anymore broken footnote.[1]
> [1] Some book at #91; 42-24 #93;.
> ----------------------------------------------------------
>
> But then the file have to be post-processed to substitute #91; and #93;
>
> Place these lines in .emacs, or evaluate them (goto the last ") " and hit
> C-x C-e)
> for the current session :
> ----------------------------------------------------------------------
> (add-hook 'org-export-html-final-hook 'gio/replace-square-brackets)
> (add-hook 'org-export-ascii-final-hook 'gio/replace-square-brackets)
>
> (defun gio/replace-square-brackets ()
> "Replace #91; with [ and #93; with ] "
> (interactive)
> (setq a "#91;") ; use "\[" for LaTeX export
> (setq a1 "[")
> (setq b "#93;") ; use "\]" for LaTeX export
> (setq b1 "]")
> (ignore-errors (goto-char 1) (setq p (point))
> (while (< p (point-max))
> (re-search-forward a nil nil) (replace-match a1) (setq p (point)) ) )
> ;;
> (ignore-errors (goto-char 1) (setq p (point))
> (while (< p (point-max))
> (re-search-forward b nil nil) (replace-match b1) (setq p (point)) ) )
> (save-buffer) )
> ----------------------------------------------------------
> Tested for HTML, ASCII.
>
> For the LaTeX export the line:
> This is not anymore a broken footnote.[fn:: Some book at #91;
> 42-24#93;.]
> exports to:
>
> This is not anymore a broken footnote.\footnote{Some book at \[
> 42-24 \]. }
>
>
> So the LaTeX seems to convert directly the #9?; character.
>
> Not tested for docbook.
>
> HTH
> Giovanni
>
> _______________________________________________
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 3649 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 12:09 ` Carsten Dominik
2010-08-31 14:13 ` Giovanni Ridolfi
@ 2010-08-31 22:19 ` Alan L Tyree
2010-09-01 0:29 ` Aidan Gauland
2010-09-02 8:15 ` Carsten Dominik
2010-09-03 3:38 ` Samuel Wales
2 siblings, 2 replies; 14+ messages in thread
From: Alan L Tyree @ 2010-08-31 22:19 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Aidan Gauland
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. 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]
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 14:13 ` Giovanni Ridolfi
2010-08-31 14:20 ` Scot Becker
@ 2010-09-01 0:19 ` Aidan Gauland
1 sibling, 0 replies; 14+ messages in thread
From: Aidan Gauland @ 2010-09-01 0:19 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 193 bytes --]
Thanks! That works fine. I suppose I should point out that I only used =
an
ASCII export for the example situation, but I ran into this problem expor=
ting
to HTML.
--Aidan Gauland
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 22:19 ` Alan L Tyree
@ 2010-09-01 0:29 ` Aidan Gauland
2010-09-01 10:21 ` Scot Becker
2010-09-02 8:15 ` Carsten Dominik
1 sibling, 1 reply; 14+ messages in thread
From: Aidan Gauland @ 2010-09-01 0:29 UTC (permalink / raw)
To: Alan L Tyree; +Cc: emacs-orgmode, Carsten Dominik
[-- Attachment #1.1: Type: text/plain, Size: 682 bytes --]
Alan L Tyree wrote:
> Disable footnotes like [2010], but keep footnotes like [fn:2010]
>
> 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.
Perhaps it would be best to determine for what type of writing the current way
Org handles footnotes is lacking. Is it just academic writing in general, of
mostly only certain fields? Both Alan and I have needed to use a workaround
for legal writing (I'm a first-year student; don't know about Alan). What
have other people had trouble footnoting/citing in Org?
--Aidan
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-09-01 0:29 ` Aidan Gauland
@ 2010-09-01 10:21 ` Scot Becker
0 siblings, 0 replies; 14+ messages in thread
From: Scot Becker @ 2010-09-01 10:21 UTC (permalink / raw)
To: Aidan Gauland; +Cc: emacs-orgmode, Alan L Tyree, Carsten Dominik
[-- Attachment #1.1: Type: text/plain, Size: 1448 bytes --]
Well I use biblatex to produce the chicago citations, used pretty widely in
the humanities in N. America, and the LaTeX \cite{} commands under that
setup take their optional arguments in square brackets. The most frequent
optional argument is a page number for the citation, but I also use them for
prefixes to the citation, e.g. a footnote which reads "See also Becker, 59"
would be generated like this \autocite[59][See also](Becker2010).
Scot
On Wed, Sep 1, 2010 at 1:29 AM, Aidan Gauland <aidalgol@no8wireless.co.nz>wrote:
> Alan L Tyree wrote:
> > Disable footnotes like [2010], but keep footnotes like [fn:2010]
> >
> > 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.
>
> Perhaps it would be best to determine for what type of writing the current
> way
> Org handles footnotes is lacking. Is it just academic writing in general,
> of
> mostly only certain fields? Both Alan and I have needed to use a
> workaround
> for legal writing (I'm a first-year student; don't know about Alan). What
> have other people had trouble footnoting/citing in Org?
>
> --Aidan
>
>
> _______________________________________________
> 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
>
>
[-- Attachment #1.2: Type: text/html, Size: 1981 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 22:19 ` Alan L Tyree
2010-09-01 0:29 ` Aidan Gauland
@ 2010-09-02 8:15 ` Carsten Dominik
2010-09-02 10:04 ` Alan Tyree
1 sibling, 1 reply; 14+ messages in thread
From: Carsten Dominik @ 2010-09-02 8:15 UTC (permalink / raw)
To: Alan L Tyree; +Cc: emacs-orgmode, Aidan Gauland
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. 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
>
> 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-09-02 8:15 ` Carsten Dominik
@ 2010-09-02 10:04 ` Alan Tyree
0 siblings, 0 replies; 14+ messages in thread
From: Alan Tyree @ 2010-09-02 10:04 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Aidan Gauland
[-- Attachment #1.1: Type: text/plain, Size: 6535 bytes --]
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. 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<http://www2.austlii.edu.au/%7Ealan>
>> Tel: 04 2748 6206
>>
>>
> - Carsten
>
>
>
>
--
Alan L Tyree http://www2.austlii.edu.au/~alan
Tel: 04 2748 6206
[-- Attachment #1.2: Type: text/html, Size: 9057 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Bug: Impossible to have right bracket in footnotes [7.01trans]
2010-08-31 12:09 ` Carsten Dominik
2010-08-31 14:13 ` Giovanni Ridolfi
2010-08-31 22:19 ` Alan L Tyree
@ 2010-09-03 3:38 ` Samuel Wales
2 siblings, 0 replies; 14+ messages in thread
From: Samuel Wales @ 2010-09-03 3:38 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode, Aidan Gauland
One possibility for difficult cases such as these might be extensible
syntax (which is designed for parsing risk). The idea would be to
allow, for footnotes, an alternate syntax using extensible syntax.
Then it could handle anything. Also, it would not be necessary to
hack on the footnote code quite that hard. With the $[ syntax, things
might be a little easier and the parsing code potentially factored in
a decent way.
Dunno if this is the easiest first use for ES, but it might be worth
considering.
On 2010-08-31, 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. And then I also hope to
> address the issue you raised. For the time being, unfortunately, I do
> not have a solution for you.
>
> - 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
>
--
Q: How many CDC "scientists" does it take to change a lightbulb?
A: "You only think it's dark." [CDC has denied a deadly serious
disease for 25 years]
==========
Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I would like to see the original Lo et al. 2010 NIH/FDA XMRV paper.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2010-09-03 3:38 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 8:38 Bug: Impossible to have right bracket in footnotes [7.01trans] Aidan Gauland
2010-08-31 10:43 ` Giovanni Ridolfi
2010-08-31 12:11 ` Andreas Röhler
2010-08-31 14:12 ` Christian Moe
2010-08-31 12:09 ` Carsten Dominik
2010-08-31 14:13 ` Giovanni Ridolfi
2010-08-31 14:20 ` Scot Becker
2010-09-01 0:19 ` Aidan Gauland
2010-08-31 22:19 ` Alan L Tyree
2010-09-01 0:29 ` Aidan Gauland
2010-09-01 10:21 ` Scot Becker
2010-09-02 8:15 ` Carsten Dominik
2010-09-02 10:04 ` Alan Tyree
2010-09-03 3:38 ` Samuel Wales
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).