Chris Hughes
Chris Hughes
See also https://latexindentpl.readthedocs.io/en/latest/sec-default-user-local.html#summary
More details.... option 1 (emph only) - Using ```yaml noAdditionalIndent: emph: 1 ``` gives ```tex xxxx-xxxxxxxxxxxxxx xxxxxx xxxxxxxxxx, xx xxxx xxxxxxxxxxx xxxxxxxx \emph{xxx xxx xxx} xxxxx xxxxxxxxxxxxx, xxxxxxxxxxxxxx xxx xxxxxxxxxx...
Let me know if you need anything further :)
Some good news! :) As of https://github.com/cmhughes/latexindent.pl/commit/a54b7be45606d07518dd86308212852111710991 I've upgraded the `text wrap` routine. demonstration 1 - Starting with ```tex \begin{abstract} This is a very long sentence that should be wrapped...
This is part of `V3.20` at https://github.com/cmhughes/latexindent.pl/releases/tag/V3.20. I've uploaded it to `ctan`. Many thanks!
Thanks for this. option 1 - ```yaml replacements: - substitution: |- s/(\\par)(\h+)(\H)/$1\n$3/sg ``` and call with ``` latexindent.pl -l issue-523.yaml -r issue-523.tex ``` option 2 - ```yaml specialBeginEnd: par: begin:...
Thanks for using the template. This looks like a bug... I'll investigate, not sure of the time line...
For my reference, the following YAML is minimal to reproduce the behaviour ```yaml defaultIndent: ' ' modifyLineBreaks: oneSentencePerLine: manipulateSentences: 1 textWrapSentences: 1 textWrapOptions: columns: 79 when: after ```
What version of perl are you using? What's your operating system?
I can confirm this is a bug, demonstrated in github actions log at https://github.com/cmhughes/latexindent.pl/actions/runs/7863164391/job/21453471349 I'll look into it.