Hi In the following table: It is possible to insert a footnote in a regular way, right now I cannot. What shell I do? What is the recipe to insert footnotes in all cells. Thanks Uwe Brauer | this | that | | | | F | | | |------+------+-----+---+-----+---+---+---| | | 2 | *2* | 1 | [ ] | | | | |------+------+-----+---+-----+---+---+---|
[-- Attachment #1: Type: text/plain, Size: 209 bytes --] >>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes: > Hi > In the following table: The subject is wrong, I am still googling but don't understand why I cannot insert footnotes in all cells in a table. [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
[-- Attachment #1: Type: text/plain, Size: 412 bytes --] >>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes: >>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes: >> Hi >> In the following table: > The subject is wrong, I am still googling but don't understand why I > cannot insert footnotes in all cells in a table. It seems that the function org-footnote--allow-reference-p is the culprit, but which places are *forbidden* the doc string does not say much. [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
Hi Uwe,
Uwe Brauer writes:
> It seems that the function org-footnote--allow-reference-p
> is the culprit, but which places are *forbidden* the doc string does not
> say much.
If you mean to insert a note in an empty cell, you can insert just
before the note mark a zero width space (M-x insert-char RET 200b RET)
Best regards,
Juan Manuel
[-- Attachment #1: Type: text/plain, Size: 534 bytes --] >>> "JMM" == Juan Manuel Macías <maciaschain@posteo.net> writes: > Hi Uwe, > Uwe Brauer writes: >> It seems that the function org-footnote--allow-reference-p >> is the culprit, but which places are *forbidden* the doc string does not >> say much. > If you mean to insert a note in an empty cell, you can insert just > before the note mark a zero width space (M-x insert-char RET 200b RET) Ah! That was it, thanks! I think the documentation of org-footnote-action could be a bit more explicit and cover this case. [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
Uwe Brauer writes:
> Ah! That was it, thanks!
> I think the documentation of org-footnote-action
> could be a bit more explicit and cover this case.
In the manual the use of the zero width space character is in the section
'Escape Character'. Perhaps it would be nice to add more usage examples. A
very typical (and practical) use is when you want to emphasize a part of a
word:
with /meta/<zero-with-space>literature you get (LaTeX)
\emph{meta}literature instead of the literal /meta/literature...
Best regards,
Juan Manuel
Hello, Uwe Brauer <oub@mat.ucm.es> writes: >> The subject is wrong, I am still googling but don't understand why I >> cannot insert footnotes in all cells in a table. There was a bug with _empty_ cells. > It seems that the function org-footnote--allow-reference-p > is the culprit Fixed. Thank you. > but which places are *forbidden* the doc string does not say much. `org-footnote--allow-reference-p' is very permissive. Footnote are allowed anywhere it makes sense, I think. The function is also well documented, you may want to look at the source if you have doubts. Regards, -- Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 887 bytes --] >>> "NG" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes: > Hello, > Uwe Brauer <oub@mat.ucm.es> writes: >>> The subject is wrong, I am still googling but don't understand why I >>> cannot insert footnotes in all cells in a table. > There was a bug with _empty_ cells. >> It seems that the function org-footnote--allow-reference-p >> is the culprit > Fixed. Thank you. In master? >> but which places are *forbidden* the doc string does not say much. > `org-footnote--allow-reference-p' is very permissive. Footnote are > allowed anywhere it makes sense, I think. The function is also well > documented, you may want to look at the source if you have doubts. The docstring just reads "Non-nil when a footnote reference can be inserted at point." That I wouldn't call well documented, but I presume you are referring to something else. [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
[-- Attachment #1: Type: text/plain, Size: 745 bytes --] >>> "NG" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes: > Hello, > Uwe Brauer <oub@mat.ucm.es> writes: >>> The subject is wrong, I am still googling but don't understand why I >>> cannot insert footnotes in all cells in a table. > There was a bug with _empty_ cells. >> It seems that the function org-footnote--allow-reference-p >> is the culprit > Fixed. Thank you. Hm I pull from git remote -v origin https://code.orgmode.org/bzg/org-mode.git (fetch) origin https://code.orgmode.org/bzg/org-mode.git (push) So that is the old repository, no, because the latest commit is from 19 April, where do I find the real repository https://orgmode.org/worg/dev/index.html Still points out the one I use [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
[-- Attachment #1: Type: text/plain, Size: 879 bytes --] >>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes: >>> "NG" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes: >> Hello, >> Uwe Brauer <oub@mat.ucm.es> writes: >>> The subject is wrong, I am still googling but don't understand why I >>> cannot insert footnotes in all cells in a table. >> There was a bug with _empty_ cells. >>> It seems that the function org-footnote--allow-reference-p >>> is the culprit >> Fixed. Thank you. > Hm I pull from > git remote -v > origin https://code.orgmode.org/bzg/org-mode.git (fetch) > origin https://code.orgmode.org/bzg/org-mode.git (push) Sorry, git just did not pull [1] I had to run git stash Footnotes: [1] (I most likely will never gasp git, a pity that the team did not chose not mercurial). I am thinking to clone the git repo again with using hg and the hg-git repository. [-- Attachment #2: smime.p7s --] [-- Type: application/pkcs7-signature, Size: 5673 bytes --]
Hello, Uwe Brauer <oub@mat.ucm.es> writes: >>>> "NG" == Nicolas Goaziou <mail@nicolasgoaziou.fr> writes: > In master? No, in both maint and master. >> `org-footnote--allow-reference-p' is very permissive. Footnote are >> allowed anywhere it makes sense, I think. The function is also well >> documented, you may want to look at the source if you have doubts. > > The docstring just reads > > "Non-nil when a footnote reference can be inserted at point." > > That I wouldn't call well documented, but I presume you are referring to > something else. I think the docstring is sufficient for an internal function. I was referring to the code, which contains comments about all the gory details. Regards, -- Nicolas Goaziou