kaushalmodi / ox-hugo

A carefully crafted Org exporter back-end for Hugo
https://ox-hugo.scripter.co
GNU General Public License v3.0
867 stars 130 forks source link

org-cite-basic--get-field (error "Wrong value for ENTRY-OR-KEY: nil") on emacs master 29.x #630

Closed kaushalmodi closed 2 years ago

kaushalmodi commented 2 years ago

Update (2022-05-12)

The upstream bug in emacs master has been fixed in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d221c02fa1db17e1275687f0bbce4ff1499119a1, and verified.

This issue can be closed once the emacs snapshot version used by GHA gets updated. Ref: https://github.com/purcell/nix-emacs-ci/issues/75.

Emacs bug

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55342

More info

The CI fails when using emacs master (Emacs 29.0.50) build when exporting the "Org Cite Basic Example" post from the test suite.

https://github.com/kaushalmodi/ox-hugo/runs/6352764912?check_suite_focus=true#step:5:597

[ox-hugo] 275/ Exporting ‘Org Cite Basic Example’ ..
Debugger entered--Lisp error: (error "Wrong value for ENTRY-OR-KEY: nil")
  signal(error ("Wrong value for ENTRY-OR-KEY: nil"))
  error("Wrong value for ENTRY-OR-KEY: %S" nil)
  org-cite-basic--get-field(author nil (:export-options (subtree) :back-end #s(org-export-backend :name hugo :parent blackfriday :transcoders ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block)) :options ((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil "num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil user-full-name newline) (:creator "CREATOR" nil org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil) (:with-special-strings nil "-" nil) (:with-sub-superscript nil "^" ...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil) (:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET" nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil org-hugo-preserve-filling) (:hugo-delete-trailing-ws "HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws) (:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle "HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t) (:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags "HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags) (:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod "HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod) (:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space) (:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space) (:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil org-hugo-date-format) (:hugo-paired-shortcodes "HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space) (:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil) (:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container "HTML_CONTAINER" nil org-hugo-container-element) (:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases "HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...) :filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72 "Export to Hugo-compatible Markdo..." (... ... ... ... ... ...))) :translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block) (center-block . org-blackfriday-center-block) (example-block . org-blackfriday-example-block) (fixed-width . org-blackfriday-fixed-width) (footnote-reference . org-blackfriday-footnote-reference) (inner-template . org-blackfriday-inner-template) (italic . org-blackfriday-italic) (item . org-blackfriday-item) (latex-environment . org-blackfriday-latex-environment) (latex-fragment . org-blackfriday-latex-fragment) (line-break . org-html-line-break) (plain-list . org-blackfriday-plain-list) (plain-text . org-blackfriday-plain-text) (quote-block . org-blackfriday-quote-block) (radio-target . org-blackfriday-radio-target) (special-block . org-blackfriday-special-block) (src-block . org-blackfriday-src-block) (strike-through . org-blackfriday-strike-through) (table-cell . org-blackfriday-table-cell) (table-row . org-blackfriday-table-row) (table . org-blackfriday-table) ...) :exported-data #<hash-table eq 5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..." :input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil :section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo" :with-smart-quotes nil :with-special-strings nil :with-sub-superscript {} :hugo-with-locale nil :hugo-front-matter-format "toml" :hugo-level-offset "1" ...))
  org-cite-basic--print-entry(nil nil (:export-options (subtree) :back-end #s(org-export-backend :name hugo :parent blackfriday :transcoders ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block)) :options ((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil "num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil user-full-name newline) (:creator "CREATOR" nil org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil) (:with-special-strings nil "-" nil) (:with-sub-superscript nil "^" ...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil) (:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET" nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil org-hugo-preserve-filling) (:hugo-delete-trailing-ws "HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws) (:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle "HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t) (:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags "HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags) (:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod "HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod) (:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space) (:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space) (:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil org-hugo-date-format) (:hugo-paired-shortcodes "HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space) (:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil) (:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container "HTML_CONTAINER" nil org-hugo-container-element) (:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases "HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...) :filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72 "Export to Hugo-compatible Markdo..." (... ... ... ... ... ...))) :translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block) (center-block . org-blackfriday-center-block) (example-block . org-blackfriday-example-block) (fixed-width . org-blackfriday-fixed-width) (footnote-reference . org-blackfriday-footnote-reference) (inner-template . org-blackfriday-inner-template) (italic . org-blackfriday-italic) (item . org-blackfriday-item) (latex-environment . org-blackfriday-latex-environment) (latex-fragment . org-blackfriday-latex-fragment) (line-break . org-html-line-break) (plain-list . org-blackfriday-plain-list) (plain-text . org-blackfriday-plain-text) (quote-block . org-blackfriday-quote-block) (radio-target . org-blackfriday-radio-target) (special-block . org-blackfriday-special-block) (src-block . org-blackfriday-src-block) (strike-through . org-blackfriday-strike-through) (table-cell . org-blackfriday-table-cell) (table-row . org-blackfriday-table-row) (table . org-blackfriday-table) ...) :exported-data #<hash-table eq 5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..." :input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil :section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo" :with-smart-quotes nil :with-special-strings nil :with-sub-superscript {} :hugo-with-locale nil :hugo-front-matter-format "toml" :hugo-level-offset "1" ...))
  #f(compiled-function (k) #<bytecode -0x1031153bd444570b>)("OrgCitations")
  mapconcat(#f(compiled-function (k) #<bytecode -0x1031153bd444570b>) ("OrgCitations") "\n")
  org-cite-basic-export-bibliography(("OrgCitations") ("/home/runner/work/ox-hugo/...") nil nil #s(org-export-backend :name hugo :parent blackfriday :transcoders ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block)) :options ((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil "num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil user-full-name newline) (:creator "CREATOR" nil org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil) (:with-special-strings nil "-" nil) (:with-sub-superscript nil "^" ...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil) (:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET" nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil org-hugo-preserve-filling) (:hugo-delete-trailing-ws "HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws) (:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle "HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t) (:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags "HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags) (:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod "HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod) (:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space) (:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space) (:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPL..." nil nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil org-hugo-date-format) (:hugo-paired-shortcodes "HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space) ...) :filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72 "Export to Hugo-compatible ..." (... ... ... ... ... ...))) (:export-options (subtree) :back-end #s(org-export-backend :name hugo :parent blackfriday :transcoders (... ... ... ... ... ... ... ... ... ... ... ...) :options (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :filters (...) :blocks nil :menu (72 "Export to Hugo-compatible ..." ...)) :translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block) (center-block . org-blackfriday-center-block) (example-block . org-blackfriday-example-block) (fixed-width . org-blackfriday-fixed-width) (footnote-reference . org-blackfriday-footnote-reference) (inner-template . org-blackfriday-inner-template) (italic . org-blackfriday-italic) (item . org-blackfriday-item) (latex-environment . org-blackfriday-latex-environment) (latex-fragment . org-blackfriday-latex-fragment) (line-break . org-html-line-break) (plain-list . org-blackfriday-plain-list) (plain-text . org-blackfriday-plain-text) (quote-block . org-blackfriday-quote-block) (radio-target . org-blackfriday-radio-target) ...) :exported-data #<hash-table eq 5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all..." :input-file "/home/runner/work/ox-hugo/..." :with-toc nil :section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo" :with-smart-quotes nil :with-special-strings nil :with-sub-superscript {} ...))
  org-cite-export-bibliography((keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent ...) (paragraph ... ...) (src-block ...) (paragraph ... ...) #1))) nil (:export-options (subtree) :back-end #s(org-export-backend :name hugo :parent blackfriday :transcoders ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block)) :options ((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil "num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil user-full-name newline) (:creator "CREATOR" nil org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil) (:with-special-strings nil "-" nil) (:with-sub-superscript nil "^" ...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil) (:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET" nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil org-hugo-preserve-filling) (:hugo-delete-trailing-ws "HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws) (:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle "HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t) (:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags "HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags) (:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod "HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod) (:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space) (:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space) (:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil org-hugo-date-format) (:hugo-paired-shortcodes "HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space) (:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil) (:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container "HTML_CONTAINER" nil org-hugo-container-element) (:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases "HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...) :filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72 "Export to Hugo-compatible Markdo..." (... ... ... ... ... ...))) :translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block) (center-block . org-blackfriday-center-block) (example-block . org-blackfriday-example-block) (fixed-width . org-blackfriday-fixed-width) (footnote-reference . org-blackfriday-footnote-reference) (inner-template . org-blackfriday-inner-template) (italic . org-blackfriday-italic) (item . org-blackfriday-item) (latex-environment . org-blackfriday-latex-environment) (latex-fragment . org-blackfriday-latex-fragment) (line-break . org-html-line-break) (plain-list . org-blackfriday-plain-list) (plain-text . org-blackfriday-plain-text) (quote-block . org-blackfriday-quote-block) (radio-target . org-blackfriday-radio-target) (special-block . org-blackfriday-special-block) (src-block . org-blackfriday-src-block) (strike-through . org-blackfriday-strike-through) (table-cell . org-blackfriday-table-cell) (table-row . org-blackfriday-table-row) (table . org-blackfriday-table) ...) :exported-data #<hash-table eq 5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..." :input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil :section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo" :with-smart-quotes nil :with-special-strings nil :with-sub-superscript {} :hugo-with-locale nil :hugo-front-matter-format "toml" :hugo-level-offset "1" ...))
  #f(compiled-function (keyword) #<bytecode -0xd20fedbf377cdf9>)((keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (...) :parent (org-data nil ... ... ... #33)) #17)) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #17) #("Below Org snippet:\n" 0 19 (:parent #20))) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #17)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #17) #("exports to:\n" 0 12 (:parent #22))) #1))))
  #f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)((keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (...) :parent (org-data nil ... ... ... #33)) #17)) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #17) #("Below Org snippet:\n" 0 19 (:parent #20))) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #17)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #17) #("exports to:\n" 0 12 (:parent #22))) #1))))
  mapc(#f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>) ((paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title ... :parent ...) #19)) . #2)) #("Below Org snippet:\n" 0 19 (:parent #3))) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title ... :parent ...) #34)) . #2))) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title ... :parent ...) #21)) . #2)) #("exports to:\n" 0 12 (:parent #5))) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title ... :parent ...) #22)) . #2)))))
  #f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)((section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (#("Printing Bibliography" 0 21 (:parent #17))) :parent (org-data nil (section (:begin 200329 :end 200444 :contents-begin 200329 :contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent #55) (paragraph ... ... ...) (special-block ... ...) (paragraph ... ...)) (headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200444 :title ... :parent #55) (section ... ... ... ...)) (headline (:raw-value "Citation Syntax" :begin 200800 :end 201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200800 :title ... :parent #55) (section ... ... ... ... ... ...)) #17)) #1)) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #1) #("Below Org snippet:\n" 0 19 (:parent #4))) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #1)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #1) #("exports to:\n" 0 12 (:parent #6))) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent #1))))
  mapc(#f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>) ((section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (#("Printing Bibliography" 0 21 ...)) :parent (org-data nil (section ... ... ... ...) (headline ... ...) (headline ... ...) #19)) . #2)) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #3) #("Below Org snippet:\n" 0 19 (:parent #6))) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #3)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #3) #("exports to:\n" 0 12 (:parent #8))) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent #3)))))
  #f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)((headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (#("Printing Bibliography" 0 21 (:parent #1))) :parent (org-data nil (section (:begin 200329 :end 200444 :contents-begin 200329 :contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent #39) (paragraph (:begin 200329 :end 200385 :contents-begin 200329 :contents-end 200385 :post-blank 1 :post-affiliated 200329 :parent #42) (bold (:begin 200329 :end 200339 :contents-begin 200330 :contents-end 200337 :post-blank 1 :parent #45) #("Org 9.5" 0 7 ...)) #("is needed for this as that version introduced\n" 0 46 (:parent #45))) (special-block (:type "mark" :begin 200385 :end 200442 :contents-begin 200398 :contents-end 200431 :post-blank 1 :post-affiliated 200385 :parent #42) (paragraph (:begin 200398 :end 200431 :contents-begin 200398 :contents-end 200431 :post-blank 1 :post-affiliated 200398 :parent #46) #("the new " 0 8 ...) (bold ... ...) #("Org Cite library\n" 0 17 ...))) (paragraph (:begin 200442 :end 200444 :contents-begin 200442 :contents-end 200444 :post-blank 1 :post-affiliated 200442 :parent #42) #(".\n" 0 2 (:parent #47)))) (headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200444 :title (#("Specify Bibligraphy files" 0 25 ...)) :parent #39) (section (:begin 200475 :end 200800 :contents-begin 200475 :contents-end 200800 :post-blank 1 :post-affiliated 200475 :parent #43) (paragraph (:begin 200475 :end 200653 :contents-begin 200475 :contents-end 200652 :post-blank 1 :post-affiliated 200475 :parent #46) #("Org Cite (" 0 10 ...) (code ...) #(") requires the bibliography files to be specified\n..." 0 68 ...) (code ...) #("keywords or using the\n" 0 22 ...) (code ...) #("variable.\n" 0 10 ...)) (paragraph (:begin 200653 :end 200693 :contents-begin 200653 :contents-end 200692 :post-blank 1 :post-affiliated 200653 :parent #46) #("Example: " 0 9 ...) (code ...) #("\n" 0 1 ...)) (special-block (:type "note" :begin 200693 :end 200800 :contents-begin 200706 :contents-end 200789 :post-blank 1 :post-affiliated 200693 :parent #46) (paragraph ... ... ... ... ...)))) (headline (:raw-value "Citation Syntax" :begin 200800 :end 201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200800 :title (#("Citation Syntax" 0 15 ...)) :parent #39) (section (:begin 200821 :end 201063 :contents-begin 200821 :contents-end 201063 :post-blank 1 :post-affiliated 200821 :parent #44) (paragraph (:begin 200821 :end 200840 :contents-begin 200821 :contents-end 200840 :post-blank 1 :post-affiliated 200821 :parent #47) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org" :switches nil :parameters nil :begin 200840 :end 200887 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "[cite:@OrgCitations]\n" :post-blank 1 :post-affiliated 200840 :parent #47)) (paragraph (:begin 200887 :end 200900 :contents-begin 200887 :contents-end 200899 :post-blank 1 :post-affiliated 200887 :parent #47) #("exports to:\n" 0 12 ...)) (paragraph (:begin 200900 :end 200922 :contents-begin 200900 :contents-end 200921 :post-blank 1 :post-affiliated 200900 :parent #47) (raw ... ...) #("\n" 0 1 ...)) (paragraph (:begin 200922 :end 201063 :contents-begin 200922 :contents-end 201063 :post-blank 1 :post-affiliated 200922 :parent #47) #("See " 0 4 ...) (link ... ... ... ...) #("for more information on the " 0 28 ...) (code ...) #("\nsyntax.\n" 0 9 ...)))) #1)) (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent #1) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #4) #("Below Org snippet:\n" 0 19 (:parent #7))) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #4)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #4) #("exports to:\n" 0 12 (:parent #9))) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent #4)))))
  mapc(#f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>) ((section (:begin 200329 :end 200444 :contents-begin 200329 :contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent (org-data nil . #2)) (paragraph (:begin 200329 :end 200385 :contents-begin 200329 :contents-end 200385 :post-blank 1 :post-affiliated 200329 :parent #3) (bold (:begin 200329 :end 200339 :contents-begin 200330 :contents-end 200337 :post-blank 1 :parent #6) #("Org 9.5" 0 7 ...)) #("is needed for this as that version int..." 0 46 (:parent #6))) (special-block (:type "mark" :begin 200385 :end 200442 :contents-begin 200398 :contents-end 200431 :post-blank 1 :post-affiliated 200385 :parent #3) (paragraph (:begin 200398 :end 200431 :contents-begin 200398 :contents-end 200431 :post-blank 1 :post-affiliated 200398 :parent #7) #("the new " 0 8 ...) (bold ... ...) #("Org Cite library\n" 0 17 ...))) (paragraph (:begin 200442 :end 200444 :contents-begin 200442 :contents-end 200444 :post-blank 1 :post-affiliated 200442 :parent #3) #(".\n" 0 2 (:parent #8)))) (headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200444 :title (#("Specify Bibligraphy files" 0 25 ...)) :parent (org-data nil . #2)) (section (:begin 200475 :end 200800 :contents-begin 200475 :contents-end 200800 :post-blank 1 :post-affiliated 200475 :parent #4) (paragraph (:begin 200475 :end 200653 :contents-begin 200475 :contents-end 200652 :post-blank 1 :post-affiliated 200475 :parent #7) #("Org Cite (" 0 10 ...) (code ...) #(") requires the bibliography files to b..." 0 68 ...) (code ...) #("keywords or using the\n" 0 22 ...) (code ...) #("variable.\n" 0 10 ...)) (paragraph (:begin 200653 :end 200693 :contents-begin 200653 :contents-end 200692 :post-blank 1 :post-affiliated 200653 :parent #7) #("Example: " 0 9 ...) (code ...) #("\n" 0 1 ...)) (special-block (:type "note" :begin 200693 :end 200800 :contents-begin 200706 :contents-end 200789 :post-blank 1 :post-affiliated 200693 :parent #7) (paragraph ... ... ... ... ...)))) (headline (:raw-value "Citation Syntax" :begin 200800 :end 201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200800 :title (#("Citation Syntax" 0 15 ...)) :parent (org-data nil . #2)) (section (:begin 200821 :end 201063 :contents-begin 200821 :contents-end 201063 :post-blank 1 :post-affiliated 200821 :parent #5) (paragraph (:begin 200821 :end 200840 :contents-begin 200821 :contents-end 200840 :post-blank 1 :post-affiliated 200821 :parent #8) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org" :switches nil :parameters nil :begin 200840 :end 200887 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "[cite:@OrgCitations]\n" :post-blank 1 :post-affiliated 200840 :parent #8)) (paragraph (:begin 200887 :end 200900 :contents-begin 200887 :contents-end 200899 :post-blank 1 :post-affiliated 200887 :parent #8) #("exports to:\n" 0 12 ...)) (paragraph (:begin 200900 :end 200922 :contents-begin 200900 :contents-end 200921 :post-blank 1 :post-affiliated 200900 :parent #8) (raw ... ...) #("\n" 0 1 ...)) (paragraph (:begin 200922 :end 201063 :contents-begin 200922 :contents-end 201063 :post-blank 1 :post-affiliated 200922 :parent #8) #("See " 0 4 ...) (link ... ... ... ...) #("for more information on the " 0 28 ...) (code ...) #("\nsyntax.\n" 0 9 ...)))) (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (#("Printing Bibliography" 0 21 ...)) :parent (org-data nil . #2)) (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent #6) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #9) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #9)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #9) #("exports to:\n" 0 12 ...)) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent #9))))))
  #f(compiled-function (--data) #<bytecode 0x1f582865ffbfa61e>)((org-data nil (section (:begin 200329 :end 200444 :contents-begin 200329 :contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent #1) (paragraph (:begin 200329 :end 200385 :contents-begin 200329 :contents-end 200385 :post-blank 1 :post-affiliated 200329 :parent #4) (bold (:begin 200329 :end 200339 :contents-begin 200330 :contents-end 200337 :post-blank 1 :parent #7) #("Org 9.5" 0 7 ...)) #("is needed for this as that version int..." 0 46 (:parent #7))) (special-block (:type "mark" :begin 200385 :end 200442 :contents-begin 200398 :contents-end 200431 :post-blank 1 :post-affiliated 200385 :parent #4) (paragraph (:begin 200398 :end 200431 :contents-begin 200398 :contents-end 200431 :post-blank 1 :post-affiliated 200398 :parent #8) #("the new " 0 8 ...) (bold ... ...) #("Org Cite library\n" 0 17 ...))) (paragraph (:begin 200442 :end 200444 :contents-begin 200442 :contents-end 200444 :post-blank 1 :post-affiliated 200442 :parent #4) #(".\n" 0 2 (:parent #9)))) (headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200444 :title (#("Specify Bibligraphy files" 0 25 ...)) :parent #1) (section (:begin 200475 :end 200800 :contents-begin 200475 :contents-end 200800 :post-blank 1 :post-affiliated 200475 :parent #5) (paragraph (:begin 200475 :end 200653 :contents-begin 200475 :contents-end 200652 :post-blank 1 :post-affiliated 200475 :parent #8) #("Org Cite (" 0 10 ...) (code ...) #(") requires the bibliography files to b..." 0 68 ...) (code ...) #("keywords or using the\n" 0 22 ...) (code ...) #("variable.\n" 0 10 ...)) (paragraph (:begin 200653 :end 200693 :contents-begin 200653 :contents-end 200692 :post-blank 1 :post-affiliated 200653 :parent #8) #("Example: " 0 9 ...) (code ...) #("\n" 0 1 ...)) (special-block (:type "note" :begin 200693 :end 200800 :contents-begin 200706 :contents-end 200789 :post-blank 1 :post-affiliated 200693 :parent #8) (paragraph ... ... ... ... ...)))) (headline (:raw-value "Citation Syntax" :begin 200800 :end 201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 200800 :title (#("Citation Syntax" 0 15 ...)) :parent #1) (section (:begin 200821 :end 201063 :contents-begin 200821 :contents-end 201063 :post-blank 1 :post-affiliated 200821 :parent #6) (paragraph (:begin 200821 :end 200840 :contents-begin 200821 :contents-end 200840 :post-blank 1 :post-affiliated 200821 :parent #9) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org" :switches nil :parameters nil :begin 200840 :end 200887 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "[cite:@OrgCitations]\n" :post-blank 1 :post-affiliated 200840 :parent #9)) (paragraph (:begin 200887 :end 200900 :contents-begin 200887 :contents-end 200899 :post-blank 1 :post-affiliated 200887 :parent #9) #("exports to:\n" 0 12 ...)) (paragraph (:begin 200900 :end 200922 :contents-begin 200900 :contents-end 200921 :post-blank 1 :post-affiliated 200900 :parent #9) (raw ... ...) #("\n" 0 1 ...)) (paragraph (:begin 200922 :end 201063 :contents-begin 200922 :contents-end 201063 :post-blank 1 :post-affiliated 200922 :parent #9) #("See " 0 4 ...) (link ... ... ... ...) #("for more information on the " 0 28 ...) (code ...) #("\nsyntax.\n" 0 9 ...)))) (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 201063 :title (#("Printing Bibliography" 0 21 ...)) :parent #1) (section (:begin 201090 :end 201192 :contents-begin 201090 :contents-end 201192 :post-blank 1 :post-affiliated 201090 :parent #7) (paragraph (:begin 201090 :end 201109 :contents-begin 201090 :contents-end 201109 :post-blank 1 :post-affiliated 201090 :parent #10) #("Below Org snippet:\n" 0 19 ...)) (src-block (:language "org" :switches nil :parameters nil :begin 201109 :end 201158 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "#+print_bibliography:\n" :post-blank 1 :post-affiliated 201109 :parent #10)) (paragraph (:begin 201158 :end 201170 :contents-begin 201158 :contents-end 201170 :post-blank 1 :post-affiliated 201158 :parent #10) #("exports to:\n" 0 12 ...)) (keyword (:key "PRINT_BIBLIOGRAPHY" :value "" :begin 201170 :end 201192 :post-blank 1 :post-affiliated 201170 :parent #10))))))
  org-element-map((org-data nil (section (:begin 200329 :end 200444 :contents-begin 200329 :contents-end 200444 :post-blank 1 :post-affiliated 200329 :parent #1) (paragraph ... ... ...) (special-block ... ...) (paragraph ... ...)) (headline (:raw-value "Specify Bibligraphy files" :begin 200444 :end 200800 :pre-blank 0 :contents-begin 200475 :contents-end 200800 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil ...) (section ... ... ... ...)) (headline (:raw-value "Citation Syntax" :begin 200800 :end 201063 :pre-blank 0 :contents-begin 200821 :contents-end 201063 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil ...) (section ... ... ... ... ... ...)) (headline (:raw-value "Printing Bibliography" :begin 201063 :end 201192 :pre-blank 0 :contents-begin 201090 :contents-end 201192 :level 4 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil ...) (section ... ... ... ... ...))) keyword #f(compiled-function (keyword) #<bytecode -0xd20fedbf377cdf9>) (:export-options (subtree) :back-end #s(org-export-backend :name hugo :parent blackfriday :transcoders (... ... ... ... ... ... ... ... ... ... ... ...) :options (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :filters (...) :blocks nil :menu (72 "Export to Hugo-compatible ..." ...)) :translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block) (center-block . org-blackfriday-center-block) (example-block . org-blackfriday-example-block) (fixed-width . org-blackfriday-fixed-width) (footnote-reference . org-blackfriday-footnote-reference) (inner-template . org-blackfriday-inner-template) (italic . org-blackfriday-italic) (item . org-blackfriday-item) (latex-environment . org-blackfriday-latex-environment) (latex-fragment . org-blackfriday-latex-fragment) (line-break . org-html-line-break) (plain-list . org-blackfriday-plain-list) (plain-text . org-blackfriday-plain-text) (quote-block . org-blackfriday-quote-block) (radio-target . org-blackfriday-radio-target) ...) :exported-data #<hash-table eq 5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all..." :input-file "/home/runner/work/ox-hugo/..." :with-toc nil :section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo" :with-smart-quotes nil :with-special-strings nil :with-sub-superscript {} ...))
  org-cite-process-bibliography((:export-options (subtree) :back-end #s(org-export-backend :name hugo :parent blackfriday :transcoders ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block)) :options ((:with-toc nil "toc" org-hugo-export-with-toc) (:section-numbers nil "num" org-hugo-export-with-section-numbers) (:author "AUTHOR" nil user-full-name newline) (:creator "CREATOR" nil org-hugo-export-creator-string) (:with-smart-quotes nil "'" nil) (:with-special-strings nil "-" nil) (:with-sub-superscript nil "^" ...) (:hugo-with-locale "HUGO_WITH_LOCALE" nil nil) (:hugo-front-matter-format "HUGO_FRONT_MATTER_FORMAT" nil org-hugo-front-matter-format) (:hugo-level-offset "HUGO_LEVEL_OFFSET" nil "1") (:hugo-preserve-filling "HUGO_PRESERVE_FILLING" nil org-hugo-preserve-filling) (:hugo-delete-trailing-ws "HUGO_DELETE_TRAILING_WS" nil org-hugo-delete-trailing-ws) (:hugo-section "HUGO_SECTION" nil org-hugo-section) (:hugo-bundle "HUGO_BUNDLE" nil nil) (:hugo-base-dir "HUGO_BASE_DIR" nil org-hugo-base-dir) (:hugo-goldmark "HUGO_GOLDMARK" nil org-hugo-goldmark) (:hugo-code-fence "HUGO_CODE_FENCE" nil t) (:hugo-use-code-for-kbd "HUGO_USE_CODE_FOR_KBD" nil org-hugo-use-code-for-kbd) (:hugo-prefer-hyphen-in-tags "HUGO_PREFER_HYPHEN_IN_TAGS" nil org-hugo-prefer-hyphen-in-tags) (:hugo-allow-spaces-in-tags "HUGO_ALLOW_SPACES_IN_TAGS" nil org-hugo-allow-spaces-in-tags) (:hugo-auto-set-lastmod "HUGO_AUTO_SET_LASTMOD" nil org-hugo-auto-set-lastmod) (:hugo-custom-front-matter "HUGO_CUSTOM_FRONT_MATTER" nil nil space) (:hugo-blackfriday "HUGO_BLACKFRIDAY" nil nil space) (:hugo-front-matter-key-replace "HUGO_FRONT_MATTER_KEY_REPLACE" nil nil space) (:hugo-date-format "HUGO_DATE_FORMAT" nil org-hugo-date-format) (:hugo-paired-shortcodes "HUGO_PAIRED_SHORTCODES" nil org-hugo-paired-shortcodes space) (:hugo-pandoc-citations "HUGO_PANDOC_CITATIONS" nil nil) (:bibliography "BIBLIOGRAPHY" nil nil newline) (:html-container "HTML_CONTAINER" nil org-hugo-container-element) (:html-container-class "HTML_CONTAINER_CLASS" nil "") (:hugo-aliases "HUGO_ALIASES" nil nil space) (:hugo-audio "HUGO_AUDIO" nil nil) ...) :filters ((:filter-body . org-hugo-body-filter)) :blocks nil :menu (72 "Export to Hugo-compatible Markdo..." (... ... ... ... ... ...))) :translate-alist ((code . org-hugo-kbd-tags-maybe) (example-block . org-hugo-example-block) (export-block . org-hugo-export-block) (export-snippet . org-hugo-export-snippet) (headline . org-hugo-heading) (inner-template . org-hugo-inner-template) (inline-src-block . org-hugo-inline-src-block) (keyword . org-hugo-keyword) (link . org-hugo-link) (paragraph . org-hugo-paragraph) (src-block . org-hugo-src-block) (special-block . org-hugo-special-block) (center-block . org-blackfriday-center-block) (example-block . org-blackfriday-example-block) (fixed-width . org-blackfriday-fixed-width) (footnote-reference . org-blackfriday-footnote-reference) (inner-template . org-blackfriday-inner-template) (italic . org-blackfriday-italic) (item . org-blackfriday-item) (latex-environment . org-blackfriday-latex-environment) (latex-fragment . org-blackfriday-latex-fragment) (line-break . org-html-line-break) (plain-list . org-blackfriday-plain-list) (plain-text . org-blackfriday-plain-text) (quote-block . org-blackfriday-quote-block) (radio-target . org-blackfriday-radio-target) (special-block . org-blackfriday-special-block) (src-block . org-blackfriday-src-block) (strike-through . org-blackfriday-strike-through) (table-cell . org-blackfriday-table-cell) (table-row . org-blackfriday-table-row) (table . org-blackfriday-table) ...) :exported-data #<hash-table eq 5/4001 0x13a9641> :input-buffer "*Ox-hugo Pre-processed all-posts..." :input-file "/home/runner/work/ox-hugo/ox-hug..." :with-toc nil :section-numbers nil :author "" :creator "Emacs + Org mode + ox-hugo" :with-smart-quotes nil :with-special-strings nil :with-sub-superscript {} :hugo-with-locale nil :hugo-front-matter-format "toml" :hugo-level-offset "1" ...))
  org-export-as(hugo :subtreep nil nil (:output-file "/home/runner/work/ox-hugo/ox-hugo/test/site/conten..."))
...
  (closure ((buffer . #<buffer *Ox-hugo Pre-processed all-posts.org *>) (start-time 25209 6407 889564 239000) (wconfig . #<window-configuration>) (ret) (buf-has-subtree . t) (f-or-b-name . "all-posts.org") (noerror . :noerror) (visible-only) (async) (all-subtrees . :all-subtrees) t) nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees))()
  org-scan-tags((closure ((buffer . #<buffer *Ox-hugo Pre-processed all-posts.org *>) (start-time 25209 6407 889564 239000) (wconfig . #<window-configuration>) (ret) (buf-has-subtree . t) (f-or-b-name . "all-posts.org") (noerror . :noerror) (visible-only) (async) (all-subtrees . :all-subtrees) t) nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) (lambda (todo tags-list level) (progn (setq org-cached-props nil) (or (and (org-string<> (or (org-cached-entry-get nil "EXPORT_FILE_NAME") "") ""))))) nil nil)
  org-map-entries((closure ((buffer . #<buffer *Ox-hugo Pre-processed all-posts.org *>) (start-time 25209 6407 889564 239000) (wconfig . #<window-configuration>) (ret) (buf-has-subtree . t) (f-or-b-name . "all-posts.org") (noerror . :noerror) (visible-only) (async) (all-subtrees . :all-subtrees) t) nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\"")
  (setq ret (org-map-entries #'(lambda nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\""))
  (save-current-buffer (set-buffer buffer) (add-to-list 'org-hugo--opened-buffers buffer) (setq ret (org-map-entries #'(lambda nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\"")))
  (let ((buffer (org-hugo--get-pre-processed-buffer))) (save-current-buffer (set-buffer buffer) (add-to-list 'org-hugo--opened-buffers buffer) (setq ret (org-map-entries #'(lambda nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\""))))
  (if org-hugo--preprocess-buffer (let ((buffer (org-hugo--get-pre-processed-buffer))) (save-current-buffer (set-buffer buffer) (add-to-list 'org-hugo--opened-buffers buffer) (setq ret (org-map-entries #'(lambda nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\"")))) (setq ret (org-map-entries #'(lambda nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\"")))
  (let ((start-time (current-time))) (setq org-hugo--subtree-count 0) (let ((--dolist-tail-- org-hugo--all-subtrees-export--functions-to-silence)) (while --dolist-tail-- (let ((fn (car --dolist-tail--))) (advice-add fn :around #'org-hugo--advice-silence-messages) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if org-hugo--preprocess-buffer (let ((buffer (org-hugo--get-pre-processed-buffer))) (save-current-buffer (set-buffer buffer) (add-to-list 'org-hugo--opened-buffers buffer) (setq ret (org-map-entries #'(lambda nil ...) "EXPORT_FILE_NAME<>\"\"")))) (setq ret (org-map-entries #'(lambda nil (org-hugo--export-subtree-to-md async visible-only :all-subtrees)) "EXPORT_FILE_NAME<>\"\""))) (let* ((elapsed-time (float-time (time-since start-time))) (avg-time (/ elapsed-time org-hugo--subtree-count))) (message "[ox-hugo] Exported %d subtree%s from %s in %0.3fs ..." org-hugo--subtree-count (if (= 1 org-hugo--subtree-count) "" "s") f-or-b-name elapsed-time avg-time)) (org-hugo--after-all-exports-function))
  (cond ((and buf-has-subtree all-subtrees) (let ((start-time (current-time))) (setq org-hugo--subtree-count 0) (let ((--dolist-tail-- org-hugo--all-subtrees-export--functions-to-silence)) (while --dolist-tail-- (let ((fn ...)) (advice-add fn :around #'org-hugo--advice-silence-messages) (setq --dolist-tail-- (cdr --dolist-tail--))))) (if org-hugo--preprocess-buffer (let ((buffer (org-hugo--get-pre-processed-buffer))) (save-current-buffer (set-buffer buffer) (add-to-list 'org-hugo--opened-buffers buffer) (setq ret (org-map-entries ... "EXPORT_FILE_NAME<>\"\"")))) (setq ret (org-map-entries #'(lambda nil ...) "EXPORT_FILE_NAME<>\"\""))) (let* ((elapsed-time (float-time (time-since start-time))) (avg-time (/ elapsed-time org-hugo--subtree-count))) (message "[ox-hugo] Exported %d subtree%s from %s in %0.3fs ..." org-hugo--subtree-count (if (= 1 org-hugo--subtree-count) "" "s") f-or-b-name elapsed-time avg-time)) (org-hugo--after-all-exports-function))) ((and buf-has-subtree (not all-subtrees)) (setq ret (org-hugo--export-subtree-to-md async visible-only))) (t (setq ret (org-hugo--export-file-to-md f-or-b-name async visible-only noerror))))
  (save-restriction (widen) (cond ((and buf-has-subtree all-subtrees) (let ((start-time (current-time))) (setq org-hugo--subtree-count 0) (let ((--dolist-tail-- org-hugo--all-subtrees-export--functions-to-silence)) (while --dolist-tail-- (let (...) (advice-add fn :around ...) (setq --dolist-tail-- ...)))) (if org-hugo--preprocess-buffer (let ((buffer ...)) (save-current-buffer (set-buffer buffer) (add-to-list ... buffer) (setq ret ...))) (setq ret (org-map-entries #'... "EXPORT_FILE_NAME<>\"\""))) (let* ((elapsed-time (float-time ...)) (avg-time (/ elapsed-time org-hugo--subtree-count))) (message "[ox-hugo] Exported %d subtree%s from %s in %0.3fs ..." org-hugo--subtree-count (if (= 1 org-hugo--subtree-count) "" "s") f-or-b-name elapsed-time avg-time)) (org-hugo--after-all-exports-function))) ((and buf-has-subtree (not all-subtrees)) (setq ret (org-hugo--export-subtree-to-md async visible-only))) (t (setq ret (org-hugo--export-file-to-md f-or-b-name async visible-only noerror)))))
  (save-excursion (save-restriction (widen) (cond ((and buf-has-subtree all-subtrees) (let ((start-time (current-time))) (setq org-hugo--subtree-count 0) (let ((--dolist-tail-- org-hugo--all-subtrees-export--functions-to-silence)) (while --dolist-tail-- (let ... ... ...))) (if org-hugo--preprocess-buffer (let (...) (save-current-buffer ... ... ...)) (setq ret (org-map-entries ... "EXPORT_FILE_NAME<>\"\""))) (let* ((elapsed-time ...) (avg-time ...)) (message "[ox-hugo] Exported %d subtree%s from %s in %0.3fs ..." org-hugo--subtree-count (if ... "" "s") f-or-b-name elapsed-time avg-time)) (org-hugo--after-all-exports-function))) ((and buf-has-subtree (not all-subtrees)) (setq ret (org-hugo--export-subtree-to-md async visible-only))) (t (setq ret (org-hugo--export-file-to-md f-or-b-name async visible-only noerror))))))
  (progn (save-excursion (save-restriction (widen) (cond ((and buf-has-subtree all-subtrees) (let ((start-time ...)) (setq org-hugo--subtree-count 0) (let (...) (while --dolist-tail-- ...)) (if org-hugo--preprocess-buffer (let ... ...) (setq ret ...)) (let* (... ...) (message "[ox-hugo] Exported %d subtree%s from %s in %0.3fs ..." org-hugo--subtree-count ... f-or-b-name elapsed-time avg-time)) (org-hugo--after-all-exports-function))) ((and buf-has-subtree (not all-subtrees)) (setq ret (org-hugo--export-subtree-to-md async visible-only))) (t (setq ret (org-hugo--export-file-to-md f-or-b-name async visible-only noerror)))))))
  (unwind-protect (progn (save-excursion (save-restriction (widen) (cond ((and buf-has-subtree all-subtrees) (let (...) (setq org-hugo--subtree-count 0) (let ... ...) (if org-hugo--preprocess-buffer ... ...) (let* ... ...) (org-hugo--after-all-exports-function))) ((and buf-has-subtree (not all-subtrees)) (setq ret (org-hugo--export-subtree-to-md async visible-only))) (t (setq ret (org-hugo--export-file-to-md f-or-b-name async visible-only noerror))))))) (set-window-configuration wconfig))
  (let ((wconfig (current-window-configuration))) (unwind-protect (progn (save-excursion (save-restriction (widen) (cond ((and buf-has-subtree all-subtrees) (let ... ... ... ... ... ...)) ((and buf-has-subtree ...) (setq ret ...)) (t (setq ret ...)))))) (set-window-configuration wconfig)))
  (let ((f-or-b-name (if (buffer-file-name) (file-name-nondirectory (buffer-file-name)) (buffer-name))) (buf-has-subtree (org-hugo--buffer-has-valid-post-subtree-p)) ret) (if (or (eq org-id-locations nil) (= 0 (hash-table-count org-id-locations))) (progn (org-id-update-id-locations (directory-files "." :full ".org$" :nosort) :silent))) (let ((wconfig (current-window-configuration))) (unwind-protect (progn (save-excursion (save-restriction (widen) (cond (... ...) (... ...) (t ...))))) (set-window-configuration wconfig))) ret)
  org-hugo-export-wim-to-md(:all-subtrees nil nil :noerror)
  org-hugo-export-all-wim-to-md()
kaushalmodi commented 2 years ago

After evaluating this:

(defun org-cite-basic--get-field (field entry-or-key &optional info raw)
  "Return FIELD value for ENTRY-OR-KEY, or nil.

FIELD is a symbol.  ENTRY-OR-KEY is either an association list, as returned by
`org-cite-basic--get-entry', or a string representing a citation key.

Optional argument INFO is the export state, as a property list.

Return value may be nil or a string.  If current export back-end is derived
from `latex', return a raw string instead, unless optional argument RAW is
non-nil."
  (message "field = %S" field)
  (message "  entry-or-key = %S" entry-or-key)
  (let ((value
         (cdr
          (assq field
                (pcase entry-or-key
                  ((pred stringp)
                   (org-cite-basic--get-entry entry-or-key info))
                  ((pred consp)
                   entry-or-key)
                  (_
                   (error "Wrong value for ENTRY-OR-KEY: %S" entry-or-key)))))))
    (if (and value
             (not raw)
             (org-export-derived-backend-p (plist-get info :back-end) 'latex))
        (org-export-raw-string value)
      value)))

.. when attempting to export [[file:all-posts.org::*Org Cite Basic Example]] ..

On emacs-28 branch

no error

Output in *Messages* buffer:

[ox-hugo] Exporting ‘Org Cite Basic Example’ ..
org-babel-exp process org at position 199628...
org-babel-exp process org at position 199897...
field = author
  entry-or-key = "OrgCitations"
field = author
  entry-or-key = "OrgCitations"
field = year
  entry-or-key = "OrgCitations"
field = author
  entry-or-key = ((type . "article") (id . "OrgCitations") (author . #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent (paragraph nil #2 #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #("Journal of Plain Text Formats" 0 29 (:parent #4)) #("." 0 1 (:parent #4)))))) (journal . #("Journal of Plain Text Formats" 0 29 (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #4)) #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #2 #("." 0 1 (:parent #4)))))) (title . #("Elegant Citations with Org-Mode" 0 31 (:parent (italic (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #6)) #(" (" 0 2 (:parent #6)) #("2021" 0 4 (:parent #6)) #("). " 0 3 (:parent #6)) #4 #(", " 0 2 (:parent #6)) #("Journal of Plain Text Formats" 0 29 (:parent #6)) #("." 0 1 (:parent #6)))) #2)))) (year . "2021") (month . "7") (volume . "42") (number . "1") (pages . "2-3"))
field = title
  entry-or-key = ((type . "article") (id . "OrgCitations") (author . #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent (paragraph nil #2 #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #("Journal of Plain Text Formats" 0 29 (:parent #4)) #("." 0 1 (:parent #4)))))) (journal . #("Journal of Plain Text Formats" 0 29 (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #4)) #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #2 #("." 0 1 (:parent #4)))))) (title . #("Elegant Citations with Org-Mode" 0 31 (:parent (italic (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #6)) #(" (" 0 2 (:parent #6)) #("2021" 0 4 (:parent #6)) #("). " 0 3 (:parent #6)) #4 #(", " 0 2 (:parent #6)) #("Journal of Plain Text Formats" 0 29 (:parent #6)) #("." 0 1 (:parent #6)))) #2)))) (year . "2021") (month . "7") (volume . "42") (number . "1") (pages . "2-3"))
field = publisher
  entry-or-key = ((type . "article") (id . "OrgCitations") (author . #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent (paragraph nil #2 #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #("Journal of Plain Text Formats" 0 29 (:parent #4)) #("." 0 1 (:parent #4)))))) (journal . #("Journal of Plain Text Formats" 0 29 (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #4)) #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #2 #("." 0 1 (:parent #4)))))) (title . #("Elegant Citations with Org-Mode" 0 31 (:parent (italic (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #6)) #(" (" 0 2 (:parent #6)) #("2021" 0 4 (:parent #6)) #("). " 0 3 (:parent #6)) #4 #(", " 0 2 (:parent #6)) #("Journal of Plain Text Formats" 0 29 (:parent #6)) #("." 0 1 (:parent #6)))) #2)))) (year . "2021") (month . "7") (volume . "42") (number . "1") (pages . "2-3"))
field = journal
  entry-or-key = ((type . "article") (id . "OrgCitations") (author . #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent (paragraph nil #2 #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #("Journal of Plain Text Formats" 0 29 (:parent #4)) #("." 0 1 (:parent #4)))))) (journal . #("Journal of Plain Text Formats" 0 29 (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #4)) #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #2 #("." 0 1 (:parent #4)))))) (title . #("Elegant Citations with Org-Mode" 0 31 (:parent (italic (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #6)) #(" (" 0 2 (:parent #6)) #("2021" 0 4 (:parent #6)) #("). " 0 3 (:parent #6)) #4 #(", " 0 2 (:parent #6)) #("Journal of Plain Text Formats" 0 29 (:parent #6)) #("." 0 1 (:parent #6)))) #2)))) (year . "2021") (month . "7") (volume . "42") (number . "1") (pages . "2-3"))
field = author
  entry-or-key = ((type . "article") (id . "OrgCitations") (author . #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent (paragraph nil #2 #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #("Journal of Plain Text Formats" 0 29 (:parent #4)) #("." 0 1 (:parent #4)))))) (journal . #("Journal of Plain Text Formats" 0 29 (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #4)) #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #2 #("." 0 1 (:parent #4)))))) (title . #("Elegant Citations with Org-Mode" 0 31 (:parent (italic (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #6)) #(" (" 0 2 (:parent #6)) #("2021" 0 4 (:parent #6)) #("). " 0 3 (:parent #6)) #4 #(", " 0 2 (:parent #6)) #("Journal of Plain Text Formats" 0 29 (:parent #6)) #("." 0 1 (:parent #6)))) #2)))) (year . "2021") (month . "7") (volume . "42") (number . "1") (pages . "2-3"))
field = year
  entry-or-key = ((type . "article") (id . "OrgCitations") (author . #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent (paragraph nil #2 #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #("Journal of Plain Text Formats" 0 29 (:parent #4)) #("." 0 1 (:parent #4)))))) (journal . #("Journal of Plain Text Formats" 0 29 (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #4)) #(" (" 0 2 (:parent #4)) #("2021" 0 4 (:parent #4)) #("). " 0 3 (:parent #4)) (italic (:parent #4) #("Elegant Citations with Org-Mode" 0 31 (:parent #5))) #(", " 0 2 (:parent #4)) #2 #("." 0 1 (:parent #4)))))) (title . #("Elegant Citations with Org-Mode" 0 31 (:parent (italic (:parent (paragraph nil #("org, mode and Syntax, Citation and List, Mailing and Effort, Time" 0 65 (:parent #6)) #(" (" 0 2 (:parent #6)) #("2021" 0 4 (:parent #6)) #("). " 0 3 (:parent #6)) #4 #(", " 0 2 (:parent #6)) #("Journal of Plain Text Formats" 0 29 (:parent #6)) #("." 0 1 (:parent #6)))) #2)))) (year . "2021") (month . "7") (volume . "42") (number . "1") (pages . "2-3"))
Wrote /home/kmodi/stow/pub_dotfiles/emacs/dot-emacs.d/elisp/ox-hugo/test/site/content/posts/org-cite-basic-example.md

On master (emacs 29.x) branch

Error

Output in *Messages* buffer:

[ox-hugo] Exporting ‘Org Cite Basic Example’ ..
org-babel-exp process org at position 199572...
org-babel-exp process org at position 199841...
field = author
  entry-or-key = "OrgCitations"
field = editor
  entry-or-key = "OrgCitations"
field = author
  entry-or-key = "OrgCitations"
field = editor
  entry-or-key = "OrgCitations"
field = year
  entry-or-key = "OrgCitations"
field = date
  entry-or-key = "OrgCitations"
field = author
  entry-or-key = nil
let: Wrong value for ENTRY-OR-KEY: nil
kaushalmodi commented 2 years ago

The regression was caused in bibtex.el on emacs master in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c32e8b33f4fdd17856e5f7ae8e7e7c6d3b473342, and it's now fixed in https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d221c02fa1db17e1275687f0bbce4ff1499119a1.