Skip to content

Releases: cmhughes/latexindent.pl

V3.17.3

05 Jun 13:07
Compare
Choose a tag to compare
  • update to the text wrap routine focused on trailing comments, see issue 367

V3.17.2

14 Apr 18:22
Compare
Choose a tag to compare
  • minor updates to the quick-start section
  • add NiceTabular to defaultSettings, pull 358, thanks to @yzhang-gh

V3.17.1

04 Apr 17:43
Compare
Choose a tag to compare

minor updates

  • oneSentencePerLine with text wrapping now respects removeSentenceLineBreaks, issue-355
  • textWrapOptions can be customised further with removeBlockLineBreaks
  • indentAfterItems defaults updated to include enumerate*, itemize*, description*, issue-356
  • pre-commit defaults updated, see pull 354, thank you to @Holzhaus

V3.17

25 Mar 16:14
Compare
Choose a tag to compare

new features

  • batches of files now supported, issue 332
  • -wd switch which means 'overwrite if different'; similar to the -w switch, but will only activate
    the overwrite and back-up file procedure if the indented text is different from the original
  • multipleSpacesToSingle feature for oneSentencePerLine
  • --GCString switch available to optionally load the Unicode::GCString module, issue 303

V3.16

13 Mar 19:05
Compare
Choose a tag to compare

text wrap overhaul

This release implements a complete overhaul of the textWrap routine. The interface is now

    textWrapOptions:
        columns: 0
        multipleSpacesToSingle: 1            
        blocksFollow:
           headings: 1
           commentOnPreviousLine: 1
           par: 1
           blankLine: 1
           verbatim: 1
           filecontents: 1
           other: '\\\]|\\item(?:\h|\[)'      # regex
        blocksBeginWith:
           A-Z: 1
           a-z: 1
           0-9: 0
           other: 0                           # regex
        blocksEndBefore:
           commentOnOwnLine: 1
           verbatim: 1
           filecontents: 1
           other: '\\begin\{|\\\[|\\end\{'    # regex
        huge: overflow                        # forbid mid-word line breaks
        separator: ""

Full details are documented at https://latexindentpl.readthedocs.io/en/latest/sec-the-m-switch.html#text-wrapping and some details within #346

minor updates to defaultSettings.yaml

tabulararray is now supported by default, #343

V3.15

21 Jan 17:15
Compare
Choose a tag to compare

new feature: pre-commit now supported with latexindent.pl!

A massive thank you to @tdegeus for contributing this feature.

The feature is documented fully at https://latexindentpl.readthedocs.io/en/latest/sec-appendices.html#pre-commit; for reference see also #322 and #316

In brief, variations of the file .pre-commit-config.yaml in your .git repository as follows

- repo: https://github.com/cmhughes/latexindent.pl
  rev: V3.15
  hooks:
  - id: latexindent
    args: [-s]

and then running

pre-commit run --all-files

will run latexindent.pl on all .tex files in your repository. There's a supported option for conda users also. Full details at https://latexindentpl.readthedocs.io/en/latest/sec-appendices.html#pre-commit

V3.14

08 Jan 18:53
Compare
Choose a tag to compare
  • new feature: -vv switch for verbose version
  • bug fix for multicolumn grouping: #301
  • fineTuning update: #321
  • documentation update: #314

V3.13.5

02 Jan 10:48
45f6411
Compare
Choose a tag to compare

latexindent-yaml-schema.json created and documented, discussion at
issue 206.

V3.13.4

22 Dec 12:39
Compare
Choose a tag to compare

Documentation updated to include: #310 and #311

V3.13.3

13 Dec 17:36
1dc29ed
Compare
Choose a tag to compare

Minor updates:

  • fineTuning update following issue 307
  • lookForChildCodeBlocks in align at ampersand routine issue 308