From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/21671 Path: news.gmane.org!.POSTED!not-for-mail From: Cormac Relf Newsgroups: gmane.text.pandoc Subject: Re: Experimental citeproc implementation in Rust Date: Wed, 12 Dec 2018 20:02:01 -0800 (PST) Message-ID: <786c8104-1297-465e-9cd9-d3c720e6685e@googlegroups.com> References: <78b7f42d-7640-45ff-a359-f59355217af8@googlegroups.com> <9e7db31a-8244-4ac8-800b-25709cedc240@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_163_2117742869.1544673721944" X-Trace: blaine.gmane.org 1544673598 25410 195.159.176.226 (13 Dec 2018 03:59:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2018 03:59:58 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDK6LDPPQ4GRBO5TY7QAKGQE7PVK3XA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 13 04:59:53 2018 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-oi1-f183.google.com ([209.85.167.183]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gXIAD-0006Ue-7f for gtp-pandoc-discuss@m.gmane.org; Thu, 13 Dec 2018 04:59:53 +0100 Original-Received: by mail-oi1-f183.google.com with SMTP id v184sf368656oie.6 for ; Wed, 12 Dec 2018 20:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=s3Ub1zYCPyP59Cs5oICE2Xr3GG++InlbmGqR66FozA0=; b=AZNnnm4QHQvrex+TwxLmeeytq5++d8WIWn+XjTHPHAO3Y6zBZZLSUdlaOVEgE7DpHs SBbXVN/CZXqoPFXAICvBj4UBWjK7nK5g1vQspSNV14HTIUgUooWru970Zdb+yYfF8mfC r8Xd2XNIO0bHIrXp/2OHMgmmknT3JBHIB9WKXWhfmf7CbbmWyfJePo/o8e6QCb7rnGzw Q3nz9+B7IltoP51kFMBAN3FO5sFuCRY5BO8R+a09wILoV7GQ8M9Nn64bNNo1LJzOoGnQ InW+nct6uLKa1BOe0RRDp/EyXpcORSzyDGMo20vuv/5Ho/m2NxugSJm4mSU98nDmzDKv zOyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=s3Ub1zYCPyP59Cs5oICE2Xr3GG++InlbmGqR66FozA0=; b=VjcfvdjUW72lkbv1AroYZyUSSKg40kTQzEDQdR/rc/5T3w2K9GuuiZDr1Uoy69dQhh 7RDY/yeG3JrekbhlkUEIktQBF2xZfYAxEx99YXLaQdv/cNOBFzVJv5Sc++rj4EI5MXY0 RYiQ6jb+XZyKRhgF+8tWQt78Wf3UIXd2UZ/7qd+QTGXSyGEgfrmPOQGb8ulQhAtqmd1O J/pQcviRpi08HV+mSsXZC+Q5F6cyDnEssGFojKbCK7VWbLo+Dl4wgxFuOMl8zWIj6dBc XgHYgeizNCzwvcm/EcvYJ+qQj6Bg1FrOWxDo07TWCjH8WNDVKr5jzx0gbsnqOMz8C8YB 4vMg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AA+aEWYit6lYfRJmIKDfyfV2tu+KRg1xtbbiq91GWSo7LeC6t+hG9wcl elPlcz/J+3ly5S7LPrfuzQo= X-Google-Smtp-Source: AFSGD/XVo6gAg5yBjyCLyF31I2YeGYZvHvel036rla/VCMsthL93j9Cmpfkgev6694ZFtJkhdHXMKA== X-Received: by 2002:a9d:6f9a:: with SMTP id h26mr568283otq.0.1544673723671; Wed, 12 Dec 2018 20:02:03 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a9d:27e9:: with SMTP id c96ls425877otb.10.gmail; Wed, 12 Dec 2018 20:02:02 -0800 (PST) X-Received: by 2002:a9d:da3:: with SMTP id 32mr557066ots.3.1544673722583; Wed, 12 Dec 2018 20:02:02 -0800 (PST) In-Reply-To: X-Original-Sender: web-v7Sng7lNsVbsQp/K+IV0sw@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Spam-Checked-In-Group: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.org gmane.text.pandoc:21671 Archived-At: ------=_Part_163_2117742869.1544673721944 Content-Type: multipart/alternative; boundary="----=_Part_164_799875382.1544673721944" ------=_Part_164_799875382.1544673721944 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for this, it's instructive. I can't say I'm enthusiastic about=20 starting from scratch on a parser, even a limited one. After thinking some more, calling Lua's read function also won't really=20 work. The Rust code still has to run outside a Lua context: in JSON mode,= =20 as a BibTeX <-> CSL-JSON <-> YAML metadata converter, and to fulfil the=20 role pandoc-citeproc takes in things like vim-pandoc's citekey completion.= =20 These are all fairly non-negotiable features. (Also, because it is Rust=20 code that would be parsing reference data, you would need a way back into= =20 the Lua VM, which is more complicated than just being Lua->Rust only.) It= =20 might actually be possible to emulate the current pandoc-citeproc approach= =20 (Text.CSL.Compat) of linking against Pandoc itself. There is some promising= =20 work (broken but fixable) over at https://github.com/mgattozzi/curryrs with= =20 linking the GHC runtime and simplifying interop using the type system(s),= =20 so it might be possible to just define some FFI-able Inline types in a=20 little haskell wrapper library much like today's Text.CSL.Compat, and link= =20 it in. 2x link-time optimisations hopefully wouldn't even pull in that much= =20 of Pandoc. In that way, users committed to pandoc output might even get to choose=20 their input syntax through a metadata option; you could use the Pandoc HTML= =20 parser instead of micro-HTML, and even let people use Markdown or LaTeX in= =20 their Zotero entries and any emitted CSL-JSON. I think I would leave the=20 citeproc-js micro-HTML syntax around for other output formats, because that= =20 means all of the pandoc baggage can still be stripped out for WebAssembly= =20 distribution. I also think for ease of development I won't dive too hard into the Lua=20 approach, because correctness doesn't depend on it, it can be added later,= =20 and all of the JSON interop is already functional. It also turns out=20 there's another serde_json-supporting pandoc-types Rust crate that already= =20 has tree-walking here , so I think= =20 that problem might be mostly solved. On Thursday, December 13, 2018 at 8:07:17 AM UTC+11, Paulo Ney de Souza=20 wrote: > > Here is a sample of elaborate titles that "really" happen in the wild --= =20 > these are taken from the Proceedings of the ICM 2018: > > title =3D {{$\bold Z$-theory: chasing ${\mathfrak m}/f$ theory}}, > title =3D {New examples of complete Calabi--Yau metrics on=20 > $\mathbb{C}^n$ for $n\ge 3$}, > title =3D {Uniqueness of the group measure space decomposition for=20 > {P}opa's {$\mathscr{HT}$} factors}, > title =3D {Actions of {$\mathbb F_\infty$} whose {${\rm II}_1$} facto= rs=20 > and orbit equivalence relations have prescribed fundamental group}, > title =3D {Cocycle and orbit superrigidity for lattices in {${\rm=20 > SL}(n,\mathbb R)$} acting on homogeneous spaces}, > title =3D {Profinite rigidity of $\mathbf{PGL}(2,{\Z}[\omega])$ and= =20 > $\mathbf{PSL}(2,{\Z}[\omega])$}, > title =3D {Representation of measures with polynomial denseness in=20 > {$L_p(\mathbb R,d\mu)$}, {$0 moment problems}, > title =3D {Zimmer's conjecture for actions of=20 > $\mathrm{SL}(m,\mathbb{Z})$}, > title =3D {Can lattices in {${\rm SL}(n,\mathbb R)$} act on the circl= e?}, > title =3D {Higher {T}eichm\"uller spaces: from {${\rm SL}(2,\mathbb R= )$}=20 > to other {L}ie groups}, > title =3D {Exponential decay of connection probabilities for subcriti= cal=20 > Voronoi percolation in $\mathbb{R}^d$}, > title =3D {A {KAM} scheme for {${\rm SL}(2,\mathbb R)$} cocycles with= =20 > {L}iouvillean frequencies}, > title =3D {On dynamics of {$Out(F_n)$} on {$\mathrm{PSL}_2({\mathbb= =20 > C})$} characters}, > title =3D {General topology meets model theory, on {$\mathfrak p$} an= d=20 > {$\mathfrak t$}},^M > title =3D {New classes of {${\mathcal L}\sp{p}$}-spaces}, > title =3D {A class of special {${\mathcal L}\sb{\infty }$}\ spaces}, > title =3D {More {$\ell_r$} saturated {$\mathscr L^\infty$} spaces}, > title =3D {The {${\mathcal L}\sb{p}$} spaces}, > title =3D {A remark on bases in {${\mathcal L}\sb{p}$}-spaces with an= =20 > application to complementably universal {${\mathcal L}\sb{\infty=20 > }$}-spaces},=20 > title =3D {{${\rm SL}(2,\mathbb C)$} {C}hern-{S}imons theory and the= =20 > asymptotic behavior of the colored {J}ones polynomial}, > title =3D {K-polystability of {${\mathbb Q}$}-{F}ano varieties admitt= ing=20 > {K}\"ahler-{E}instein metrics}, > title =3D {Weak geodesic rays in the space of {K}\"ahler potentials a= nd=20 > the class {$\mathcal{E}(X,\omega)$}}, > title =3D {Operator-algebraic superridigity for {${\rm SL}_n(\mathbb= =20 > Z)$}, {$n\geq 3$}}, > title =3D {The space of closed subgroups of {$\mathbb R^n$} is=20 > stratified and simply connected}, > title =3D {The irreducible representations of the {L}ie algebra=20 > {${\mathfrak s}{\mathfrak l}(2)$}\ and of the {W}eyl algebra}, > title =3D {Singular {G}elfand-{T}setlin modules of=20 > {${\mathfrak{gl}}(n)$}}, > title =3D {Families of irreducible singular Gelfand-Tsetlin modules o= f=20 > $\mathfrak{gl}(n)$}, > title =3D {Infinite-dimensional representations of the {L}ie algebra= =20 > {$\mathfrak{gl}(n,{\mathbb C})$} related to complex analogs of the=20 > {G}elfand-{T}setlin patterns and general hypergeometric functions on the= =20 > {L}ie group {${\rm GL}(n,{\mathbb C})$}}, > title =3D {A geometric approach to 1-singular {G}elfand--{T}setlin=20 > {$\mathfrak{gl}_n$}-modules}, > title =3D {Geometric approach to $p$-singular Gelfand--Tsetlin=20 > $\mathfrak {gl}_n$-modules}, > title =3D {On some {B}ruhat decomposition and the structure of the=20 > {H}ecke rings of {${\mathfrak p}$}-adic {C}hevalley groups}, > title =3D {Stable $s$-minimal cones in $\mathbb{R}^3$ are flat for=20 > $s\sim 1$}, > title =3D {Delaunay type domains for an overdetermined elliptic probl= em=20 > in {$\mathbb S^n\times\mathbb R$} and {$\Bbb H^n\times\Bbb R$}}, > title =3D {A {KAM} scheme for {${\rm SL}(2,\mathbb R)$} cocycles with= =20 > {L}iouvillean frequencies}, > > > Paulo Ney > > > On Wed, Dec 12, 2018 at 12:39 PM John MacFarlane > wrote: > >> Cormac Relf > writes: >> >> > The BibTex parsing is a tricky one, though. There=E2=80=99s this=20 >> > for the main syntax, at=20 >> least. I=20 >> > wouldn=E2=80=99t want to fork out to Pandoc for every single latex tex= t field,=20 >> but=20 >> > maybe the Lua API=E2=80=99s read would help here. >> >> That's an interesting point. If your parser just >> parsed the fields as RawInline (Format "latex") ---, >> you could have the lua filter do a separate pass at >> the beginning to try to convert all of these into >> native pandoc inlines using read. >> >> > It might be simpler to support=20 >> > both citeproc-js=E2=80=99 micro-HTML and a similarly limited micro-LaT= eX with a=20 >> > simple Rust-based parser, but not at the same time. What do people use= =20 >> > backslash commands for in BibTeX? Are there names and document titles= =20 >> out=20 >> > there that really need the whole power of LaTeX to render? I might hav= e=20 >> to=20 >> > think about this some more. Perhaps a successor to CSL-JSON that=20 >> accepts=20 >> > arbitrary JSON objects wherever the old one accepts strings. >> >> In practice, a fairly small subset of LaTeX would be >> enough to handle most of what you find in bibtex >> bibliographies. >> >> Certainly you will find things like `\emph`, inline >> math, and lots of escape characters like `\"{a}`. >> >> --=20 >> You received this message because you are subscribed to the Google Group= s=20 >> "pandoc-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n=20 >> email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org . >> To post to this group, send email to pandoc-...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org=20 >> . >> To view this discussion on the web visit=20 >> https://groups.google.com/d/msgid/pandoc-discuss/yh480kk1keeazt.fsf%40jo= hnmacfarlane.net >> . >> For more options, visit https://groups.google.com/d/optout. >> > --=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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/786c8104-1297-465e-9cd9-d3c720e6685e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_164_799875382.1544673721944 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for this, it's instructive. I can't= say I'm enthusiastic about starting from scratch on a parser, even a l= imited one.

