Page 1 of 8 123 ... LastLast
Results 1 to 10 of 79

Thread: HOWTO: Emacs & LaTeX

  1. #1
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    218
    Distro
    Ubuntu Breezy 5.10

    HOWTO: Emacs & LaTeX

    This is for all the lonely people, thinking that life has passed them by...
    EMACS
    1. Download the attached emacsconf.tar.gz archive to your home directory. Then extract the attached .emacs and .Xresources file to ~/
      Code:
       tar zxvf emacsconf.tar.gz
    2. Install emacs and associated packages:
      Code:
      sudo apt-get install emacs21 emacs-extra emacs-goodies-el emacs auctex preview-latex xfonts-jmk
      (JMK Neep fonts are optional, but really good looking).
    LATEX
    1. Install LaTeX
      Code:
      sudo apt-get install tetex-base tetex-extra
    2. Install dvi viewers (can install only one - use kdvi if you have kubuntu, o/w use xgdvi)
      Code:
      sudo apt-get install kdvi xgdvi
    3. Read The Not So Short Introduction to LaTeX
    FINALISE
    Apply the .Xresources settings:
    Code:
    xrdb -merge .Xresources
    LaTeX AWAY!
    Open Emacs, and TeX away.

    (From Hoary Customisations & Tricks)
    Attached Files Attached Files
    Last edited by Manny C; October 27th, 2005 at 01:06 AM.
    Kind Regards
    Manny C
    "We are on the road to producing a race of men too mentally modest to believe in the multiplication table." G.K. Chesterton
    --
    Kubuntu Breezy 5.10, KDE 3.5.0, Kernel 2.6.12-10-386, Compaq Presario 2267ap, RLU #399975.

  2. #2
    Join Date
    Oct 2005
    Beans
    3

    Re: HOWTO: Emacs & LaTeX

    Quote Originally Posted by Manny C
    Download the attached emacsconf.tar.gz archive to your home directory. Then extract the attached .emacs and .Xresources file to ~/
    I'm most likely missing something here, but I cannot find the attached file

  3. #3
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    218
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Emacs & LaTeX

    No. Actually, I forgot to attach this file. Thanks and fixed

  4. #4
    Join Date
    Oct 2005
    Beans
    3

    Re: HOWTO: Emacs & LaTeX

    I tried this procedure, but got the following error.

    root@ubuntu:~/Desktop/Zanza# sudo apt-get install emacs21 emacs-extra emacs-goodies-el emacs-extra-goodies-el emacsauctex preview-latex xfonts-jmk
    Reading package lists... Done
    Building dependency tree... Done
    Package emacs21 is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package emacs21 has no installation candidate

    Any suggestions?

  5. #5
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    218
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Emacs & LaTeX

    Try
    Code:
     sudo apt-get clean
    and then
    Code:
     sudo apt-get update
    emacs21 should be in the main repositories.
    Kind Regards
    Manny C
    "We are on the road to producing a race of men too mentally modest to believe in the multiplication table." G.K. Chesterton
    --
    Kubuntu Breezy 5.10, KDE 3.5.0, Kernel 2.6.12-10-386, Compaq Presario 2267ap, RLU #399975.

  6. #6
    Join Date
    May 2005
    Location
    Reno,NV
    Beans
    150

    Re: HOWTO: Emacs & LaTeX

    Couple quick comments. First of all,
    Restart your computer (I think this is necessary)
    I don't see how that could be necessary. All you are doing is installing emacs. All you should need to do is
    Code:
    xrdb -merge .Xresources
    to get the new .Xresources to take effect. At most, you should maybe logout and re-login.
    Also,
    - xfonts-jmk is optional (you should at least say that)
    - emacs-goodies-el replaces emacs-extra-goodies-el (you have emacs-extra-goodies-el) so you should just have it.
    - auctex instead emacsauctex
    - instead of xdvi use xgdvi
    - dvi2ps will convert dvi files to postscript files and is pretty important if you want to print or share your TeX output.

    -LaserJock

  7. #7
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    218
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Emacs & LaTeX

    Ok. Thanks Laserjock.
    Kind Regards
    Manny C
    "We are on the road to producing a race of men too mentally modest to believe in the multiplication table." G.K. Chesterton
    --
    Kubuntu Breezy 5.10, KDE 3.5.0, Kernel 2.6.12-10-386, Compaq Presario 2267ap, RLU #399975.

  8. #8
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    218
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Emacs & LaTeX

    Oh. Incidentally, you don't need dvi2ps. You can use dvips command to convert dvi to ps if you so desire.

    Never used dvi2ps.
    Kind Regards
    Manny C
    "We are on the road to producing a race of men too mentally modest to believe in the multiplication table." G.K. Chesterton
    --
    Kubuntu Breezy 5.10, KDE 3.5.0, Kernel 2.6.12-10-386, Compaq Presario 2267ap, RLU #399975.

  9. #9
    Join Date
    Oct 2005
    Location
    Paris
    Beans
    4
    Distro
    Ubuntu Hoary 5.04

    Re: HOWTO: Emacs & LaTeX

    Hi,
    if you want or need a more Wysiwyg way you can also use LyX et TeXmacs. Theses are great alternative to Emacs+AucTeX + preview-LaTeX, but not so much pur LaTeX
    Cheers

  10. #10
    Join Date
    Apr 2005
    Location
    Sydney, Australia
    Beans
    218
    Distro
    Ubuntu Breezy 5.10

    Re: HOWTO: Emacs & LaTeX

    Quote Originally Posted by samusz
    Hi,
    if you want or need a more Wysiwyg way you can also use LyX et TeXmacs. Theses are great alternative to Emacs+AucTeX + preview-LaTeX, but not so much pur LaTeX
    Cheers
    Or use whizzytex with advi viewer + emacs :0

    This is a HOWTO for another day.
    Kind Regards
    Manny C
    "We are on the road to producing a race of men too mentally modest to believe in the multiplication table." G.K. Chesterton
    --
    Kubuntu Breezy 5.10, KDE 3.5.0, Kernel 2.6.12-10-386, Compaq Presario 2267ap, RLU #399975.

Page 1 of 8 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •