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

Various changes #44

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

duongdominhchau
Copy link

@duongdominhchau duongdominhchau commented Jul 1, 2021

Please check the (full) commit message for details.

Update the inkscape command:
- Remove `-C` as it is default for PDF now
- Replace the removed flag `-A` (`--export-pdf`) with `--export-filename`
- Remove `-f` as Inkscape now takes the file name directly
See: https://wiki.inkscape.org/wiki/index.php/Using_the_Command_Line#Deprecations_and_Replacements

Replace fonts:
- **Inconsolata LGC** to **Inconsolata**
- **Linux Libertine O** to **Libertinus Serif**
- **Linux Biolinum O** to **Libertinus Sans**

Arch suggests switching to **Libertinus**:

> Note: development of Libertine seems to have halted, despite outstanding bugs.
> Users are advised to upgrade to the de facto successor,
> [community]/libertinus-font, and to update any documents and configuration
> if necessary
After the word `Computer` there is a whitespace. With Inkscape 1,
that space is included in the line width when centering text, thus
results in the text line `of Computer` being shifted a little to the
left and doesn't look centered anymore.
Most figures use **Inconsolata**, but there are two figures using
**FreeMono**, **Courier New**, **Droid Sans Mono**, **Liberation Mono**
for lines (which I guess doesn't really care what font is used).
This commit makes them use **Inconsolata** too for consistency.
- Replace setext-style headings with atx ones.
- Add a new section for the fonts required to build.
This commit ports most fixes that are merged into the HTML repo but
haven't applied on this repo yet. Some overflowing code lines are
broken into smaller lines.
This is simpler than Git LFS.
Latin Modern is only used for the text inside 5 figures, so I replace it
with Inconsolata to reduce the number of fonts required for a build.

This commit also rebuild the PDF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant