summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-30 20:55:11 +0000
committerKarl Berry <karl@freefriends.org>2022-10-30 20:55:11 +0000
commit61064bf719cf92ef51d33afec7d7527e5f090b5f (patch)
treef365d581237132a0da1fcb12d8b3256370b74000 /Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex
parent6a866a6823f130092bc2190bc07bde90b20bae42 (diff)
latexindent, I mean (30oct22)
git-svn-id: svn://tug.org/texlive/trunk@64874 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex36
1 files changed, 0 insertions, 36 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex b/Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex
deleted file mode 100644
index ec0e699aaa4..00000000000
--- a/Master/texmf-dist/doc/support/latexindent/subsec-noAdditionalIndent-indentRules.tex
+++ /dev/null
@@ -1,36 +0,0 @@
-% arara: pdflatex: { files: [latexindent]}
-% arara: pdflatex: { files: [latexindent]}
-\index{indentation!no additional indent}
-\index{indentation!removing indentation per-code block}
-\index{indentation!customising indentation per-code block}
-\index{indentation!customising per-name}
-\index{indentation!no additional indent global}
-\subsection{noAdditionalIndent and indentRules}\label{sec:noadd-indent-rules}
- \texttt{latexindent.pl} operates on files by looking for code blocks, as detailed in
- \vref{subsubsec:code-blocks};
- for each type of code block in \vref{tab:code-blocks} (which we will call a
- \emph{$\langle$thing$\rangle$} in what follows) it searches YAML fields for information
- in the following order:
- \begin{enumerate}
- \item \texttt{noAdditionalIndent} for the \emph{name} of the current
- \emph{$\langle$thing$\rangle$};
- \item \texttt{indentRules} for the \emph{name} of the current \emph{$\langle$thing$\rangle$};
- \item \texttt{noAdditionalIndentGlobal} for the \emph{type} of the current
- \emph{$\langle$thing$\rangle$};
- \item \texttt{indentRulesGlobal} for the \emph{type} of the current
- \emph{$\langle$thing$\rangle$}.
- \end{enumerate}
-
- Using the above list, the first piece of information to be found will be used; failing
- that, the value of \texttt{defaultIndent} is used. If information is found in multiple
- fields, the first one according to the list above will be used; for example, if
- information is present in both \texttt{indentRules} and in
- \texttt{noAdditionalIndentGlobal}, then the information from \texttt{indentRules} takes
- priority.
-
- We now present details for the different type of code blocks known to
- \texttt{latexindent.pl}, as detailed in \vref{tab:code-blocks}; for reference, there
- follows a list of the code blocks covered.
-
- \startcontents[noAdditionalIndent]
- \printcontents[noAdditionalIndent]{}{0}{}