Re: [EP-underground] enabling latex features

ePrints Support <[email protected]> Mon, 15 Jul 2002 12:08:50 +0100
Newsgroups gmane.comp.web.eprints.general
Message-ID <[email protected]>
First you should check it's working... try

http://--archiveurl--/perl/latex2png?latex={\pi}r^2

Which should return the image of an equation.

The most likely problem you'll have is it not knowing where latex/convert etc.
are, in which case edit /opt/eprints2/perl_lib/EPrints/SystemSettings.pm

THEN:

In ArchiveMetadataConfig.pm add the following property to the text or
longtext field(s):

render_single_value => \&EPrints::Latex::render_string 

This overrides the default field renderer with the latex aware one.

On Mon, Jul 15, 2002 at 12:08:52PM +0300, Malka Cymbalista wrote:
> The eprints documentation says that there is an optional feature that
> allows eprints to look in certain fields for TeX looking text and
> display it as an image. When I originally installed eprints, I did not
> install latex.  I have since then installed  latex, dvips, and convert. 
> How do I enable this feature?
> Thanks for any information.
> 
> Malki Cymbalista
> Webmaster, Weizmann Institute of Science
> Rehovot, Israel 76100
> Internet: [email protected]

-- 

 Christopher Gutteridge                   [email protected]
 ePrints2 Coder, Support and Stuff        +44 23 8059 4833