bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

processing latex files without \\documentclass


From: Robin Barker
Subject: processing latex files without \\documentclass
Date: Fri, 8 Feb 2002 12:38:58 GMT

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.1.1 (sparc-sun-solaris2.7, X toolkit)
 of 2001-11-28 on tempest
configured using `configure  --prefix=/opt/emacs'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: nil
  default-enable-multibyte-characters: nil

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have some latex files which do not have \documentclass 
(or \documentstyle).  Typically these are one-liners,
e.g. dingofoo.tex:

    \PassOptionsToPackage{foo}{wombat}\input{dingo}

If I latex these files with no other latex file buffers 
all is OK.  However if another latex file buffer (e.g.
dingo.tex) is open and this is a "normal" latex file,
then this file (dingo.tex) is latex'ed instead of
dingofoo.tex.  This is really annoying!!

A workaround is to add a line '%\documentclass' in
dingofoo.tex but this is hardly elegant.

Robin

Recent input:
<backspace> <backspace> C-c C-f y <backspace> C-c C-f 
y <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <report-emacs-bug> l a t <backspace> <backspace> 
<backspace> p r o c e s s i n g SPC o f SPC l a t e 
x SPC f i l e s SPC w i t h o u SPC <backspace> t SPC 
\ d o c u m e n t c l a s s <return> C-c C-c <help-echo> 
<down-mouse-2> <mouse-2> <help-echo> <down-mouse-3> 
<help-echo> <mouse-3> <help-echo> <down-mouse-3> <mouse-3> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<files> <kill-buffer> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>

Recent messages:
(No files need saving)
Loading skeleton...done
Wrote /home/rmb1/test/emacs/linked.tex [2 times]
(No files need saving)
Wrote /home/rmb1/test/emacs/linked.tex
Undo!
Wrote /home/rmb1/test/emacs/linked.tex [3 times]
Loading emacsbug...done
Loading mailalias...done
Loading view...done
report-emacs-bug-hook: No text entered in bug report



reply via email to

[Prev in Thread] Current Thread [Next in Thread]