Hi all,
I've noticed a little bug when auto-fill operates on a line finishing with a
"%". To reproduce:
1. Activate auto-fill-mode in a tex file with LaTeX mode.
2. Set fill-column to some value; here I use 20.
3. Suppose you have a line like this:
123456789% commented
4. Now you'd like to
Hi Brian, that's great. Happy AUCTeXing!
J
On 2018-01-16 05:38, Brian Merchant wrote:
> Hi J,
>
> Generating the .el files for my own .sty files, and making sure they were in
> the write auto folder worked for me. See this question's answer for details:
> https://tex.stackexchange.com/questions
PS: It's also good if you visit your own .sty files with Emacs, ensure that
you're in LaTeX-mode, and issue a
C-u C-c C-n
there too, so their corresponding style (.el) files will be created.
Also, style .el files for your personal packages (.sty) sometimes need to be
tweaked by hand to ensure
Hi Brian,
The help for "TeX-parse-self" says "Parse file after loading it if no style
hook is found for it". Is it possible that an old style file (.el) already
exists for your file and therefore no reparsing is done? This happens to me
from time to time.
Try typing
C-u C-c C-n
while you're
Hi Brian,
I'm also on Windows with AUCTeX 11.90.2 and Emacs 25.3.1.
I wonder if you're missing a quote and a slash in your TeX-macro-private. Can
you try with
(setq TeX-macro-private (quote ("./"
"c:/Users/LilMonkey/texmf/tex/latex/local/")))
or even better, set all those variables via custom
Hi Jonas,
Glad to hear it works. It also works with lowercase letters; in fact, I think
it should work with just [?\C-c ?\C-c ?l ?a return]) or even just the "l".
AUCTeX is smart ;)
Cheers,
J
On 2017-09-11 23:22, Jonas Frey wrote:
> great that seems to work
> !
> except that there should
Hi Jonas,
try with
(define-key TeX-mode-map [f8] [?\C-c ?\C-c ?l ?a ?t ?e ?x return])
you can add it to the LaTeX-mode-hook. But probably there's a more elegant
solution.
Cheers,
J
On 2017-09-11 20:37, Jonas Frey wrote:
> Hi,
>
> I want to set up a shortcut to only compile latex in auctex, c
Hi Luheng,
The command reftex-citation or C-c [ accepts as input a *regular expression*:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Regexps.html
So you can just input a period ".", which matches any single character, and
that will show all the references in your bibliography file
Hi Alexander,
Sorry to hear it wasn't of any help. To be honest I don't know how Emacs finds
ghostscript for general purposes. For the preview function in AUCTeX I set this
variable manually:
(setq preview-gs-command "c:\\PROGRA~1\\GS\\BIN\\GSWIN32C.EXE")
and for Emacs' doc-view functionality
Hi Alexander,
Does your PATH environment variable contain the path to ghostscript? I see that
when you run from cmd.exe the system is prepending
"C:\pdfsizeopt\pdfsizeopt_win32exec" to PATH, and then it's using the
ghostscript that's in one subdirectory there, rather than the system's
ghostscr
Hi Tristan and Arash,
another possible simple solution is to copy and paste the "english.el" style
file from your
~/.emacs.d/elpa/auctex-11.90.2/style/
directory into the one with your own style files, defined in TeX-style-local,
which for me is
~/.emacs.d/auctex/.auctex-style/
and rename it
On 13 June 2017 at 18:12, Jean-Jacques Rétorré wrote:
> ,
> | (define-key key-translation-map [?µ] [?\\])
> `
>
> and the very useless key "µ" is now "\"
Indeed, and there are similar solutions for Windows if you use that
operating system – let me know if you want more information.
Anoth
Hi Denis, take a look at the smartparens package (available on Elpa):
https://github.com/Fuco1/smartparens/wiki
I use it to get self-inserting parentheses and dollar signs instead of
Auctex's electric capabilities, and it works fine for the most part.
Maybe it'll give you more customization possi
Hi Mosè,
Parenthetical thank you, first: I've noticed that the latest
AucTeX version has a new indentation and filling system for
displaymath environments that is simply fantastic. Thank you
all developers for this!
Regarding the package distribution. I'm a Windows 32-bit
user (both Windows
I'm really happy with Emacs 25.0.91 and a working prettify.
That's great to hear!
I spoke too soon, actually: I was seeing the effects of
"latex-pretty-symbols", not of prettify :) As you said, I'll
have to wait till 25.1. Looking forward to it!
J
___
Hi Tassilo,
I don't know how to thank you. Your info prompted me to
un-hopefully search for some snapshot of Emacs 25
pre-compiled for Windows – and there is one!:
https://sourceforge.net/projects/emacs-bin/
I'm really happy with Emacs 25.0.91 and a working prettify.
Cheers!
J
On Sun16031
Dear All,
I have Emacs 24.5.1 (2015-04-11, Windows port) and AUCTeX
11.89.1 (2016-01-31), and prettify-mode does not work on a
tex buffer. Even if I start Emacs with an empty init file.
Now, there have been several posts in the past (started by
Uwe and Marcin) about prettify & AUCTeX. I've b
On 20151124 19:36, José Carlos Santos wrote:
No. :-( I use the 64 bit version of Ghostscript and it looks
like preview.el only works with 32 bit Ghostscript.
Mmm I can't help there as I have a 32-bit system. But I've
heard it's always possible to install 32-bit programs on a
64-bit system (
On 20151124 15:59, José Carlos Santos wrote:
Hi all,
I am unable to preview images with Emacs 24.5.1 + AucTeX
11.89, working under Windows. Whenever I try to do that I
get the "PDF2DSC sentinel: Wrong type argument: arrayp, nil"
error. Please notice that I have both Ghostscript and GSView
instal
On 20151124 12:21, José Carlos Santos wrote:
No, I didn't. I do now (I got it from
https://github.com/OctaForge/OF-Windows/blob/master/bin_win32/libpng16-16.dll)
but I still get the same error. :-(
It's likely that you still miss other libraries. As the
README file you quoted says,
"LibPNG
Hi José,
First of all: I have libpng16-16.dll in my
C:\Program Files\Emacs\bin\
directory. Do you? You didn't mention in your email if you do.
Cheers,
J
On 20151124 10:23, José Carlos Santos wrote:
Hi all,
I am unable to preview images with Emacs 24.5.1 + AucTeX
11.89, working under Windows.
Hi David (and Mosè),
It's not just preview-latex. It makes good sense to avoid line-wrapping
stuff like $\sum_{i=0}^2 i$ in the middle even when not using
preview-latex. Using preview-latex leads to overlong lines when a line
break in the middle gets hidden. Which makes it a good idea in the
Hi George,
You can change this behaviour by customizing the variable
Latex-fill-break-at-separators
I think it should work if you check "Opening Display Math
Switch" and "Closing Display Math Switch" and leave the
other options unchecked, in the customization menu for that
variable.
This ch
Hi Tamas,
TeX-insert-macro calls TeX-after-insert-macro-hook after
insertion, so a way to achieve this could be to modify that
hook in a suitable way. For example, if we modify it by
(add-hook 'TeX-after-insert-macro-hook '(lambda()
(delete-char 1) (delete-char -1)))
then calling "C-c RET
Hi David,
On 150820 Thu 21:19, David Kastrup wrote:
Several other options come to mind, like a mode where mouse-over removes
the preview.
I've set preview-auto-reveal to t, and it has a similar
effect: single left-click open the preview, which closes
automatically as soon as I left-click s
On 150820 Thu 9:00, David Kastrup wrote:
I tend to right-click on the preview, copy the preview content and paste
it above where I am editing. Cleaning up afterwards is also easy with
the mouse (two right mouse clicks in a row delete the current mouse
selection).
That is not to say that the re
Dear All,
Could someone here help me creating a particular function in
AUCTeX-preview? Also, I wonder if such a function would be
of interest to other people too, to submit it as a feature
request:
In Preview, it would be useful to have a function that
toggles on/off the visibility of all p
27 matches
Mail list logo