emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Citations bug with basic processor, plain bibliographies, LaTeX
@ 2023-12-15 14:56 William Denton
  2023-12-15 15:08 ` Ihor Radchenko
  2023-12-18 16:16 ` William Denton
  0 siblings, 2 replies; 5+ messages in thread
From: William Denton @ 2023-12-15 14:56 UTC (permalink / raw)
  To: emacs-orgmode

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

I've found a bug on main that I think is related to the recent patches about raw 
string objects.

Try this as Basic.bib:

@book{friends,
   title = {{{LaTeX}} and Friends},
   author = {van Dongen, M.R.C.},
   date = {2012},
   location = {Berlin},
   publisher = {Springer},
   doi = {10.1007/978-3-642-23816-1},
   isbn = {9783642238161}
}

And then this as basic.org:

# ----------

#+bibliography: Basic.bib
#+cite_export: basic plain numeric
[cite:@friends]
#+print_bibliography:

# ----------

Exporting to text, HTML or ODT works, but trying with LaTeX gives this error:

mapconcat: Wrong type argument: stringp, (raw nil #("van Dongen, M.R.C." 0 18 
(:parent #0)))


Thanks,


Bill

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

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

* Re: Citations bug with basic processor, plain bibliographies, LaTeX
  2023-12-15 14:56 Citations bug with basic processor, plain bibliographies, LaTeX William Denton
@ 2023-12-15 15:08 ` Ihor Radchenko
  2023-12-18 16:16 ` William Denton
  1 sibling, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2023-12-15 15:08 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

William Denton <wtd@pobox.com> writes:

> I've found a bug on main that I think is related to the recent patches about raw 
> string objects.
> ...
> mapconcat: Wrong type argument: stringp, (raw nil #("van Dongen, M.R.C." 0 18 
> (:parent #0)))

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

-- 
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] 5+ messages in thread

* Re: Citations bug with basic processor, plain bibliographies, LaTeX
  2023-12-15 14:56 Citations bug with basic processor, plain bibliographies, LaTeX William Denton
  2023-12-15 15:08 ` Ihor Radchenko
@ 2023-12-18 16:16 ` William Denton
  2023-12-18 17:16   ` Ihor Radchenko
  1 sibling, 1 reply; 5+ messages in thread
From: William Denton @ 2023-12-18 16:16 UTC (permalink / raw)
  To: emacs-orgmode

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

Ihor, you patched this, but I rebuilt Org and tried again and it fails with a 
*Messages* showing a slightly different error:

org-cite-basic--shorten-names: Wrong type argument: stringp, (raw nil #("van 
Dongen, M.R.C." 0 18 (:parent #0)))

Soon all of these bugs will be squashed!

Thanks,

Bill

On 15 December 2023, William Denton wrote:

> I've found a bug on main that I think is related to the recent patches about 
> raw string objects.
>
> Try this as Basic.bib:
>
> @book{friends,
>  title = {{{LaTeX}} and Friends},
>  author = {van Dongen, M.R.C.},
>  date = {2012},
>  location = {Berlin},
>  publisher = {Springer},
>  doi = {10.1007/978-3-642-23816-1},
>  isbn = {9783642238161}
> }
>
> And then this as basic.org:
>
> # ----------
>
> #+bibliography: Basic.bib
> #+cite_export: basic plain numeric
> [cite:@friends]
> #+print_bibliography:
>
> # ----------
>
> Exporting to text, HTML or ODT works, but trying with LaTeX gives this error:
>
> mapconcat: Wrong type argument: stringp, (raw nil #("van Dongen, M.R.C." 0 18 
> (:parent #0)))


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

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

* Re: Citations bug with basic processor, plain bibliographies, LaTeX
  2023-12-18 16:16 ` William Denton
@ 2023-12-18 17:16   ` Ihor Radchenko
  2023-12-18 17:24     ` William Denton
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2023-12-18 17:16 UTC (permalink / raw)
  To: William Denton; +Cc: emacs-orgmode

William Denton <wtd@pobox.com> writes:

> Ihor, you patched this, but I rebuilt Org and tried again and it fails with a 
> *Messages* showing a slightly different error:
>
> org-cite-basic--shorten-names: Wrong type argument: stringp, (raw nil #("van 
> Dongen, M.R.C." 0 18 (:parent #0)))
>
> Soon all of these bugs will be squashed!

Sigh... Fixed, on main. (I hope)
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=41726d408

-- 
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] 5+ messages in thread

* Re: Citations bug with basic processor, plain bibliographies, LaTeX
  2023-12-18 17:16   ` Ihor Radchenko
@ 2023-12-18 17:24     ` William Denton
  0 siblings, 0 replies; 5+ messages in thread
From: William Denton @ 2023-12-18 17:24 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

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

On 18 December 2023, Ihor Radchenko wrote:

> Sigh... Fixed, on main. (I hope)
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=41726d408

Fixed!  Thanks.


Bill

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

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

end of thread, other threads:[~2023-12-18 17:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15 14:56 Citations bug with basic processor, plain bibliographies, LaTeX William Denton
2023-12-15 15:08 ` Ihor Radchenko
2023-12-18 16:16 ` William Denton
2023-12-18 17:16   ` Ihor Radchenko
2023-12-18 17:24     ` William Denton

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).