File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,14 @@ jobs:
2929 sudo cp -r core-sans-a-fonts/* /usr/local/share/fonts/
3030 sudo fc-cache -f -v
3131 fc-list | grep "Core Sans"
32- - name : Use Fallback find for fork PRs
32+ - name : Use Fallback font for fork PRs
3333 if : " github.event.pull_request.head.repo.fork"
3434 run : |
35- sed -i 's/CoreSansA45.ttf/OpenSans-Regular.ttf/g' book/book.toml
36- sed -i 's/CoreSansA45It.ttf/OpenSans-Italic.ttf/g' book/book.toml
37- sed -i 's/CoreSansA65It.ttf/OpenSans-BoldItalic.ttf/g' book/book.toml
35+ sed -i 's/CoreSansA45.ttf/Open Sans:style=Regular/g' book/book.toml
36+ sed -i 's/CoreSansA45It.ttf/Open Sans:style=Italic/g' book/book.toml
37+ sed -i 's/CoreSansA65.ttf/Open Sans:style=Bold/g' book/book.toml
38+ sed -i 's/CoreSansA65It.ttf/Open Sans:style=Bold Italic/g' book/book.toml
39+ cat book/book.toml
3840 - uses : actions-rust-lang/setup-rust-toolchain@v1
3941 - name : Install exercise plugin
4042 run : cargo install --path helpers/mdbook-exercise-linker
4547 cargo install mdbook-pandoc --locked --version 0.7.1
4648 sudo apt-get update
4749 sudo apt-get install -y fonts-noto fonts-open-sans calibre pdftk
48-
50+ sudo fc-cache -f -v
4951 export PANDOC_VERSION=3.3
5052 curl -LsSf https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION}-linux-amd64.tar.gz | tar zxf -
5153 echo "$PWD/pandoc-${PANDOC_VERSION}/bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ show-hidden-lines = true
2828[output .pandoc .profile .pdf ] # options to pass to Pandoc (see https://pandoc.org/MANUAL.html)
2929output-file = " 100-exercises-to-learn-rust.pdf"
3030to = " latex"
31+ verbosity = " INFO"
3132highlight-style = " ./custom.theme"
3233# We use `lualatext` because, right now, it's the only engine
3334# that supports fallback fonts, which we need for emojis.
You can’t perform that action at this time.
0 commit comments