Re: [AUCTeX-devel] Auctex and latexindent

2019-01-25 Thread Shawn Way
Thank you kindly! This will definitely help out! Shawn Way, PE -Original Message- From: Mosè Giordano Sent: Thursday, January 24, 2019 8:17 PM To: Shawn Way Cc: auctex-devel@gnu.org Subject: Re: [AUCTeX-devel] Auctex and latexindent ** External Email **: This email originated from

Re: [AUCTeX-devel] Auctex and latexindent

2019-01-25 Thread Uwe Brauer
Sent from my iPad > On 25. Jan 2019, at 03:17, Mosè Giordano wrote: > > Hi Shawn, > > this should do the trick: > > --8<---cut here---start->8--- > (with-eval-after-load "tex" > (add-to-list 'TeX-command-list >'("Latexindent" "latexindent

Re: [AUCTeX-devel] Auctex and latexindent

2019-01-24 Thread Mosè Giordano
Hi Shawn, this should do the trick: --8<---cut here---start->8--- (with-eval-after-load "tex" (add-to-list 'TeX-command-list '("Latexindent" "latexindent -w -s %a" TeX-run-command nil t :help "Run Latexindent on fil

[AUCTeX-devel] Auctex and latexindent

2019-01-23 Thread Shawn Way
I'm working on the Windows platform and I use the latexindent program to help format the latex files I have, especially when working with tables. Is there an easy way to make auctex perform "latexindent -w -s" on the current buffer's file? I couldn't figure out how to customize auctex to this d