public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* A little confused on how pandoc converts bibliographies....
@ 2022-07-22 12:33 A A
       [not found] ` <CAMwawgPWu2H_M82nP93LuY-v+jVHbvax-Jppbd4pn9jPNANWoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: A A @ 2022-07-22 12:33 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Dear All,

It seems to me that the way pandoc handles bibliographies is slighty
different from how it handles other formats. After doing some checks, it
looks individual bibliographic elements are not converted to AST elements
but rather Metadata elements. This is true at the very least for markdown.

Could anyone point to some resources, information or perhaps source code
for how pandoc specifically handles LaTeX based bibliographies such as
BibTeX or BibLaTeX? Are the readers and writers for these formats written
in Lua? If so where can I find them?

Regards,

Amine

-- 
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/CAMwawgPWu2H_M82nP93LuY-v%2BjVHbvax-Jppbd4pn9jPNANWoA%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 1416 bytes --]

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

* Re: A little confused on how pandoc converts bibliographies....
       [not found] ` <CAMwawgPWu2H_M82nP93LuY-v+jVHbvax-Jppbd4pn9jPNANWoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2022-07-22 16:34   ` Sukil Etxenike arizaleta
  0 siblings, 0 replies; 2+ messages in thread
From: Sukil Etxenike arizaleta @ 2022-07-22 16:34 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

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

Hi,

No, they aren't written in Lua but in Haskell, as the rest of Pandoc. 
You can find them in Pandoc's source tree 
(<https://github.com/jgm/pandoc>), in src/text/pandoc/readers/bibtex.hs, 
src/text/pandoc/citeproc/bibtex.hs and src/text/pandoc/writers/bibtex.hs.

Hth,

Sukil


El 22/07/2022 a las 14:33, A A escribió:
> Dear All,
>
> It seems to me that the way pandoc handles bibliographies is slighty 
> different from how it handles other formats. After doing some checks, 
> it looks individual bibliographic elements are not converted to AST 
> elements but rather Metadata elements. This is true at the very least 
> for markdown.
>
> Could anyone point to some resources, information or perhaps source 
> code for how pandoc specifically handles LaTeX based bibliographies 
> such as BibTeX or BibLaTeX? Are the readers and writers for these 
> formats written in Lua? If so where can I find them?
>
> Regards,
>
> Amine
> -- 
> 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/CAMwawgPWu2H_M82nP93LuY-v%2BjVHbvax-Jppbd4pn9jPNANWoA%40mail.gmail.com 
> <https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPWu2H_M82nP93LuY-v%2BjVHbvax-Jppbd4pn9jPNANWoA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- 
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/e18b5b87-afe6-22b5-9760-aeaa3d57fa92%40gmail.com.

[-- Attachment #2: Type: text/html, Size: 3354 bytes --]

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

end of thread, other threads:[~2022-07-22 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-22 12:33 A little confused on how pandoc converts bibliographies A A
     [not found] ` <CAMwawgPWu2H_M82nP93LuY-v+jVHbvax-Jppbd4pn9jPNANWoA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2022-07-22 16:34   ` Sukil Etxenike arizaleta

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