LaTeX for Sharp Zaurus
Work in progress!
(By which I mean, not even nearly finished.)
- Not an .ipk because I haven't yet tried to make one of those. I do plan
to do this if I can resolve the problems viewing the output.
- Takes about 9Mb of space. You will need more if you send the files to
the Zaurus and unzip/tar them there, so if space is pressing extract them
on your desktop and ftp them across.
- I'm assuming no distinction between texmf and "local" texmf. It's all
in one blob.
- This only includes the cm fonts, nothing else. It's easy to add more.
But only type 1 fonts seem to have any hope of being visible to opera/qpdf,
and this texmf doesn't include stuff needed for metafont so the dvi->pdf stage
will fail miserably if you use others.
- If you want to add metafont support you probably need to install awk.
There's an .ipk for it somewhere.
- I know nothing about a) unix b) latex c) the zaurus d) anything else
so this is probably inept. Please flame
That's it (I already created the fmt files). Decide where to put your tex
files, latex and dvipdfm them, then move the results pdf into
Documents/application/pdf for viewing. I'll probably make a script so that
the "compile" command in minide
- Download texmf.tar.gz
and extract the files to wherever you want your texmf tree to go.
(I put my texmf tree on my compact flash card so I put it in /mnt/cf/texmf
but there's probably a more logical place).
- Download lib.tar.gz and extract it to somewhere where
libs go, e.g. /usr/lib.
- Download bin.tar.gz and extract it to somewhere where
binaries go, e.g. /usr/bin (or create /usr/bin/tex and add that to the path).
If space is short, you only seem to need the files "tex" and "dvipdfm".
Make a link from latex to tex in the same directory.
chmod +x those binaries.
Finally, download texmf_cnf.tar.gz, extract it
to somewhere where texmf.cnf can be found by the tex programs (I had trouble
with this, and ended up having to put it in /usr/bin, which surely isn't
right. Anyone want to tell me how to get tex to find it in texmf/web2c/?).
- Edit the TEXMFMAIN= line in texmf.cnf to wherever your texmf tree went.
Remember you only have the cm fonts (I think that includes the maths symbols
though, doesn't it, in cmsym?)
Your comments most welcome at the above email address.
Both Opera and qpdf refuse to make use of the
embedded type 1 fonts, substituting their own naff-looking ones instead.
They don't render the symbols at all. (The pdf files created on the Zaurus
look just fine on my desktop, viewed with acroread.) Any help with getting
that fixed would be very welcome.
I can't get pdftex to work, it seems to need
"libstdc++-glibc-some-version-I-forget" which doesn't seem to be available
compiled for arm. Maybe I need to take a deep breath and cross-compile. But
maybe there's an alternative?