After thinking some more, calling Lua's read functio= n also won't really work. The Rust code still has to run=20 outside a Lua context: in JSON mode, as a BibTeX <-> CSL-JSON=20 <-> YAML metadata converter, and to fulfil the role=20 pandoc-citeproc takes in things like vim-pandoc's citekey completion.= =20 These are all fairly non-negotiable features. (Also, because it is Rust cod= e that would be parsing reference data, you would need a way back into the = Lua VM, which is more complicated than just being Lua->Rust only.) It mi= ght actually be possible to emulate the current pandoc-citeproc approach (T= ext.CSL.Compat) of linking against Pandoc itself. There is some promising w= ork (broken but fixable) over at https://github.com/mgattozzi/curryrs with linking the GHC runtim= e and simplifying interop using the type system(s), so it might be possible= to just define some FFI-able Inline types in a little haskell wrapper libr= ary much like today's Text.CSL.Compat, and link it in. 2x link-time opt= imisations hopefully wouldn't even pull in that much of Pandoc.

In that way, users committed to pandoc output might e= ven get to choose their input syntax through a metadata option; you could u= se the Pandoc HTML parser instead of micro-HTML, and even let people use Ma= rkdown or LaTeX in their Zotero entries and any emitted CSL-JSON. I think I= would leave the citeproc-js micro-HTML syntax around for other output formats, because that means all of the pandoc baggage can still be= =20 stripped out for WebAssembly distribution.

