diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-05 21:03:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-05 21:03:30 +0000 |
commit | 6508d94a133775c00a40256e3b31a49ece9abeec (patch) | |
tree | c6ec0f928c855f23bcbab513aaa34e424c832d51 /Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm | |
parent | 80aa3b5de37b11d9f895cf844adcd9bb8fc127d2 (diff) |
latexindent (5jun22)
git-svn-id: svn://tug.org/texlive/trunk@63492 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm')
-rw-r--r-- | Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm b/Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm index 24e1291e754..96577d28d0a 100644 --- a/Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm +++ b/Master/texmf-dist/scripts/latexindent/LatexIndent/GetYamlSettings.pm @@ -435,6 +435,13 @@ sub yaml_read_settings { $logger->info( "Not showing settings in the log file (see showEveryYamlRead and showAmalgamatedSettings)."); } + + # warning to log file if modifyLineBreaks specified and m switch not active + if ( ${ $userSettings->[0] }{modifyLineBreaks} and !$is_m_switch_active ) { + $logger->warn("*modifyLineBreaks specified and m switch is *not* active"); + $logger->warn("perhaps you intended to call"); + $logger->warn(" latexindent.pl -m -l $settings ${$self}{fileName}"); + } } else { # otherwise print a warning that we can not read userSettings.yaml |