Notices


Reply
Thread Tools
Posts: 25 | Thanked: 30 times | Joined on Sep 2009 @ Western Europe
#31
Originally Posted by soleil View Post
The problem is I can't type " | " on my N900 and if I type dpkg --list i can't find maemotex because there are too many packages installed so the first package i can begin with "r" : rtcom-call-ui ...
You can find this character by pressing the blue Fn/arrow key followed by Ctrl/Sym. This should bring up a symbols menu with the character you want.
 
Posts: 138 | Thanked: 59 times | Joined on Jun 2007
#32
Thanks TA-t3! This looks much easier that installing easy-debian to get LaTeX working on my n900

One thing is I'm using XeLaTeX all the time; how can I add xelatex to your installation? I guess I can simply copy files from my desktop installation (texlive2009) to /usr/local/maemotex/070802/ somewhere? And will it recognize fonts installed in ~/.fonts?

If I miss a certain class, can I copy it the same way?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#33
Well, it's not my installation really.. I just took the existing package and repackaged it in a slightly different way with a modified post-installation script, so that it would install on the N900.

So, I can't answer how XeLaTeX could be added. Not easily, I suspect. As for copying from your desktop, you can copy any .sty, .ins, .dtx, .clx (class), .mf, .tex and other non-binary files. For those you find in /usr/share/texmf/ on your desktop you should be able to find room in /usr/local/maemotex/070802/texmf (or alternatively via the symlink in /usr/local/teTeX/share). Obviously any binaries (executables) from the desktop is a no-go.

Your own class files could be installed anywhere, for example /home/user/MyDocs/texinputs/, and then add
Code:
TEXINPUTS=/home/user/MyDocs/texinputs:
export TEXINPUTS
to your /home/user/.profile
(note ':' at the end of the $TEXINPUTS variable)

I haven't tested the latter though - but that's how all installations I've used so far have worked.

(EDIT: Changed from /home/user/texinputs to /home/user/MyDocs/texinputs because then you're on the _big_ filesystem.)
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.

Last edited by TA-t3; 2009-12-14 at 15:47.
 

The Following User Says Thank You to TA-t3 For This Useful Post:
Posts: 138 | Thanked: 59 times | Joined on Jun 2007
#34
Thank you for the detailed answer! Bummer the bin file has to be compiled, I'm thoroughly out of my depth there.
 
Posts: 62 | Thanked: 18 times | Joined on Dec 2009 @ Missouri, USA
#35
Thanks TA-t3!
I installed the *.deb file and it seems to work fine with a simple *.tex file. What I really want LaTeX for on the N900 is presentations using the Beamer class, so I will try to get that going.
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#36
Please tell us how it works out.. it looks like you'll have to start with making yourself a texinputs directory and set the $TEXINPUTS variable (as explained above), and drop all those /usr/share/texmf/tex/latex/beamer/base/beamer* files (from your desktop texlive installation) into there. And maybe those are using other files as well.
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 62 | Thanked: 18 times | Joined on Dec 2009 @ Missouri, USA
#37
Originally Posted by TA-t3 View Post
Please tell us how it works out.. it looks like you'll have to start with making yourself a texinputs directory and set the $TEXINPUTS variable (as explained above), and drop all those /usr/share/texmf/tex/latex/beamer/base/beamer* files (from your desktop texlive installation) into there. And maybe those are using other files as well.
@TA-t3:
It's sort of getting there. First I modified the .profile file as you suggested.
I added the lines
Code:
TEXINPUTS=.:/home/user/MyDocs/texinputs//:
export TEXINPUTS
The double // at the end is to include all subfolders and the first dot after = is to include the current folder.

I then copied all files in texfm/tex/latex/beamer/base/* to my texinputs/texmf/tex/latex/beamer/base .
Then it turns out that beamer requires additional packages, namely, pgf and xcolor. So I got those from CTAN and copied them to my texinputs folder. Then my *.tex file complained that it also needed amsfonts, amslatex, and a few packages in the oberdiek and tools bundles, so I copied all of those.
The packages amsfonts and amslatex have fonts and styles files that go in texinputs/texmf/fonts and texinputs/texmf/latex and texinputs/texmf/plain .
The oberdiek and tools bundles have a bunch of *.sty files that go in texinputs/texmf/latex/oberdiek and texinpunts/texmf/latex/tools .

I haven't been able to successfully process all my *.tex file because there are some missing fonts that pdflatex wants to generate on-the-fly, but the maemotex is missing the binary mktextfm that generates font files *.tfm from metafont sources. So I will try to get the fonts files and copy those.

(The first few pages that have no math compile fine and a partial pdf file is generated.)

Does anybody know who compiled the maemotex distributions and whether mktexfm could be added?

Anyway, it looks like I'm getting close to having beamer working. I will report of future progress. Thanks.
 

The Following User Says Thank You to DojwqIO For This Useful Post:
Posts: 62 | Thanked: 18 times | Joined on Dec 2009 @ Missouri, USA
#38
Here is an update on maemotex and beamer.

It turns out that, instead of a TEXINPUTS folder, what is needed is a local TEXMF tree, otherwise it seems that only the .sty and .tex files are recognized by tex, but not the font files.

The possibilities for defining a local TEXMF tree are explained in the file /usr/local/meamotex/070802/texmf/web2c/texmf.cnf.
The easiest way is with a variable TEXMFHOME that's already defined and expects the local tree in /home/user/texmf.

So I moved my tree from /home/user/MyDocs/texinputs/texmf to /home/user/MyDocs/localtexmf and created a sym link with:
Code:
ln -s /home/user/MyDocs/localtexmf /home/user/texmf
I'm keeping the /home/MyDocs/texinputs folder for other stuff, such as bibtex files, figures, etc. So I left the .profile file as before.

After this, running pdflatex on my example .tex file with the beamer class worked great and the pdf was created using all the expected math fonts! It displays fine in the pdf viewer too.

I will try another example and check for additional missing styles or fonts, but it seems that it will work too. The next step is to try something with bibtex!
 

The Following User Says Thank You to DojwqIO For This Useful Post:
Posts: 345 | Thanked: 100 times | Joined on Nov 2009
#39
After install maemotex . What latex editor I should use ?
 
Posts: 138 | Thanked: 59 times | Joined on Jun 2007
#40
Why not use pygtkeditor, it's in extras-testing, simple and highlights latex syntax.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:12.