Skip to content

Commit bdd3e2c

Browse files
committed
chore: add unicode support
1 parent b2c8a5f commit bdd3e2c

2 files changed

Lines changed: 17 additions & 19 deletions

File tree

.github/workflows/book.yml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -273,25 +273,20 @@ jobs:
273273
run: |
274274
export PATH="$HOME/.TinyTeX/bin/x86_64-linux:$PATH"
275275
276-
# Instala pacotes necessários (com retry)
277-
for i in {1..3}; do
278-
echo "Tentativa $i de instalar pacotes LaTeX..."
279-
tlmgr install \
280-
babel-portuges \
281-
hyphen-portuguese \
282-
collection-langportuguese \
283-
koma-script \
284-
fancyvrb \
285-
framed \
286-
tcolorbox \
287-
environ \
288-
trimspaces \
289-
pgf \
290-
booktabs && break || {
291-
echo "Falha, aguardando 10s..."
292-
sleep 10
293-
}
294-
done
276+
# Instala pacotes LaTeX necessários
277+
tlmgr install collection-fontsrecommended \
278+
collection-latex \
279+
collection-latexrecommended \
280+
amsmath \
281+
amssymb \
282+
fancyvrb \
283+
textcomp \
284+
inputenc \
285+
fontenc \
286+
babel-portuges \
287+
hyphen-portuguese
288+
289+
# Atualiza tlmgr
295290
296291
- name: Verify LaTeX installation
297292
run: |

book/_quarto.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ format:
6868
\usepackage{textcomp}
6969
\usepackage[utf8]{inputenc}
7070
\usepackage[T1]{fontenc}
71+
\usepackage{amsmath}
72+
\usepackage{amssymb}
73+
\DeclareUnicodeCharacter{221A}{\ensuremath{\sqrt{}}}
7174
execute:
7275
enabled: false
7376
echo: false

0 commit comments

Comments
 (0)