![]() |
2010-01-02
, 15:09
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#52
|
![]() |
2010-01-15
, 12:47
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#53
|
![]() |
2010-01-15
, 13:16
|
|
Posts: 963 |
Thanked: 626 times |
Joined on Sep 2009
@ Connecticut, USA
|
#54
|
Any news on maemotex? I've been following this thread closely and would love to have latex ( incl. beamer and perhaps xelatex) on my n900
![]() |
2010-01-15
, 13:45
|
Posts: 62 |
Thanked: 18 times |
Joined on Dec 2009
@ Missouri, USA
|
#55
|
Any news on maemotex? I've been following this thread closely and would love to have latex ( incl. beamer and perhaps xelatex) on my n900
The Following User Says Thank You to DojwqIO For This Useful Post: | ||
![]() |
2010-01-15
, 17:18
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#56
|
I just started using Lyx for a book I am thinking about writing. Would Maemotex be able to open Lyx files?
apt-get install lyx
![]() |
2010-01-16
, 01:57
|
|
Posts: 963 |
Thanked: 626 times |
Joined on Sep 2009
@ Connecticut, USA
|
#57
|
It's more the other way round: The editor Lyx uses LaTeX and maemotex is a slimed-down version of latex for maemo. There is no native Lyx for maemo (and I doubt there will ever be) and no other editor can use Lyx files (you can always export Lyx->LaTeX, but I guess that's not what you want.
But you can use Easy Debian and install Lyx there. It won't be optimized for the small screen and compiling might take some time but I guess it should be pretty usable. Easy Debian is in extras now and to install Lyx just usefrom the easy debian command line.Code:apt-get install lyx
![]() |
2010-01-16
, 08:25
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#58
|
![]() |
2010-01-16
, 23:20
|
|
Posts: 963 |
Thanked: 626 times |
Joined on Sep 2009
@ Connecticut, USA
|
#59
|
Then it's in extras-testing. Sorry, I thought it had already been promoted.
![]() |
2010-01-17
, 08:14
|
Posts: 138 |
Thanked: 59 times |
Joined on Jun 2007
|
#60
|
OK. It's almost ready, but after installing the new .deb, the postinstall script does not seem to be executed.
I did as you instructed. I expanded the contents to a folder tmp/ . To have the new installation under /opt, I moved all the files in tmp/usr/ to tmp/opt/ and deleted the folder tmp/usr . Then I edited the following files: tmp/opt/local/teTeX/.path, tmp/DEBIAN/postinstall, and tmp/opt/local/maemotex/070802/texmf/web2c/texmf.cnf to point to the new path.
(I actually missed the last one the first time and after installing it, pdflatex couldn't find something.)
Checking the contents of the .deb as you said, I realized there were two symlinks that needed to be recreated to point to the new path, so I recreated them, the files are:
tmp/opt/local/maemotex/070802/texmf/web2c/pdflatex.fmt and tmp/opt/local/maemotex/070802/texmf/web2c/pdftex.pool.
I also updated the md5sums file.
When I tried installing this new version I noticed that the DEBIAN/postinstall script did not run, so /etc/profile was not updated and neither were the tex filename databases (some files called ls-R that are regenerated by running the command texhash), so I did all this manually as root. I have no idea what happened, because I remember that the file /etc/profile was updated after I first installed your version a3.
I also realized that for the local texmf tree, it seems better to create a folder /home/user/texmf which contains symlinks to folders in /home/user/MyDocs/localtexmf/ and one actual file, /home/user/texmf/ls-R , which should be owned by user:users . This file contains the texmf filename database of the local texmf tree. It should updated with the command texhash after any changes to the localtexfm tree.
At this point, pdflatex works fine, and the contents of my localtexmf folder can be updated into the texmf filename database. The only concern is the postinstall file not running when installing. So the contents of /etc/profile that I edited manually will not be removed if the package is uninstalled.
Any ideas? Thanks,