From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/31066 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sukil Etxenike arizaleta Newsgroups: gmane.text.pandoc Subject: Re: A little confused on how pandoc converts bibliographies.... Date: Fri, 22 Jul 2022 18:34:55 +0200 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------dx4s5Dg0QrFOwuxlywd22iRO" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6323"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0.3 To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDIN5YV3SMDBBM5D5OLAMGQE2MJUXSQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Jul 22 18:35:04 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f60.google.com ([209.85.167.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oEvcG-0001SO-00 for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 22 Jul 2022 18:35:04 +0200 Original-Received: by mail-lf1-f60.google.com with SMTP id o20-20020ac24c54000000b0048a286ed00dsf1980457lfk.14 for ; Fri, 22 Jul 2022 09:35:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658507703; cv=pass; d=google.com; s=arc-20160816; b=RR9CWcBTWew25GyeWDShgZfRuXDbLuxR6AZF8dE04d/hev7e+bcp7Sn4ctwquKc7IX Vpd5q/RFX3Sm/LjKFmJhm3WiSfSdHda0CAmTOpKSSNpEAyr/4aLCWqsDOhbWgSe82IRf 18KLlGHaAZ2iUsmmfHQZlMWyl/Sx/dMlGBgOgMdBZf2G7+eLXW2SQaVrpu3QSm9yD86y qXv/SzGwWg2vr/HHvRDl2aJOfxWKgfldBJh8KSHblkrS4UrPRb9pveswvMXg+nxyI/kA ng4+zvI+R0Bpki9KFi+/xq1mvfIoQvDbB0h7rxvl+v6NNFR5o4jAOpWuZHR4Xxs8Nsel plGQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:dkim-signature:dkim-signature; bh=h0l81Bo1cgefKFJ3NODKzUGYwk6Pi7be0zvtocs3RYM=; b=ArIlu2NqKrYxoIKkqFFqd2YsB2LT6pt4h8A/AzKHvsIHYC3nzSfu1O3RvgR+gQDKyx 63hrufokwN0fIu7rc9E0A/ZREK+72FlDq1PD4W3f7Gu6m0rOs70LoHkmpnmY4Lk5zhdH E2yGQLwKApc+esW+p+a26Oiw7yzv2CHn+FeFYaVszq1SFAs+WWNC6tVVOpJZzVJAPXgb yQHhoV53u+l8/FFIfsGo/hM+aK1dDs7DOo7b1GcfHPcoTsq6Xtm/fhrpxmvHSPxJvmHo r4DJjk0VpAJxsVVjLqivFjefoQd/rpmZSNwsDyivL3CLBu6U3SwseiEaI+XDU4cvK424 JDdA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WdP9rNzb; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=h0l81Bo1cgefKFJ3NODKzUGYwk6Pi7be0zvtocs3RYM=; b=MaFXfzIlhspJ531JtQbg/mque2SXIQJHXsp1QfVcXQUADVL8mbNH/cinYaU2+1YhK+ hX5w11s8k9KXMK59k4KoVqulV8nb0a8Kkg+hoco+3Ok5qIYhvIL1+DhHj/ThF7RRtrHt PJDsICA57QQHDXRjhl2otixHttZd5FKiLUQJuOtJ7eqq76hkHX+t+Tyd3w/YNra/jbNw gisl7N2/DKdP8clbZgNKDtZ3JbdUNYDZ0zF4uA1mD8k/b1D9ET0OA226AmzGNRQxsK4A SmWrkiWliHqB8cQ4PchGYwEoyCzEz00lJYk2+zqw4apn8zqbdeRFk/0SQqLWy5T0p0fj CGQQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=h0l81Bo1cgefKFJ3NODKzUGYwk6Pi7be0zvtocs3RYM=; b=oyVgi+8ktyx2TtJxQgk3on9PaiqYeSAtsYSXjPuV1i/k5qBsABjhQUpVTC+sqafjfd PknL2JxtX00FlrBMzzqkZvi9n6pm+cs/o2qVapmJsoMrk8jTj5sNNo35H8l57OlZ/lnc 9K0aJadkzm9FPKGsiBitmPljByyE0BfhtGa24wPEpqWtJsPbrLpspd5cMCoOyHpVEOjP aJc4crlhRJQBZhfS2IdZh4/5Nd3bt7bCIxVeI/zj2lS7C8YrEpWz53hjT9llfy8SL3tG xatSLPJZDtGTqgwdZDwyJRnkcfyEx5nqwhy0+RyTNUVrYcrdCexwxd84DCGJBAhdsD11 Vf1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:message-id:date:mime-version:user-agent :subject:content-language:to:references:from:in-reply-to :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=h0l81Bo1cgefKFJ3NODKzUGYwk6Pi7be0zvtocs3RYM=; b=MQ4/j7+qCKfX/WwcaHDYQo0GwSUh1Ed/Ck1/IBD+nX0FLh75Gz0nhKUvScBA3tqVSX UNbExr+61fmkoABDncgRxdLtaBxQ3YCzFEJiIB29iU4SjQS8x7FK3obXjRJM+JD0/QEa 2nM89riHzjFrktQrSKJMPAGO1lNXw30U291tuCoG1W5heOWGIHMIGv88Me36SeQL4/96 OCOt59gmW0hIq97UqTCtfu1NPoyQP/UmeLTA9FgA1mZEqAxSkDiERuqM0jh5QQfN8rMJ b1gHpl2hKqVT2VZI7g7nP8g9P1eDkMiZNeiVQ/LSWBf9lB8vwmGVOfaGtVqUfjTHhYeF Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora8d3Ac2Z6SrG15tfb9P5mOYrg8RFhj4ZgpATPyYHXc9jr46JgBJ fA57iIhphkM9DmeQm1hS1iM= X-Google-Smtp-Source: AGRyM1sawyFEzcXp5+UH3IokfelZTfvCfIgfq/pIY6Q471jF1xIBnzMt2tQR6ctEGyVtEJp+wlalJg== X-Received: by 2002:a05:6512:ac3:b0:487:f32:90ca with SMTP id n3-20020a0565120ac300b004870f3290camr302525lfu.360.1658507703154; Fri, 22 Jul 2022 09:35:03 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:9e90:0:b0:25d:30d4:30e4 with SMTP id f16-20020a2e9e90000000b0025d30d430e4ls1187032ljk.9.-pod-prod-gmail; Fri, 22 Jul 2022 09:34:58 -0700 (PDT) X-Received: by 2002:a2e:bd89:0:b0:25a:86c8:93ca with SMTP id o9-20020a2ebd89000000b0025a86c893camr263997ljq.419.1658507698322; Fri, 22 Jul 2022 09:34:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658507698; cv=none; d=google.com; s=arc-20160816; b=ri/jn7hfHcgdy+4a6FBrPniaTYv5acse9TdUhIgPJi6xC3w46Z9L4wNOEQL9Xk0A27 Rmq04G5wevVvOMmyi94Xd9tzjo/13QO1CR0/OJ7RRBL0+MX1LwHTSRB6iGp/rbVun+1w XoCXwdaks8RpXAesPO5vkCifSd+nkg+0/dT9Nf1N8jX0Uv5nfjRNmyEGRlnvL8+4re2q BDZBUXLpsi2JR00Nr0mVVnQFVMawATvqgtHeQdj3M89WZqu1t6GRBJ1p7H95ht/7y4Gt YPukd8Dw5L4+i18JqW1GKnOjrrkSp7z6BdPA4ZebIlNJq0IpwNP45WwZPNQIqjuONboT VXcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:from:references:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=kpPoEZWZ+6CF420EQSJd+lcy3bj0mAsRl63wSbdQQVo=; b=DnUUlFj8xKB5hTyhT5zYcJlp/3N2fYNtA0j9xEmGIqubP5i90Jc8WPPf9tkww4Ux46 7P4GZ4fH3oyH4Pl8lz6sj5iU5mhuFiAycT2S0Dwpo11Lh2jNpT9FG5lxq1jP6aAdQUKT iebb/OO/n+Bx0MQWq7jmHvoVM/whV+K3lINVHcWsWhA6doYmOQTi0SL3vMu/8LM3bKSe OficyuNMKYQRkYLhQcVzUypgvHjr7m8+VsQqS8yIih5FSU4OimXBfj6k/fX0w22Ng8Ti VsFSGbbPcUFDw+OaP6d7AuW3dpACrOucXSx3+ty1bgm0vrJ/BBPDWFY09uetgyPBoUTU MCGw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WdP9rNzb; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com. [2a00:1450:4864:20::333]) by gmr-mx.google.com with ESMTPS id z11-20020a056512370b00b004810d3e125csi205961lfr.11.2022.07.22.09.34.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Jul 2022 09:34:58 -0700 (PDT) Received-SPF: pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::333 as permitted sender) client-ip=2a00:1450:4864:20::333; Original-Received: by mail-wm1-x333.google.com with SMTP id ay11-20020a05600c1e0b00b003a3013da120so5506594wmb.5 for ; Fri, 22 Jul 2022 09:34:58 -0700 (PDT) X-Received: by 2002:a05:600c:6009:b0:3a3:1506:f60f with SMTP id az9-20020a05600c600900b003a31506f60fmr12782037wmb.144.1658507697569; Fri, 22 Jul 2022 09:34:57 -0700 (PDT) Original-Received: from [192.168.1.23] (195.red-79-149-139.dynamicip.rima-tde.net. [79.149.139.195]) by smtp.gmail.com with ESMTPSA id f7-20020a1c3807000000b003a3080eacb9sm5578071wma.24.2022.07.22.09.34.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Jul 2022 09:34:57 -0700 (PDT) Content-Language: es-ES In-Reply-To: X-Original-Sender: Sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WdP9rNzb; spf=pass (google.com: domain of sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2a00:1450:4864:20::333 as permitted sender) smtp.mailfrom=sukiletxe-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:31066 Archived-At: This is a multi-part message in MIME format. --------------dx4s5Dg0QrFOwuxlywd22iRO Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Hi, No, they aren't written in Lua but in Haskell, as the rest of Pandoc.=20 You can find them in Pandoc's source tree=20 (), in src/text/pandoc/readers/bibtex.hs,=20 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=C3=B3: > Dear All, > > It seems to me that the way pandoc handles bibliographies is slighty=20 > different from how it handles other formats. After doing some checks,=20 > it looks individual bibliographic elements are not converted to AST=20 > elements but rather Metadata elements. This is true at the very least=20 > for markdown. > > Could anyone point to some resources, information or perhaps source=20 > code for how pandoc specifically handles LaTeX based bibliographies=20 > such as BibTeX or BibLaTeX? Are the readers and writers for these=20 > formats written in Lua? If so where can I find them? > > Regards, > > Amine > --=20 > You received this message because you are subscribed to the Google=20 > Groups "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit=20 > https://groups.google.com/d/msgid/pandoc-discuss/CAMwawgPWu2H_M82nP93LuY-= v%2BjVHbvax-Jppbd4pn9jPNANWoA%40mail.gmail.com=20 > . --=20 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 e= mail 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. --------------dx4s5Dg0QrFOwuxlywd22iRO Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

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=C3=B3:
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-dis= cuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-d= iscuss/CAMwawgPWu2H_M82nP93LuY-v%2BjVHbvax-Jppbd4pn9jPNANWoA%40mail.gmail.c= om.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/p= andoc-discuss/e18b5b87-afe6-22b5-9760-aeaa3d57fa92%40gmail.com.
--------------dx4s5Dg0QrFOwuxlywd22iRO--