Closed RitschAlex closed 1 year ago
Can you show the actual output? (not the log file)
The actual output is the original .tex code above. My original .tex code is just one long sentence without text wrapping in Windows Terminal:
\section{Einleitung}
Seit 2010 hat sich die Anzahl der psychischen Erkrankungen und die damit verbundenen Fehltage um 56\% erhöht. Laut dem Fehlzeiten-Report 2022 des wissenschaftlicehn Instituts der AOK (WIdO) stellen dars
\subsection{Problemstellung}
\subsection{Zielsetzung}
\subsection{Aufbau der Arbeit}
Using the settings
modifyLineBreaks:
textWrapOptions:
columns: 20
gives the following
\section{Einleitung}
Seit 2010 hat sich
die Anzahl der
psychischen
Erkrankungen und
die damit
verbundenen
Fehltage um 56\%
erhöht. Laut dem
Fehlzeiten-Report
2022 des
wissenschaftlicehn
Instituts der AOK
(WIdO) stellen dars
\subsection{Problemstellung}
\subsection{Zielsetzung}
\subsection{Aufbau der Arbeit}
The above YAML settings are given in https://latexindentpl.readthedocs.io/en/latest/sec-the-m-switch.html#lst-textwrap1-yaml
Please provide the following when posting an issue:
original .tex code
yaml settings
actual/given output
INFO: latexindent.pl version 3.23.2, 2023-09-23, a script to indent .tex files latexindent.pl lives here: C:/Users/ritsc/AppData/Local/Programs/MiKTeX/scripts/latexindent/ Sun Oct 8 01:44:15 2023 Filename: .\Datenanalyse\Chapters\Einleitung.tex INFO: Processing switches: -m|--modifylinebreaks: modify line breaks INFO: Directory for backup files and indent.log: .\Datenanalyse\Chapters INFO: Perl modules are being loaded from the following directories: C:/Strawberry/perl/lib/FindBin.pm C:/Strawberry/perl/vendor/lib/YAML/Tiny.pm C:/Strawberry/perl/lib/File/Copy.pm C:/Strawberry/perl/lib/File/Basename.pm C:/Strawberry/perl/lib/Getopt/Long.pm C:/Strawberry/perl/vendor/lib/File/HomeDir.pm INFO: LatexIndent perl modules are being loaded from, for example: C:/Users/ritsc/AppData/Local/Programs/MiKTeX/scripts/latexindent/LatexIndent/Document.pm INFO: YAML settings read: defaultSettings.yaml Reading defaultSettings.yaml from C:/Users/ritsc/AppData/Local/Programs/MiKTeX/scripts/latexindent/defaultSettings.yaml INFO: YAML reading settings Home directory is C:\Users\ritsc latexindent.pl didn't find indentconfig.yaml or .indentconfig.yaml see all possible locations: https://latexindentpl.readthedocs.io/en/latest/sec-appendices.html#indentconfig-options) INFO: Phase 1: searching for objects INFO: Phase 2: finding surrounding indentation INFO: Phase 3: indenting objects INFO: Phase 4: final indentation check INFO: Output routine: Not outputting to file; see -w and -o switches for more options.
INFO: Please direct all communication/issues to: https://github.com/cmhughes/latexindent.pl
desired or expected output
anything else
I would like the text wrapping behave like the Example 78 in the documentation. I'm using neovim with null-ls and with the standard defaultSettings.yaml the text gets always formatted like shown above.