Poster | Thread |
jack
|  |
LaTeX on OS4 for testing Posted on 26-Oct-2007 3:16:26
| | [ #1 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| Hi all,
I just managed to make a working (at least so far) port of LaTeX for AOS4. I would like to ask from ppl who are familiar with latex to test it. So far I tested these applications: latex/elatex/tex/etex compilers, dvips/dvipdfm. No dvi viewer yet.
atm the file is being uploaded, the url (this is being posted before the upload complete): http://ae-www.technion.ac.il/~jack/tmp/os4/ file: tetex-3.0_build_alpha1.tar.gz size: 166616126 bytes (~159 MB) md5sum: d5a7a9d2ba64ea6565220404ff3377ac
Edit: etex file that replaces older broken etex that slipped into the above archive (same url) file: tetex-3.0_build_alpha1_etex_only.tar.gz
Requirements: SDK with up-to-date abc-shell.
Please note that this is work in progress: packaging is not finished and installation inistructions might be incomplete. Begin with README.amiga
Jack
Last edited by jack on 26-Oct-2007 at 08:18 AM. Last edited by jack on 26-Oct-2007 at 07:16 AM. Last edited by jack on 26-Oct-2007 at 07:14 AM. Last edited by jack on 26-Oct-2007 at 06:58 AM.
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
firbodi
|  |
Re: LaTeX on OS4 for testing Posted on 26-Oct-2007 5:06:50
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 2-Sep-2003 Posts: 1046
From: Planet Earth! | | |
|
| @jack
Wow! This is great. Exactly what I have been waiting for for a long time. I'm currently using the old 68K version of AmiWeb2C. It works fine, but is somehow slow.
I am downloading the file as I type. Will test and report back ASAP. Maybe this weekend, I get some time to do so.
Thank you very much for your valuable efforts. 
Firbodi
_________________ MicroA1 G3, 512MB RAM, DVD-RW; and A1-SE G3,512MB RAM, CD-RW & DVD-ROM Avatar: Perspolis, Capital of Achaemenid Empire 500 B.C.  |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 26-Oct-2007 6:45:05
| | [ #3 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @firbodi
etex file that replaces older broken etex that slipped into the above archive (same url) file: tetex-3.0_build_alpha1_etex_only.tar.gz
Enjoy
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
Deniil715
 |  |
Re: LaTeX on OS4 for testing Posted on 26-Oct-2007 9:51:10
| | [ #4 ] |
|
|
 |
Elite Member  |
Joined: 14-May-2003 Posts: 4238
From: Sweden | | |
|
| @jack
Cool! I'm also using AmiWeb2C 68k now, but it is slow and can't generate PDFs directly - have to go through ps which doesn't give a good result.
Where do I locate and how do I use abc shell? AmiWeb2C runs in a normal Amiga Shell but that makes it tricky for kpathsea to find its stuff, fonts etc sometimes. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)  > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
salass00
|  |
Re: LaTeX on OS4 for testing Posted on 26-Oct-2007 10:09:25
| | [ #5 ] |
|
|
 |
Elite Member  |
Joined: 31-Oct-2003 Posts: 2707
From: Finland | | |
|
| |
Status: Offline |
|
|
RacerX
|  |
Re: LaTeX on OS4 for testing Posted on 26-Oct-2007 20:02:48
| | [ #6 ] |
|
|
 |
Super Member  |
Joined: 21-Aug-2003 Posts: 1158
From: Parts Unknown, USA | | |
|
| @jack
In the immortal words of The Cat (Red Dwarf)...
"What is it?" _________________ 'unfixed' A1XE, 512mb RAM, plug-in USB card, Sil 0680 IDE card, Radeon 9250, built-in sound, OS4.1 update 5. |
|
Status: Offline |
|
|
Rob
 |  |
Re: LaTeX on OS4 for testing Posted on 26-Oct-2007 20:31:20
| | [ #7 ] |
|
|
 |
Elite Member  |
Joined: 20-Mar-2003 Posts: 6400
From: S.Wales | | |
|
| |
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 27-Oct-2007 20:19:20
| | [ #8 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @Deniil715
Here you'll have "dvipdfm" for direct conversion The missing piece atm is lack of viewer. I'll try to incorporate "ShowDVI", but it has limited PS support.
Jack
Last edited by jack on 27-Oct-2007 at 09:56 PM.
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 27-Oct-2007 20:20:02
| | [ #9 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @all
Fixed version of "setup" file is in the same url named "teTeX_amiga_setup", I'll modify it online when there'll be need for changes
Edit: Due to large size of the file, I made online a smaller version with sources of tex packages removed and icluded there the fixed setup and etex file. Juts run rehash_amiga inside "sh" after installation.
http://ae-www/~jack/tmp/os4/tetex-3.0_build_alpha1_nosrc.tar.gz
Jack
Last edited by jack on 27-Oct-2007 at 09:56 PM.
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 28-Oct-2007 15:02:04
| | [ #10 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @jack
Bump _________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 28-Oct-2007 16:58:51
| | [ #11 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @thread
More development: got ShowDvi going (m68k, the one that appeared in pastex and amiweb2c) with teTeX. The font generation for preview is done by native metafont so it's should be speedy enough. Will have to iron it out and then I'll release fixed callmf and friends arexx scripts
Things are getting better Will see if there's a chance to make use of gs in specialhost for picture generation, if not, I'll try to make a script that produces PostScript compatible with post.library in specialhost.
If anyone has some ideas suggestion, they are wellcome. The only thing I'm affraid of now is that changing specialhost is beyond my abilities atm (seems to me that there's some use of assembler in PostScript-related code). Jack
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 28-Oct-2007 20:34:25
| | [ #12 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @all
The experiment continues:
http://ae-www.technion.ac.il/~jack/tmp/os4/tetex_showdvi.lha
Contains the setup instructions and modified files for m68k ShowDVI. Specialhost wasn't tested yet, so it migh have to be disabled if it is loaded automatically in your existing setup. Note again: this is "fresh from the oven". It works for me, should work for you. More tidy installation process will be derived from your experiences.
Jack
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 28-Oct-2007 22:48:44
| | [ #13 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| A teaser screenshot for Amiga LaTeX users, maybe that will encourage you to install and feed back the feedbacks. LaTeX + ShowDVI and shell it's running in and Annotate with partial latex syntax parser :
http://aerodyne.technion.ac.il/~jack/tmp/os4/latex_shot.png
Jack
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 29-Oct-2007 19:41:49
| | [ #14 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @all
A bit more polished instructions available as well as newer ShowDVI files.
http://ae-www.technion.ac.il/~jack/tmp/os4
Now time to test ShowDVI in action with PS gfx...
Still waiting for feedback from latex users...
Jack
Last edited by jack on 29-Oct-2007 at 07:42 PM.
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
Deniil715
 |  |
Re: LaTeX on OS4 for testing Posted on 30-Oct-2007 13:38:06
| | [ #15 ] |
|
|
 |
Elite Member  |
Joined: 14-May-2003 Posts: 4238
From: Sweden | | |
|
| @jack
Installing now. Seemed I had WOS versions of gzip and tar which both crashed badly with ISI. Removed those and now extracting worked fine. I just really hope dvipdfm works now!
I'll let you know when (when, not if, when dealing with LaTeX ) I run into trouble  _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)  > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
firbodi
|  |
Re: LaTeX on OS4 for testing Posted on 31-Oct-2007 5:27:39
| | [ #16 ] |
|
|
 |
Super Member  |
Joined: 2-Sep-2003 Posts: 1046
From: Planet Earth! | | |
|
| @jack
Thanks for the great work.
I have three things to ask.
First, when I first run latex, it asks for home: For now, I assigned it to teTeX drawer. I hope this does not cause any problems.
Second, dvipdfm has problems with files that have eps pictures. I guess that you already know?
Third, dvips has a weird default output "lpr." I have to use the -o option to specify an output file. This is not the case on Linux.
Other than these, everything else seems to be working good. I still have to try ShowDVI.
Thanks, Firbodi
Last edited by firbodi on 31-Oct-2007 at 05:28 AM.
_________________ MicroA1 G3, 512MB RAM, DVD-RW; and A1-SE G3,512MB RAM, CD-RW & DVD-ROM Avatar: Perspolis, Capital of Achaemenid Empire 500 B.C.  |
|
Status: Offline |
|
|
firbodi
|  |
Re: LaTeX on OS4 for testing Posted on 31-Oct-2007 5:34:28
| | [ #17 ] |
|
|
 |
Super Member  |
Joined: 2-Sep-2003 Posts: 1046
From: Planet Earth! | | |
|
| @jack
Here is the output of dvipdfm when it tries to include an eps file in the pdf:
NSERC_04.dvi -> NSERC_04.pdf [1(./change_01.eps < PS > zcat: Unknown command zcat failed returncode 10 GPL Ghostscript 8.54: **** Could not open temporary file "/T" **** Unable to open the initial device, quitting. PIPE failed returncode 10
Conversion via ->zcat -f ./change_01.eps | gs -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.2 -dUseFlateCompres ion=true -dSAFER -sOutputFile=tmp000000 - -c quit < - failed ) pdf: image inclusion failed for (change_01.eps). ]
Thanks, Firbodi Last edited by firbodi on 01-Nov-2007 at 03:10 AM.
_________________ MicroA1 G3, 512MB RAM, DVD-RW; and A1-SE G3,512MB RAM, CD-RW & DVD-ROM Avatar: Perspolis, Capital of Achaemenid Empire 500 B.C.  |
|
Status: Offline |
|
|
jack
|  |
Re: LaTeX on OS4 for testing Posted on 31-Oct-2007 9:33:03
| | [ #18 ] |
|
|
 |
Cult Member  |
Joined: 19-Aug-2003 Posts: 650
From: Israel | | |
|
| @firbodi
Ok, great that stuff seems to be working. I stumbled on eps problem yesterday and had no chance to publish the workaround:
http://ae-www.technion.ac.il/~jack/tmp/os4/zcat
copy to the path (tetex:bin/powerpc-unknown-amigaos is ok) , "protect +s"and retry Missed adding sys:utilities/ghostscript to the path in the setup file, thanks (now added to setup file I guess you already done it yourself)
Please note the newer showdvi files are online. With latest setup the compilers should work inside regular amiga shell. rehash_amiga still relies on launching from sh but it'll change.
Edit: just noticed output you provided. Can you check if there're jpeg compression artifacts in the image that is displayed in pdf? (just reminded me a problem I once found in gs scripts that by default used lossy compression for images)
Jack
Last edited by jack on 31-Oct-2007 at 09:36 AM. Last edited by jack on 31-Oct-2007 at 09:34 AM.
_________________
"the expression, 'atonal music,' is most unfortunate--it is on a par with calling flying 'the art of not falling,' or swimming 'the art of not drowning.'. A. Schoenberg |
|
Status: Offline |
|
|
Deniil715
 |  |
Re: LaTeX on OS4 for testing Posted on 31-Oct-2007 10:50:28
| | [ #19 ] |
|
|
 |
Elite Member  |
Joined: 14-May-2003 Posts: 4238
From: Sweden | | |
|
| @jack
The shell (sh) has a different set of paths than the Amiga CLI and doesn't find any teTeX commands. When giving it a "wierd" command line, such as "c:path" I get a requester for every path it searches and see that non of the Amiga paths are searched, only different locations within the SDK:, some of which the Amiga path are not set to.
Where does it get this from? What is the command for setting path in sh? Shouldn't it inherit the paths?
About the dvipdfm problem (which I'm still far from it seems ;)), is zcat really needed, isn't that just if one wants stuff comressed into gzip or something? _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes)  > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
Ball000
|  |
Re: LaTeX on OS4 for testing Posted on 31-Oct-2007 10:55:09
| | [ #20 ] |
|
|
 |
Member  |
Joined: 27-Oct-2006 Posts: 29
From: Daoulas, Bretagne, France | | |
|
| |
Status: Offline |
|
|