summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/appendices.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-08 21:34:40 +0000
committerKarl Berry <karl@freefriends.org>2022-01-08 21:34:40 +0000
commita47a7cdd5e97b3173506c30afad63d5c1c7a92b5 (patch)
treec12a9df5a9a0853c7bb9c11b389e1895d35232d6 /Master/texmf-dist/doc/support/latexindent/appendices.tex
parent4674b6b4c73f8fc8cbbcf07ddf24956d2eb16d80 (diff)
latexindent (8jan22)
git-svn-id: svn://tug.org/texlive/trunk@61535 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/support/latexindent/appendices.tex')
-rw-r--r--Master/texmf-dist/doc/support/latexindent/appendices.tex13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/support/latexindent/appendices.tex b/Master/texmf-dist/doc/support/latexindent/appendices.tex
index bea35044056..b69e2b34fe8 100644
--- a/Master/texmf-dist/doc/support/latexindent/appendices.tex
+++ b/Master/texmf-dist/doc/support/latexindent/appendices.tex
@@ -210,13 +210,16 @@ echo %path%
\section{latexindent-yaml-schema.json}
\texttt{latexindent.pl}
- \announce*{2022-01-02}{latexindent-yaml-schema.json} ships with
+ \announce{2022-01-02}{latexindent-yaml-schema.json} ships with
\texttt{latexindent-yaml-schema.json}
which might help you when constructing your YAML files.
+ \index{json!schema for YAML files}
\subsection{VSCode demonstration}
To use \texttt{latexindent-yaml-schema.json} with \texttt{VSCode}, you can use the
following steps:
+ \index{VSCode}
+ \index{json!VSCode}
\begin{enumerate}
\item download \texttt{latexindent-yaml-schema.json} from the \texttt{documentation} folder of
\cite{latexindent-home}, save it in whichever directory you would like, noting it for
@@ -229,14 +232,14 @@ echo %path%
\end{enumerate}
\begin{widepage}
- \cmhlistingsfromfile*{settings.json}[yaml-TCB]{\texttt{settings.json}}{lst:settings.json}
+ \cmhlistingsfromfile*{demonstrations/settings.json}[yaml-TCB]{\texttt{settings.json}}{lst:settings.json}
\end{widepage}
Alternatively, if you would prefer not to download the json file, you might be able to
use an adapted version of \cref{lst:settings-alt.json}.
\begin{widepage}
- \cmhlistingsfromfile*{settings-alt.json}[yaml-TCB]{\texttt{settings-alt.json}}{lst:settings-alt.json}
+ \cmhlistingsfromfile*{demonstrations/settings-alt.json}[yaml-TCB]{\texttt{settings-alt.json}}{lst:settings-alt.json}
\end{widepage}
Finally, if your TeX distribution is up to date, then
@@ -244,7 +247,7 @@ echo %path%
your installation, so an adapted version of \cref{lst:settings-alt1.json} may work.
\begin{widepage}
- \cmhlistingsfromfile*{settings-alt1.json}[yaml-TCB]{\texttt{settings-alt1.json}}{lst:settings-alt1.json}
+ \cmhlistingsfromfile*{demonstrations/settings-alt1.json}[yaml-TCB]{\texttt{settings-alt1.json}}{lst:settings-alt1.json}
\end{widepage}
If you have details of how to implement this schema in other editors, please feel
@@ -252,13 +255,13 @@ echo %path%
\section{Using conda}
If you use conda you'll only need
-
\begin{commandshell}
conda install latexindent.pl -c conda-forge
\end{commandshell}
this will install the executable and all its dependencies (including perl) in the
activate environment. You don't even have to worry about \texttt{defaultSettings.yaml} as
it included too, you can thus skip \cref{sec:requiredmodules,sec:updating-path}.
+ \index{conda}
You can get a conda installation for example from \cite{conda} or from \cite{anacoda}.