public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* How to use scholarly-metadata.lua
@ 2022-03-02 17:01 Pedro P. Palazzo
       [not found] ` <71489ba0-7c6f-49b3-9f69-30fee6dd55e0n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Pedro P. Palazzo @ 2022-03-02 17:01 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1923 bytes --]

Hi, I am trying out the scholarly-metadata and author-info-blocks filters 
(just downloaded the latest release) with pandoc 2.17.1.1 and am getting 
the following error:

Error running filter 
/Users/palazzo/.local/share/pandoc/filters/scholarly-metadata.lua:
...lazzo/.local/share/pandoc/filters/scholarly-metadata.lua:95: not a named 
object: List: 0x600002684b00
stack traceback:
        ...lazzo/.local/share/pandoc/filters/scholarly-metadata.lua:95: in 
function 'to_named_object'
        [C]: in function 'pandoc.List.map'
        ...lazzo/.local/share/pandoc/filters/scholarly-metadata.lua:144: in 
upvalue 'canonicalize'
        ...lazzo/.local/share/pandoc/filters/scholarly-metadata.lua:181: in 
function <...lazzo/.local/share/pandoc/filters/scholarly-metadata.lua:180>

[Process exited 83]

My YAML header looks like this:

---
title: "Some title"
author: 
  - Rui Florentino:
      correspondence: "yes"
      email: some-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org
      institute: upt
  - Pedro P. Palazzo:
      correspondence: "yes"
      email: another-zuv13RyHHZkAvxtiuMwx3w@public.gmane.org
      institute: unb
institute:
  - upt: Professor e investigador da Universidade Portucalense, 
Departamento de Arquitetura e Multimédia
  - unb: Professor Associado, Universidade de Brasília, Faculdade de 
Arquitetura e Urbanismo.
---

I even tried copying and pasting the example YAML data that is on the 
filters’ README and still get the same error.

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/71489ba0-7c6f-49b3-9f69-30fee6dd55e0n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2525 bytes --]

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

* Re: How to use scholarly-metadata.lua
       [not found] ` <71489ba0-7c6f-49b3-9f69-30fee6dd55e0n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2022-03-03 16:29   ` Albert Krewinkel
       [not found]     ` <8735jzj8nu.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2022-03-03 16:29 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

Hi,

"Pedro P. Palazzo" <pedro.palazzo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hi, I am trying out the scholarly-metadata and author-info-blocks
> filters (just downloaded the latest release) with pandoc 2.17.1.1 and
> am getting the following error:
>
> [...]

There were some substantial changes to the Lua subsystem in recent
pandoc releases, and I didn't get around yet to make sure that all my
old filters work with the new versions.

Unless you depend on a feature in the latest versions, it may be best
for the time being to use a previous version of pandoc. I'd recommend
pandoc 2.14.2, as it still uses the old Lua subsystem.

Best,
Albert

-- 
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


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

* Re: How to use scholarly-metadata.lua
       [not found]     ` <8735jzj8nu.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2022-03-03 17:08       ` Pedro P. Palazzo
  0 siblings, 0 replies; 3+ messages in thread
From: Pedro P. Palazzo @ 2022-03-03 17:08 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1421 bytes --]

Thanks, I’ll keep a copy of pandoc-2.14.2 around for whenever I need to use 
these filters.

Em quinta-feira, 3 de março de 2022 às 16:36:00 UTC, Albert Krewinkel 
escreveu:

> Hi, 
>
> "Pedro P. Palazzo" <pedro....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes: 
>
> > Hi, I am trying out the scholarly-metadata and author-info-blocks 
> > filters (just downloaded the latest release) with pandoc 2.17.1.1 and 
> > am getting the following error: 
> > 
> > [...] 
>
> There were some substantial changes to the Lua subsystem in recent 
> pandoc releases, and I didn't get around yet to make sure that all my 
> old filters work with the new versions. 
>
> Unless you depend on a feature in the latest versions, it may be best 
> for the time being to use a previous version of pandoc. I'd recommend 
> pandoc 2.14.2, as it still uses the old Lua subsystem. 
>
> Best, 
> Albert 
>
> -- 
> Albert Krewinkel 
> GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/10092b01-793f-4403-bf2a-e8088f77ad5bn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 2017 bytes --]

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

end of thread, other threads:[~2022-03-03 17:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 17:01 How to use scholarly-metadata.lua Pedro P. Palazzo
     [not found] ` <71489ba0-7c6f-49b3-9f69-30fee6dd55e0n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2022-03-03 16:29   ` Albert Krewinkel
     [not found]     ` <8735jzj8nu.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2022-03-03 17:08       ` Pedro P. Palazzo

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 NNTP newsgroup(s).