I also = think for ease of development I won't dive too hard into the Lua approa= ch, because correctness doesn't depend on it, it can be added later, an= d all of the JSON interop is already functional. It also turns out there= 9;s another serde_json-supporting pandoc-types Rust crate that already has = tree-walking here, so= I think that problem might be mostly solved.

On Thursday, Dec= ember 13, 2018 at 8:07:17 AM UTC+11, Paulo Ney de Souza wrote:
Here is a= sample of elaborate titles that "really" happen in the wild -- t= hese are taken from the Proceedings of the ICM 2018:

=C2=A0 =C2=A0 title =3D {{$\bold Z$-theory: chasing ${\mathfrak m}/f$ the= ory}},
=C2=A0 =C2=A0 title =3D {New examples of complete Calabi--= Yau metrics on $\mathbb{C}^n$ for $n\ge 3$},
=C2=A0 =C2=A0 title = =3D {Uniqueness of the group measure space decomposition for {P}opa's {= $\mathscr{HT}$} factors},
=C2=A0 =C2=A0 title =3D {Actions of {$\= mathbb F_\infty$} whose {${\rm II}_1$} factors and orbit equivalence relati= ons have prescribed fundamental group},
=C2=A0 =C2=A0 title =3D {= Cocycle and orbit superrigidity for lattices in {${\rm SL}(n,\mathbb R)$} a= cting on homogeneous spaces},
=C2=A0 =C2=A0 title =3D {Profinite = rigidity of $\mathbf{PGL}(2,{\Z}[\omega])$ and $\mathbf{PSL}(2,{\Z}[\omega]= )$},
=C2=A0 =C2=A0 title =3D {Representation of measures wit= h polynomial denseness in {$L_p(\mathbb R,d\mu)$}, {$0<p<\infty$}, an= d its application to determinate moment problems},
=C2=A0 =C2=A0 = title =3D {Zimmer's conjecture for actions of $\mathrm{SL}(m,\mathbb{Z}= )$},
=C2=A0 =C2=A0 title =3D {Can lattices in {${\rm SL}(n,\mathb= b R)$} act on the circle?},
=C2=A0 =C2=A0 title =3D {Higher {T}ei= chm\"uller spaces: from {${\rm SL}(2,\mathbb R)$} to other {L}ie group= s},
=C2=A0 =C2=A0 title =3D {Exponential decay of connection prob= abilities for subcritical Voronoi percolation in $\mathbb{R}^d$},
=C2=A0 =C2=A0 title =3D {A {KAM} scheme for {${\rm SL}(2,\mathbb R)$} cocy= cles with {L}iouvillean frequencies},
=C2=A0 =C2=A0 title =3D {On= dynamics of {$Out(F_n)$} on {$\mathrm{PSL}_2({\mathbb C})$} characters},
=C2=A0 =C2=A0 title =3D {General topology meets model theory, on {= $\mathfrak p$} and {$\mathfrak t$}},^M
=C2=A0 =C2=A0 title =3D {N= ew classes of {${\mathcal L}\sp{p}$}-spaces},
=C2=A0 =C2=A0 title= =3D {A class of special {${\mathcal L}\sb{\infty }$}\ spaces},
= =C2=A0 =C2=A0 title =3D {More {$\ell_r$} saturated {$\mathscr L^\infty$} sp= aces},
=C2=A0 =C2=A0 title =3D {The {${\mathcal L}\sb{p}$} spaces= },
=C2=A0 =C2=A0 title =3D {A remark on bases in {${\mathcal L}\s= b{p}$}-spaces with an application to complementably universal {${\mathcal L= }\sb{\infty }$}-spaces},=C2=A0
=C2=A0 =C2=A0 title =3D {{${\rm SL= }(2,\mathbb C)$} {C}hern-{S}imons theory and the asymptotic behavior of the= colored {J}ones polynomial},
=C2=A0 =C2=A0 title =3D {K-polystab= ility of {${\mathbb Q}$}-{F}ano varieties admitting {K}\"ahler-{E}inst= ein metrics},
=C2=A0 =C2=A0 title =3D {Weak geodesic rays in the = space of {K}\"ahler potentials and the class {$\mathcal{E}(X,\omega)$}= },
=C2=A0 =C2=A0 title =3D {Operator-algebraic superridigity for = {${\rm SL}_n(\mathbb Z)$}, {$n\geq 3$}},
=C2=A0 =C2=A0 title =3D = {The space of closed subgroups of {$\mathbb R^n$} is stratified and simply = connected},
=C2=A0 =C2=A0 title =3D {The irreducible representati= ons of the {L}ie algebra {${\mathfrak s}{\mathfrak l}(2)$}\ and of the {W}e= yl algebra},
=C2=A0 =C2=A0 title =3D {Singular {G}elfand-{T}setli= n modules of {${\mathfrak{gl}}(n)$}},
=C2=A0 =C2=A0 title =3D {Fa= milies of irreducible singular Gelfand-Tsetlin modules of $\mathfrak{gl}(n)= $},
=C2=A0 =C2=A0 title =3D {Infinite-dimensional representations= of the {L}ie algebra {$\mathfrak{gl}(n,{\mathbb C})$} related to complex a= nalogs of the {G}elfand-{T}setlin patterns and general hypergeometric funct= ions on the {L}ie group {${\rm GL}(n,{\mathbb C})$}},
=C2=A0 =C2= =A0 title =3D {A geometric approach to 1-singular {G}elfand--{T}setlin {$\m= athfrak{gl}_n$}-modules},
=C2=A0 =C2=A0 title =3D {Geometric appr= oach to $p$-singular Gelfand--Tsetlin $\mathfrak {gl}_n$-modules},
=C2=A0 =C2=A0 title =3D {On some {B}ruhat decomposition and the structure= of the {H}ecke rings of {${\mathfrak p}$}-adic {C}hevalley groups},
<= div>=C2=A0 =C2=A0 title =3D {Stable $s$-minimal cones in $\mathbb{R}^3$ are= flat for $s\sim 1$},
=C2=A0 =C2=A0 title =3D {Delaunay type doma= ins for an overdetermined elliptic problem in {$\mathbb S^n\times\mathbb R$= } and {$\Bbb H^n\times\Bbb R$}},
=C2=A0 =C2=A0 title =3D {A {KAM}= scheme for {${\rm SL}(2,\mathbb R)$} cocycles with {L}iouvillean frequenci= es},


Paulo Ney

=

On Wed, D= ec 12, 2018 at 12:39 PM John MacFarlane <j...-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
Cormac Relf <w...@co= rmacrelf.net> writes:

> The BibTex parsing is a tricky one, though. There=E2=80=99s this
> <https://github.com/ch= arlesvdv/nom-bibtex> for the main syntax, at least. I
> wouldn=E2=80=99t want to fork out to Pandoc for every single latex tex= t field, but
> maybe the Lua API=E2=80=99s read would help here.

That's an interesting point.=C2=A0 If your parser just
parsed the fields as RawInline (Format "latex") ---,
you could have the lua filter do a separate pass at
the beginning to try to convert all of these into
native pandoc inlines using read.

> It might be simpler to support
> both citeproc-js=E2=80=99 micro-HTML and a similarly limited micro-LaT= eX with a
> simple Rust-based parser, but not at the same time. What do people use=
> backslash commands for in BibTeX? Are there names and document titles = out
> there that really need the whole power of LaTeX to render? I might hav= e to
> think about this some more. Perhaps a successor to CSL-JSON that accep= ts
> arbitrary JSON objects wherever the old one accepts strings.

In practice, a fairly small subset of LaTeX would be
enough to handle most of what you find in bibtex
bibliographies.

Certainly you will find things like `\emph`, inline
math, and lots of escape characters like `\"{a}`.

--
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 pandoc-discus...@googlegroups.com.
To post to this group, send email to pandoc-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/yh480kk1keeaz= t.fsf%40johnmacfarlane.net.
For more options, visit https://groups.google.com= /d/optout.

--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/786c8104-1297-465e-9cd9-d3c720e6685e%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_164_799875382.1544673721944-- ------=_Part_163_2117742869.1544673721944--