Latex and Lyx

Mathematical tools, physics simulators, CAD, CNC, etc.
Message
Author
emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

#31 Post by emil »

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

1)

Code: Select all

#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: Select all

#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 ... ammer.html
Last edited by emil on Wed 18 May 2016, 05:17, edited 1 time in total.

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

#32 Post by emil »

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.

uio
Posts: 76
Joined: Mon 31 Aug 2015, 18:01

Thanks!

#33 Post by uio »

Thanks emil,
I hope to test this out this weekend. I'll let you know how it goes.
:::uio

uio
Posts: 76
Joined: Mon 31 Aug 2015, 18:01

package finder script

#34 Post by uio »

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

User avatar
recobayu
Posts: 387
Joined: Wed 15 Sep 2010, 22:48
Location: indonesia

Re: This is what I was looking for !

#35 Post by recobayu »

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=0B139J ... 2NjWXlGSmc
We can download texlive-basic-2015_7.0.1.sfs from there
Then, I do like this (on my xenialpup):

Code: Select all

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: Select all

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

Code: Select all

tlmgr install xstring
For qtree:

Code: Select all

tlmgr install qtree
and

Code: Select all

tlmgr install pict2e
Hope this help,
:)
Recobayu

Post Reply