xiaopeng hu | 2 Feb 2007 04:20
Picon

where can i find .emacs file

in my main fold of ubuntu,i can not find the file .
but my emacs can aware of tex file.

_______________________________________________
auctex mailing list
auctex <at> gnu.org
http://lists.gnu.org/mailman/listinfo/auctex
Leo | 2 Feb 2007 04:32
Face
Picon
Gravatar

Re: where can i find .emacs file

On 2007-02-02, xiaopeng hu said:
> in my main fold of ubuntu,i can not find the file .
> but my emacs can aware of tex file.
If it didn't exist, just create it. It should be in ~/.emacs.
--

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
sven.bretfeld | 2 Feb 2007 17:11
Picon
Picon

Re: where can i find .emacs file

On Fri, Feb 02, 2007 at 11:20:51AM +0800, xiaopeng hu wrote:
> in my main fold of ubuntu,i can not find the file .
> but my emacs can aware of tex file.

You know that files begining with a dott are invisible by default? You
can see them by typing "ls -a" in a shell or by activating "view
invisible files" (or something like this) in Konqueror. Anyway, you
can just "find" the file with Emacs. If an empty document opens, you
don't have this file yet. When you save this buffer the file will be
created. I think it's normal that Ubuntu doesn't automatically create
a .emacs file for the users when you install Emacs.

Sven
Ralf Angeli | 2 Feb 2007 20:04

Re: 11.84 and emacs 22.09x issues on win box

* Nathaniel Beck (2007-01-31) writes:

> 1. After installing 11.84, I made a new .emacs to 
> change the behavior of the command menu so at to 
> eliminate commands i never use and add acrobat 
> viewing as a command. All works fine, except that 
> acrobat opens but complains it cannot find the 
> specified file.

What does it say exactly?

> 2. The persisting problem is that emacs crashes on 
> me quite predictably.

