[GRASS-dev] [GRASS GIS] #698: please install the mediawiki-math package

#698: please install the mediawiki-math package
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: task | Status: new
Priority: normal | Milestone: Website
Component: Website | Version: unspecified
Keywords: mediawiki | Platform: All
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Hi,

please install the mediawiki-math package, it allows us to use TeX markup
for formulae.
  http://meta.wikimedia.org/wiki/Help:Formula

ISTR that this worked some months ago (Apr 2009?), but now it does not.
http://grass.osgeo.org/wiki/Atmospheric_correction#Calculating_radiance_values
(<!-- new TeX version commented out there -->)

Something to keep an eye on: on Debian/lenny it sucks in a lot of TeX
foreign language support packages which togethwe weigh in at ~500mb
installed! (in addition to the standard TeX packages which were already
present)

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/698&gt;
GRASS GIS <http://grass.osgeo.org>

#698: please install the mediawiki-math package
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: task | Status: new
  Priority: normal | Milestone: Website
Component: Website | Version: unspecified
Resolution: | Keywords: mediawiki
  Platform: All | Cpu: Unspecified
----------------------+-----------------------------------------------------
Comment (by hamish):

now when I try <math> I get this error:

  Failed to parse (Missing texvc executable; please see math/README to
configure.)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/698#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#698: please install the mediawiki-math package
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: task | Status: new
  Priority: normal | Milestone: Website
Component: Website | Version: unspecified
Resolution: | Keywords: mediawiki
  Platform: All | Cpu: Unspecified
----------------------+-----------------------------------------------------
Comment (by neteler):

On Aug 2, 2009 I have compiled texvc and put it into /usr/local/bin/.
Perhaps a link into /usr/bin/ is sufficient to make it visible to
Mediawiki?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/698#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#698: please install the mediawiki-math package
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: task | Status: new
  Priority: normal | Milestone: Website
Component: Website | Version: unspecified
Resolution: | Keywords: mediawiki
  Platform: All | Cpu: Unspecified
----------------------+-----------------------------------------------------
Comment (by neteler):

The executable is in
/osgeo/grass/grass-wiki/math/texvc

but still no go. Looking at
http://www.mediawiki.org/wiki/Manual:Enable_TeX/problems#Error_:_Failed_to_parse_.28Missing_texvc_executable.29

doesn't give me any idea.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/698#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#698: please install the mediawiki-math package
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: task | Status: closed
  Priority: normal | Milestone: Website
Component: Website | Version:
Resolution: fixed | Keywords: mediawiki
  Platform: All | Cpu: Unspecified
----------------------+-----------------------------------------------------
Changes (by hamish):

  * status: new => closed
  * version: unspecified =>
  * resolution: => fixed

Comment:

done.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/698#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#698: please install the mediawiki-math package
----------------------+-----------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: task | Status: closed
  Priority: normal | Milestone: Website
Component: Website | Version:
Resolution: fixed | Keywords: mediawiki
  Platform: All | Cpu: Unspecified
----------------------+-----------------------------------------------------

Comment(by neteler):

For the record, after Debian upgrade, to fix the math captcha:
{{{
# projectsVM:
cd /osgeo/grass/grass-wiki/extensions/Math/math/
make clean
make
cp texvc_tex texvc_test texvc /usr/local/bin/
}}}

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/698#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#698: please install the mediawiki-math package
--------------------------+-------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: task | Status: reopened
  Priority: normal | Milestone: Website
Component: Website | Version:
Resolution: | Keywords: mediawiki
       CPU: Unspecified | Platform: All
--------------------------+-------------------------
Changes (by neteler):

* status: closed => reopened
* resolution: fixed =>

Comment:

After move to new hardware (osgeo6) and fresh Debian installation there,
the page

https://grass.osgeo.org/wiki/Atmospheric_correction#Calculating_radiance_values

is not rendered properly.

I have tried to install the math extention:

{{{
   cd /var/www/grass/grass-wiki/w/extensions/Math/math/
   aptitude install texlive-base texlive-latex-base aptitude install ocaml
   make clean && make
   cp texvc_tex texvc_test texvc /usr/local/bin/

   cd /var/www/grass/grass-wiki/w/extensions/Math/texvccheck
   make clean && make
   cp texvccheck /usr/local/bin/
}}}

but something else must be missing (again, complete new installation).

Reopening. Ideas?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/698#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>