emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Citation bug: cite/a does not work with basic
@ 2023-11-23  6:44 William Denton
  2023-12-05 11:09 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: William Denton @ 2023-11-23  6:44 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

I'm finally starting to investigate citations (what an astounding amount of work 
went into it all!) and ran across what seems to be a small bug.

Test.bib file:

   @article{test2023,
     title = {Title Here},
     author = {Denton, William},
     date = {2023-11-23},
     journaltitle = {Journal Title},
     volume = {2},
     number = {3},
     issue = {5}
   }

Make an Org file with three lines, using cite/a to get the author citation:

┌
│ #+bibliography: Test.bib
│ #+cite_export: basic author author-year
│ [cite/a:@test2023]
└

Try to export it to LaTeX with "C-c C-e l l" and we get this error:

    Wrong type argument: characterp, raw

However, change it to cite/n: or cite/t: or just plain cite: and it will work. 
I think it should work with cite/a, but I'm not sure what's going on.


Thanks,

Bill

--
William Denton
https://www.miskatonic.org/
Librarian, artist and licensed private investigator.
Toronto, Canada
CO₂: 420.61 ppm (Mauna Loa Observatory, 2023-11-21)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Citation bug: cite/a does not work with basic
  2023-11-23  6:44 Citation bug: cite/a does not work with basic William Denton
@ 2023-12-05 11:09 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-12-05 11:09 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

William Denton <wtd@pobox.com> writes:

> Make an Org file with three lines, using cite/a to get the author citation:
>
> ┌
> │ #+bibliography: Test.bib
> │ #+cite_export: basic author author-year
> │ [cite/a:@test2023]
> └
>
> Try to export it to LaTeX with "C-c C-e l l" and we get this error:
>
>     Wrong type argument: characterp, raw

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=23378177c

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-05 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-23  6:44 Citation bug: cite/a does not work with basic William Denton
2023-12-05 11:09 ` Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).