[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-AUCTeX] Re: 2005-06-10; `TeX-ispell-document' for multifile doc in
From: |
Franz Haeuslschmid |
Subject: |
[Bug-AUCTeX] Re: 2005-06-10; `TeX-ispell-document' for multifile doc in different directories |
Date: |
Sun, 12 Jun 2005 14:01:28 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.10 (usg-unix-v) |
Ralf Angeli writes:
> * Franz Haeuslschmid (2005-06-11) writes:
>
>> Evaluating `TeX-ispell-document' in either file will only check
>> the spelling of the currently open file, instead of checking the
>> whole document.
>
> I fixed the case where the master file would not be found when
> `TeX-ispell-document' was executed from a slave file. Note that for
> `TeX-ispell-document' to work from a master file, the slave files have
> to be opened as well. AUCTeX currently does not open these files
> automatically.
Thank you very much for your efforts and the information. As it
is not obvious (at least for me), that included files have to be
included, would you mind to insert that information into the info
docs for multi-file documents of for that function?
>> It may also be related, that the file name
>> completion for macro arguments, e.g. triggered by `C-c RET
>> includegraphics', works only well for the master file or other
>> document files that reside in the same directory as the
>> master.
Sorry, this was not as precise as it should have been.
> Hm, that's working here. For example I have the files
>
> ,----[ master-file.tex ]
> | \documentclass{scrbook}
> | \usepackage{graphicx}
> | \begin{document}
> | \end{document}
> |
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: t
> | %%% End:
> `----
>
> and
>
> ,----[ subdir/slave-file.tex ]
> |
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: "../master-file"
> | %%% End:
> `----
[...]
Use this scenario and do something like `touch figure.eps' or
`mkdir figures && touch figure.eps' or even both. Now open
`slave-file.tex' and try to insert one of the figures by
evaluating `C-c RET includegraphics'. AUCTeX offers me then a
completion list (BTW how can I configure this list of possible
completions?):
Click button2up on a completion to select it.
Type M-v or prior to move to this buffer, for keyboard selection.
Possible completions are:
AMLogo boulebleue-fondblanc metagreen
beamer-icsi-logo boulerouge-fondblanc metalgray
beamer-knight1 bouleverte-fondblanc overlay
beamer-knight1-mask but overlay0
beamer-knight2 button overlay1
beamer-knight2-mask d12 overlay10
beamer-knight3 degrade-base overlay2
beamer-knight3-mask degrade-blanc-bleu overlay3
beamer-knight4 dice overlay4
beamer-knight4-mask key-test overlay5
beamericonarticle keystroke_left overlay6
beamericonarticle.20 keystroke_middle overlay7
beamericonbook keystroke_right overlay8
beamericonbook.20 left overlay9
bg metablue right
boule-base metagray
There is no offering for `figure'. In `master-file.tex', I can
choose one of my personal figures. However, if I touched both
files, I have the option to choose only one of the files that
carry both the same name, but are located in different
directories. I have the vague idea, that I've read an old thread
on that issue somewhere and that you and other developers of
AUCTeX had come to a conclusion that I can't remember right now.
Anyway, this is not that huge problem, as the situation of
identically named figures might not be that probable.
On the other hand, I could choose, e.g. `overlay', but the TeX
document then won't compile. But this might be a problem of my
LaTeX installation and does not matter here anyway.
However, the feature that I miss, is to be able to select figures
(in my case), that reside in the same directory hierarchy as my
document, from included TeX files, that do _not_ reside in the
same directory as the master file.
Franz.