public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Frank Bennett <biercenator-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: citeproc updates
Date: Sun, 7 Nov 2010 11:41:42 +0900	[thread overview]
Message-ID: <AANLkTikQ9mqeKo3bOxAkfu1u+BxJeqttyEV_tfQ12e6t@mail.gmail.com> (raw)
In-Reply-To: <20101107013243.GC25887-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>

On Sun, Nov 7, 2010 at 10:32 AM, John MacFarlane <fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Before I write the parser, we need to settle whether there
> should be a separate syntax for "textual citations",
> and if so, how they are going to be represented.
>
> I myself think there should be a separate syntax, along
> the lines I suggested earlier.  I also think we do *not*
> need a separate syntax for "author-only."
>
> So, assuming that we are going to parse
>
> @jones99 [p. 30]
>
> as a textual citation -- which will ultimately be handled
> as if it were two citations, one author-only, the next
> suppress-author -- how should it be represented in the
> AST?
>
> One possibility is just to use two Cite inlines, one with
> author-only, the next with suppress-author.
>
> Advantages:
>
> * No changes needed to citeproc or pandoc-types
>
> Disadvantages:
>
> * Complicates parsing.  The pandoc inline parsers are set up
>  to emit a single Inline each.  To handle this case, I'd need to
>  add a Group Inline (simply a container for a group of
>  Inlines, like HTML span) and emit that, or rewrite all
>  of the Inline parsers to emit lists of Inlines, or
>  do something fancy with parser state.
>
> * Complicates translation to-from bibtex.  Suppose we want
>  an option to use bibtex instead of citeproc in the LaTeX writer.
>  (Several people have requested this.)   The writer would
>  have to be trained to recognize the two-inline sequence.
>  This can be done, but as above, it complicates things.
>
> The alternative would be to add a textual citation inline,
> perhaps by adding a boolean flag ("isTextual") to
> the Cite inline element.  citeproc-hs would then have
> to recognize the textual citation and use convert
> to a CSL author-only followed by a suppress-author
> in producing the formatted citation.  (We'd have to
> settle what to do if more than one Citation is
> included; this doesn't really make sense with a
> textual citation.) This would require
> further modifications to citeproc-hs and pandoc-types,
> but would make things easier for the markdown parser
> and the writers.
>
> Thoughts?

At present, the "author-only" + "suppress-author" behavior of the
citeproc-js processor is not being used anywhere outside of the
project test suite.  So while I think Bruce has a desire on CSL side
to have processors share a common API, there's no reason to take what
citeproc-js does as controlling; I'd be very happy to line its
behavior up with whatever works best in pandoc for this use case.

(In fact, after the initial tests passed, I considered bundling this
behavior into a single operation, just as John suggests, but never got
back to it.)

Re what to do with multiple citations in an "author-only" cite, it
might make sense for the processors to just ignore "author-only" and
"suppress-author" completely on clusters with multiple items.  Some
styles sort the cite items before rendering, which could result in
citation content and formatting that looks right on the page, but
which in fact does not reflect the (immediate) author's intention.

Those are just some random thoughts from me.  I'll leave it to Bruce
and Andrea to speak to the result of any discussion on the CSL list.

Frank

