View previous topic :: View next topic |
Author |
Message |
Bullet Dodger Apprentice
Joined: 16 Jul 2005 Posts: 230
|
Posted: Sat Oct 20, 2007 10:45 pm Post subject: Emacs + LaTeX |
|
|
Hi,
I've just learned of LaTeX and tried to install LaTeX for emacs.
After doing a:
I think the package i'm looking for is dev-texlive/texlive-latex.
This was hard masked, so i unmasked it and got it installed. With no problems.
Next (i think) i need app-emacs/auctex (i think u can get latex previews in emacs which is what i want).
So an: emerge app-emacs/auctex -p gives me:
Code: |
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] net-libs/libwww-5.4.0-r7 USE="ssl -mysql"
[ebuild N ] app-text/texlive-core-2007 USE="X -doc"
[ebuild N ] dev-texlive/texlive-latexrecommended-2007 USE="-doc"
[ebuild N ] app-text/tetex-3.0_p1-r4 USE="X Xaw3d -doc -lesstif -motif -neX
[ebuild N ] virtual/latex-base-1.0
[ebuild N ] app-emacs/auctex-11.84-r1 USE="-preview-latex"
[blocks B ] app-text/tetex (is blocking app-text/texlive-core-2007)
|
Then i did
Code: |
emerge --unmerge app-text/tetex; emerge app-emacs/auctex
--- Couldn't find 'app-text/tetex' to unmerge.
>>> No packages selected for removal by unmerge
--- Invalid atom in /etc/portage/package.use: #
--- Invalid atom in /etc/portage/package.keywords: #
Calculating dependencies... done!
!!! Error: the app-text/tetex package conflicts with another package;
!!! the two packages cannot be installed on the same system together.
!!! Please use 'emerge --pretend' to determine blockers.
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
|
Is it just cos there packages are hard masked?
Is is possible to get LaTeX + emacs (or vi (thinking of learning this)) working on gentoo?
What have i missed?
how can it get it all working together?
Cheers |
|
Back to top |
|
|
tobr Guru
Joined: 29 May 2006 Posts: 330
|
Posted: Sun Oct 21, 2007 12:53 am Post subject: |
|
|
While texlive is the newer distribution of LaTeX, Gentoo is still stuck with tetex (which is no longer maintained but still works of course) because the transition is not so easy (I think). So uninstalling texlive and installing tetex etc. will probably solve your problem. _________________ Please add [SOLVED] to your message title if your problem is solved.
Death to all blobs! |
|
Back to top |
|
|
nabla² Apprentice
Joined: 17 May 2005 Posts: 280
|
Posted: Mon Oct 22, 2007 11:49 am Post subject: |
|
|
tobr wrote: | While texlive is the newer distribution of LaTeX, Gentoo is still stuck with tetex (which is no longer maintained but still works of course) because the transition is not so easy (I think). So uninstalling texlive and installing tetex etc. will probably solve your problem. | Yup, all the texlive ebuilds are very new and are even still without keywords for any architecture. tetex is enough for a beginner of latex. While using tetex, texlive will be tested and you can install that in some time. btw. you need the preview-latex useflag for auctex to get the previews.
PS: vi is evil. (no flame war starting point intended) _________________ Gentoo on Intel Core Duo 2 E6750, Gigabyte P35-DS3P, NVIDIA 8800GTS (amd64) |
|
Back to top |
|
|
Sleipnir Guru
Joined: 20 Sep 2005 Posts: 372 Location: Germany
|
Posted: Mon Oct 22, 2007 12:40 pm Post subject: |
|
|
First of all this
Bullet Dodger wrote: |
--- Invalid atom in /etc/portage/package.use: #
--- Invalid atom in /etc/portage/package.keywords: #
|
points to a problem in your package.{use|keywords} files. Try to solve this first.
Then try to do a
Code: |
emerge --unmerge tetex
|
(without app-text/) and see if this works. Afterwards proceed with emerging auctex. _________________ A)bort, R)etry, I)nfluence with large hammer. |
|
Back to top |
|
|
Bullet Dodger Apprentice
Joined: 16 Jul 2005 Posts: 230
|
Posted: Tue Oct 23, 2007 8:54 pm Post subject: |
|
|
Cheers
I unmerge texlive and emerge tetex and auctex and all went well.
I didn't use the preview-latex flag tho
Will have to do a re-emerge.
Haven't configured emacs to activate latex either as described in the auctex info pages.
I'm away from my gentoo box for 2 weeks now tho
Sleipnir wrote: | First of all this
Bullet Dodger wrote: |
--- Invalid atom in /etc/portage/package.use: #
--- Invalid atom in /etc/portage/package.keywords: #
|
points to a problem in your package.{use|keywords} files. Try to solve this first.
|
I think this is because i tried to put some comments in these files starting the line with '#' and it doesn't like this.
Cheers |
|
Back to top |
|
|
|