Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Sep 2014, 11:53
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
TexLive 2011
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Sat 17 Dec 2011, 21:02    Post subject:  TexLive 2011  

To Emil
I've checked the md5sum of texlive-2011-MEDIUM.sfs -> nothing is wrong

But all stuffs in your package are not in right locations (with your script "texlive-path.sh" in /etc/profile).
Now I've placed your stuffs in new paths:

texlive is moved to /
# mkdir /root/.texlive then:
texmf-local is moved to /root/.texlive
texmf-var is moved to /root/.texlive

I've written a new script "texlivehard" with these code (put it in /etc/profile.d):
Code:

PATH=$PATH:/texlive/bin/i386-linux
TEXMFMAIN=/texlive/texmf
TEXMFDIST=/texlive/texmf-dist/
TEXMFLOCAL=$HOME/.texlive/texmf-local
TEXMFSYSVAR=/texlive/texmf-var
TEXMFSYSCONFIG=/texlive/texmf-config
TEXMFVAR=$HOME/.texlive/texmf-var
TEXMFCONFIG=$HOME/.texlive/texmf-config

export PATH TEXMFMAIN TEXMFDIST TEXMFLOCAL TEXMFSYSVAR TEXMFSYSCONFIG TEXMFVAR TEXMFCONFIG


In many case: I should run "texhash" to update texlive-system
(minor bug: I can't run "updmap")

I suggest you should repack yours .SFS if you think my idea is good?
Thank you very much. Cheer
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 618
Location: Austria

PostPosted: Mon 19 Dec 2011, 03:26    Post subject:  

This is a continuation of the thread (Page 5 & 6)
http://www.murga-linux.com/puppy/viewtopic.php?t=62231&start=70
Summary: I Made some prepacked texlive sfs - announcement:
-------

I know understand the TeX distribution a bit better. There is an installer which can be used to download only needed packages. But if a decent subset is installed it will still be several 100 of MB, so for puppy it is better to install this as an sfs file.

I have prepackaged the following (from small to large, small packages are subsets of the larger ones):

texlive-2011-MIN.sfs (18 MB) just bare minimum
texlive-2011-MEDIUM.sfs (177 MB) has LaTeX and recommended packages
texlive-2011-TETEX.sfs (334 MB) famous TeTeX distribution
texlive-2011-FULLAPP.sfs (551 MB) full Texlive sans docs and source
texlive-2011-FULL.sfs (1489 MB) full TexLive Package

texlive-2011-DOC-SRC.sfs (939 MB) Docs and Sourcecode

Those were made in Sage Live, but I *think* it should work in most puppies. Sure these are huge files, but they are a lot smaller than a download of the full distribution (2.4 GB on DVD iso).

Download texlive prepackaged

There is an installer which can be used to download a custom package. It is fine for full install puppies, but for frugal installs it is not straightforward how to avoid full savefiles/disks and to build a custom sfs package (it's not too difficult either).
install-tl-unx.tar.gz

To build an automated custom texlive sfs creator would be a nice little project ...
kind regards
Emil

Last edited by emil on Mon 19 Dec 2011, 03:42; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 618
Location: Austria

PostPosted: Mon 19 Dec 2011, 03:27    Post subject:  

Hi vanchutr,

first thanks for helping me test and smooth out the latex packages Very Happy .

About the Path /usr/local/texlive ... it is the original path were the texlive installer puts the files. I am somewhat against placing a package in the / domain. I suggest the package stays in /usr/local. Is there any particular reason why you want it to be in /texlive?
About the environment variables - Do we need them if we leave the package in the default location? Where does it fail without them?
I also see now that the original error you reported probably originated from shifting the package out of its original place Rolling Eyes - That's a small? detail you should mention if you report an assumed error Wink. I spent considerable time (installed 2 puppies to test them with the package) when I tried to reproduce the "failure".

Is it necessary to put texmf-local etc to /root/.texlive ?
I could see an eventual advantage if texlive is used in a multiuser environment. But in the usual puppy linux use case as a single user desktop only system?

If we decide to go multi user - would it be enough to set
Code:
TEXMFLOCAL=$HOME/.texlive/texmf-local
TEXMFVAR=$HOME/.texlive/texmf-var


and are the directories automatically created by texlive if need arises? Otherways this would complicate the situation - the root/.texlive directory can be included in the sfs, but I don't know how to handle additional users.

about updmap: I removed docs and sources from the packages, so this is where I probably also removed updmap. The original idea was to have sfs packages which do not change. If you want an updateable package it is better to install texlive somewhere to your hd (in Full mode) and symlink it the way you prefer it (even in /texlive). Otherways it will clobber your savefile pretty quick.

I see this as an discussion process, because I do not have enough experience with TeX to objectivly decide how that package is used best in puppy. I thought for most people it is enough to have a static version which can be put into a comparatively small sfs (so also the reuse in various puppy installations is easy and standard). Please understand that I am not completely against changing the packages, but it is a lot of work (unpacking, uploading, checking - big files) and at the moment I don't see objective reason beside your personal preference (which I don't share).

An alternative project would be to wrap the texlive installer in a "puppy tex installer script" (with GUI?), which allows to choose for build of a customized sfs or alternatively a customized full, upgradable hd install.

Take care Cool
emil

Last edited by emil on Mon 19 Dec 2011, 03:49; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
emil

Joined: 10 Nov 2009
Posts: 618
Location: Austria

PostPosted: Mon 19 Dec 2011, 03:38    Post subject:  

About updmap:

This is still in my sfs, but it won't work until you install the devx package - it neads pearl installed.

cheers
emil
Back to top
View user's profile Send private message Visit poster's website 
vanchutr

Joined: 05 Aug 2006
Posts: 427

PostPosted: Mon 19 Dec 2011, 04:17    Post subject:  

Thank you Emil
I'll follow your instructions
Back to top
View user's profile Send private message 
emil

Joined: 10 Nov 2009
Posts: 618
Location: Austria

PostPosted: Wed 21 Dec 2011, 03:02    Post subject:  

I just wanted to add and clarify, that also the user specific customisation files (including the directories texmf-local and texmf-var) are generated in $HOME/.texlive correctly with the published sfs.

I tested this with user root and also with user sageadmin (I have included this user in my Sage Live puplet). After installing the devx and running updmap there are specific files in the $HOME directories.
Back to top
View user's profile Send private message Visit poster's website 
darkcity


Joined: 23 May 2010
Posts: 2452
Location: near here

PostPosted: Sat 07 Sep 2013, 08:24    Post subject:  

added to the Latex page on the wiki Cool
http://puppylinux.org/wikka/Latex

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send private message Visit poster's website 
pewekodok

Joined: 23 May 2013
Posts: 14

PostPosted: Tue 05 Nov 2013, 10:44    Post subject: recommended subset to use CJK  

Can someone list all of packages that contained on each subset.

I downloaded small subset and tried to CJK package, then concluded it is very hard since kpse library was not included.

I have limited internet connection, so better find out what those subset have inside.

Also I need beamer package / environment.
small subset do not have beamer
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0656s ][ Queries: 12 (0.0034s) ][ GZIP on ]