MathHubInfo / Legacy-MathHub-Drupal

Legacy Drupal implementation of the MathHub system.
http://mathhub.info/
GNU General Public License v2.0
4 stars 1 forks source link

update texlive (in particular babel) on pine #223

Closed kohlhase closed 8 years ago

kohlhase commented 8 years ago

I have the problem that turkish babel in sTeX works on my machine (babel from early 2016 for my local system or from august 2015 on docker) whereas on pine it does not. (babel from 2008). Maybe updating helps. This should just be

tlmgr update --all

cc: @m-iancu

kohlhase commented 8 years ago

I am not sure that I have sufficient rights to install tlmgr (or access it).

cmaeder commented 8 years ago

I'ld rather install debian (texlive) packages (texlive-full is installed). I've not found tlmgr, yet.

kohlhase commented 8 years ago

but that seems outdated; in particular it is not texchlive 2015.

kohlhase commented 8 years ago

I just looked, it is tex live 2012.

kohlhase commented 8 years ago

the advantage of tlmgr is that we can update when we want (and need to). See http://tex.stackexchange.com/a/171560/18782

kohlhase commented 8 years ago

But really I do not care how, as long as it is documented how to update and we have at least 2015.

cmaeder commented 8 years ago

wheezy is the problem. We should update to jessie.

kohlhase commented 8 years ago

how ever you do it...

cmaeder commented 8 years ago

Ok, I'll upgrade pine to jessie. This will require rebooting.

kohlhase commented 8 years ago

that is a good exercise anyways.

cmaeder commented 8 years ago

After upgrading to jessie /usr/bin/tlmgr exists and texlive-20141024 is installed. Could you test if the babel problem is solved without calling tlmgr?

kohlhase commented 8 years ago

I could not verify whether the babel problem persists, now I get latexml: exit code 2 on all reruns. This is probably something else that makes a problem.

cmaeder commented 8 years ago

which files are you testing?

kohlhase commented 8 years ago

union.tr.tex for instance.

kohlhase commented 8 years ago

you can see in the error viewer, it is the error message

kohlhase commented 8 years ago

and on my local installation things work.

cmaeder commented 8 years ago

The update caused a version clash

Perl API version v5.14.0 of XML::LibXML does not match v5.20.0 at /usr/lib/x86_64-li
nux-gnu/perl/5.20/DynaLoader.pm line 210.
kohlhase commented 8 years ago

I hope you can fix that. I will try again after.

cmaeder commented 8 years ago

I've done lmh setup --install (after removing /var/data/localmh/ext)

www-data@pine:/var/data/localmh/MathHub/smglom/sets$ /var/data/localmh/ext/MMT/deploy/mmt.jar make latexml --force source/union.tr.tex 
LaTeXML server listening on 3353
latexml-result: success /var/data/localmh/MathHub/smglom/sets/latexml/union.tr.omdoc

looks good. (The error viewer will pick up changes only after rebuilding.)

cmaeder commented 8 years ago

I did rebuild via the errorviewer and the error is gone

kohlhase commented 8 years ago

this seems to work, I rebuilt quite a few files.

kohlhase commented 8 years ago

thanks for your help