Dear Genis, In data giovedì 18 dicembre 2014 13:32:35, Samuele Kaplun ha scritto: > In data giovedì 18 dicembre 2014 14:34:50, Genis Musulmanbekov ha scritto: > > I have a problem of rendering of LateX formulae in client browses > > (invenio.v.1.1.2). > > > > 'mathjax'- plug-in is installed, and in 'invenio.conf' the parameter > > > > CFG_WEBSEARCH_USE_MATHJAX_FOR_FORMATS = hd,hb > > > > is defined. > > > > However, the rendering does not work > > (http://lt-jds.jinr.ru/record/65660?ln=ru). > > Mmh, looking at the HTML source there is no trace of MathJax, so it looks > like Invenio has not enabled. Silly question: have you run inveniocfg > --update- all/--update-config-py and restart Apache?
I actually realized you have customized your template. The MathJax code is typically injected via a variable called "metaheaderadd" which is passed to webstyle_templates.tmpl_page() and webstyle_templates.tmpl_pageheader(). I guess you have customized, in your template, the .tmpl_pageheade() function in order to introduce new logo etc. Could it be that in your implementation the content of "metaheaderadd" is not correctly written in the <HEAD> HTML tag as in the default template? https://github.com/inveniosoftware/invenio/blob/v1.1.2/modules/webstyle/lib/webstyle_templates.py#L353 Cheers, Samuele -- Samuele Kaplun Invenio Developer ** <http://invenio-software.org/>

