LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-09-2013, 08:52 AM   #1
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
Request for comment - How to improve TeX in Slackware?


Recently volkerdi posted this: http://www.linuxquestions.org/questi...ml#post4927908
Quote:
I'd like to find a way to update the components that make up teTeX to make things a little more modern. TeXlive really isn't an option due to the size. If we had that, it'd be at least 50% of the total install disk space. :/
I would like to invite the TeX users in the Slackware community to give feedback on this issue.

I envisage a discussion of issues like:
What would be an easy addition to TeX that would aid usability?
My own example here would be that I needed to add the subscript.sty so that I could do subscripts. As this is a 559 byte file it is a very small addition that would aid usability.

What are the advantages that you get from TeXlive?
I accept that not using a modern version of TeX means that support from TeX forums is nigh on impossible.

Are TeX users happy with being able to install TeXlive from SlackBuilds.org on default Slackware or should it form part of the standard distribution?
 
Old 04-09-2013, 09:12 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Quote:
Originally Posted by allend View Post
Recently volkerdi posted this: http://www.linuxquestions.org/questi...ml#post4927908
I accept that not using a modern version of TeX means that support from TeX forums is nigh on impossible.

Are TeX users happy with being able to install TeXlive from SlackBuilds.org on default Slackware or should it form part of the standard distribution?
I want part of TeXlive (like all dependencies of Kile in Debian) on the install dvd and the rest can be optional.
 
Old 04-09-2013, 10:19 AM   #3
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
I had a chat with a texlive upstream maintainer at FOSDEM about this and there are some options we could persue. Alas I did not have time yet to look into it and probably won't for the forseeable future. But maybe someone else finds time, so here's what I got from him:

The texlive installer itself already has support for dividing the package set into smaller subsets, using either collections or schemas. So we can simply run the texlive installer, tell it what subsets we want (there is already a tetex schema), install in a temp location and create a new texmf tarball from that. Users would be able to get the non-included stuff using tlmgr.
tlmgr would need to install in a non-packaged location, which I'm not sure if or how it would be possible. There is a patch somewhere for tlmgr to make it install addon tex packages in the users homefolder, which would be ideal, but since it's not upstream yet would need testing.

This is the presentation from FOSDEM which covers some pitfalls of packaging texlive which might help with some of this: Distributing TeX and Friends: methods, pitfalls, advise
 
Old 04-09-2013, 11:01 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,904

Rep: Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025Reputation: 5025
I was considering downloading and running the net-installer they provide and pointing it at something like /opt/texlive (owned by something along the lines of a 'texadmin' user). I'm not very knowledgeable with tex though so I don't know how well this might work.

Maybe this is a case where packaging it under the distros native package management doesn't add any value, and just makes things more complicated.
 
Old 04-09-2013, 12:56 PM   #5
nivieru
Member
 
Registered: Feb 2008
Posts: 78

Rep: Reputation: 14
I think packaging parts of texlive (some minimal schema or something) will just complicate things - users who need additional tex stuff will install them with tlmgr, and than part of their tex installation will be managed by the pkgtools, and the other part by the texlive system. It could get very confusing and hard to maintain.

It seems to me the best option is to let the tex packaging system mange the whole thing. Using an external packaging mechanism for such an integral part of the system might seem to go against the keeping it simple philosophy, but I think it is better than the alternatives.

So, how can it be done? perhaps it is possible to include a sort of partial repository of texlive, with only the necessary stuff, on the installation media, so we can run the tex installer to get the basics from there during slackware installation. This way we actually have a small tex collection on the media but we manage it with texlive's tools, and the user can then use tlmgr if he needs additional tex stuff.
Now that I put this idea on paper (screen actually) it looks a bit complex, also I haven't checked if this is possible at all and there are surly some pitfalls to consider, but I still think its a good idea.
 
Old 04-09-2013, 01:02 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,241

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Why not a SlackBuild in /extra to package TextLive, like we have for Java and Chrome?
 
4 members found this post helpful.
Old 04-09-2013, 04:26 PM   #7
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
Being a mathematician by trade, I use LaTeX extensively. I prefer texlive because it includes mathdesign, which gives me access to the greatest font family of all time. Also, my dissertation required idxlayout to conform with school formatting guidelines. Neither package is present in Slackware tetex. I could probably survive without Charter, but idxlayout really saved my hide (I don't want to start hacking low-level TeX).

tetex is in an optional package group, isn't it? I would just junk it. I know it's a dependency in SBo texlive script, but they can work around it, can't they? It would be pretty silly if TeX was a hard requirement for building TeX.

Last edited by qweasd; 04-09-2013 at 04:28 PM.
 
Old 04-09-2013, 04:56 PM   #8
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492
Erm, I asked about finding a way to update teTeX, not for opinions about texlive. We've actually spent quite a lot of time looking at texlive, and my opinion is that it would be far more difficult to make texlive suitable for Slackware than it would be to update teTeX. The ability to build a subset of texlive is not enough if the enormous source tree would still need to be shipped. Adding a few more packages to teTeX (if it got an update) would not be out of the question. The problem with texlive is that they've added *everything*, far more than the average user of TeX has any use for.

Which brings up a side comment... when I started this project, it really wasn't my intent to provide every possible package, application, desktop, etc. My goal was to make a platform upon which things could be built easily and that followed upstream as closely as was possible. Of course, some applications had to be included, but the idea was to try to stick to the essentials that everyone would miss if they weren't there.

Guess maybe we got a bit off track, eh?

I'm not unhappy with how things have turned out, and I'm not looking for removal ideas. However, it remains a command prerogative to try to keep bloat from continuing unchecked as much as possible.

As far as including just a build script for texlive in /extra, if it's already maintained at slackbuilds.org I don't see a big advantage.
 
9 members found this post helpful.
Old 04-09-2013, 06:36 PM   #9
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,376

Original Poster
Rep: Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756Reputation: 2756
Quote:
Erm, I asked about finding a way to update teTeX, not for opinions about texlive.
Agreed - That was me. I was fishing for comment on potential deficiencies in teTeX that were resolved by using TeXlive.

I had hoped that your view on the addition of TeXlive (which I happen to agree with) was apparent from the quote in post#1.
 
Old 04-09-2013, 07:37 PM   #10
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196Reputation: 4196
I (in)directly use teTeX mostly via LyX these days, although I have created or edited a few latex documents more directly at times. I have not hit any limits with the Slackware teTeX package for my own limited use.

As for additions, I have collected/created a small subset of document classes over time that I now add to each new install.

So the only thing that comes to mind to make the default teTeX package more useful would be to add an extended collection of document classes, although those tend to come from various sources so I am not aware of any single source that would fit well within the Slackware "way".

FWIW - thank you for resisting the inclusion of texlive. I think that anything that would consume 50% of the installed size while providing no clear benefits to the mythical average user qualifies as the poster child for bloat!

I looked into texlive a year or two ago (prompted by another thread here as I recall) just to try to understand what benefits came with the large size, and I did not find any clear answer. Perhaps if I were in the publishing business, but then I would probably install it myself anyway.

Last edited by astrogeek; 04-10-2013 at 01:13 AM.
 
Old 04-10-2013, 01:05 AM   #11
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
Quote:
Originally Posted by volkerdi View Post
Erm, I asked about finding a way to update teTeX, not for opinions about texlive. We've actually spent quite a lot of time looking at texlive, and my opinion is that it would be far more difficult to make texlive suitable for Slackware than it would be to update teTeX. The ability to build a subset of texlive is not enough if the enormous source tree would still need to be shipped.
Well, that's basically what I meant with

Quote:
The texlive installer itself already has support for dividing the package set into smaller subsets, using either collections or schemas. So we can simply run the texlive installer, tell it what subsets we want (there is already a tetex schema), install in a temp location and create a new texmf tarball from that.
We could create a smaller source tarball ourselves and ship that instead of the huge one from upstream. And IF the tlmgr setup works good enough I don't see how this is harder than handpicking updates into tetex. I do see how it has a higher barrier to try it though
 
Old 04-10-2013, 02:34 AM   #12
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
I use LaTeX a lot and it didn't take long using it in slackware before I needed something that was not included in teTeX. Robby Workman's TeX Live slackbuild is great but it must be said that TeX Live is ridiculously huge.

As far as just packaging goes, if Pat wanted to just replace/update teTeX to modernise it (at least with/to something that is still supported) that might be achieved by following ppr:kut's suggestion of using a similar-sized schema from TeX Live itself. The problem is *the source*. If the source is to also be included with slackware it'll be just too damn big. If TeX Live's source was in smaller bits that might fix that problem but as far as I know it's all-or-nothing.

Maybe a good compromise is to stick with teTeX (for the moment) but in the spirit of dugan's suggestion, ``upgrade'' Robby's TeX Live slackbuild to /extra (with references to the source in the README), possibly also with some environment variables to allow a bit more control over what ``schema'' to build?

Michael
 
Old 04-10-2013, 03:10 AM   #13
fsauer
Member
 
Registered: Jul 2012
Posts: 103

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Erm, I asked about finding a way to update teTeX, not for opinions about texlive.
Please, you have to accept that tetex is not an option any more.

See http://www.tug.org/tetex/
De-support notice
I (Thomas Esser) have decided not to make new releases of teTeX any more (May 2006). The information below might get out of date as time goes by. I suggest anybody interested in teTeX to join the TeX Live project.

Updating tetex would be an attempt to create your own TeX-distribution. You wouldn't want to do that, for the same reason Thomas Esser stopped doing it...

I have skipped the TeX install from slack for the last five years, and installed TeXLive instead using their install. Slackbuild adds just another layer, which I was not ready to do. Pity, but necessary for serious TeX users.


Good luck!
 
Old 04-10-2013, 05:18 AM   #14
Toutatis
Member
 
Registered: Feb 2013
Posts: 412

Rep: Reputation: Disabled
I use everyday LaTeX and also installed TeXLive using their install. It needs not to be installed in the /usr or /usr/local trees, so it is in fact somehow independent of Slackware. One needs of course to edit the PATH and put in it the path to TeXLive binaries. That's all. TeXLive has also its own package management tool.
 
Old 04-10-2013, 07:22 AM   #15
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
I think the main question is: Is the teTeX shipped with Slackware still in use today?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tex live in Slackware? tramni1980 Slackware 41 03-31-2009 08:07 AM
Ever used TeX, post your work. -- Tex Art Gallery barton Linux - Software 2 02-28-2006 02:29 AM
TeX can't find tex.fmt jrdioko Linux - Software 0 11-14-2005 05:34 PM
Slackware and Lilypond (...and Tex) tubatodd Slackware 6 08-12-2004 06:55 PM
Request For Comment: xfree86 4.4 carboncopy Slackware 4 03-06-2004 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration