[help] How can I integrate latexindent into alpheleia?
#78
Replies: 3 comments 11 replies
-
|
Is this on Windows or something? I'm confused why you'd be getting But in any case, shell aliases only exist within the shell. They are not picked up by Emacs or by any other program that runs commands on your behalf. If you want to change the options that Apheleia passes to |
Beta Was this translation helpful? Give feedback.
-
|
@raxod502 Its on macOS. // It would be nightmare to use emacs Windows :-) Seems like seems like following wrapper worked but I was not able to apply
|
Beta Was this translation helpful? Give feedback.
-
|
Right away: After the command is executed.
$ latexindent.pl -l "$1"
Please enter text to be indented: (press CTRL+D when finished)
$ latexindent.pl -l=$HOME/personalize/bin/localSettings.yaml "$@"
defaultIndent: " "
verbatimEnvironments:
longtable: 1
tabularx: 1
specialBeginEnd:
If:
begin: '\\If'
middle:
- '\\ElsIf'
- '\\Else'
end: '\\EndIf'
specialBeforeCommand: 1environment: macOS Monterey Version 12.1 when I run with the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have alias for latexindent:
alias latexindent="~/tools/latexindent.pl/latexindent.pl -l=~/indentconfig.yaml"I am able to run it as:
But inside emacs I am having following error related to latexindent:
*apheleia-latexindent-log*How can I fix this error in order to run
latexindentwith my given config file?Beta Was this translation helpful? Give feedback.
All reactions