From Vishal Kothari Wed Apr 20 14:31:08 2005 From: Vishal Kothari (Vishal Kothari) Date: Wed, 20 Apr 2005 19:01:08 +0530 Subject: pdfTex Message-ID: Hi, I am trying to build an application for the Psion 5MX device which contains the EPOC Operating System and the ARM 710T processor. The application is in C. The application is pdfTex i.e. a tex to pdf conver= ter. Does armtex contain a tex to pdf converter? Can you tell me as to how can I compile armtex for the EPOC OS? --=20 Regards, Vishal Kothari. From theo at markettos.org.uk Thu Apr 21 16:48:09 2005 From: theo at markettos.org.uk (Theo Markettos) Date: Thu, 21 Apr 2005 16:48:09 +0100 Subject: pdfTex In-Reply-To: References: Message-ID: <20050421154809.GL20587@chiark.greenend.org.uk> On Wed, Apr 20, 2005 at 07:01:08PM +0530, Vishal Kothari wrote: > I am trying to build an application for the Psion 5MX device which > contains the EPOC Operating System and the ARM 710T processor. > The application is in C. The application is pdfTex i.e. a tex to pdf converter. > Does armtex contain a tex to pdf converter? > Can you tell me as to how can I compile armtex for the EPOC OS? armtex is a slight misnomer these days - it dates from maybe 1992 when the only major OS to run on the ARM was RISC OS. So there's nothing particularly ARM-related in armtex, and the only merit it has for other platforms is it's a fairly simple, if old, build of tex. But the distribution itself is rather out of date. But it doesn't have pdftex in it. I think you'll need a recent web2c-based distribution for this. How Unix-like is the EPOC build environment? If it's POSIX compliant you should be able to build something like tetex, though it's a fairly major process. I'm not sure the memory in the Psion would be up to it though. Alternatively there's a web2c-based package of pdftex on CTAN at: http://www.tex.ac.uk/tex-archive/systems/web2c/ which is much smaller. I don't know how much else you'll need though. Particularly getting a suitable texmf tree and convincing kpathsea (the library that handles locating files in tex) to understand the right paths can be a bit tricky. You could also try: http://www.tex.ac.uk/tex-archive/systems/tex2pdf/ which seems to be a Windows take on the same package. Possibly web2c isn't required, but I haven't looked at it in great detail. There don't seem to be too many small TeX distributions which include pdftex, possibly since it's not part of Knuth's distribution and is rather large in itself. Though I'm not particularly clued-up on alternative distributions, I'm afraid. If you really want to compile armtex, I imagine it would just mean creating yourself a new set of Makefiles and there are a few core files which have RISC OS code in them. Hope this helps, Theo -- Theo Markettos theo@markettos.org.uk Clare Hall, Cambridge atm26@cam.ac.uk CB3 9AL, UK http://www.markettos.org.uk/