>
> John
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to pandoc-discuss+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pandoc-discuss?hl=en.



  parent reply	other threads:[~2010-11-07  2:41 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 13:20 Andrea Rossato
     [not found] ` <20101027132010.GB6998-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-10-28  1:36   ` John MacFarlane
     [not found]     ` <20101028013616.GA13075-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-10-28 19:56       ` BP Jonsson
     [not found]         ` <4CC9D55B.8090004-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-10-28 20:33           ` John MacFarlane
     [not found]             ` <20101028203320.GA1581-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-10-30 12:51               ` Andrea Rossato
     [not found]                 ` <20101030125104.GC14156-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-10-31 22:06                   ` citation syntax (was: citeproc updates) John MacFarlane
     [not found]                     ` <20101031220602.GA21760-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-01  0:48                       ` Bruce
     [not found]                         ` <3b5e1631-d1c4-4d49-bc07-fb43544faf4e-kXDyx5gwD+DerssAVCGTfmB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2010-11-01  1:34                           ` John MacFarlane
2010-11-01 10:01                       ` citation syntax Nathan Gass
     [not found]                         ` <4CCE900E.6060106-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-01 13:11                           ` Bruce
     [not found]                             ` <a97a886c-6ae0-428c-a962-b8e3258e798c-a16pFvPtgY3HdqrNY7FC6GB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2010-11-01 14:48                               ` Nathan Gass
     [not found]                                 ` <4CCED340.9010304-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-01 15:28                                   ` John MacFarlane
2010-11-01 16:24                                   ` dsanson
     [not found]                                     ` <cacc908c-bd4b-435d-901a-7a66fb9cb4b5-f5wI9GJRwsKaNOhjBGSpuVYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>
2010-11-01 17:16                                       ` John MacFarlane
     [not found]                                         ` <20101101171648.GA10110-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-01 17:30                                           ` Bruce
2010-11-01 17:46                                       ` Tillmann Rendel
     [not found]                                         ` <4CCEFCF8.4070805-jNDFPZUTrfTbB13WlS47k8u21/r88PR+s0AfqQuZ5sE@public.gmane.org>
2010-11-01 18:33                                           ` Bruce
2010-11-01 19:02                                           ` John MacFarlane
     [not found]                                             ` <20101101190204.GA11857-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-01 20:31                                               ` Andrea Rossato
2010-11-01 23:46                                                 ` Bruce
2010-11-02  1:08                                                 ` John MacFarlane
2010-11-01 19:21                                   ` John MacFarlane
     [not found]                                     ` <20101101192157.GB11857-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-02  7:28                                       ` Nathan Gass
2010-11-01 15:24                           ` John MacFarlane
2010-10-30 16:06               ` supporting both parenthetical and footnote citations (was: citeproc updates) John MacFarlane
     [not found]                 ` <20101030160608.GA4075-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-10-30 20:18                   ` Bruce
     [not found]                     ` <d7beeaa7-d578-47db-bf92-aab5415d341e-QB3fWVJXTS+bvKjc6lLfglYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>
2010-10-30 23:46                       ` John MacFarlane
2010-10-31 15:58                   ` Bruce
2010-11-02 21:39                   ` Andrea Rossato
     [not found]                     ` <20101102213938.GE18764-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-02 23:58                       ` Andrea Rossato
2010-11-03  4:10                       ` John MacFarlane
     [not found]                         ` <20101103041014.GA19840-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-03 12:10                           ` Andrea Rossato
     [not found]                             ` <20101103121027.GG18764-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-03 15:03                               ` Bruce
     [not found]                                 ` <88f053e9-c948-4b5d-b92a-46caba340c09-sqEsDViiE88wq+9lhVFwFGB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2010-11-04 11:09                                   ` Andrea Rossato
2010-11-03 15:36                               ` John MacFarlane
2010-10-28 20:26       ` Re: citeproc updates Andrea Rossato
     [not found]         ` <20101028202646.GB6256-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-10-29 20:27           ` John MacFarlane
     [not found]             ` <20101029202716.GA26844-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-10-30 10:57               ` Andrea Rossato
2010-10-30  2:54           ` Bruce
     [not found]             ` <507b277f-218d-494f-88ae-67c84c9e5cec-TDjcMQyrprHatUqWdiOD/mB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2010-10-30  4:13               ` fiddlosopher
     [not found]                 ` <1d77490f-4c76-4571-8f53-6902d1604ba5-PQeItPOgslmbvKjc6lLfglYGCWtFR9XvQQ4Iyu8u01E@public.gmane.org>
2010-10-30 15:18                   ` Bruce
2010-11-13  9:46                   ` lukshuntim-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                     ` <4CDE5E5A.2000707-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-13 11:44                       ` Nathan Gass
     [not found]                         ` <4CDE7A10.7060100-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-13 13:22                           ` Andrea Rossato
2010-11-13 13:46                           ` lukshuntim-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                             ` <4CDE96CE.8030000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-13 13:59                               ` Andrea Rossato
2010-11-13 14:06                               ` lukshuntim-Re5JQEeQqe8AvxtiuMwx3w
2010-11-13 11:48                       ` Andrea Rossato
2010-11-13 16:16                   ` fiddlosopher
2010-10-30 11:17           ` Nathan Gass
2010-11-03 23:39   ` Nathan Gass
     [not found]     ` <4CD1F297.2020609-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-04  7:36       ` John MacFarlane
     [not found]         ` <20101104073606.GA17293-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-04 11:48           ` Andrea Rossato
     [not found]             ` <20101104114801.GF10392-u31zCTIHpvLVI6Gt0zCidg@public.gmane.org>
2010-11-04 14:54               ` Andrea Rossato
     [not found]                 ` <20101104145457.GA6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-04 16:09                   ` John MacFarlane
     [not found]                     ` <20101104160942.GF25944-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-05 10:33                       ` Andrea Rossato
     [not found]                         ` <20101105103345.GD6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-05 16:41                           ` John MacFarlane
     [not found]                             ` <20101105164134.GB582-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-05 19:50                               ` Andrea Rossato
     [not found]                                 ` <20101105195055.GI6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-05 20:29                                   ` John MacFarlane
     [not found]                                     ` <20101105202938.GA3968-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-05 20:52                                       ` Andrea Rossato
     [not found]                                         ` <20101105205212.GJ6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-06  0:12                                           ` John MacFarlane
     [not found]                                             ` <20101106001214.GA6579-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-06 14:58                                               ` Nathan Gass
     [not found]                                                 ` <4CD56D33.2010004-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-06 18:56                                                   ` John MacFarlane
     [not found]                                                     ` <20101106185638.GB21524-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-06 19:24                                                       ` Andrea Rossato
     [not found]                                                         ` <20101106192448.GA24988-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-07  1:32                                                           ` John MacFarlane
     [not found]                                                             ` <20101107013243.GC25887-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-07  2:41                                                               ` Frank Bennett [this message]
2010-11-07  2:52                                                               ` Frank Bennett
2010-11-07 14:11                                                               ` Andrea Rossato
2010-11-07 15:29                                                               ` Nathan Gass
     [not found]                                                                 ` <4CD6C5E6.3040300-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-07 23:05                                                                   ` John MacFarlane
     [not found]                                                                     ` <20101107230549.GA7894-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-08 11:00                                                                       ` Andrea Rossato
     [not found]                                                                         ` <20101108110025.GI24988-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-08 11:12                                                                           ` Frank Bennett
2010-11-08 15:53                                                                           ` John MacFarlane
     [not found]                                                                             ` <20101108155306.GB15777-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-08 17:14                                                                               ` Andrea Rossato
     [not found]                                                                                 ` <20101108171429.GM24988-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-08 17:38                                                                                   ` John MacFarlane
2010-11-08 18:28                                                                       ` Nathan Gass
     [not found]                                                                         ` <4CD8415F.8030703-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-08 19:16                                                                           ` John MacFarlane
2010-11-07 23:12                                                                   ` John MacFarlane
     [not found]                                                                     ` <20101107231252.GA8043-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-08 11:09                                                                       ` Andrea Rossato
     [not found]                                                                         ` <20101108110950.GJ24988-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-08 16:03                                                                           ` John MacFarlane
2010-11-06 19:36                                                       ` John MacFarlane
     [not found]                                                         ` <20101106193634.GC22106-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-07 10:33                                                           ` Andrea Rossato
     [not found]                                                             ` <20101107103327.GC24988-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-07 23:18                                                               ` John MacFarlane
     [not found]                                                                 ` <20101107231810.GB8043-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-10  0:02                                                                   ` Nathan Gass
     [not found]                                                                     ` <4CD9E118.1020801-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-10  2:14                                                                       ` John MacFarlane
     [not found]                                                                         ` <20101110021409.GA22040-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-10  9:55                                                                           ` Nathan Gass
     [not found]                                                                             ` <4CDA6C2F.3080301-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-10 20:12                                                                               ` John MacFarlane
2010-11-06 15:04                                               ` Andrea Rossato
     [not found]                                                 ` <20101106150410.GL6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-06 19:35                                                   ` John MacFarlane
     [not found]                                                     ` <20101106193523.GB22106-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-06 20:15                                                       ` Andrea Rossato
2010-11-04 15:23               ` Nathan Gass
     [not found]                 ` <4CD2CFFE.8030503-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-04 23:03                   ` Nathan Gass
     [not found]                     ` <4CD33BD6.6050703-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-05  7:00                       ` John MacFarlane
2010-11-05 11:36                       ` Andrea Rossato
     [not found]                         ` <20101105113647.GE6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-05 15:12                           ` Nathan Gass
     [not found]                             ` <4CD41EC1.7090100-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-05 16:59                               ` Andrea Rossato
     [not found]                                 ` <20101105165947.GH6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-05 17:06                                   ` John MacFarlane
2010-11-05 17:36                                   ` Nathan Gass
     [not found]                                     ` <4CD44082.8000205-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-07 11:11                                       ` Andrea Rossato
2010-11-04 16:06               ` John MacFarlane
     [not found]                 ` <20101104160627.GE25944-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-05  0:41                   ` Frank Bennett
     [not found]                     ` <1df2d027-9220-45b1-8126-1b0965bd7836-s+NOhRKKP/7FX/zIJQasLWB/v6IoIuQBVpNB7YpNyf8@public.gmane.org>
2010-11-05 13:36                       ` Andrea Rossato
     [not found]                         ` <20101105133608.GG6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-05 17:01                           ` John MacFarlane
     [not found]                             ` <20101105170119.GC582-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
2010-11-05 21:32                               ` Andrea Rossato
     [not found]                                 ` <20101105213239.GK6834-j4W6CDmL7uNdAaE8spi6tJZpQXiuRcL9@public.gmane.org>
2010-11-06  0:28                                   ` John MacFarlane
2010-11-08  9:07                       ` Nathan Gass
     [not found]                         ` <4CD7BDD0.1040408-8UOIJiGH10pyDzI6CaY1VQ@public.gmane.org>
2010-11-08 18:02                           ` John MacFarlane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikQ9mqeKo3bOxAkfu1u+BxJeqttyEV_tfQ12e6t@mail.gmail.com \
    --to=biercenator-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).