Thank you kindly! This will definitely help out!
Shawn Way, PE -----Original Message----- From: Mosè Giordano <m...@gnu.org> Sent: Thursday, January 24, 2019 8:17 PM To: Shawn Way <s...@meco.com> Cc: auctex-devel@gnu.org Subject: Re: [AUCTeX-devel] Auctex and latexindent ** External Email **: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. 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 file."))) --8<---------------cut here---------------end--------------->8--- However it doesn't revert the buffer automatically after running the command, so you should do that manually. Bye, Mosè On Wed, Jan 23, 2019 at 9:03 PM Shawn Way <s...@meco.com> wrote: > > 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 > degree. > > Thanks for your thoughts. > > Shawn Way > > > > > _______________________________________________ > auctex-devel mailing list > auctex-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/auctex-devel > _______________________________________________ auctex-devel mailing list auctex-devel@gnu.org https://lists.gnu.org/mailman/listinfo/auctex-devel