Hi, this is (mainly) a cosmetic question.
I like to display the section (chapter, etc.) name on the modeline by using
which-func. If I understand correctly, which-func uses imenu to get the
function (section, etc.) names, and AUCTeX supports imenu by setting
`imenu-create-index-function' to `LaTe
)
All the best,
Greg
---
On Tue 24 Jan 2023 at 06:27 Ikumi Keita wrote:
> >>>>> Greg Bognar writes:
> > 1. Unfortunately, the new function definition below does not work with
> >
---
On Mon 23 Jan 2023 at 08:33 Ikumi Keita wrote:
> Hi Greg,
>
> >>>>> Greg Bognar writes:
> > Your code works! So yes, your commit harmed okular in some way.
>
> Thank you. That's a bad news for me :-)
>
> &
Hi Ikumi,
Your code works! So yes, your commit harmed okular in some way. Where do we go
from here?
All the best,
Greg
---
On Sun 22 Jan 2023 at 10:37 Ikumi Keita wrote:
>
> Hi Greg,
>
> >>&
but not without one.
---
On Fri 20 Jan 2023 at 14:55 Greg Bognar wrote:
> Hi,
>
> When I run `TeX-documentation-texdoc' (from the menu or with C-c ?), nothing
> happens. The mouse pointer does turn into busy, but it stops after a while.
> Nothing is written to *Me
tion-texdoc that I have the problem.
---
On Fri 20 Jan 2023 at 15:52 David Kastrup wrote:
> Greg Bognar via General discussion about AUCTeX writes:
> > Hi,
> >
> > When I run `TeX-documentation-texdoc' (from the
Hi,
When I run `TeX-documentation-texdoc' (from the menu or with C-c ?), nothing
happens. The mouse pointer does turn into busy, but it stops after a while.
Nothing is written to *Messages* or to .xsession-errors.
The texdoc command works from the terminal, opening a PDF viewer with the
requeste
tate some observations which seem
> relevant.
>
> >>>>> Greg Bognar via General discussion about AUCTeX writes:
> > When I try to change the mode of the file by M-x LaTeX-mode, I get an error:
>
> >Cannot open load file: No such file or directory, tex-buf
&g
Hi,
I've just upgraded to 13.1.3 from ELPA. I'm on Emacs 27.1.
When I open a LaTeX file, it opens in something called Fundamental mode. But I
do actually get font-locking and the basic AUCTeX menus, but none of my
customizations seem to have loaded. C-c C-c asks for the master file, even
thoug
[...]
> > But when I try to write a function to use in LaTeX-after-insert-env-hook, I
> > stumble. [...]
> > I'm probably making some elementary mistake...
>
> No, it was me. I had a brief look at beamer.el as I made that
> suggestion. Looking closer, beamer.el defines:
>
> '("frame" (lambda
> > Yes, that's what I thought. Is there a way to, say, copy and modify that
> > definition and add it as a new environment? E.g., calling `myframe' that
> > inserts the frame with the customized formatting?
>
> Yes, you could do that, but I suggest to write a function which searches
> back in t
Hi Arash,
> Greg Bognar via General discussion about AUCTeX writes:
>
> > Hi, when I insert a new frame in a Beamer document, C-c C-e asks me for the
> > title and then inserts a frame this way:
> >
> > \begin{frame}
> > \frametitle{My title}
> >
Hi, when I insert a new frame in a Beamer document, C-c C-e asks me for the
title and then inserts a frame this way:
\begin{frame}
\frametitle{My title}
\end{frame}
I would prefer to format my frames like this:
\begin{frame}\frametitle{My title}
\end{frame}
Is there a user option I can
Hi,
I'm working on a document in which I use the comment package. The package is
supported by AUCTeX in comment.el. When I open the file, text between
\begin{comment} and \end{comment} is nicely fontified with the comment face.
The comment package has a quirk that it requires that \begin{commen
On Sat 9 Jan 2021 at 17:18 Joost Kremers wrote:
> I do:
>
> ```
> (use-package tex-site
> :ensure auctex
> :config ...)
> ```
>
> Before use-package, before package.el even, `(require 'tex-site)` was the way
> to
> load AUCTeX, so I kept `tex-site` when I switched to use-package.
>
> Per
> Pastiche P writes:
>
> The error is gone, but I'm not sure AUCTeX itself is properly loaded. E.g.,
> the command LaTeX-section is undefined. Or perhaps I'm misunderstanding
> something?
In my experience, you need to do
(use-package latex
:ensure auctex
:mode ("\\.tex\\'" . LaTeX-mode)
:i
> > Ikumi Keita writes:
> > Colin Baxter writes:
> > > When the error is corrected and the file is re-compiled, the log buffer is
> > > updated with an echoed message. The log buffer is not deleted and on every
> > > compilation thereafter the echoed update-message is again displayed.
>
On Fri 11 Dec 2020 at 20:56 Arash Esbati wrote:
> Greg Bognar via General discussion about AUCTeX writes:
> > In my config, I set the values for TeX-auto-global, TeX-auto-private,
> > TeX-auto-local, TeX-style-private, and TeX-style-local variables.
> > TeX-style-path is c
Hi, I'm having a problem with TeX-style-path that I don't understand.
In my config, I set the values for TeX-auto-global, TeX-auto-private,
TeX-auto-local, TeX-style-private, and TeX-style-local variables.
TeX-style-path is constructed from these.
But when I C-h v TeX-style-path, I get this resul
On Wed 1 Apr 2020 at 15:13 Arash Esbati wrote:
> > Ah, I see. So it should be
> >
> > (setq LaTeX-clean-intermediate-suffixes
> > (append LaTeX-clean-intermediate-suffixes
> > '("\\.dvi" "\\.ent" "\\.fmt" "\\.rel" "\\.rip" "\\.tags" "\\.vrb")))
>
> I'm not sure if this helps, but f
On Wed 1 Apr 2020 at 02:58 Joost Kremers wrote:
> On Tue, Mar 31 2020, Greg Bognar wrote:
> > In my init.el, there are two more packages that add to the list:
> > auctex-latexmk and latex-extra. latex-extra uses add-to-list and
> > auctex-latexmk uses append.
>
> W
[See below]
---
On Mon 30 Mar 2020 at 16:48 Joost Kremers wrote:
> On Mon, Mar 30 2020, Greg Bognar wrote:
> >> You should probably customize
> >> `LaTeX-clean-intermediate-suffixes`.
> >> `
> > In my config, I have
> >
> > (setq TeX-clean-default-intermediate-suffixes
> > '("\\.aux" "\\.bbl" "\\.bcf" "\\.blg" "\\.brf" "\\.dvi" "\\.ent"
> > "\\.fdb_latexmk" "\\.fls" "\\.fmt" "\\.fot" "\\.glo" "\\.gls"
> > "\\.synctex\\.gz" "\\.idx" "\\.ilg" "\\.ind" "\\.lof
In my config, I have
(setq TeX-clean-default-intermediate-suffixes
'("\\.aux" "\\.bbl" "\\.bcf" "\\.blg" "\\.brf" "\\.dvi" "\\.ent"
"\\.fdb_latexmk" "\\.fls" "\\.fmt" "\\.fot" "\\.glo" "\\.gls"
"\\.synctex\\.gz" "\\.idx" "\\.ilg" "\\.ind" "\\.lof" "\\.log"
"\\
> On Wed, Mar 04 2020, Greg Bognar wrote:
> > I use the undo-tree package from GNU Elpa. Recently, the undo command
> > (undo-tree-undo) stopped working when I edit .tex files with AUCTeX (in
> > LaTeX-mode). As far as I can tell, it works as expected in all other modes.
&g
I use the undo-tree package from GNU Elpa. Recently, the undo command
(undo-tree-undo) stopped working when I edit .tex files with AUCTeX (in
LaTeX-mode). As far as I can tell, it works as expected in all other modes.
Emacs seems to hang and I have to hit C-g repeatedly to be able to edit again.
Thanks, it works!
On Sat 16 Feb 2019 at 14:44 Mandar Mitra wrote:
> Greg Bognar wrote (Sat, Feb 16, 2019 at 01:49:09AM +0100):
> > I'd like to follow up on this. I have looked into the package
> > "beamerswitch",
> > which does what I was trying to do (g
t when I open a file
with \documentclass{beamerswitch} or \usepackage{beamerarticle}, beamer.el is
loaded?
Thanks!
On Sun 10 Feb 2019 at 18:19 Greg Bognar wrote:
>
> > C-c # (bound to TeX-normal-mode (qv) by default) works for me. It's what I
> > do
> > after I've
> C-c # (bound to TeX-normal-mode (qv) by default) works for me. It's what I do
> after I've added new packages, changed the document class, or made similar
> changes. Maybe you could give that a go?
Yes, that works. Thanks!
But now that I understand what the problem was, I'm wondering: shouldn'
er,
All the best,
Greg
> Date: Sat, 09 Feb 2019 10:32:45 +0100
> From: Tassilo Horn
> To: auctex@gnu.org
> Subject: Re: [AUCTeX] font-locking problem
> Message-ID: <8736oxxq6a@gnu.org>
> Content-Type: text/plain
>
> Greg Bognar writes:
>
> Hi Greg,
>
&
Hi,
I have an odd font-locking problem in AUCTeX. When I work on Beamer slides,
sometimes the font-locking works as in the "good" version of the screenshot
attached. The faces are:
Good version:
\begin (font-lock-keyword-face font-latex-sedate-face)
frame (font-lock-function-name-face)
\frameti
Thanks for the suggestions. Replacing "zathura" with "Zathura" helps, but also
removing the extra pair of parentheses around "((output-pdf "Zathura")):
(add-hook 'LaTeX-mode-hook
'(lambda ()
;some other stuff
(add-to-list 'TeX-view-program-selection '(output-pdf "Zathura"))
))
> There's n
I've just realized that
(setq TeX-view-program-selection '((output-pdf "zathura")))
doesn't work either. It now complains that
Unknown "zathura" viewer. Check the `TeX-view-program-selection' variable
So I'm obviously on the wrong track. (Until now, I have launched a PDF viewer
manually, so I
Hi,
I suppose this question comes up often, but I couldn't find a solution. I
wanted to try another PDF viewer for AUCTeX (zathura). Since it's already in
TeX-view-program-list-builtin, I don't have to add it to TeX-view-program-list.
So I thought I just have to modify TeX-view-program-selection
> Arash Esbati writes:
> > I didn't test it, but could you please use two distinct names for your
> > files, e.g. foo.tex and bar.bib, and try it again?
>
> Thanks, that does the trick! For posterity, the `.bib' file must not have the
> same filename as _any_ other file in the directory, i.e., ca
8 at 19:24 Mosè Giordano wrote:
> Hi Greg,
>
> 2018-02-10 19:16 GMT+01:00 Greg Bognar :
> > Hi,
> >
> > Say you are working on a multifile document with file1.tex, file2.tex, etc,
> > and
> > with the master file masterfile.tex. It's handy to clean up the g
Hi,
Say you are working on a multifile document with file1.tex, file2.tex, etc, and
with the master file masterfile.tex. It's handy to clean up the generated files
with TeX-clean. However, TeX-clean will only delete files which have the base
name of the master file, i.e., masterfile.*. But TeX
Hi,
I can't get Hi Lock mode to work with AUCTeX.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Highlight-Interactively.html
It works fine with other major modes, but does nothing in files in LaTeX-mode.
Does anyone know why this is?
All the best,
Greg
_
On 16/01/14 23:35, Mosè Giordano wrote:
Hi Greg,
2014/1/16 Greg Bognar :
Hi,
AUCTeX (11.87.2012-12-04) fails to load properly on GNU Emacs 24.3.1
when bib-cite is turned on. The error message is:
File mode specification error: (void-function make-local-hook)
The bib-cite-minor-mode function
Hi,
AUCTeX (11.87.2012-12-04) fails to load properly on GNU Emacs 24.3.1
when bib-cite is turned on. The error message is:
File mode specification error: (void-function make-local-hook)
The bib-cite-minor-mode function calls make-local-hook on line 766 of
bib-cite.el. As far as I know, this fun
On Thu, 27 Jul 2006, Ralf Angeli wrote:
> * Greg BOGNAR (2006-07-27) writes:
>
> >> > Like `C-c ?' (aka `TeX-doc') in AUCTeX?
> >>
> >> Wow, this is fabulous! I used to rely on texdoctk, but now with TeX-doc,
> >> we can stay in Emac
> > Like `C-c ?' (aka `TeX-doc') in AUCTeX?
>
> Wow, this is fabulous! I used to rely on texdoctk, but now with TeX-doc,
> we can stay in Emacs, and not be distracted by having to launch a separate
> application -- not to berate texdoctk in any way whatsoever.
I've just learnt about texdoc from
> 2. Is there any way to enhance syntax highlighting in math mode? I'd
> like to have normal text and greek character macros in one color and
> other macros (like \sqrt, etc.) as well as maybe symbols (as "+") in
> another color because I think that would make it easier to read.
You could try usin
On Sun, 29 Jan 2006, Ralf Angeli wrote:
> * Greg BOGNAR (2006-01-28) writes:
>
> > On Sat, 28 Jan 2006, Ralf Angeli wrote:
> >
> >> So how do you set it?
> >
> > In my .bashrc:
> >
> > BIBINPUTS=.:$HOME/Documents/bibliographies//:
> >
>
On Sat, 28 Jan 2006, Ralf Angeli wrote:
> * Greg BOGNAR (2006-01-28) writes:
>
> >> * Greg BOGNAR (2006-01-26) writes:
> >
> >>> I have bibligraphy databases in a dedicated directory. I set
> >>> BIBINPUTS for that directory.
> >
> >>
> * Greg BOGNAR (2006-01-26) writes:
>> I have bibligraphy databases in a dedicated directory. I set
>> BIBINPUTS for that directory.
> How do you set BIBINPUTS? In my case I have
> BIBINPUTS = .;$TEXMF/bibtex/bib//
> in /etc/texmf/texmf.cnf.
Same here. But I want
e.
Thanks,
Greg
On Wed, 25 Jan 2006, Ralf Angeli wrote:
> Please use the new mailing list address.
>
> * Greg BOGNAR (2006-01-24) writes:
>
> > this is probably a very simple question, but whatever I do, I cannot
> > teach AucTeX the location of my bibliography files. I
Hi,
this is probably a very simple question, but whatever I do, I cannot
teach AucTeX the location of my bibliography files. I have BIBINPUTS
set, but AucTeX does not seem to see it. I could not find any
information about this in the AucTeX manual.
I use AucTeX 11.55.
Thanks in advance,
Greg
48 matches
Mail list logo