Notices


Reply
Thread Tools
Posts: 946 | Thanked: 1,642 times | Joined on Oct 2009 @ Germany
#1
Hi,
I've ported TeX Live 2009 to Maemo and uploaded it to extras-devel.
It's already optified but highly experimental. Use it at your own risk!
Feel free to share your experiences here.

It's supposed to contain the full TeX Live distribution (incl. pdflatex, xetex etc)

The download is about 24MB. It uses about 60MB flash memory (virtually nothing on root).
For the installation the extras-devel catalogue must be enabled.
Just install texlive-latex-base from the Office section.

to get rid of everything or to reset for an upgrade use
apt-get remove --purge tex-common luatex libkpathsea5
rm -rf /opt/tex-common
as root in the Terminal

Happy TeXing

Last edited by titan; 2010-01-27 at 21:26. Reason: install, extra details, reset
 

The Following 18 Users Say Thank You to titan For This Useful Post:
Posts: 27 | Thanked: 4 times | Joined on Dec 2009 @ Münster
#2
sounds promising - thanks for the effort
 
Posts: 51 | Thanked: 7 times | Joined on Jan 2010
#3
Hi titan,

thanks!

Can't find it with the program manager. Apt-cache gives me

luatex and texlive-binaries.

Is there an editor planned? Maybe a port of texmaker would be great...

Thanks for the first step porting tex to maemo!

Good night,
MPW
 
Posts: 946 | Thanked: 1,642 times | Joined on Oct 2009 @ Germany
#4
Originally Posted by MPW View Post
Can't find it with the program manager.
Is there an editor planned? Maybe a port of texmaker would be great...
there is no GUI application yet.
but once the console programs work lots of GUIs (e.g. LyX) could be ported.
 
Posts: 145 | Thanked: 87 times | Joined on Nov 2009 @ Copenhagen
#5
This is truly fantastic news. I will give this a try tonight!

Have you tested xelatex? (I need xelatex's unicode (font) support for the work I'm doing).

What about the beamer class, any chance of including it you haven't already done it?

And what about tikz/pgf?

Once again, thanks for your work - it is truly appreciated!

@MPW, the imho without comparison best editors for latex are already available natively for Maemo 5 (GNU Emacs and Vim).

Last edited by filologen; 2010-01-25 at 08:09.
 
Posts: 119 | Thanked: 20 times | Joined on Jun 2007
#6
Thanks a lot titan, this sounds too good to be true!

I just tried to install according to your instructions, however I'm left with an error message and unconfigured packages:

Code:
sudo apt-get install -y texlive-latex-base 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  tex-common texlive-base texlive-binaries texlive-common texlive-doc-base
Suggested packages:
  debhelper perl-tk ghostscript xpdf-reader pdf-viewer gv postscript-viewer
Recommended packages:
  lmodern texlive-latex-base-doc
The following NEW packages will be installed:
  tex-common texlive-base texlive-binaries texlive-common texlive-doc-base
  texlive-latex-base
