[EP-tech] Edit the citation page range
John Salter
J.Salter at leeds.ac.uk
Thu May 26 16:08:53 BST 2016
Hi Mike,
The pagerange field is of type 'pagerange'.
The logic is within EPrints::MetaField::Pagerange rather than a citation file.
It uses the phrases
lib/metafield/pagerange:from_page
lib/metafield/pagerange:same_page
lib/metafield/pagerange:range
or
lib/metafield/pagerange:other
If there's a bug with how it works, please log it in https://github.com/eprints/eprints/issues (and suggest a fix :o)
If you're looking to change it to comply with local policies (i.e. not a bug in the core EPrints), you could add a custom render_value on the field definition.
Cheers,
John
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Michael Street
Sent: 26 May 2016 15:46
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Edit the citation page range
Hi,
I'd like to edit the citation to fix the page references when it uses either 'p' or 'pp.'. For some reason if we put in certain ranges, then it doesn't show the 'p' at all.
Can someone point me to the file that contains the logic as to where it decides whether to use 'p.' or 'pp.'? I'm unable to find it in the code.
Thanks,
Mike.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20160526/9319fe88/attachment-0001.html
More information about the Eprints-tech
mailing list