Skip to content

Commit 47a7bfa

Browse files
committed
fonts WIP
1 parent 5be40be commit 47a7bfa

7 files changed

Lines changed: 132 additions & 18 deletions

File tree

online/Livro-vol1-sem-cap04.adoc

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
= Python Fluente, Segunda Edição (2023)
2+
:doctype: book
3+
:author: Luciano Ramalho
4+
:lang: pt_BR
5+
:language: asciidoctor
6+
:source-highlighter: rouge
7+
include::../atributos-pt_BR.adoc[]
8+
:xrefstyle: short
9+
:sectnumlevels: 4
10+
:sectlinks:
11+
:data-uri:
12+
:toc: left
13+
:toclevels: 2
14+
:!chapter-signifier:
15+
:front-cover-image: image:cover.jpg[fit=cover]
16+
// Substituições
17+
:dunder: __
18+
19+
:sectnums!:
20+
include::Prefacio.adoc[]
21+
22+
[[data_structures_part]]
23+
= Parte I: Estruturas de dados
24+
:sectnums:
25+
:example-number: 0
26+
:figure-number: 0
27+
28+
include::cap01.adoc[]
29+
30+
include::cap02.adoc[]
31+
32+
include::cap03.adoc[]
33+
34+
// include::cap04.adoc[]
35+
36+
include::cap05.adoc[]
37+
38+
include::cap06.adoc[]
39+
40+
[[function_objects_part]]
41+
= Parte II: Funções como objetos
42+
43+
include::cap07.adoc[]
44+
45+
include::cap08.adoc[]

online/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
# $1 is the root .adoc file
23
set -e # exit when any command fails
3-
bundle exec asciidoctor -v Livro.adoc -o index.html
4+
bundle exec asciidoctor -v $1 -o index.html
45
open index.html

print/non-ascii.pdf

11.4 KB
Binary file not shown.

print/pyfl-fonts-theme.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
extends: default-for-print
2+
3+
font:
4+
catalog:
5+
merge: true
6+
Noto Serif:
7+
normal: NotoSerif-Regular.ttf
8+
bold: NotoSerif-Bold.ttf
9+
italic: NotoSerif-Italic.ttf
10+
bold_italic: NotoSerif-BoldItalic.ttf
11+
Noto Math: NotoSansMath-Regular.ttf
12+
M+ 1mn:
13+
normal: mplus1mn-regular-subset.ttf
14+
bold: mplus1mn-bold-subset.ttf
15+
italic: mplus1mn-italic-subset.ttf
16+
bold_italic: mplus1mn-bold_italic-subset.ttf
17+
M+ 1p Fallback: mplus1p-regular-fallback.ttf
18+
fallbacks: [Noto Math, M+ 1p Fallback]
19+
20+
page:
21+
margin: [18mm, 17mm, 18mm, 16mm]
22+
margin-inner: 17mm
23+
margin-outer: 16mm
24+
25+
base:
26+
text_align: left
27+
font_family: Noto Serif
28+
font_size: 10pt
29+
30+
code:
31+
font_size: 10pt
32+
padding: $code_font_size
33+
34+
example:
35+
padding: 0
36+
37+
quote:
38+
font_size: $base_font_size
39+
font_style: italic

print/pyfl-theme.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
extends: default-for-print
22

3-
font:
4-
catalog:
5-
merge: true
6-
Noto Serif:
7-
normal: NotoSerif-Regular.ttf
8-
bold: NotoSerif-Bold.ttf
9-
italic: NotoSerif-Italic.ttf
10-
bold_italic: NotoSerif-BoldItalic.ttf
11-
Noto Math: NotoSansMath-Regular.ttf
12-
M+ 1mn:
13-
normal: mplus1mn-regular-subset.ttf
14-
bold: mplus1mn-bold-subset.ttf
15-
italic: mplus1mn-italic-subset.ttf
16-
bold_italic: mplus1mn-bold_italic-subset.ttf
17-
M+ 1p Fallback: mplus1p-regular-fallback.ttf
18-
fallbacks: [Noto Math, M+ 1p Fallback]
19-
203
page:
214
margin: [18mm, 17mm, 18mm, 16mm]
225
margin-inner: 17mm

print/vol1-sem-cap4.adoc

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Generated 13:44:32
2+
3+
## Latin 1
4+
5+
|====
6+
|ç|ã|á|é|ú|õ|ó|í|ô|ê|à|â|É|ª|ü|ý|Á|¢|£|¥|¤|²|×|ö|§|µ|¶|©|°|÷|±|¬
7+
|®|Ã|Ô|À|Ú| | | | | | | | | | | | | | | | | | | | | | | | | | |
8+
|====
9+
10+
## CP1252
11+
12+
[cols=">2,^1,11,1,>1"]
13+
|====
14+
|`U+2014`|—|EM DASH|Pd|288
15+
|`U+2026`|…|HORIZONTAL ELLIPSIS|Po|46
16+
|`U+201c`|“|LEFT DOUBLE QUOTATION MARK|Pi|18
17+
|`U+201d`|”|RIGHT DOUBLE QUOTATION MARK|Pf|17
18+
|`U+2019`|’|RIGHT SINGLE QUOTATION MARK|Pf|8
19+
|`U+20ac`|€|EURO SIGN|Sc|4
20+
|`U+2018`|‘|LEFT SINGLE QUOTATION MARK|Pi|3
21+
|`U+0160`|Š|LATIN CAPITAL LETTER S WITH CARON|Lu|2
22+
|`U+2013`|–|EN DASH|Pd|2
23+
|====
24+
25+
## Other
26+
[cols=">2,^1,11,1,>1"]
27+
|====
28+
|`U+0141`|Ł|LATIN CAPITAL LETTER L WITH STROKE|Lu|1
29+
|`U+fe0f`|️|VARIATION SELECTOR-16|Mn|60
30+
|`U+2264`|≤|LESS-THAN OR EQUAL TO|Sm|1
31+
|`U+222a`|∪|UNION|Sm|1
32+
|`U+2206`|∆|INCREMENT|Sm|1
33+
|`U+2205`|∅|EMPTY SET|Sm|1
34+
|`U+2208`|∈|ELEMENT OF|Sm|1
35+
|`U+2286`|⊆|SUBSET OF OR EQUAL TO|Sm|1
36+
|`U+2282`|⊂|SUBSET OF|Sm|1
37+
|`U+2287`|⊇|SUPERSET OF OR EQUAL TO|Sm|1
38+
|`U+2283`|⊃|SUPERSET OF|Sm|1
39+
|`U+2229`|∩|INTERSECTION|Sm|2
40+
|`U+2265`|≥|GREATER-THAN OR EQUAL TO|Sm|13
41+
|`U+1f64f`|🙏|PERSON WITH FOLDED HANDS|So|1
42+
|`U+26a0`|⚠|WARNING SIGN|So|23
43+
|`U+2712`|✒|BLACK NIB|So|37
44+
|`U+1f449`|👉|WHITE RIGHT POINTING BACKHAND INDEX|So|40
45+
|`U+25cf`|●|BLACK CIRCLE|So|249
46+
|====

print/vol1-sem-cap4.pdf

141 KB
Binary file not shown.

0 commit comments

Comments
 (0)