Let me share a piece of code to quickly add title and author info:
(kbd-map
(:mode in-text?)
("M E" (insert '(document
(doc-data
(doc-title "")
(doc-author (author-data
;; Your name here
(author-name "Your name here")
;; Your institute here
(author-affiliation (document "Your institute here"))
;; your@email.here
(author-email "your@email.here"))))))))
Move the cursor to the head of your article, type ME
, you will be seeing the author info added automatically.
There is a make-doc-data-element
function, but I do not how to use it.