cmhughes / latexindent.pl

Perl script to add indentation (leading horizontal space) to LaTeX files. It can modify line breaks before, during and after code blocks; it can perform text wrapping and paragraph line break removal. It can also perform string-based and regex-based substitutions/replacements. The script is customisable through its YAML interface.
GNU General Public License v3.0
884 stars 84 forks source link

logfile Preferences upgrade #276

Closed cmhughes closed 3 years ago

cmhughes commented 3 years ago

To explore the following

# Data::Dumper settings
#   reference: https://stackoverflow.com/questions/7466825/how-do-you-sort-the-output-of-datadumper
$Data::Dumper::Terse = 1;
$Data::Dumper::Indent = 1;
$Data::Dumper::Useqq = 1;
$Data::Dumper::Deparse = 1;
$Data::Dumper::Quotekeys = 0;
$Data::Dumper::Sortkeys = 1;
cmhughes commented 3 years ago

https://perldoc.perl.org/Data::Dumper

cmhughes commented 3 years ago

Implemented and documented as of https://github.com/cmhughes/latexindent.pl/commit/3ff33c70c377f15725e2194b9a573b2364b0e708

This will be part of the next release, hopefully coming soon.

cmhughes commented 3 years ago

Resolved as of https://github.com/cmhughes/latexindent.pl/pull/278, upload to ctan to follow.