[EP-tech] Re: Creating new citation formats....
J.Salter at leeds.ac.uk
Tue Feb 4 12:09:13 GMT 2014
[On our install] If you stick a new line in the citation, it comes out as a new line in the output.
Do you want an html new line instead?
If you look in ~/perl_lib/EPrints/Script/Compiled.pm it will show you what you can do in EPScript - I don’t think there's a magic 'export' function in there - so you could:
- make one by writing into that package ('run_render_export_link' maybe)
- do it manually in the citation
- something else that someone cleverer than I will no doubt suggest in a minute :o)
Does any of that help?
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Ian Stuart
Sent: 04 February 2014 11:35
Subject: [EP-tech] Creating new citation formats....
I'm creating a new citation for my repository.
(EPrints 3.2 - if it makes a difference)
The basics are fairly easy:
is basically a copy of an existing exporter (try text.pm)
describes the format (using EPrint EP3 Control codes)
I've two questions:
1) Can I force a newline without having to use a phrase?
<print expr="\n" /> doesn't work
2) Can I generate a link to export the eprint in a specific format, to
be included in the citation?
What I want to be able to do is create a list of records something like:
Picus viridis, Yaffle and Stuart, Ian (2012) A test article. Nature.
I can get the first two lines, nice and easy - though only on one line...
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
The University of Edinburgh.
This email was sent via the University of Edinburgh.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
More information about the Eprints-tech