Jump to content
Science Forums

Do you need auctex?


Recommended Posts

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?)!

Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

most likely

 

ok, look at this:

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...