From: Frank Bennett <biercenator-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: citeproc updates
Date: Thu, 4 Nov 2010 17:41:24 -0700 (PDT) [thread overview]
Message-ID: <1df2d027-9220-45b1-8126-1b0965bd7836@w38g2000pri.googlegroups.com> (raw)
In-Reply-To: <20101104160627.GE25944-nFAEphtLEs+AA6luYCgp0U1S2cYJDpTV9nwVQlTi/Pw@public.gmane.org>
Hi, all. I'm a colleague of Andrea and Bruce on the CSL/citeproc side
(as the author of citeproc-js), and am just now joining the
discussion.
On Nov 5, 1:06 am, John MacFarlane <fiddlosop...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> (In fact, I'm still somewhat attached to my proposal to make pandoc figure out
> automatically when to use a textual citation and when not ... does anybody
> else like that idea?)
I can offer a further use case for "textual citations" that might be
relevant.
A common citation style in China is purely numeric, using numbers for
all references, including "textual citations". As a base example,
suppose a text is set as follows in an author-date style:
Jones (2000) says that water is wet, which has been confirmed by
others. (Smith 1999)
In the pure numeric style, this would be rendered like this (^
signifying superscript -- note that the "ordinary" type of reference
is superscripted, while the "author-only" type of reference is not):
Reference [1] establishes that water is wet, a finding that has been
refined by others.^[2]^
Bibliography
[1] John Jones, "Wetness of Water" (2000).
[2] Samuel Smith, "Dampness of Water" (1999).
In a note style, the same text would be rendered something like this:
Jones^1^ establishes that water is wet, a finding that has been
refined by others.^2^
Footnotes
1. "Wetness of Water" (2000).
2. Samuel Smith, "Dampness of Water" (1999).
I won't intrude on the syntax proposals made upthread, but it is
possible to handle these various transformations by tracking the use
of author-only and suppress-author toggles in citeproc, and applying
rules like the following:
(1) Cites with neither author-only nor suppress-author render in the
normal way.
(2) An author-only cite always renders in the main text. Style-
supplied formatting (such as italics or superscripting) are always
omitted. If the style provides only the citation number as the cite,
then a style-provided term is set before the cite in the text.
(3) If an author-only cite is followed by a suppress-author cite,
then:
(a) If the style provides only the citation number as the cite, the
suppress-author cite renders nothing.
(b) Otherwise, the cite is rendered in the normal way, with the
author suppressed.
This puts a significant additional burden on citeproc, so (thinking of
Andrea's position) it's probably not something to target in the short
term. But as the use case is lurking out there, preserving a pathway
in the document syntax that provides the necessary hints for
implementation might save a bit of pain down the road.
There are a couple of processor tests that exercise the relevant
conditions here:
http://bitbucket.org/bdarcus/citeproc-test/src/tip/processor-tests/humans/discretionary_AuthorDateAuthorOnlyThenSuppressAuthor.txt
http://bitbucket.org/bdarcus/citeproc-test/src/tip/processor-tests/humans/discretionary_CitationNumberAuthorOnlyThenSuppressAuthor.txt
--
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.
next prev parent reply other threads:[~2010-11-05 0: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
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 [this message]
[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=1df2d027-9220-45b1-8126-1b0965bd7836@w38g2000pri.googlegroups.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).