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 Tue 22 Aug 2017, 20:58
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
Latex and Lyx
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [35 Posts]   Goto page: Previous 1, 2, 3
Author Message
emil

Joined: 10 Nov 2009
Posts: 630
Location: Austria

PostPosted: Tue 17 May 2016, 07:42    Post subject:  

good that you solved the devx.sfs trap (you missed my earlier post about installing it first)
do the rest like this:

1)
Code:
#mkdir -p /mnt/sdd1/usr/local/texlive

creates directory structure on the stick

2)*
open a ROX window (click on your USB stick) and navigate to the directory /mnt/sdd1/usr/local

open a 2nd ROX window (click e.g. on the Home Desktop Icon). Navigate to the directory /usr/local

left klick on the directory folder "texlive" in the first ROX window and keep mouse button pressed down, drag the folder to the 2nd ROX window. Release the left mouse button.
A window will appear which offers to move, copy or create Link (relativ or absolute). Choose to create a link, either relativ or absolute is fine.

3) then run the installer again. It will write to /usr/local/texlive, but since this is a link to /mnt/sdd1/usr/local/texlive everything will go to the stick

4) to test the installation, get the directory in your PATH as described in my previous post.

5) if it works well enough, you can create a texlive sfs on your stick
Code:
#cd /mnt/sdd1
#mksquashfs usr texlive-my.sfs -keep-as-directory

6) after that you can load the sfs and it should union mount to /usr/local/texlive

if in doubt, google, stackexchange, and of course murga-linux are your friends.

* about reading this twice, this reminds me on Master Foo
http://catb.org/esr/writings/unix-koans/gui-programmer.html

Last edited by emil on Wed 18 May 2016, 01:17; 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: 630
Location: Austria

PostPosted: Wed 18 May 2016, 01:15    Post subject:  

I made an error in my previous post. Please bear with me I am a bit rusty.
One needs to append the option -keep-as-directory in the mksquashfs command to get the correct file structure. I updated the previous post to correct it.
Back to top
View user's profile Send private message Visit poster's website 
uio

Joined: 31 Aug 2015
Posts: 77

PostPosted: Fri 20 May 2016, 17:08    Post subject: Thanks!  

Thanks emil,
I hope to test this out this weekend. I'll let you know how it goes.
:::uio
Back to top
View user's profile Send private message 
uio

Joined: 31 Aug 2015
Posts: 77

PostPosted: Fri 20 May 2016, 17:12    Post subject: package finder script  

Also, another approach (which has been as of yet unsuccessful for me) would be this missing package finder script:
https://www.ctan.org/pkg/texliveonfly?lang=en

It might be useful to keep things smaller.

Any ideas on getting it running?

:::uio
Back to top
View user's profile Send private message 
recobayu


Joined: 15 Sep 2010
Posts: 267
Location: indonesia

PostPosted: Wed 22 Jun 2016, 22:51    Post subject: Re: This is what I was looking for !  

uio wrote:
Hello recobayu !

This is great ! I downloaded your texlive and texstudio pets. They worked beautifully on a fresh Tahrpup 6.0.5 live-usb ! I had spent hours last year trying to figure this out for LaTeX and voilà, your pets work quickly, no issues. Could you try to get this into the official repos (not quite sure what those are...) ? I think that it is super useful.

I do have a quick question though : how do I go about adding packages that are not included ? For example, if I want to use 'qtree' how do I add this so texstudio can use it ? I can find them on CTAN, but I don't know where to place them nor if I need to recompile the TeX system or something... Also, how could I set it up to use beamer ?

Thanks a lot - honestly, this was maybe the biggest thing I disliked about Puppy - that it was missing a good way to use LaTeX. I use if very often.

emil - your link is broken ! http://boxen.math.washington.edu/home/emil/Latex/
any idea where I could find those pets ?

Very useful pets recobayu ,

:::uio


Actually, this is also be my problem a few day ago. But now, I had the solution. It's very easy.
First, we must install complete perl5.
I have a repo xenialpup. I download from ppm and make it as .pet or .sfs in here:
https://drive.google.com/open?id=0B139JQzD_9i_SFJhY2NjWXlGSmc
We can download texlive-basic-2015_7.0.1.sfs from there
Then, I do like this (on my xenialpup):
Code:
tlmgr update --self

After that, I can install a package I need. For example:
I want to make a system of equations. So I need systeme.sty
Code:
tlmgr install systeme

When I pdflatexing my .tex file, I got error about xstring.sty. So I install it by typing
Code:
tlmgr install xstring


For qtree:
Code:
tlmgr install qtree

and
Code:
tlmgr install pict2e


Hope this help,
Smile
Recobayu
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [35 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Engineering/Science/Simulation
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.0377s ][ Queries: 13 (0.0053s) ][ GZIP on ]