Re: Formal syntax for org-cite

2021-12-30 Thread Timothy
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

Re: Formal syntax for org-cite

2021-12-02 Thread Timothy
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

Re: Formal syntax for org-cite

2021-12-02 Thread Ihor Radchenko
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

Re: Formal syntax for org-cite

2021-12-02 Thread Timothy
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@@

Re: Formal syntax for org-cite

2021-12-01 Thread Timothy
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

Re: Formal syntax for org-cite

2021-12-01 Thread Nicolas Goaziou
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

Re: Formal syntax for org-cite

2021-11-30 Thread Tom Gillespie
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 ...

Formal syntax for org-cite

2021-11-30 Thread Timothy
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