It would be great if you could run Emacs with a debugger, produce a
backtrace and send that to the Emacs pretest bug list by using `M-x
report-emacs-bug RET'.  There are some hints on using a debugger in
the file etc/DEBUG.  I'm afraid that without such a backtrace it is
almost impossible to tell what the cause of the crash is.

>  '(TeX-command-list (quote (("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
(latex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo --html %t"
TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec
--once --texutil %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt
Full" "texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")("Acrobat" "Acrobat.exe %s.pdf"
TeX-run-discard nil nil)  ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated
intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated
intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command"))))

The canonical way to change the viewing command is to change the
variable `TeX-output-view-style'.  An easy way to get a more
Windows-friendly setup of AUCTeX is putting the line
(require 'tex-site)
into your init file.

--

-- 
Ralf
David Kastrup | 2 Feb 2007 23:37
Picon
Picon

Re: 11.84 and emacs 22.09x issues on win box

Ralf Angeli <angeli <at> caeruleus.net> writes:

> * Nathaniel Beck (2007-01-31) writes:
>
>> 1. After installing 11.84, I made a new .emacs to 
>> change the behavior of the command menu so at to 
>> eliminate commands i never use and add acrobat 
>> viewing as a command. All works fine, except that 
>> acrobat opens but complains it cannot find the 
>> specified file.
>
> What does it say exactly?
>
>> 2. The persisting problem is that emacs crashes on 
>> me quite predictably.
>
> It would be great if you could run Emacs with a debugger, produce a
> backtrace and send that to the Emacs pretest bug list by using `M-x
> report-emacs-bug RET'.  There are some hints on using a debugger in
> the file etc/DEBUG.  I'm afraid that without such a backtrace it is
> almost impossible to tell what the cause of the crash is.
>
>>  '(TeX-command-list (quote (("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
(latex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo --html %t"
TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec
--once --texutil %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt
Full" "texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")("Acrobat" "Acrobat.exe %s.pdf"
TeX-run-discard nil nil)  ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated
intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated
intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command"))))
>
> The canonical way to change the viewing command is to change the
> variable `TeX-output-view-style'.  An easy way to get a more
> Windows-friendly setup of AUCTeX is putting the line
> (require 'tex-site)
> into your init file.

rather (require 'tex-mik)

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Ralf Angeli | 2 Feb 2007 23:58

Re: 11.84 and emacs 22.09x issues on win box

* David Kastrup (2007-02-02) writes:

> rather (require 'tex-mik)

Of course.

--

-- 
Ralf
Nathaniel Beck | 3 Feb 2007 00:41
Picon

Re: 11.84 and emacs 22.09x issues on win box

Thanks to all. requiring mik-tex (somehow I 
assumed that was already required, assumptions can
be bad) and then customizing TeX-ouput-view-style
did the trick.

Two very quick questions

1. in T-o-v-s I have for pdf in the customization

acrobat %o

this requires a enter key before it submits the 
command, which then works fine - any way to get it 
to automatically start acrobat without hitting the 
enter key in the minibuf

2. in the command menu i still have all these 
commands i never use   - eg print, spell (i use my 
own in the edit menu) - where can i look to get 
rid of these?

thanks for all the help. For others who face 
similar issues, i have left some of the earlier 
traffice in.

neal

David Kastrup wrote:
> Ralf Angeli <angeli <at> caeruleus.net> writes:
> 
>> * Nathaniel Beck (2007-01-31) writes:
>>
>>> 1. After installing 11.84, I made a new .emacs to 
>>> change the behavior of the command menu so at to 
>>> eliminate commands i never use and add acrobat 
>>> viewing as a command. All works fine, except that 
>>> acrobat opens but complains it cannot find the 
>>> specified file.
>> 
>>>  '(TeX-command-list (quote (("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil
(latex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%`%l%(mode)%' %t" TeX-run-TeX nil
(latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %t" TeX-run-compile nil
(texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo --html %t"
TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex
%`%S%(PDFout)%(mode)%' %t" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec
--once --texutil %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt
Full" "texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion")
("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX")("Acrobat" "Acrobat.exe %s.pdf"
TeX-run-discard nil nil)  ("Clean" "TeX-c
 lean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(
TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other"
"" TeX-run-command t t :help "Run an arbitrary command"))))
>> The canonical way to change the viewing command is to change the
>> variable `TeX-output-view-style'.  An easy way to get a more
>> Windows-friendly setup of AUCTeX is putting the line
>> (require 'tex-site)
>> into your init file.
> 
> rather (require 'tex-mik)
> 
David Kastrup | 3 Feb 2007 01:13
Picon
Picon

Re: 11.84 and emacs 22.09x issues on win box

Nathaniel Beck <nathaniel.beck <at> nyu.edu> writes:

> Thanks to all. requiring mik-tex (somehow I assumed that was already
> required, assumptions can
> be bad) and then customizing TeX-ouput-view-style
> did the trick.
>
> Two very quick questions
>
> 1. in T-o-v-s I have for pdf in the customization
>
> acrobat %o
>
> this requires a enter key before it submits the command, which then
> works fine - any way to get it to automatically start acrobat without
> hitting the enter key in the minibuf

C-c C-v

> 2. in the command menu i still have all these commands i never use   -
> eg print, spell (i use my own in the edit menu) - where can i look to
> get rid of these?

M-x customize-variable RET TeX-command-list RET

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Frederic Andres | 5 Feb 2007 09:02
Picon
Favicon

Newbie with Emacs: problem with pdf!

Hi everyone!

Recently, I switched to MacOS, but since I also use Windows, I decided that I
might as well learn a cross-platform TeX-editor such as Emacs. I have installed
Emacs+AucTeX on windows (and Aquamacs on MACOS), but I can't see any pdf with
pdflatex. At first, I thouht that there were some LaTeXerrors, but since the
same files were working fine in Texshop or Winedt, I was surprised. So, I added
some random text to my file, and compiled it, and then I opened the pdf
manually, and the new text was there. Hence, it compiles ok, but it does not
want to open it as a pdf, using "Preview" for instance under MacOS.

Any idea why it does not work?
Thanks for your help!
David Kastrup | 5 Feb 2007 10:35
Picon
Picon

Re: Newbie with Emacs: problem with pdf!

Frederic Andres <lillumultipass <at> yahoo.fr> writes:

> Recently, I switched to MacOS, but since I also use Windows, I
> decided that I might as well learn a cross-platform TeX-editor such
> as Emacs. I have installed Emacs+AucTeX on windows (and Aquamacs on
> MACOS), but I can't see any pdf with pdflatex. At first, I thouht
> that there were some LaTeXerrors, but since the same files were
> working fine in Texshop or Winedt, I was surprised. So, I added some
> random text to my file, and compiled it, and then I opened the pdf
> manually, and the new text was there. Hence, it compiles ok, but it
> does not want to open it as a pdf, using "Preview" for instance
> under MacOS.

What does "using Preview" mean?  Which keystrokes?  What do you try?
Does it help to read the manual?

(info "(auctex) Viewing")

--

-- 
David Kastrup

Gmane