-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locator only citation (at end of sentence) #7205
Comments
Another alternative, tempting but probably too "implicit", would be to allow |
Something like |
Or maybe just |
And then imagine an option that: when switching to a note style, combine the earlier |
Yes, that's exactly how it would work in a note style. |
Let me second that request. Having something like that would be really nice. Just for the record: CSL 1.1 will add a proper in-text format, and the way citeproc-js implements this could be instructive for this issue: citeproc-js adds a third affix to each citation, i.e. an infix, which will permit switching between note styles and in-text styles. Simplified example:
So we have a prefix here, a suffix, and an infix, which is the quoted content itself. In an author date style that gives us:
(Maybe the position of the year will be customizable, not sure. @fbennett or @bwiernik do you remember?) EDIT: As pointed out be @bdarcus on the mailing list, the link to this infix feature is https://citeproc-js.readthedocs.io/en/latest/running.html#special-citation-forms |
Boy, that takes me back to using the csquotes package in my LaTeX days of yore. It had prenote, postnote, and citation key parameters. It was amazingly powerful/flexible -- but I spent too much time debugging my LaTeX. |
Not to forget punctuation tracking... ;-) |
BTW: This date placement is incorrect according to this gloss and guide on APA 6th and 7th edition |
Chicago, OTOH, allows multiple variants:
Or:
Interestingly, the APA preferred variant is not listed here. |
(APA has variously given a variety of in-text examples over the years. They seem more consistent with 7th edition.) I have pretty strong reservations about locator-only citations. Many citation styles (mostly numeric) do not show any locators at all. In such styles, a locator-only citation should probably render nothing at all. That would be fine for pandoc, but for WYSIWIG CSL applications, that's going to be really problematic--a Word field with no visible text is going to be a major source of headaches. I don't really see the value of this over manually typing the locators in text. Switching to a note style from an in-text style already require some manual reformatting (eg, moving the citation inside or outside the period at the end of a sentence or adding/removing a space before a citation). I think this should be treated as one of these minor reformatting needs. |
True. OTOH, my suspicion would be that most users tend to switch between author-date and note styles. Also, maybe pandoc could restrict that sort of behaviour to author-date styles, and partly to note styles.
Yes, but I don't think that should stop pandoc from adding an implementation specific addition, just as it's been doing all the way down with in-text citations, for which there is still no support in Word and LibreOffice.
I can think of the question whether you add a locator label in front of the locator, e.g. "(p. 139)" vs. "(139).
With pandoc you can fairly automate some of these reformatting needs. Adding or removing spaces shouldn't be an issue, neither should be moving punctuation. |
Thinking more about, it looks as if they are two different understandings of "locator only citations".
Would it make sense to say that in the first example we actually have two citations whereas in the second example we have only one compound citation, but without the ugly syntax from my example above? (@bwiernik In a WYSIWYG context that would then translate to just one field with an infix between the two parts, [author, year / locator]. Switching to a numeric style will then not give you an empty field for the locator, but we'll just have one bigger field without a locator.) |
We'd need changes in citeproc itself to make this work. |
Yes, but FWIW, it's not in fact the case; the author is adding one citation. Not sure if that has any practical implications though, but it could? |
Okay, I think adding a LocatorOnly option to CSL makes sense if pandoc is going to support it. @denismaier @bdarcus Two questions:
@denismaier Could you open a pull request for this change to the 1.1 schema? |
Question is whether this will be a schema change or rather a change to the specification. I'm thinking in the end a note to implementers should do the job. Something like: "A citeproc shall implement the following modes: ..., LocatorsOnly, ..." WDYT? |
As I understand it, LocatorsOnly will mostly be usedused for In-text styles. When switching to a note style I see these options:
The first is more complicated to implement I guess, the second will require more rewriting from users. |
Oh, yeah, that's how we handled authorOnly, suppressAuthor, etc. |
This seems most appropriate to me. @jgm Would that be doable do you think? |
Simplest solution would be just to use a regular citation in note styles. |
So if someone has
So the page number with the rest of the citation in the note, rather than left in text. would that be possible? |
Alternatively, this would need to be a thing a user would have to change when changing styles (I remember in our discussion about moving the citation inside or outside punctuation you said this was something you tried to avoid) |
Oh I think I misunderstood you. You mean to render it as a regular subsequent citation with locator? So locatorOnly in note styles has no effect? That sounds reasonable. |
I do understand what you mean by merging. I also agree that this would be superior. But I'm a bit worried about the "magic" involved in the transformation. It's worth considering whether it can be done reliably. If we render as a regular subsequent citation, it will at least give correct citations in your example. It will just be a bit ugly, because you'll have a citation on "Jones" and then another one at the end of the sentence, which nobody would want. |
I think it's a good solution in that it produces an acceptable result reliably. I think it's okay. |
Could the first citation just be converted to AuthorOnly? |
Of course, that case as well might be considered as "merging". |
This transformation would have to happen in pandoc, not citeproc. And currently pandoc has no "author only" citations (only author-in-text, normal, and suppress-author). When we call citeproc we simulate author-in-text with a combination of author-only and suppress-author. Of course, author-only could be added to pandoc (we'd need a syntax for indicating it). |
What about +-@doe +- author only For the sake of convenience and backwards compatibility a single - could continue to indicate a noauthor citation. |
This might be easier:
|
I like @bwiernik's chart; the only one I'm not really sure about is locatorOnly. |
I don't see a need for both. Whichever you think would be more intuitive (probably with the brackets). I'll think about an alternative to
|
@bwiernik's chart looks good to me too. |
Not been following this closely, but wouldn't it be ".... p24" vs "..... (p24)". |
Could be, but there currently aren't "bare" forms in pandoc. |
I can't imagine when '...p24' would ever make sense. |
Maybe in some rare cases in note styles. I also don't see a urgent need for this. |
Just wondering if interest in this fell off or if people are doing something different now? I haven't had a large writing project where something like this is most useful since I filed this, but I can see that changing. |
I guess one issue is conceptual clarity of the proposal. The other is time constraints. |
@denismaier btw: what happened with CSL 1.1; it seems as if the latest is 1.0.2? |
@reagle - I'd say it's in a holding pattern. https://discourse.citationstyles.org/t/upcoming-csl-meetup-context/1767/1 Not clear when, if, or how it will be released. My conclusion in that thread is we should just rewrite CSL from scratch, though that's also not without its challenges and controversy. |
BTW: Whatever the future might hold (if anything) I also see a need for year only citations to deal with apostrophe's and first names. That is, sometimes I need to add |
I would like to be able to specify locator only citations in the author-year format (at the end of the sentence) to effect something like this:
Presently, I have to manually format the page number.
Feature request: a way of suppressing author and year (with a double hyphen, for example) or otherwise specifying the page number should go at the end of a sentence.
The text was updated successfully, but these errors were encountered: