Ported TexLive 2012, anybody would like to test?
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    Hi all,

    since I need latex for my work regularly and all older pdflatex ports does not work I compiled the TeXLive 2012 distrubution on my MorphOS machine. Had to change some things, but seems to work. Before I want to upload it somewhere (e.g. Aminet) I would ask someone to test it since it works on my machine but maybe I forgot something in the archive or I have something special on my machine.

    Problem: the archive has a size of 1.6 GB (.tar.gz2). Directly downloading from my own server is maybe a bit too slow, my upload is only 384 kbit/s. Maybe I should use a sharehoster? But I do not want to split it up in hundreds of smaller archives. Does anybody have an other idea?

    Now, what works?
    Anything related to tex, latex, pdftex, pdflatex etc. Also all feature loaded packages I've tested work (e.g. pgfplots, tikz, amsmath, beamer etc.).
    Also bibtex works. So that's all I need.

    What does not work?
    Anything that needs ghostscript (seems that ghostscript does not work well on my system). That includes dvipdfm, epstopdf etc.
    Also most scripts refer to /usr/bin/env, that cannot be undestood by the unix environment. Removing that from the first line of the scripts solves the problem, but I did not check every single script, since I do not need the most. Maybe I will do it later.
    Also luatex and xetex does not compile at the moment. Some other tools also, mainly the unicode stuff as far as I can see, e.g. bibtexu.

    One issue: If your tex files need missing fonts, the font files are converted as usual, but then pdftex complains that they do not exist and exits. That's no problem, just compile again until all fonts are created, then compiling works.

    Edit: It is now available for download here.

    [ Editiert durch ciVic 09.07.2013 - 08:35 ]
  • »15.06.13 - 13:58
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    Last time I tried TeX years ago, but I can test it with cyryllic texts.
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »15.06.13 - 15:47
    Profile Visit Website
  • Just looking around
    Posts: 19 from 2013/6/15
    Hi!
    This looks like a very good news.
    I would certainly like to test it with some of my docs. Have to write TeX documents sometimes, need a PC then.
  • »15.06.13 - 16:47
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Acill
    Posts: 1926 from 2003/10/19
    From: Port Hueneme, Ca.
    I dont have much use for TEX but I would bewilling to do some tests for you on my systems if you like. Just let me know.
    Powermac Dual 2.0 GHZ G5 PCI-X (Registration #1894)
    Powerbook 1.67GHZ
    Powermac Dual 2.0 GHZ G5 PCIE (Registration #6130)
    A4000T CSPPC, Mediator
    Need Repairs, upgrades or a recap in the USA? Visit my website at http://www.acill.com
  • »15.06.13 - 22:08
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 565 from 2004/4/15
    The MorphOs Developer Guide is totally made In Tex.
    The Source is also available, which could be a good test case.
    regards
    eliot
  • »16.06.13 - 16:17
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    Compiles flawlessly on my MorphOS machine. Only issue: pdflatex is normally pdftex with the option --progname=pdflatex. The usual way on an Amiga in the past was to create an alias:

    Code:
    alias pdflatex pdftex --progname=pdflatex


    But this does not work for makefiles. So I had to exchange the pdflatex commands manually. If someone knows a good solution...

    Here is the archive (1.5 GByte):

    https://docs.google.com/file/d/0B1_z4CcBsowOUjRRTVE3U2N0dnM/edit?usp=sharing

    Simply extract it, double click on "Startup TeX" and you should be able to compile the example or (after the makefile changes) the MorphOS Developer Documentation.

    Ans if somebody else is able to use it I will publish it on Aminet or MorphZone (or both?).
  • »16.06.13 - 19:33
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 565 from 2004/4/15
    I will test it this evening and give you feeback afterwards.
    regards
    eliot
  • »17.06.13 - 04:57
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    eliot
    Posts: 565 from 2004/4/15
    I could not download it with OWB.
    Why is archive 1,5 gb big?

    [ Edited by eliot 17.06.2013 - 17:39 ]
    regards
    eliot
  • »17.06.13 - 16:34
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    I am also not able to download it with OWB, seems to be a problem with OWB and the overloaded google page. Can anybody download it with another browser?

    And it has 1.5GB since it is the complete TeXLive 2012 distribution. I could do it like the other tex distributions for the amiga, only providing bin and source and the other files must be downloaded elsewhere (together also 1.5 GB). But then the user would have do to many steps before it works. I've read many threads that it can take 2 weeks until they had it running. And I was completely unable to get it running, don't know why. So I decided to make it as simple as possible.
  • »17.06.13 - 19:41
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    I have downloaded the archive on Windows machine, then converted to lha and copied it through FTP to MorphOS.
    Unfortunately, I am unable to run pdftex. I am using command line and I get:

    Code:
    Download:DH0/TeXLive> pdftex
    lstat(./pdftex) failed ...
    ./pdftex: No such file or directory
    progname.c:316: failed assertion
    Abort trap


    Obviously, I've executed "Startup TeX" before.

    Is it necessary to use the makefile? It needs make, so it seems that MOS SDK is required?
    BTW, I have noticed that some files in the 'bin' directory refer to /DH0/TexLive, is this intentional? Thus I've put it into a DH0 directory.
  • »17.06.13 - 20:11
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    I have download it with good old FF (thank you, Genesi, for Ubuntu 10.10 in 2013 :)), and still waiting for dearch .bz2.
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »18.06.13 - 03:59
    Profile Visit Website
  • Just looking around
    Posts: 19 from 2013/6/15
    It works!!!

    But I had to change working directory to 'bin'.
    So a command
    Code:
    Download:DH0/TeXLive/bin> pdftex --progname=pdflatex ram:veryshortguide.tex

    compiled the file, but did not include its graphics (which was also in RAM:).
    I have added one line to veryshortguide.tex:
    Code:
    \graphicspath{ {RAM:} }

    (just behind \usepackage's) and it now compiles into a pdf with the graphic file included.

    Thank you ciVic!
    I will test it also with my documents soon.
  • »18.06.13 - 05:16
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    It seems that something during the make process on my machine saves the path where it was compiled. I will check that. Could you please check that the assigns in the "start tex" are correct? tex: should be your texlive dir. And I will also check if it cannot find the gfx if pdftex is not started in the directory where the images are.
  • »18.06.13 - 05:28
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    Yes, assigns are correct, after issuing 'assign' command I see amongst others:
    Code:
    Directories:
    texmf Download:DH0/TeXLive/texmf
    TeX Download:DH0/TeXLive

    And the message in one of my above posts is an effect of running pdftex, i.e., if pdftex was not in the path, the output would be 'pdftex: Unknown command'.
  • »18.06.13 - 05:58
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    I am mow extracting it on my system. But I cannot see something refering to dh0. Where exactly did you see that? Was it a symbolic link? And does anybody else have this problems?
  • »18.06.13 - 19:36
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    When I was trying to run it for the first time, I was browsing through the files and opening some of them in a text editor.
    In TeXLive/bin there are many small files consisting of one line of text (describing a directory), it is possible that they are symbolic links (I am not sure). The first one is 'a2ping'.
  • »18.06.13 - 20:18
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    Yes, that should be symlinks. But extracting it on my linux machine or MorphOS machine I only get empty files instead of symlinks. I tried again to create archives containing valid symbolic links, but whatever I've tried, they are somhow corrupt. They are relative, maybe tar is unable on an Amiga to understand that. Instead of ../texmf I get bin/..texmf or even worse.
  • »18.06.13 - 20:53
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    I have just verified two other documents.
    The first one uses latex class 'endm'. Included packages are algorithm, algorithmic, amstext.
    It compiles. The situation is the same as with graphics: endm.cls could not be found, even though I had it in RAM: together with tex source. TeX asked me where it is and it went on:
    Code:
    ! LaTeX Error: File `endm.cls' not found.
    Type X to quit or <RETURN> to proceed,
    or enter new name. (Default extension: cls)
    Enter file name: ram:endm.cls
    (./ram:endm.cls
    Document Class: endm 1994/01/12, 2e-1.15: Elsevier Preprint

    It also gave me a rather typical message, which I guess has no impact on the output pdf:
    Code:
    ! Package hyperref Error: Wrong DVI mode driver option `dvips',
    (hyperref) because pdfTeX or LuaTeX is running in PDF mode.
    See the hyperref package documentation for explanation.

    So the pdf was correctly built.

    The second of my documents uses an ieee class (IEEEtran) and even though I was ready to provide the necessary files, this time I was not asked where they are. They are commonly used, so perhaps they are already inside the TeXLive distribution.
    Included packages were: cite, graphicx, epstopdf, amsmath, amsthm, amstext, amssymb, float.
    This document contains 5 eps images. As you've said, epstopdf probably does not work. I got two or three system requesters of the form "Please insert volume usr in any drive" (and sbin, and bin IIRC). And the output pdf had no images.
    However, when I have placed their "eps-converted-to.pdf" versions in RAM:, it has built completely (i.e., with images).
    I have added RAM: as a path to graphics, as in the first included example.
  • »18.06.13 - 21:33
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    I think I have it. Please replace the content of your startup tex file with the following:

    Code:

    echo "Assigning TeX:"
    assign TeX: ""
    echo "Assigning texmf:"
    assign texmf: TeX:texmf
    echo "Adding tex:bin to c: assignment"
    assign c: tex:bin/ add
    echo "Adding '/c:.' to search path"
    echo "$PATH:/c:." >T:PATH
    copy T:PATH to env:PATH
    echo "Done"


    Then you can start pdftex in the dir with your main tex file, and then also the "cannot find" problems should also be gone.
  • »19.06.13 - 07:39
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    Yes, now it is possible to run pdftex when being in RAM:, where the tex sources are.
    I've verified one more document, based on amsproc class, including packages: amsmath, amsthm, amsfonts, amssymb, inputenc, geometry, enumerate, fancyheadings. (Well, even though the packages are included, I don't remember if they are actually used).
    It compiles with no problems.
    My only doubt is the final layout of the documents, seems a little bit different than on Windows. Maybe it is normal that under various operating systems, or in various TeX distributions, some layout details differ (e.g., spacings between consecutive lines or margins, or figure placement rules, or something like that).
  • »19.06.13 - 14:13
    Profile
  • Cocoon
    Cocoon
    ciVic
    Posts: 45 from 2013/6/2
    Strange. I one of your previous posts you wrote that you are using eps files, so I assume normally you use latex, not pdflatex. Maybe that makes the difference.
  • »19.06.13 - 17:29
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    I am no such expert on TeX to distinguish that. In TeXworks on Windows, I always thought the green button results in invoking pdflatex on my setup. Now I've looked into its configuration and its "pdfLaTeX" option is associated with a program called texify.exe, a part of MikTeX.
    The use of eps graphics was most probably possible due to epstopdf package.
  • »19.06.13 - 18:00
    Profile
  • Just looking around
    Posts: 19 from 2013/6/15
    OK, got it, it is a matter of a class version.
    Before the updated "Startup Tex" my doc compiled using IEEEtran.cls which is included in TeXLive (1.7a).
    After the modification in "Startup Tex" it takes IEEEtran.cls which is where my sources are (1.8).
    And the output pdf looks identical as on Windows.
    Sorry for the confusion.

    Great work!!! MorphOS can now easily be used to typeset documents in TeX!!!
  • »19.06.13 - 18:16
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    mobydick
    Posts: 179 from 2004/2/26
    From: Mordor, capita...
    Using updated "Startup TeX" I compiled document with \usepackage[cp1251] (and text in cp1251 codeset) without errors. Pdf looks as expected.

    Also, I tried to compile with \usepackage[utf8] (and text in utf8). Pdf was compiled, but some letters was ignored
    (
    ! Package inputenc Error: Unicode char \u 8:\GenericError {(inputenc)}
    {Package inputenc Error: Unicode char \u8:Ð? not set up for use with LaTeX}
    {See the inputenc package documentation for explanation.}{Your command was i gnored.
    )
    May be, it is necessary to use special commands. But I don't need utf8, so...

    Thank you for your work!!!
    Pegasos II/G4@1GHz, 1 GB RAM, MorphOS 3.9
    Efika MX Smartbook, Ubuntu 12.04
    peguser.narod.ru
  • »19.06.13 - 18:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    DoctorMorbius_FP
    Posts: 315 from 2004/2/13
    From: Naples - Italy
    Well, I still use AmigaTeX on my machines (see here).

    Now I have verified that TeXLive works really fine and compiles all my old and new scientific papers. And of course it is extremely uptodate (AmigaTEX is 25 years old!).

    Thank you ciVic.
    Powered by PegasosII-G4, MacMini, PowerMac MDD.
  • »19.06.13 - 22:34
    Profile Visit Website