summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-01-08 21:00:08 +0000
committerKarl Berry <karl@freefriends.org>2023-01-08 21:00:08 +0000
commite4621b29db9e3e1eb149a279787e0a1a00621c25 (patch)
tree0c645b94cc50202172df471d954b6fd40667cf61 /Master/texmf-dist/doc/support
parent1145a6875066d3fab5e3bed3817c2ce5213a31c4 (diff)
latexindent (7jan23)
git-svn-id: svn://tug.org/texlive/trunk@65494 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/README2
-rw-r--r--Master/texmf-dist/doc/support/latexindent/latexindent-yaml-schema.json2
-rw-r--r--Master/texmf-dist/doc/support/latexindent/latexindent.pdfbin1240112 -> 1241201 bytes
-rw-r--r--Master/texmf-dist/doc/support/latexindent/latexindent.tex30
4 files changed, 17 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/README b/Master/texmf-dist/doc/support/latexindent/README
index ed1737c8ef4..c279ed729c3 100644
--- a/Master/texmf-dist/doc/support/latexindent/README
+++ b/Master/texmf-dist/doc/support/latexindent/README
@@ -1,5 +1,5 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- latexindent.pl, version 3.20, 2023-01-01
+ latexindent.pl, version 3.20.1, 2023-01-07
PERL script to indent code within environments, and align delimited
environments in .tex files.
diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent-yaml-schema.json b/Master/texmf-dist/doc/support/latexindent/latexindent-yaml-schema.json
index 5d490c800c1..6e4d1c3c754 100644
--- a/Master/texmf-dist/doc/support/latexindent/latexindent-yaml-schema.json
+++ b/Master/texmf-dist/doc/support/latexindent/latexindent-yaml-schema.json
@@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/schema",
"$id": "latexindent-yaml-schema.json",
"title": "latexindent.pl YAML schema",
- "description": "latexindent.pl YAML schema helper, V3.20 2023-01-01",
+ "description": "latexindent.pl YAML schema helper, V3.20.1 2023-01-07",
"type": "object",
"properties": {
"fileExtensionPreference": {
diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent.pdf b/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
index 2717823a164..5ee510be601 100644
--- a/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
+++ b/Master/texmf-dist/doc/support/latexindent/latexindent.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/support/latexindent/latexindent.tex b/Master/texmf-dist/doc/support/latexindent/latexindent.tex
index a1fa404dda0..2f03cb712aa 100644
--- a/Master/texmf-dist/doc/support/latexindent/latexindent.tex
+++ b/Master/texmf-dist/doc/support/latexindent/latexindent.tex
@@ -778,7 +778,7 @@
% toc settings
\titleclass{\cmhtitle}{straight}[\subsection]
\titleformat{\cmhtitle}{}{}{}{}
-\titlecontents{cmhtitle}% <paragaph>
+\titlecontents{cmhtitle}% <paragraph>
[2cm]% <left>
{\small\itshape}% <above-code>
{}% <numbered-entry-format>; you could also use {\thecontentslabel. } to show the numbers
@@ -1853,7 +1853,7 @@ latexindent.pl myfile.tex
If you find that \announce{2021-06-19}{encoding option for indentconfig.yaml}
\texttt{latexindent.pl} does not read your YAML file, then it might be as a result of
- the default commandline encoding not being UTF-8; normally this will only occcur for
+ the default commandline encoding not being UTF-8; normally this will only occur for
Windows users. In this case, you might like to explore the \texttt{encoding} option for
\texttt{indentconfig.yaml} as demonstrated in \cref{lst:indentconfig-encoding}.%
@@ -2434,7 +2434,7 @@ latexindent.pl tabular1.tex
above and below a \lstinline!\multicolumn! command (default: 0);
\item \announce{2017-06-19}{alignRowsWithoutMaxDelims}
\texttt{alignRowsWithoutMaxDelims}: binary switch (0 or 1) that details if rows
- that do not contain the maximum number of delimeters should be formatted so as to
+ that do not contain the maximum number of delimiters should be formatted so as to
have the ampersands aligned (default: 1);
\item \announce{2018-01-13}{spacesBeforeAmpersand in ampersand
alignment}\texttt{spacesBeforeAmpersand}: optionally specifies the number
@@ -2452,10 +2452,10 @@ latexindent.pl tabular1.tex
user-specified cells, rows or the largest entries should \emph{not} be measured
(default: 0);
\item \announce{2020-03-21}{delimiter RegEx feature}{delimiterRegEx} optionally
- specifies the pattern matching to be used for the alignment delimeter (default:
+ specifies the pattern matching to be used for the alignment delimiter (default:
\lstinline* '(?<!\\)(&)'*);
\item \announce{2020-03-21}{delimiter justification}{delimiterJustification} optionally
- specifies the justification for the alignment delimeters (default: left); note
+ specifies the justification for the alignment delimiters (default: left); note
that this feature is only useful if you have delimiters of different lengths in
the same column, discussed in \cref{sec:delimiter-reg-ex};
\item \announce{2021-12-13}{lookForChildCodeBlocks feature}{lookForChildCodeBlocks}
@@ -2873,7 +2873,7 @@ latexindent.pl tabular-DM.tex -l=dontMeasure6.yaml
align code blocks at the ampersand character. The behaviour is controlled by the
\texttt{delimiterRegEx} field within \texttt{lookForAlignDelims}; the default value is
\lstinline*'(?<!\\)(&)'*, which can be read as: \emph{an ampersand, as long as it is not
- immediately preceeded by a backslash}. \index{warning!capturing parenthesis for
+ immediately preceded by a backslash}. \index{warning!capturing parenthesis for
lookForAlignDelims} \index{capturing parenthesis (regex)} \index{regular
expressions!capturing parenthesis} \index{delimiters!delimiterRegEx}
\index{delimiters!delimiter justification (left or right)}%
@@ -4935,8 +4935,8 @@ latexindent.pl -m -l textwrap1.yaml,bf-no-disp-math.yaml tw-disp-math1.tex
The \texttt{blocksFollow} field \emph{deliberately} does not default to allowing text
wrapping to occur after \texttt{begin environment} statements. You are encouraged to
- customize the \texttt{other} field to accomodate the environments that you would like to
- text wrap individually, as in the next example.
+ customize the \texttt{other} field to accommodate the environments that you would like
+ to text wrap individually, as in the next example.
\begin{example}
Let's use the sample text given in \cref{lst:tw-bf-myenv1}. \index{text
@@ -4993,7 +4993,7 @@ latexindent.pl -m -l textwrap1.yaml tw-0-9.tex
\end{commandshell}
then we receive the output given in \cref{lst:tw-0-9-mod1} in which text wrapping has
- \emph{not} occured.
+ \emph{not} occurred.
\cmhlistingsfromfile{demonstrations/tw-0-9-mod1.tex}{\texttt{tw-0-9-mod1.tex}}{lst:tw-0-9-mod1}
We can allow paragraphs to begin with \texttt{0-9} characters by using the settings in
@@ -5020,7 +5020,7 @@ latexindent.pl -m -l textwrap1.yaml tw-bb-announce1.tex
\end{commandshell}
then we receive the output given in \cref{lst:tw-bb-announce1-mod1} in which text
- wrapping has \emph{not} occured.
+ wrapping has \emph{not} occurred.
\cmhlistingsfromfile{demonstrations/tw-bb-announce1-mod1.tex}{\texttt{tw-bb-announce1-mod1.tex}}{lst:tw-bb-announce1-mod1}
@@ -8043,7 +8043,7 @@ latexindent.pl -m finetuning4.tex -o=+-mod2 -l=href2
the end of the line; this is undesirable, clearly!
\item \cref{lst:finetuning4-mod2} has fine-tuned the trailing comment matching, and says that
\% cannot
- be immediately preceeded by the words `Handbook', `for' or `Spoken', which means that
+ be immediately preceded by the words `Handbook', `for' or `Spoken', which means that
none of the \% symbols have been treated as trailing comments, and the output is
desirable.
\end{itemize}
@@ -8156,7 +8156,7 @@ latexindent.pl bib2.bib -l bibsettings1.yaml,bibsettings2.yaml -o=+-mod2
With reference to \cref{lst:bibsettings2} we note that the \texttt{delimiterRegEx} has
been adjusted so that \texttt{=} symbols are used as the delimiter, but only when they
- are \emph{not preceeded} by either \texttt{v} or \texttt{spfreload}.
+ are \emph{not preceded} by either \texttt{v} or \texttt{spfreload}.
\end{example}
% arara: pdflatex: { files: [latexindent]}
\section{Conclusions and known limitations}\label{sec:knownlimitations}
@@ -8890,8 +8890,8 @@ latexindent.pl -l -m -s -w myfile.tex
discussed in \cref{sec:indentconfig}. Thank you to \cite{nehctargl} for this
contribution. \announce*{2023-01-01}{indentconfig location options}
- The possible locations of \texttt{indentconfig.yaml} are evaluated one after the other,
- and evaluation stops when a valid file is found in one of the paths.
+ The possible locations of \texttt{indentconfig.yaml} are read one after the other, and
+ reading stops when a valid file is found in one of the paths.
Before stating the list, we give summarise in \cref{tab:environment:summary}.
\begin{table}[!htb]
@@ -8939,8 +8939,8 @@ latexindent.pl -l -m -s -w myfile.tex
\texttt{\$homeDir/Library/Preferences/latexindent/indentconfig.yaml}
\end{enumerate}
\end{itemize}
- \item The file at \texttt{\$homeDir/.indentconfig.yaml}
\item The file at \texttt{\$homeDir/indentconfig.yaml}
+ \item The file at \texttt{\$homeDir/.indentconfig.yaml}
\end{enumerate}
\subsection{Why to change the configuration location}
This is mostly a question about what you prefer, some like to put all their configuration files in their home directory (see \texttt{\$homeDir} above),