dwp-forge / refnotes

4 stars 6 forks source link

Citation page number #69

Closed Dob4115 closed 2 years ago

Dob4115 commented 2 years ago

I'm using the reference database and want to include page numbers in my citations. So I have a citation that looks like

[(cite:LastName1991)]

And it renders inline as

[LastName1991]

with a larger description at the bottom of the wiki page. That's great. But I want to be able to include the specific page number within the citation so that it renders something like:

[LastName1991, p.121]

I saw in the discussion archive, that this was added in the 2012-07-15 release, but I can't figure out the syntax for it. I read through the release notes for that version (on the main plugin page) but can't relate that to the present issue.

Thanks!

dwp-forge commented 2 years ago

You have to use Harvard reference rendering for cite namespace and add the page using structured reference syntax:

[(cite:LastName1991>>page:121)]
Dob4115 commented 2 years ago

Ok, so for note-render of the cite namespace I have "Harvard system of referencing", and I've got my citation string looking like what you show there. But this adds the page number to the end of the reference at the bottom of the page and, more importantly, makes the popup for every citation from the same source show one of the page numbers at the end. I guess I was expecting to see each citation's page number in the popup, not a "random" citation's page number.

Or am I missing something?

dwp-forge commented 2 years ago

You should set reference-render to Harvard. Or inherit all styling from default harvard namespace (if you didn't delete it):

<refnotes cite>
inherit: harvard
</refnotes>
Dob4115 commented 2 years ago

Ok, got it. I wasn't using the reference-render setting. Thanks!