Hypography Science Forums: Do you need auctex? - Hypography Science Forums

Jump to content

Welcome! You are currently viewing the Hypography Science Forum as a guest. In order to participate in our science discussions, you should register now! Registration is free and you can use your Facebook login if you like.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Do you need auctex? Rate Topic: -----

#1 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 06 March 2008 - 11:58 PM

At work I just turned to xubuntu and emacs is installed with auctex I think; the consequence is that all shortcuts changed...for example I was used to type for compiling: ctrl-c ctrl-f
now it is (after a long search I figured this out): ctrl-c ctrl-c. I would like to go back to the usual comands , so is this due to auctex as I guess? Is there any use for auctex on linux (I thought it was only for compiling latex documents on emacs installed on windows)?

Thanks very much for any hints and/or elucidations (is this english?)!
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#2 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 07 March 2008 - 06:25 AM

no no, auctex is an emacs package, so it matters not what platform it is on, it's an emacs package.

it does change shortcuts, because it creates a load of them.... here is all the shortcuts that auctex creates: AUCTeX 11.85

here's auctex manual, detalied about everything it does:
AUCTeX 11.85

compiling latex documents is done with the latex package auctex alows you to have latex syntax highlighting, and to preview your documents, and stuff :turtle:
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#3 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 09 March 2008 - 10:05 PM

Great link thanks!

But to my question, why do I compile at home with C-c C-f and now at work with C-c C-c Latex Enter?
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#4 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 March 2008 - 03:01 AM

hold on, are you saying that same setup, you have latex at work and you compile it in emacs using C-c C-c and at home on the same setup you compile it with C-c C-f...?
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#5 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 10 March 2008 - 05:59 AM

No I never said same setup: at home I installed fedora core 6 and no updates since at least 6 months at work I installed Xubuntu a few weeks ago with all updates...
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#6 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 March 2008 - 06:33 AM

oh, the packages that emacs comes with are different in FC6, and it is likely that auctex will have different shortcuts, based on which emacs packages are installed. but if you have auctex on one, and no auctex on the other machine, then auctex is what changed the shortcuts :P
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#7 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 10 March 2008 - 06:41 AM

So back to my original question do you need auctex? i will check one of these nights at home if I have auctex installed...
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#8 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 March 2008 - 07:18 AM

not really, as i said, auctex does synthax highlighting and preview functions for emacs, but it has nothing to do with latex as a package.

you can insert this in custom.el to have cool latex highlighting:

(custom-set-faces ; only one 'custom-set-faces' entry must exist in custom.el
 '(default ((t (:foreground "white" :background "black" :size "12" :family "courier"))) t)
 '(cperl-array-face ((t (:foreground "orangered" :bold t))))
 '(cperl-hash-face ((t (:foreground "Red" :bold t))))
 '(cperl-nonoverridable-face ((t (:foreground "orange" :bold t))))
 '(custom-button-face ((t (:bold t :foreground "#3fdfcf"))))
 '(custom-group-tag-face ((t (:underline t :foreground "blue"))))
 '(custom-saved-face ((t (:underline t :foreground "orange"))))
 '(custom-state-face ((t (:foreground "green3"))))
 '(custom-variable-button-face ((t (:bold t :underline t :foreground "white"))))
 '(dired-face-permissions ((t (:foreground "green"))))
 '(font-latex-bold-face ((((class color) (background light)) (:bold t))))
 '(font-latex-italic-face ((((class color) (background light)) (:italic t))))
 '(font-latex-math-face ((((class color) (background light)) (:foreground "green3"))))
 '(font-latex-sedate-face ((((class color) (background light)) (:foreground "gold"))))
 '(font-lock-comment-face ((t (:foreground "orange3"))))
 '(font-lock-doc-string-face ((t (:foreground "Wheat3"))))
 '(font-lock-function-name-face ((t (:foreground "blue" :bold t))))
 '(font-lock-keyword-face ((t (:foreground "gold"))))
 '(font-lock-preprocessor-face ((t (:foreground "red" :bold t))))
 '(font-lock-reference-face ((t (:foreground "orangered"))))
 '(font-lock-string-face ((t (:foreground "green3"))))
 '(font-lock-type-face ((t (:foreground "#886fff" :bold t))))
 '(font-lock-variable-name-face ((t (:foreground "yellow" :bold t))))
 '(font-lock-warning-face ((t (:foreground "Violetred"  :bold t))))
 '(highlight ((t (:foreground "red3" :background "white"))) t)
 '(isearch ((t (:foreground "red" :background "white"))) t)
 '(list-mode-item-selected ((t (:foreground "green"))) t)
 '(message-cited-text ((t (:bold t :italic nil))))
 '(secondary-selection ((t (:foreground "white" :background "red"))) t)
 '(text-cursor ((t (:foreground "black" :background "green"))) t)
 '(zmacs-region ((t (:background "RoyalBlue"))) t)
 )


but yeah auctex allows you to do inline preview, thats about it...
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#9 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 10 March 2008 - 07:35 AM

Actually where is it said to use the package auctex? I mean if I want to use the package amsmath I say at the beginning usepackage {amsmath}... I guess is hidden in some .el file loaded...but where?
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#10 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 March 2008 - 08:01 AM

it's an emacs package, not a latex one :P
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#11 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 10 March 2008 - 08:03 AM

But somewhere (like .emacs?) you should be able to say to use it or not, no?
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#12 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 March 2008 - 08:09 AM

most likely

ok, look at this:

Quote

1.1 Installation

Read the section Installing AUCTeX, or Installation under MS Windows, respectively for comprehensive information about how to install AUCTeX.

The installation routine tries to make the modes provided by AUCTeX the default for all supported file types. If this does not happen in your case, add


(load "auctex.el" nil t t)

to your init file and consult the section Loading the package.

If you want to change the modes for which it is operative instead of the default, use


M-x customize-variable RET TeX-modes RET

If you want to remove a preinstalled AUCTeX completely before any of its modes have been used,


(unload-feature 'tex-site)

should accomplish that.


those lines in your .emacs are likely the cause of auctex loading ;) try to comment them out
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#13 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 10 March 2008 - 08:10 AM

rather add (unload-feature 'tex-site) at the top, then comment out the (load "auctex.el" nil t t) line
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

#14 User is offline   sanctus 

  • Resident Diabolist
  • Group: Administrators
  • Posts: 3,475
  • Joined: 17-March 04
  • LocationOslo, Norway

Posted 10 March 2008 - 11:30 PM

The only thing I have my .emacs file that refers to auctex is:
(setq reftex-plug-into-AUCTeX t)

So it have to be in another hidden file I guess...
Administrator

A COUNTRY WITHOUT AN ARMY IS LIKE A FISH WITHOUT A BIKE!!!


I don't believe in god, but I do believe in what others call utopies.
0

#15 User is offline   alexander 

  • Dedicated Smart-ass
  • View gallery
  • Group: Moderators
  • Posts: 5,656
  • Joined: 04-May 04

Posted 11 March 2008 - 03:12 AM

wait, it refers to "to your init file" whatever file that is, you have to find it...
~ Sun, number 1 cause of global warming.


Caution: some thinking required when using this product, keep your axons and dendrites inside your head at all times.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users


View our Science Quizzes | Science links. About the Hypography Science Forums

Friends

We recommend these stellar sites:

PC Help Forum

ATL - Atlanta Computer Repair

Sponsors

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

When we launched in May 2000, we wanted to create a site to share science-related content of all kinds on the web. As time passed, our site turned into a pure science forum with lots of cool people.

So we kept the name Hypography and the cool science forum community - and aim to be a friendly place for discussion of science topics of all kinds.