[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] underscores in \verb and math
From: |
Stephan Hennig |
Subject: |
[Bug-AUCTeX] underscores in \verb and math |
Date: |
Wed, 19 Jul 2006 12:19:09 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.0 Hamster/2.1.0.11 |
Hi,
AUCTeX fails to render the following character sequence right. The
underscore is interpreted as an index indicator where it shouldn't
because of the \verb command.
$\verb!_my_variable_!\leq 100$
Such constructs appear in program documentation. I don't know if
nesting \verb and math environments _is_ TeXnically save. However,
LaTeX output is ok.
Regards,
Stephan Hennig
> Emacs : GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
> of 2006-06-24 on NEUTRINO
> Package: 11.83
>
> current state:
> ==============
> (setq
> AUCTeX-date "2006-06-07"
> window-system 'w32
> LaTeX-version "2e"
> TeX-style-path '("style" "auto"
> "d:/Zweitsystem/Programme/Emacs/site-lisp/auctex/style"
> "c:/Programme/Emacs/var/auctex")
> TeX-auto-save t
> TeX-parse-self t
> TeX-master nil
> TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\""
> TeX-run-TeX nil
> (plain-tex-mode ams-tex-mode texinfo-mode) :help
> "Run plain TeX")
> ("LaTeX" "%l \"%(mode)\\input{%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)\\input %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")
> ("View" "%V" TeX-run-discard t t :help "Run Viewer")
> ("Print" "%p" TeX-run-command t t :help "Print the file")
> ("Queue" "%q" TeX-run-background nil t :help
> "View the printer queue" :visible TeX-queue-command)
> ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help
> "Generate PostScript file")
> ("Index" "makeindex %s" TeX-run-command nil t :help
> "Create index file")
> ("Check" "lacheck %s" TeX-run-compile nil (latex-mode)
> :help "Check LaTeX file for correctness")
> ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil
> t :help "Spell-check the document")
> ("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")
> )
> )
- [Bug-AUCTeX] underscores in \verb and math,
Stephan Hennig <=