Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indent.log from latexindent.pl #3

Open
paulohaacke opened this issue Apr 27, 2017 · 3 comments
Open

Indent.log from latexindent.pl #3

paulohaacke opened this issue Apr 27, 2017 · 3 comments

Comments

@paulohaacke
Copy link

paulohaacke commented Apr 27, 2017

I would like to disable the creation of the indent.log file. I tried editing the defaultSettings.yaml and using the command line options for latexindent.pl, but it seems like there is not option to disable it completly.

I found a workaround, but i think its kinda ugly. I created a script that calls "latexindent.pl -g /dev/null" and my latex-formatter plugin calls this script instead of latexindent.pl.
With these changes, when i run my script directly into a tex file, the tex file gets idented and occurs the following error: "Can't open /dev/null ...", this solves my problem since the indent.log file is not written anymore and the file is correctly indented, but i think there should be a better solution.

Would anyone have a better solution?

@nfode
Copy link
Owner

nfode commented Apr 28, 2017

I am quite busy with univerity at the moment, but if i have time next week i try to find a solution

@cmhughes
Copy link

You might like to look at the -c option, see http://latexindentpl.readthedocs.io/en/latest/sec-how-to-use.html#from-the-command-line

@cmhughes
Copy link

I'd say this issue is about latexindent, and isn't about the latex-formatter project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants