Hi All,
I've been away for a bit, but now I'm back and getting back into things
π. For starters, I'm thinking we may as well put a description of the
citation syntax into org-syntax. I'm still interested in more/broader
changes to improve the clarity and specificity of org-syntax (and have
had s
Hi Ihor,
> This is all defined in org-element-object-restrictions together with
> other restrictions on what kinds of objects can be placed inside other
> elements and objects:
>
> (minimal-set β(bold code entity italic latex-fragment strike-through
>subscript superscri
Timothy writes:
> Letβs look at a strange citation.
>
> β
> β [cite: @key *bold* text @@org:hey@@ and /italic/ and {{{macro()}}} and
> [fn:3] and
> β <> <2021-12-02 Thu> \latex and \alpha and a statscookie [3/7]
> src_lang{hi}
> β s^{up} and s_{ub}]
> β
>
> Examining the interpretation
Hi Nicolas, Tom,
I just thought Iβd do a little test to see what markup citations accept with
org-element, and Iβm not quite sure what to make of the results. Iβd appreciate
hearing your thoughts on the example below.
Letβs look at a strange citation.
β
β [cite: @key *bold* text @@org:hey@@
Hi Nicolas,
Thanks you for your feedback and clarifications. They were most helpful.
Thomas, I've also made a few tweaks based on your reply.
I've revised the draft in light of your comments, see below.
Citations follow the pattern
#+begin_example
[cite CITESTYLE: GLOBALPREFIX KEYCITES GLOBALSU
Hello,
Timothy writes:
> Looking at https://orgmode.org/worg/dev/org-syntax.html, there isn't,
Yup, I forgot to update it.
> I have not yet confirmed what =KEYPREFIX= and =KEYSUFFIX= may contain,
> but as a starting point, any of the characters allowed in =KEY= except
> =@= plus whitespace wou
Hi Timothy,
Thanks for putting this together. Comments in line. Best!
Tom
For reference here is the tokenizer pattern I use in laundry at the moment.
There are a number of issues with it ...
https://github.com/tgbugs/laundry/blob/5a396bef98d9a3cd9ee929f21cd47612dd6cb1ac/laundry/lex-abbrev.rkt#
Hi All (and Nicolas in particular),
There's recently been a little bit of progress on the Pandoc issue for
org-cite support
(https://github.com/jgm/pandoc/issues/7329#issuecomment-982805313), and
the maintainers are now asking if there is any specification for
org-cite syntax.
Looking at https: