Skip to content

Commit

Permalink
V3.9.3: updates to logging process
Browse files Browse the repository at this point in the history
  • Loading branch information
cmhughes committed May 7, 2021
1 parent c1fac58 commit 76d63b0
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 15 deletions.
4 changes: 2 additions & 2 deletions LatexIndent/Version.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ use warnings;
use Exporter qw/import/;
our @EXPORT_OK = qw/$versionNumber $versionDate/;

our $versionNumber = '3.9.2';
our $versionDate = '2021-04-06';
our $versionNumber = '3.9.3';
our $versionDate = '2021-05-07';
1
2 changes: 1 addition & 1 deletion defaultSettings.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# defaultSettings.yaml for latexindent.pl, version 3.9.2, 2021-04-06
# defaultSettings.yaml for latexindent.pl, version 3.9.3, 2021-05-07
# a script that aims to
# beautify .tex, .sty, .cls files
#
Expand Down
3 changes: 3 additions & 0 deletions documentation/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# changelog.md

## V3.9.3, April 7, 2021
minor updates to log file creation https://github.com/cmhughes/latexindent.pl/issues/145

## V3.9.2, April 6, 2021
minor update to include noindent block bug fix for https://github.com/cmhughes/latexindent.pl/issues/266

Expand Down
4 changes: 2 additions & 2 deletions documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
# built documents.
#
# The short X.Y version.
version = u'3.9.2'
version = u'3.9.3'
# The full version, including alpha/beta/rc tags.
release = u'3.9.2'
release = u'3.9.3'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion documentation/readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
latexindent.pl, version 3.9.2, 2021-04-06
latexindent.pl, version 3.9.3, 2021-05-07

PERL script to indent code within environments, and align delimited
environments in .tex files.
Expand Down
9 changes: 9 additions & 0 deletions documentation/sec-how-to-use.rst
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,15 @@ By default, ``latexindent.pl`` reports information to ``indent.log``, but if you
name of this file, simply call the script with your chosen name after the ``-g`` switch as
demonstrated above.

If ``latexindent.pl`` can not open the log file that you specify, then the script will operate, and
no log file will be produced; this might be helpful to users who wish to specify the following, for
example

.. code-block:: latex
:class: .commandshell

latexindent.pl -g /dev/null myfile.tex

.. describe:: -sl, –screenlog

.. index:: switches;-sl, –screenlog definition and details
Expand Down
2 changes: 1 addition & 1 deletion documentation/sec-how-to-use.tex
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ \subsection{From the command line}\label{sec:commandline}
if you wish to change the name of this file, simply call the script with your chosen name
after the \texttt{-g} switch as demonstrated above.

\announce{new}{log file updated} If \texttt{latexindent.pl} can not open the log file that you
\announce*{2021-05-07}{log file creation updated} If \texttt{latexindent.pl} can not open the log file that you
specify, then the script will operate, and no log file will be produced; this might be
helpful to users who wish to specify the following, for example
\begin{commandshell}
Expand Down
4 changes: 2 additions & 2 deletions documentation/title.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
sharp corners,
enhanced,
overlay={\node[anchor=north east,outer sep=2pt] at ([xshift=3cm,yshift=4mm]frame.north east) {\includegraphics[width=3cm]{logo}}; }]
\centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.9.2
\centering\ttfamily\bfseries latexindent.pl\\[1cm] Version 3.9.3
\end{tcolorbox}
}
\author{Chris Hughes \thanks{and contributors!
See \vref{sec:contributors}.
For
all communication, please visit \cite{latexindent-home}.}}
\date{2021-04-06}
\date{2021-05-07}
\maketitle
\begin{adjustwidth}{1cm}{1cm}
\small
Expand Down
8 changes: 4 additions & 4 deletions helper-scripts/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ do
esac
done

oldVersion='3.9.1'
newVersion='3.9.2'
oldDate='2021-03-21'
newDate='2021-04-06'
oldVersion='3.9.2'
newVersion='3.9.3'
oldDate='2021-04-06'
newDate='2021-05-07'

cd ../
cd documentation
Expand Down
2 changes: 1 addition & 1 deletion latexindent.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
# latexindent.pl, version 3.9.2, 2021-04-06
# latexindent.pl, version 3.9.3, 2021-05-07
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ can modify line breaks.

## version

latexindent.pl, version 3.9.2, 2021-04-06
latexindent.pl, version 3.9.3, 2021-05-07

## author
Chris Hughes (cmhughes)
Expand Down

0 comments on commit 76d63b0

Please sign in to comment.