Recent Changes
Recent Changes · Search:
 
Summary
How to change imagemagick filetype (gif/png) in latexrenderer
Type
Addition
Raised by
Frank?
Date opened
Thursday, 27 November 2008
Description
Context: display of latexrender’s formulae on screen

Configuration of image output type (png/gif) is not straightforward because there are several places for configuration. (At least according to the php comment lines)

cookbook\latexrender\latexrender.php, line 23 is the correct place for configuration (which you may forget sometime after installation)

pub\latexrender\scripts\class.latexrender.php, line 48 has no influence despite the php comments

pub\latexrender\scripts\latex.php, line 37 has also a comment that asks for configuration


background: I needed this because my Imagemagick (7:6.3.7.9.dfsg1–2.1/debian) didn’t get antialiasing right with gifs - showing any gradually fading pixel in background colour. When using png smooth edges work just fine.

Importance
1
Proposed solution
Adjust at least the php comment lines in the three files that invite for configuration.
Urgency
2
Status
Closed
Resolution
See also Cookbook.Activate Latexrender, which now documents this issue. An administrator can also add the following line to the pmwiki local/config.php file:
    $LatexrenderImageFmt = 'png';
Date closed
Saturday, 20 March 2010

« 00128 · Edit Form · 00130 »

Page last modified on 20 March 2010 at 12:29 PM