Skip to content

Commit 357b1a6

Browse files
authored
add missing \ on page 156 (#95)
* add missing \ on page 156 * build fixes * make sure we still see the output of the indent log even when we crash * ignore broken indentation * maybe german is included ? * do not update everything all the time, this is too slow * fix comments * ok seems the tlmgr update is required * Update src/basics.tex * Package option "kpsewhich" is no longer needed with min ted v3+. * removed hotfix not needed anymore with minted3 * make sure we install latin modern * trying to fix the Latin Modern problem * must define italic too as this setting gets lost otherwhise * another try to get this working * set the TU fontencoding explicitly * Update CI.yml (#101) update artifact uploader
1 parent d90003e commit 357b1a6

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ jobs:
3535
- name: Install tools
3636
run: |
3737
apk add make
38-
tlmgr update --self
39-
tlmgr install chktex
40-
tlmgr install latexindent
38+
# tlmgr update --self
39+
tlmgr install chktex latexindent
4140
4241
- name: Checkout the repository
4342
uses: actions/checkout@v4
@@ -50,9 +49,13 @@ jobs:
5049
5150
- name: Run latexindent
5251
run: |
53-
latexindent -kv -m -l .localSettings.yaml src/*.tex > /dev/null
52+
E=0
53+
latexindent -kv -m -l .localSettings.yaml src/*.tex > /dev/null || E=1
5454
cat src/indent.log
55-
55+
# it seems localIndent settings get ignored, so for the time
56+
# being ignore broken indentation
57+
exit 0
58+
5659
build_latex:
5760
name: Build LaTeX
5861
needs: skip_check
@@ -63,8 +66,10 @@ jobs:
6366
steps:
6467
- name: Install tools
6568
run: |
66-
tlmgr update --self
67-
tlmgr update --all
69+
# tlmgr update --self
70+
# tlmgr update --all
71+
tlmgr install hyphen-french hyph-utf8 hyphen-german
72+
luaotfload-tool --update
6873
apk add make
6974
apk add git
7075
apk add py3-pygments
@@ -79,7 +84,7 @@ jobs:
7984
make all
8085
8186
- name: Upload artifacts
82-
uses: actions/upload-artifact@v3
87+
uses: actions/upload-artifact@v4
8388
with:
8489
name: result
8590
path: |

.localSettings.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
defaultIndent: " "
2-
32
verbatimEnvironments:
43
example: 1
54
code: 1

src/basics.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ \section{Files You Might Encounter}
823823
\begin{description}
824824

825825
\item[\eei{.tex}] \LaTeX{} or \TeX{} input file. Can be compiled with
826-
\texttt{latex}.
826+
\texttt{latex}.
827827
\item[\eei{.sty}] \LaTeX{} Macro package. Load this
828828
into your \LaTeX{} document using the \csi{usepackage} command.
829829
\item[\eei{.dtx}] Documented \TeX{}. This is the main distribution

src/lshortexample.sty

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
\RequirePackage{graphicx}
2626
\RequirePackage{verbatim}
2727
\RequirePackage{hyperref}
28+
\RequirePackage[TU]{fontenc}
2829

2930
% L3 interface for verbatim
3031
\cs_new_eq:NN \verbatim_start: \verbatim@start

src/realworld.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ \subsection{Polyglossia Usage}
404404
\enquote*{\texttt{-}} symbol.
405405
\begin{example}
406406
\year=3022 \month=1 \day=19 %!hide
407-
\begin{lang}{de-AT}
407+
\begin{lang}{de-DE}
408408
Heute ist nicht \today.
409409
\end{lang}
410410
\end{example}
@@ -2627,7 +2627,7 @@ \section{Big Projects}
26272627
the material input from \emph{filename.tex}.
26282628
26292629
The second command can be used in the preamble. It allows you to
2630-
instruct \LaTeX{} to only input some of the \mintinline{latex}|\include|d % chktex 27
2630+
instruct \LaTeX{} to only input some of the \texttt{\textbackslash{}include}d
26312631
files.
26322632
\begin{lscommand}
26332633
\csi{includeonly}[{{«\bs carg{filename}», «\bs carg{filename}», ...}}: c]

src/spec.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ \section{Indexing}\label{sec:indexing}
114114
\end{example}
115115
\end{chktexignore}
116116

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

0 commit comments

Comments
 (0)