[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] M-q, doesn't work in LaTeX mode.
From: |
gerald . jean |
Subject: |
Re: [AUCTeX] M-q, doesn't work in LaTeX mode. |
Date: |
Thu, 8 Jan 2009 09:02:22 -0500 |
Hello Ralf,
Ralf Angeli <address@hidden> a écrit sur 2009/01/07 14:15:07 :
> * gerald jean (2009-01-07) writes:
>
> > not sure exactly when it started but when in LaTeX mode
"fill-paragraph"
> > doesn't work anymore. For example if I put point anywhere in the
following
> > paragraph, which might have been reformated by the mailers, and hit
"M-q",
> > nothing happens. If I mark the paragraph and call "fill-region" it
works,
> > i.e. the region, here the paragraph, gets filled. If I copy the
unfilled
> > paragraph to the scratch buffer and hit "M-q", it does get filled,
hence
> > the problem lies, I think, with the "LaTeX mode".
>
> Do you get a backtrace if you type `M-x toggle-debug-on-error <RET>' and
> then `M-q'? If this is the case, what does it say?
>
This doesn't say anything? Nor in the minibuffer neither in the *Message*
buffer. I also discovered that in particular instances M-q will work, e.g.
if I am in a construct like the following:
\begin{figure}[H]
\centering
\includegraphics[width = 12.5cm, keepaspectratio, angle =
270]{TS-LiftsGraphs001}
\caption[Lift pour les modèles Étienne, 081211, 081212.C et 090106.]{Lift
pour
les modèles Étienne, 081211, 081212.C et 090106. Ordonnancement par taux
de
succès.}
\label{ch6:Lifts-ord-TS}
\end{figure}
if some lines are too long, or too short, M-q will do its job. But in a
construct like the following it will not work, no matter what:
Le graphique~\ref{ch6:TS-cumulatif} montre le Taux de Succès
\textit{cumulatif}
pour les quatre modèles, l'ordonnancement
est fait par le Taux de Succès.
Encore une fois le modèle \textit{081212.C} démontre sa supériorité.
> Also, which versions of Emacs and AUCTeX are you using? (Please use
> `M-x TeX-submit-bug-report <RET>' when reporting a problem which
> includes this kind of information.)
Here is the output of TeX-submit-bug-report:
Emacs : GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
of 2008-03-26 on RELEASE
Package: 11.85
current state:
==============
(setq
AUCTeX-date "2008-02-10"
window-system 'w32
LaTeX-version "2e"
TeX-style-path '("style" "auto" "c:/Emacs/emacs-22.2
/site-lisp/auctex/style"
"c:/documents and settings/vincent/mes documents/emacs
modified/trunk/auctex/var/auctex")
TeX-auto-save t
TeX-parse-self t
TeX-master "FMD-TS"
TeX-command-list '(("TeX" "%(PDF)%(tex) %`%S%(PDFout)%(mode)%' %t"
TeX-run-TeX
nil
(plain-tex-mode ams-tex-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")
("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")
("ps2pdf" "ps2pdf %f" TeX-run-command t t)
("GSview" "gsview32 %f" TeX-run-command t t))
)
Thanks for your help,
Gérald Jean
Conseiller senior en statistiques,
VP Planification et Développement des Marchés,
Desjardins Groupe d'Assurances Générales
télephone : (418) 835-4900 poste (7639)
télecopieur : (418) 835-6657
courrier électronique: address@hidden
"In God we trust, all others must bring data" W. Edwards Deming
>
> --
> Ralf
Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés
uniquement aux personnes identifiées et peuvent contenir des informations
privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu
ce message par erreur, veuillez le détruire.
This communication ( and/or the attachments ) is intended for named recipients
only and may contain privileged or confidential information which is
not to be disclosed. If you received this communication by mistake please
destroy all copies.
Faites bonne impression et imprimez seulement au besoin !
Think green before you print !
Le message ci-dessus, ainsi que les documents l'accompagnant, sont destinés
uniquement aux personnes identifiées et peuvent contenir des informations
privilégiées, confidentielles ou ne pouvant être divulguées. Si vous avez reçu
ce message par erreur, veuillez le détruire.
This communication (and/or the attachments) is intended for named recipients
only and may contain privileged or confidential information which is not to be
disclosed. If you received this communication by mistake please destroy all
copies.