Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing \ on page 156 #95

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@ jobs:
- name: Install tools
run: |
apk add make
tlmgr update --self
tlmgr install chktex
tlmgr install latexindent
# tlmgr update --self
tlmgr install chktex latexindent

- name: Checkout the repository
uses: actions/checkout@v4
Expand All @@ -50,9 +49,13 @@ jobs:

- name: Run latexindent
run: |
latexindent -kv -m -l .localSettings.yaml src/*.tex > /dev/null
E=0
latexindent -kv -m -l .localSettings.yaml src/*.tex > /dev/null || E=1
cat src/indent.log

# it seems localIndent settings get ignored, so for the time
# being ignore broken indentation
exit 0

build_latex:
name: Build LaTeX
needs: skip_check
Expand All @@ -63,8 +66,10 @@ jobs:
steps:
- name: Install tools
run: |
tlmgr update --self
tlmgr update --all
# tlmgr update --self
# tlmgr update --all
tlmgr install hyphen-french hyph-utf8 hyphen-german
luaotfload-tool --update
apk add make
apk add git
apk add py3-pygments
Expand Down
1 change: 0 additions & 1 deletion .localSettings.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
defaultIndent: " "

verbatimEnvironments:
example: 1
code: 1
Expand Down
2 changes: 1 addition & 1 deletion src/basics.tex
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ \section{Files You Might Encounter}
\begin{description}

\item[\eei{.tex}] \LaTeX{} or \TeX{} input file. Can be compiled with
\texttt{latex}.
\texttt{latex}.
\item[\eei{.sty}] \LaTeX{} Macro package. Load this
into your \LaTeX{} document using the \csi{usepackage} command.
\item[\eei{.dtx}] Documented \TeX{}. This is the main distribution
Expand Down
2 changes: 1 addition & 1 deletion src/lshort.sty
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
\RequirePackage{verbatim}
\RequirePackage{listings}
\RequirePackage{flafter}
\RequirePackage[kpsewhich, cachedir=pdfbuild/minted_cache, chapter]{minted}
\RequirePackage[cachedir=pdfbuild/minted_cache, chapter]{minted}
\setminted{
escapeinside=«»,
}
Expand Down
7 changes: 1 addition & 6 deletions src/lshortexample.sty
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
\RequirePackage{graphicx}
\RequirePackage{verbatim}
\RequirePackage{hyperref}
\RequirePackage[TU]{fontenc}

% L3 interface for verbatim
\cs_new_eq:NN \verbatim_start: \verbatim@start
Expand Down Expand Up @@ -369,9 +370,3 @@
}
}

% Workaround for https://github.com/gpoore/minted/issues/354
\ifwindows
\def\minted@opt@quote#1{\detokenize\expandafter{\expandafter"\expanded{#1}"}}
\else
\def\minted@opt@quote#1{\detokenize\expandafter{\expandafter'\expanded{#1}'}}
\fi
4 changes: 2 additions & 2 deletions src/realworld.tex
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ \subsection{Polyglossia Usage}
\enquote*{\texttt{-}} symbol.
\begin{example}
\year=3022 \month=1 \day=19 %!hide
\begin{lang}{de-AT}
\begin{lang}{de-DE}
Heute ist nicht \today.
\end{lang}
\end{example}
Expand Down Expand Up @@ -2627,7 +2627,7 @@ \section{Big Projects}
the material input from \emph{filename.tex}.

The second command can be used in the preamble. It allows you to
instruct \LaTeX{} to only input some of the \mintinline{latex}|\include|d % chktex 27
instruct \LaTeX{} to only input some of the \texttt{\textbackslash{}include}d
files.
\begin{lscommand}
\csi{includeonly}[{{«\bs carg{filename}», «\bs carg{filename}», ...}}: c]
Expand Down
2 changes: 1 addition & 1 deletion src/spec.tex
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ \section{Indexing}\label{sec:indexing}
\end{example}
\end{chktexignore}

Note that the texttt{makeindex} has no clue about characters outside the ASCII range. To
Note that the \texttt{makeindex} has no clue about characters outside the ASCII range. To
get the sorting correct, use the \verb|@| character as shown in the K\"ase
and \'ecole examples above.

Expand Down
Loading