0 upgraded, 6 newly installed, 0 to remove and 39 not upgraded.
Need to get 22,2MB of archives.
After this operation, 54,7MB of additional disk space will be used.
Get:1 http://repository.maemo.org fremantle/free tex-common 2.06maemo5 [721kB]
Get:2 http://repository.maemo.org fremantle/free texlive-common 2009-7maemo4 [99,1kB]
Get:3 http://repository.maemo.org fremantle/free texlive-doc-base 2009-2maemo3 [1345kB]
Get:4 http://repository.maemo.org fremantle/free texlive-binaries 2009-5maemo3 [4064kB]
Get:5 http://repository.maemo.org fremantle/free texlive-base 2009-7maemo4 [14,5MB]
Get:6 http://repository.maemo.org fremantle/free texlive-latex-base 2009-7maemo4 [1434kB]
Fetched 22,2MB in 30s (715kB/s)                                                
Selecting previously deselected package tex-common.
(Reading database ... 27721 files and directories currently installed.)
Unpacking tex-common (from .../tex-common_2.06maemo5_all.deb) ...
Selecting previously deselected package texlive-common.
Unpacking texlive-common (from .../texlive-common_2009-7maemo4_all.deb) ...
Selecting previously deselected package texlive-doc-base.
Unpacking texlive-doc-base (from .../texlive-doc-base_2009-2maemo3_all.deb) ...
Selecting previously deselected package texlive-binaries.
Unpacking texlive-binaries (from .../texlive-binaries_2009-5maemo3_armel.deb) ...
Selecting previously deselected package texlive-base.
Unpacking texlive-base (from .../texlive-base_2009-7maemo4_all.deb) ...
Selecting previously deselected package texlive-latex-base.
Unpacking texlive-latex-base (from .../texlive-latex-base_2009-7maemo4_all.deb) ...
Setting up tex-common (2.06maemo5) ...
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of texlive-common:
 texlive-common depends on tex-common (>= 2.0); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-common (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-doc-base:
 texlive-doc-base depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
 texlive-doc-base depends on texlive-common (>= 2009-1); however:
  Package texlive-common is not configured yet.
dpkg: error processing texlive-doc-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-binaries:
 texlive-binaries depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
dpkg: error processing texlive-binaries (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-base:
 texlive-base depends on texlive-doc-base (>= 2009-1); however:
  Package texlive-doc-base is not configured yet.
 texlive-base depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
 texlive-base depends on texlive-common (>= 2009-1); however:
  Package texlive-common is not configured yet.
 texlive-base depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of texlive-latex-base:
 texlive-latex-base depends on tex-common (>= 2.00); however:
  Package tex-common is not configured yet.
 texlive-latex-base depends on texlive-base (>= 2009-1); however:
  Package texlive-base is not configured yet.
 texlive-latex-base depends on texlive-common (>= 2009-1); however:
  Package texlive-common is not configured yet.
 texlive-latex-base depends on texlive-binaries (>= 2009-1); however:
  Package texlive-binaries is not configured yet.
dpkg: error processing texlive-latex-base (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 tex-common
 texlive-common
 texlive-doc-base
 texlive-binaries
 texlive-base
 texlive-latex-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
I also commented out the luatex-lines in /etc/texmf/fmt.d/10texlive-latex-base.cnf.dpkg-new and tried
Code:
sudo dpkg --configure -a
but to no avail. What am I doing wrong?
 
Posts: 355 | Thanked: 560 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#7
This is madness. Nice. I'd like pdflatex, if it's not there already, and the memoir book class, microtyping, ledmac/ledpar, etc....
 
Posts: 946 | Thanked: 1,642 times | Joined on Oct 2009 @ Germany
#8
thanks for the feedback.
it seems that configuration fails already with tex-common on your device.
I might already have hacked my device too much
so it's useful to see other people's output.

could you please set the first two lines of
/var/lib/dpkg/info/tex-common.postinst
to
Code:
#!/bin/sh -e                                                                                                                                             
set -x
and send me the output of
dpkg --configure tex-common

thanks

Originally Posted by borghal View Post
I just tried to install according to your instructions, however I'm left with an error message and unconfigured packages:
Code:
Setting up tex-common (2.06maemo5) ...
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 127
 
Posts: 946 | Thanked: 1,642 times | Joined on Oct 2009 @ Germany
#9
Originally Posted by jebba View Post
This is madness. Nice. I'd like pdflatex, if it's not there already, and the memoir book class, microtyping, ledmac/ledpar, etc....
yes, pdflatex is included and works.
It's the same as TexLive2009 on your desktop.
 

The Following User Says Thank You to titan For This Useful Post:
Posts: 119 | Thanked: 20 times | Joined on Jun 2007
#10
Hello titan, I did as you told me, (is there really suppose to be just a second line going
Code:
-e
? Looks odd. here's the output:

Code:
~ $ sudo dpkg --configure tex-common
Setting up tex-common (2.06maemo5) ...
/var/lib/dpkg/info/tex-common.postinst: line 2: -e: not found
update-texmf: Basic configuration file /etc/texmf/texmf.d/05TeXMF.cnf missing.
Exiting.
egrep: /etc/texmf/texmf.d/55Fonts.cnf: No such file or directory
Error in /etc/texmf/texmf.d/55Fonts.cnf: TEXFONTMAPS not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXFONTMAPS not defined.
egrep: /etc/texmf/texmf.d/05TeXMF.cnf: No such file or directory
Error in /etc/texmf/texmf.d/05TeXMF.cnf: TEXMFMAIN not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXMFMAIN not defined.
egrep: /etc/texmf/texmf.d/05TeXMF.cnf: No such file or directory
Error in /etc/texmf/texmf.d/05TeXMF.cnf: TEXMFDIST not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXMFDIST not defined.
egrep: /etc/texmf/texmf.d/05TeXMF.cnf: No such file or directory
Error in /etc/texmf/texmf.d/05TeXMF.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.d/05TeXMF.cnf: No such file or directory
Error in /etc/texmf/texmf.d/05TeXMF.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.d/05TeXMF.cnf: No such file or directory
Error in /etc/texmf/texmf.d/05TeXMF.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.d/05TeXMF.cnf: No such file or directory
Error in /etc/texmf/texmf.d/05TeXMF.cnf: TEXMF not defined.
egrep: /etc/texmf/texmf.cnf: No such file or directory
Error in /etc/texmf/texmf.cnf: TEXMF not defined.
Unrecoverable errors in your configuration have been detected
in configuration files in /etc/texmf/.
If you've not seen debconf error messages,  see your mail for details
or use an interactive debconf frontend.

Exiting
dpkg: error processing tex-common (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 tex-common
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:48.