Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37791926
en ru br
Репозитории ALT
S:1.76-alt1
5.1: 1.71-alt1.rev20090617
4.1: 1.64-alt1.M41.1
4.0: 1.64-alt1.M40.1
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: mimetex

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: mimetex
Version: 1.64
Release: alt1.M41.1

Summary: Mimetex ets you easily embed LaTeX math in your html pages
License: GPL
Group: Networking/Other

Url: http://www.forkosh.com/mimetex.html
Source0: %name-%version.tar.bz2
Packager: Vladimir A. Svyatoshenko <svyt at altlinux.ru>

#AutoReqProv: no

Conflicts: moodle-filter-mimetex

%define webserver_cgibindir /var/www/cgi-bin
%define installdir %webserver_cgibindir

%description
 MimeTeX, licensed under the gpl, lets you easily embed LaTeX math in your html pages.  It parses
a LaTeX math expression and immediately emits the corresponding gif image, rather than the usual
TeX dvi. And mimeTeX is an entirely separate little program that doesn't use TeX or its fonts in
any way. It's just one cgi that you put in your site's cgi-bin/ directory, with no other
dependencies. So mimeTeX is very easy to install. And it's equally easy to use. Just place an
html <img> tag in your document wherever you want to see the corresponding LaTeX expression.

%prep
%setup -q -n %name

%build
gcc -DAA mimetex.c gifsave.c -lm -o mimetex.cgi

%__rm *.c
%__rm *.h

%install
%__install -pD -m755 mimetex.cgi %buildroot%installdir/mimetex.cgi

%files
%installdir/mimetex.cgi
%doc LICENSE README mimetex.html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin