Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing TeXLive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
TGL
Bodhisattva
Bodhisattva


Joined: 02 Jun 2002
Posts: 1978
Location: Rennes, France

PostPosted: Wed Jun 26, 2002 10:56 pm    Post subject: Installing TeXLive Reply with quote

TexLive is a very complete latex distribution, have a look on:
http://www.tug.org/texlive.html

It has its own interactive install process, so it was impossible to write a good ebuild. So, here is what I did:

- install texlive in an a directory of your choice (I choosed /usr/local/texlive)

- create a /etc/env.d/10texlive file with the following 2 lines:
Code:
PATH=/usr/local/texlive/bin/i386-linux
VARTEXMF=/usr/local/texlive/texmf-var

and then run env-update

- inject a few dummy packages in your portage database to satisfy dependencies of some other packages:
Code:
emerge inject app-text/tetex-1.0.7-r10
emerge inject app-text/xmltex-1.0

(in fact, this was to satisfy gstreamer dependencies, but I will probably find some more in the future... "--pretend" is your friend)

And that's it, happy texing ;)

PS: yes, the tetex ebuilds work well, I have nothing against this packages. But I really like TeXLive :oops:
Back to top
View user's profile Send private message
Woland
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 248
Location: Russian Jack, Alaska

PostPosted: Thu Feb 06, 2003 11:10 am    Post subject: Reply with quote

That really sounds great. I have two questions though:
1. Where can I grt a CD image?
2. If I already built TeX on my system, can I still use this CD?
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Fri Dec 10, 2004 2:03 pm    Post subject: Reply with quote

hi guys... they are passed two years, but... still important:
what are the advantages reguarding tetex?
Back to top
View user's profile Send private message
Douglas
n00b
n00b


Joined: 09 Dec 2004
Posts: 14
Location: Bunker Delta

PostPosted: Fri Dec 10, 2004 4:39 pm    Post subject: Reply with quote

soigres wrote:
hi guys... they are passed two years, but... still important:
what are the advantages reguarding tetex?


Tetex in particular, and LaTeX in general, produces professional quality documents. These are typesetting programs which emit extremely high quality printed output. They tweak font kerning and such to create the classic look you see when you flip open a professionally published book.

If you are a student, using LaTeX and something like LyX will enable you to quickly produce some rather amazing looking term papers, lab reports, you name it. When you print it out, it will look like you took the pages from a professionally printed textbook, rather than the amateurish look of something created with, say MS Word.

I don't know if TexLive will work with directly with LyX, but I know that LyX can produce LaTeX output files. If you are writing a serious paper, book, or scientific report, using LaTeX will give your work a truly professional look.

When I was in college, I used LyX (and TeTeX) to write a couple of my senior papers and they just looked fantastic. Unfortunately, TeTeX is a 500 pound gorilla, it is huge. And LyX should be compiled with Qt nowadays, both of which seem to take forever to compile. I have it on my system though, just in case I need to make some serious scientific documents. I'm an engineer, so I just love writing papers full of equations and weird graphs. I just wish Linux had a better drafting program than QCad, when I get TurboCAD working in Wine I will be in heaven :-P
_________________
Calculating BogoMIPS... Integer Overflow!
Kernel Panic! System Halted
Back to top
View user's profile Send private message
nsahoo
l33t
l33t


Joined: 17 Jul 2003
Posts: 618

PostPosted: Fri Dec 10, 2004 5:41 pm    Post subject: Reply with quote

but, what is the selling point of TexLive? why not tetex?
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Fri Dec 10, 2004 5:45 pm    Post subject: Reply with quote

i understand you Douglas (i'm an engineer too)... i'm waiting for dreamweaver-for-linux...

so... i'm a gnome user... don't have qt!
i've discovered AUCTeX, an expansion of Emacs.. do you know?

thanks
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 902
Location: Hamburg, Germany

PostPosted: Sat Dec 11, 2004 10:20 am    Post subject: Reply with quote

nsahoo wrote:
but, what is the selling point of TexLive? why not tetex?


I just took a quick look at the TeXLive web page. It looks like it's just another TeX distribution, compareable to teTeX. One of the advantages seems to be that you don't need to install it to your Hard Disk, but can run it completely from CD/DVD. As I'm a regulary TeX user, that's no benefit for me.

Another interesting TeX distributon is vTeX. vTeX is a commercial TeX distribution, but they offer free versions for Linux and OS/2. Some of the major publishing companies for scientific magazines use this TeX distribution.

It differs from teTeX in that point, that it got a build in "distiller" which means that you can use it to produce ps and pdf output from the same sources, esp. including eps figures in the pdf output, whithout converting the manually to pdf before like you have to do using teTeX's pdflatex.

I know that you can run pstopdf on your dvips output and avoid the conversion that way, but you loose all your interactive elements like hyperlinks, etc when doing that, which is no option when using a modern presentation style like latex-beamer.
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Sat Dec 11, 2004 11:18 am    Post subject: Reply with quote

what's the difference between pdf and ps? i think i nedd only pdf format because it is higly portable; mistake?
thanks a lot
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 902
Location: Hamburg, Germany

PostPosted: Sat Dec 11, 2004 12:31 pm    Post subject: Reply with quote

soigres wrote:
what's the difference between pdf and ps? i think i nedd only pdf format because it is higly portable; mistake?
thanks a lot

No, they are both portable, but quite different in design, although both were developed by a Adobe.

First there was Postscript. Postscript is a page description language, which means it is a full programming language. If you have ghostscript installed, take a look at
Code:
$ less /usr/share/ghostscript/<insert your version here>/examples/snowflak.ps
this is a little programm that computes four fractal like snowflakes if you interpret it with a postscript interpreter like ghostscript:
Code:
$ gv usr/share/ghostscript/<insert your version here>/examples/snowflak.ps
draws the result. Try it a few times and you'll see: Each time you get different snowflakes, because the programm initializes som variables with random values. In fact postscript is a very mighty programming language, it has very much commands, control structures, etc ... Adobe did that to describe a document in a "abstract mathematical" vector style, so it looks best on every printer, because it's recalculated each time it is printed in the best fitting way for this device.

A few years later everybodys focus was on the internet and especially the web. So Adobe designed a second portable document format: PDF. PDF has all the interactive features we got used to with the web. You can put hyperlinks, external animations, forms, ... in your pdf. All things that postscript can't do because at the time Adobe designed postscript, they thought a postscript documents primary use would be to be printed on a laser printer or another high quality printing device. pdf is not a complete programming language anymore, seems like adobe thought that approach is "oversized" for a document format, but still is vector oriented.

So it depends, wich format you prefer. If you need interactive elements, like hyperlinks in your latex-beamer presentation, you have to use pdf. If you want just to print it maybe poststcript is better, because the Acrobat Reader converts every document for printing on a Linux systen to postscript anyway, which it sends to your printer (or more propably ghostscript, which converts it into a bitmap, matching the needs of your printer). So using postscript directly, you save one unneccessary conversion, if you're just interested in a paper printout of your document.
But I have never seen any losses in the quality in converting a pdf to postscript, so when in doubt I guess you're right: Use pdf.

That's why you have to use pdflatex when you want to create a pdf which contains sounds, animations, hyperlinks from latex. If you create a dvi, convert that to ps and that agian to pdf, these multimedia/interactive elements get lost. But teTeX's pdflatex has the disadvantage that you're restricted to pdf, png, gif and jpeg for your imported figures. So you have to use a style like "graphicx" which decides during the compilation which figure to include: the eps version for dvi output by latex, the pdf version for pdf output by pdflatex. Now you have one document from which you can create both formats, at the cost of that you now have to take care of two versions of your figures and keep them in sync manually or by a make file. vTeX seems not to have that restriction (I always wanted to try it but had no time up to now)
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Sat Dec 11, 2004 5:26 pm    Post subject: Reply with quote

thank you very much brother
so i think ps is the right format for me
another thing: what is a dvi?
thanks
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 902
Location: Hamburg, Germany

PostPosted: Sat Dec 11, 2004 7:14 pm    Post subject: Reply with quote

dvi is TeX's native output format. When Don Knuth developed TeX he had his own ideas how a device independent document format should look like (thats where the dvi name comes from: device independent). At that time there were also no professional good looking fonts freely available, so he wrote a companion for tex, named metafont which create (bitmapped) fonts from programms (in principle metafont and postscript are quite similar), describing how the letter should look like in which size. That's one of the reasons why TeX output looks so much more beautifull then MS Word: It incorporates the experience centuries of printers knowledge: For example a real 12 point font has to be a bit different from a 10 point font scaled by 1.2 to look "right". TeX knows about that and includes the correct font.

TeX has an output format which contains not the font itself. That gets generated by metafont (as a bitmap font) when TeX (or the dvi viewer/printer) knows in which resolution you want to print it. Metafont stores all fonts it has once createted, so during some time you have a lot of fonts on your harddisk. Printing on Unix systems means postscript printing, so Thomas Rokicki solved the problem by writing dvips, which converts the dvi format to postscript. Since a few years there are also some free postscript versions of TeX's native cm (for "computer modern") font family available, so that dvips now can create "real" (fully vector based) postscript documents, whithout including bitmapped fonts, which could look very bad when printed not in the resolution they were calculated for.
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Sat Dec 11, 2004 11:00 pm    Post subject: Reply with quote

thanks a lot

so i decide: tetex, emacs and auctex
is it right?
thanks
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 902
Location: Hamburg, Germany

PostPosted: Sat Dec 11, 2004 11:26 pm    Post subject: Reply with quote

I did my diploma thesis with that tools, I am momentary doing my PhD, and I guess beside of that ;) 99% of all scientific publications were written this way. Even if it's less then 99&% you have a combination of tools that prooved several thousand times before that it's functional.
Back to top
View user's profile Send private message
soigres
l33t
l33t


Joined: 09 Dec 2004
Posts: 648
Location: Milano, Italy

PostPosted: Sun Dec 12, 2004 12:05 am    Post subject: Reply with quote

thanks all gurus!
Back to top
View user's profile Send private message
furanku
l33t
l33t


Joined: 08 May 2003
Posts: 902
Location: Hamburg, Germany

PostPosted: Sun Dec 12, 2004 12:26 am    Post subject: Reply with quote

You're welcome!
Back to top
View user's profile Send private message
Tuxi
n00b
n00b


Joined: 17 Mar 2004
Posts: 31

PostPosted: Wed Apr 06, 2005 8:17 am    Post subject: Re: Installing TeXLive Reply with quote

TGL wrote:

- install texlive in an a directory of your choice (I choosed /usr/local/texlive)

- create a /etc/env.d/10texlive file with the following 2 lines:
Code:
PATH=/usr/local/texlive/bin/i386-linux
VARTEXMF=/usr/local/texlive/texmf-var

and then run env-update

- inject a few dummy packages in your portage database to satisfy dependencies of some other packages:
Code:
emerge inject app-text/tetex-1.0.7-r10



I also prefere texlive, so I have installed it as you describe, but now I have a problem installing auctex:
configure: error: --with-tex-input-dirs="/usr/share/texmf/bibtex/bst/": Directory does not exist
What is the easiest way to solve this?

I solved it by editing the ebuild file and moving it to /usr/local/portage/...
Back to top
View user's profile Send private message
zefo
n00b
n00b


Joined: 26 Sep 2005
Posts: 4

PostPosted: Fri Sep 30, 2005 10:51 am    Post subject: lyx installation problems.. Reply with quote

did what was suggested ('cept /usr/TeX is my install. directory).. and run emerge lyx.. the emerging failed w/ the following output:

Code:
ACCESS DENIED  unlink:    /usr/TeX/texmf-var/web2c/latex.log
rm: cannot remove `/usr/TeX/texmf-var/web2c/latex.log': Prístup odmietnutý
ACCESS DENIED  rename:    /usr/TeX/texmf-var/web2c/latex.log
mv: cannot move `latex.log' to `/usr/TeX/texmf-var/web2c/latex.log': Prístup odm                                                      ietnutý
ACCESS DENIED  unlink:    /usr/TeX/texmf-var/web2c/latex.fmt
rm: cannot remove `/usr/TeX/texmf-var/web2c/latex.fmt': Prístup odmietnutý
ACCESS DENIED  rename:    /usr/TeX/texmf-var/web2c/latex.fmt
mv: cannot move `latex.fmt' to `/usr/TeX/texmf-var/web2c/latex.fmt': Prístup odm                                                  ietnutý
/usr/TeX/texmf/web2c/mktexupd: /usr/TeX/texmf-var/web2c/latex.fmt not a file.
I can't find the format file `latex.fmt'!
make: *** [ChkTeX.dvi] Error 1

!!! ERROR: dev-tex/chktex-1.6.2 failed.
!!! Function einstall, Line 524, Exitcode 2
!!! einstall failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-tex_-_chktex-1.6.2-7564.log"

unlink:    /usr/TeX/texmf-var/web2c/latex.log
rename:    /usr/TeX/texmf-var/web2c/latex.log
unlink:    /usr/TeX/texmf-var/web2c/latex.fmt
rename:    /usr/TeX/texmf-var/web2c/latex.fmt
--------------------------------------------------------------------------------



note: Prístup odmienutý means Access denied..

any ideas, plz?

cheers,

-- joe
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
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