asciidoctor 2.0.6 → 2.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.adoc +159 -6
- data/LICENSE +2 -1
- data/README-de.adoc +5 -5
- data/README-fr.adoc +4 -4
- data/README-jp.adoc +248 -183
- data/README-zh_CN.adoc +6 -6
- data/README.adoc +17 -11
- data/asciidoctor.gemspec +8 -8
- data/data/locale/attributes-ar.adoc +4 -3
- data/data/locale/attributes-bg.adoc +4 -3
- data/data/locale/attributes-ca.adoc +6 -5
- data/data/locale/attributes-cs.adoc +4 -3
- data/data/locale/attributes-da.adoc +6 -5
- data/data/locale/attributes-de.adoc +4 -4
- data/data/locale/attributes-en.adoc +4 -4
- data/data/locale/attributes-es.adoc +6 -5
- data/data/locale/attributes-fa.adoc +4 -3
- data/data/locale/attributes-fi.adoc +4 -3
- data/data/locale/attributes-fr.adoc +6 -5
- data/data/locale/attributes-hu.adoc +4 -3
- data/data/locale/attributes-id.adoc +4 -3
- data/data/locale/attributes-it.adoc +4 -3
- data/data/locale/attributes-ja.adoc +4 -3
- data/data/locale/{attributes-kr.adoc → attributes-ko.adoc} +4 -3
- data/data/locale/attributes-nb.adoc +4 -3
- data/data/locale/attributes-nl.adoc +4 -3
- data/data/locale/attributes-nn.adoc +4 -3
- data/data/locale/attributes-pl.adoc +8 -7
- data/data/locale/attributes-pt.adoc +6 -5
- data/data/locale/attributes-pt_BR.adoc +6 -5
- data/data/locale/attributes-ro.adoc +4 -3
- data/data/locale/attributes-ru.adoc +6 -5
- data/data/locale/attributes-sr.adoc +4 -4
- data/data/locale/attributes-sr_Latn.adoc +4 -4
- data/data/locale/attributes-sv.adoc +4 -4
- data/data/locale/attributes-tr.adoc +4 -3
- data/data/locale/attributes-uk.adoc +6 -5
- data/data/locale/attributes-zh_CN.adoc +4 -3
- data/data/locale/attributes-zh_TW.adoc +4 -3
- data/data/stylesheets/asciidoctor-default.css +29 -26
- data/lib/asciidoctor.rb +94 -1098
- data/lib/asciidoctor/abstract_block.rb +19 -11
- data/lib/asciidoctor/abstract_node.rb +21 -15
- data/lib/asciidoctor/attribute_list.rb +59 -67
- data/lib/asciidoctor/cli/invoker.rb +2 -0
- data/lib/asciidoctor/cli/options.rb +8 -8
- data/lib/asciidoctor/convert.rb +198 -0
- data/lib/asciidoctor/converter.rb +14 -13
- data/lib/asciidoctor/converter/docbook5.rb +9 -25
- data/lib/asciidoctor/converter/html5.rb +65 -42
- data/lib/asciidoctor/converter/manpage.rb +13 -12
- data/lib/asciidoctor/converter/template.rb +6 -3
- data/lib/asciidoctor/document.rb +40 -48
- data/lib/asciidoctor/extensions.rb +3 -3
- data/lib/asciidoctor/helpers.rb +38 -39
- data/lib/asciidoctor/inline.rb +1 -1
- data/lib/asciidoctor/load.rb +117 -0
- data/lib/asciidoctor/parser.rb +29 -25
- data/lib/asciidoctor/path_resolver.rb +35 -25
- data/lib/asciidoctor/reader.rb +14 -7
- data/lib/asciidoctor/rx.rb +722 -0
- data/lib/asciidoctor/substitutors.rb +62 -40
- data/lib/asciidoctor/syntax_highlighter.rb +22 -8
- data/lib/asciidoctor/syntax_highlighter/coderay.rb +1 -1
- data/lib/asciidoctor/syntax_highlighter/highlightjs.rb +12 -4
- data/lib/asciidoctor/syntax_highlighter/prettify.rb +7 -4
- data/lib/asciidoctor/syntax_highlighter/pygments.rb +2 -3
- data/lib/asciidoctor/syntax_highlighter/rouge.rb +18 -11
- data/lib/asciidoctor/table.rb +49 -20
- data/lib/asciidoctor/version.rb +1 -1
- data/man/asciidoctor.1 +17 -17
- data/man/asciidoctor.adoc +15 -14
- metadata +12 -9
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Lampiran
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Perhatian
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Bab
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Contoh
|
8
8
|
:figure-caption: Gambar
|
9
9
|
:important-caption: Penting
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Daftar]
|
12
12
|
ifdef::manname-title[:manname-title: Nama]
|
13
13
|
:note-caption: Catatan
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
//ifdef::preface-title[:preface-title: ???]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabel
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Appendice
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Attenzione
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Capitolo
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Esempio
|
8
8
|
:figure-caption: Figura
|
9
9
|
:important-caption: Importante
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Elenco]
|
12
12
|
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefazione]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabella
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 付録
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 例
|
8
8
|
:figure-caption: 図
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: リスト]
|
12
12
|
ifdef::manname-title[:manname-title: 名前]
|
13
13
|
:note-caption: 注記
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: まえがき]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 부록
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 주의
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 예시
|
8
8
|
:figure-caption: 그림
|
9
9
|
:important-caption: 중요
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 목록]
|
12
12
|
ifdef::manname-title[:manname-title: 이름]
|
13
13
|
:note-caption: 노트
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 머리말]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 표
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Vedlegg
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: OBS
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Kapittel
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Eksempel
|
8
8
|
:figure-caption: Figur
|
9
9
|
:important-caption: Viktig
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Programkode]
|
12
12
|
ifdef::manname-title[:manname-title: Navn]
|
13
13
|
:note-caption: Merk
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Forord]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabell
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Bijlage
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Opgelet
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: Hoofdstuk
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Voorbeeld
|
8
8
|
:figure-caption: Figuur
|
9
9
|
:important-caption: Belangrijk
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Lijst]
|
12
12
|
ifdef::manname-title[:manname-title: Naam]
|
13
13
|
:note-caption: Noot
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Inleiding]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabel
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Vedlegg
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: OBS
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Kapittel
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Eksempel
|
8
8
|
:figure-caption: Figur
|
9
9
|
:important-caption: Viktig
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Programkode]
|
12
12
|
ifdef::manname-title[:manname-title: Namn]
|
13
13
|
:note-caption: Merk
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Forord]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabell
|
@@ -1,19 +1,20 @@
|
|
1
|
-
// Polish translation, courtesy of Łukasz Dziedziul <l.dziedziul@gmail.com>
|
1
|
+
// Polish translation, courtesy of Łukasz Dziedziul <l.dziedziul@gmail.com> with updates via Matthew Blissett <mblissett@gbif.org>
|
2
2
|
:appendix-caption: Dodatek
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Uwaga
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Rozdział
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Przykład
|
8
8
|
:figure-caption: Rysunek
|
9
9
|
:important-caption: Ważne
|
10
10
|
:last-update-label: Ostatnio zmodyfikowany
|
11
|
-
|
11
|
+
ifdef::listing-caption[:listing-caption: Listing]
|
12
12
|
ifdef::manname-title[:manname-title: Nazwa]
|
13
13
|
:note-caption: Notka
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
:part-signifier: Część
|
15
|
+
:part-refsig: {part-signifier}
|
16
|
+
ifdef::preface-title[:preface-title: Wstęp]
|
17
|
+
:section-refsig: Sekcja
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Sugestia
|
19
20
|
:toc-title: Spis treści
|
@@ -1,9 +1,9 @@
|
|
1
|
-
// Portuguese translation, courtesy of Roberto Cortez <radcortez@yahoo.com>
|
1
|
+
// Portuguese translation, courtesy of Roberto Cortez <radcortez@yahoo.com> with updates from Andrew Rodrigues <arodrigues@gbif.org>
|
2
2
|
:appendix-caption: Apêndice
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Atenção
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Capítulo
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exemplo
|
8
8
|
:figure-caption: Figura
|
9
9
|
:important-caption: Importante
|
@@ -11,9 +11,10 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listagem]
|
12
12
|
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
|
-
|
14
|
+
:part-signifier: Parte
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefácio]
|
16
|
-
|
17
|
+
:section-refsig: Secção
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Sugestão
|
19
20
|
:toc-title: Índice
|
@@ -1,9 +1,9 @@
|
|
1
|
-
// Brazilian Portuguese translation, courtesy of Rafael Pestano <rmpestano@gmail.com>
|
1
|
+
// Brazilian Portuguese translation, courtesy of Rafael Pestano <rmpestano@gmail.com> with updates from Andrew Rodrigues <arodrigues@gbif.org>
|
2
2
|
:appendix-caption: Apêndice
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Cuidado
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Capítulo
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exemplo
|
8
8
|
:figure-caption: Figura
|
9
9
|
:important-caption: Importante
|
@@ -11,9 +11,10 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listagem]
|
12
12
|
ifdef::manname-title[:manname-title: Nome]
|
13
13
|
:note-caption: Nota
|
14
|
-
|
14
|
+
:part-signifier: Parte
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefácio]
|
16
|
-
|
17
|
+
:section-refsig: Seção
|
17
18
|
:table-caption: Tabela
|
18
19
|
:tip-caption: Dica
|
19
20
|
:toc-title: Índice
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Apendix
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Precauție
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exemplu
|
8
8
|
:figure-caption: Figură
|
9
9
|
:important-caption: Important
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listare]
|
12
12
|
ifdef::manname-title[:manname-title: Nume]
|
13
13
|
:note-caption: Notă
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Prefață]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tabela
|
@@ -2,18 +2,19 @@
|
|
2
2
|
:appendix-caption: Приложение
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Внимание
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Глава
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Пример
|
8
8
|
:figure-caption: Рисунок
|
9
9
|
:important-caption: Важно
|
10
|
-
:last-update-label:
|
10
|
+
:last-update-label: Последнее обновление
|
11
11
|
ifdef::listing-caption[:listing-caption: Листинг]
|
12
12
|
ifdef::manname-title[:manname-title: Название]
|
13
13
|
:note-caption: Примечание
|
14
|
-
|
14
|
+
:part-signifier: Часть
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Предисловие]
|
16
|
-
|
17
|
+
:section-refsig: Раздел
|
17
18
|
:table-caption: Таблица
|
18
19
|
:tip-caption: Подсказка
|
19
20
|
:toc-title: Содержание
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Додатак
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Опрез
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Поглавље
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Пример
|
8
8
|
:figure-caption: Слика
|
9
9
|
:important-caption: Важно
|
@@ -11,8 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Листинг]
|
12
12
|
ifdef::manname-title[:manname-title: Назив]
|
13
13
|
:note-caption: Белешка
|
14
|
-
:part-
|
15
|
-
:part-refsig: {part-
|
14
|
+
:part-signifier: Део
|
15
|
+
:part-refsig: {part-signifier}
|
16
16
|
ifdef::preface-title[:preface-title: Предговор]
|
17
17
|
:section-refsig: Секција
|
18
18
|
:table-caption: Табела
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Dodatak
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Oprez
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Poglavlje
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Primer
|
8
8
|
:figure-caption: Slika
|
9
9
|
:important-caption: Važno
|
@@ -11,8 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listing]
|
12
12
|
ifdef::manname-title[:manname-title: Naziv]
|
13
13
|
:note-caption: Beleška
|
14
|
-
:part-
|
15
|
-
:part-refsig: {part-
|
14
|
+
:part-signifier: Deo
|
15
|
+
:part-refsig: {part-signifier}
|
16
16
|
ifdef::preface-title[:preface-title: Predgovor]
|
17
17
|
:section-refsig: Sekcija
|
18
18
|
:table-caption: Tabela
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Bilaga
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Var uppmärksam
|
5
|
-
:chapter-
|
6
|
-
:chapter-refsig: {chapter-
|
5
|
+
:chapter-signifier: Kapitel
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Exempel
|
8
8
|
:figure-caption: Figur
|
9
9
|
:important-caption: Viktigt
|
@@ -11,8 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Lista]
|
12
12
|
ifdef::manname-title[:manname-title: Namn]
|
13
13
|
:note-caption: Notera
|
14
|
-
:part-
|
15
|
-
:part-refsig: {part-
|
14
|
+
:part-signifier: Del
|
15
|
+
:part-refsig: {part-signifier}
|
16
16
|
ifdef::preface-title[:preface-title: Förord]
|
17
17
|
:section-refsig: Avsnitt
|
18
18
|
:table-caption: Tabell
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: Ek bölüm
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Dikkat
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Örnek
|
8
8
|
:figure-caption: Görsel
|
9
9
|
:important-caption: Önemli
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: Listeleme]
|
12
12
|
ifdef::manname-title[:manname-title: İsim]
|
13
13
|
:note-caption: Not
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Ön söz]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: Tablo
|
@@ -2,18 +2,19 @@
|
|
2
2
|
:appendix-caption: Додаток
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: Обережно
|
5
|
-
|
6
|
-
|
5
|
+
:chapter-signifier: Розділ
|
6
|
+
:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: Приклад
|
8
|
-
:figure-caption:
|
8
|
+
:figure-caption: Рисунок
|
9
9
|
:important-caption: Важливо
|
10
10
|
:last-update-label: Востаннє оновлено
|
11
11
|
ifdef::listing-caption[:listing-caption: Лістинг]
|
12
12
|
ifdef::manname-title[:manname-title: Назва]
|
13
13
|
:note-caption: Зауваження
|
14
|
-
|
14
|
+
:part-signifier: Частина
|
15
|
+
:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: Передмова]
|
16
|
-
|
17
|
+
:section-refsig: Підрозділ
|
17
18
|
:table-caption: Таблиця
|
18
19
|
:tip-caption: Підказка
|
19
20
|
:toc-title: Зміст
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 附录
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 示例
|
8
8
|
:figure-caption: 图表
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 列表]
|
12
12
|
ifdef::manname-title[:manname-title: 名称]
|
13
13
|
:note-caption: 笔记
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 序言]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表格
|
@@ -2,8 +2,8 @@
|
|
2
2
|
:appendix-caption: 附錄
|
3
3
|
:appendix-refsig: {appendix-caption}
|
4
4
|
:caution-caption: 注意
|
5
|
-
//:chapter-
|
6
|
-
//:chapter-refsig: {chapter-
|
5
|
+
//:chapter-signifier: ???
|
6
|
+
//:chapter-refsig: {chapter-signifier}
|
7
7
|
:example-caption: 示例
|
8
8
|
:figure-caption: 圖表
|
9
9
|
:important-caption: 重要
|
@@ -11,7 +11,8 @@
|
|
11
11
|
ifdef::listing-caption[:listing-caption: 列表]
|
12
12
|
ifdef::manname-title[:manname-title: 名稱]
|
13
13
|
:note-caption: 筆記
|
14
|
-
//:part-
|
14
|
+
//:part-signifier: ???
|
15
|
+
//:part-refsig: {part-signifier}
|
15
16
|
ifdef::preface-title[:preface-title: 序言]
|
16
17
|
//:section-refsig: ???
|
17
18
|
:table-caption: 表格
|
@@ -1,10 +1,9 @@
|
|
1
1
|
/* Asciidoctor default stylesheet | MIT License | https://asciidoctor.org */
|
2
|
-
/* Uncomment @import statement
|
2
|
+
/* Uncomment @import statement to use as custom stylesheet */
|
3
3
|
/*@import "https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700";*/
|
4
4
|
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}
|
5
|
-
audio,
|
5
|
+
audio,video{display:inline-block}
|
6
6
|
audio:not([controls]){display:none;height:0}
|
7
|
-
script{display:none!important}
|
8
7
|
html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}
|
9
8
|
a{background:none}
|
10
9
|
a:focus{outline:thin dotted}
|
@@ -38,7 +37,7 @@ textarea{overflow:auto;vertical-align:top}
|
|
38
37
|
table{border-collapse:collapse;border-spacing:0}
|
39
38
|
*,*::before,*::after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}
|
40
39
|
html,body{font-size:100%}
|
41
|
-
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
|
40
|
+
body{background:#fff;color:rgba(0,0,0,.8);padding:0;margin:0;font-family:"Noto Serif","DejaVu Serif",serif;font-weight:400;font-style:normal;line-height:1;position:relative;cursor:auto;tab-size:4;word-wrap:anywhere;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}
|
42
41
|
a:hover{cursor:pointer}
|
43
42
|
img,object,embed{max-width:100%;height:auto}
|
44
43
|
object,embed{height:100%}
|
@@ -53,10 +52,8 @@ img{-ms-interpolation-mode:bicubic}
|
|
53
52
|
img,object,svg{display:inline-block;vertical-align:middle}
|
54
53
|
textarea{height:auto;min-height:50px}
|
55
54
|
select{width:100%}
|
56
|
-
.center{margin-left:auto;margin-right:auto}
|
57
|
-
.stretch{width:100%}
|
58
55
|
.subheader,.admonitionblock td.content>.title,.audioblock>.title,.exampleblock>.title,.imageblock>.title,.listingblock>.title,.literalblock>.title,.stemblock>.title,.openblock>.title,.paragraph>.title,.quoteblock>.title,table.tableblock>.title,.verseblock>.title,.videoblock>.title,.dlist>.title,.olist>.title,.ulist>.title,.qlist>.title,.hdlist>.title{line-height:1.45;color:#7a2518;font-weight:400;margin-top:0;margin-bottom:.25em}
|
59
|
-
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0
|
56
|
+
div,dl,dt,dd,ul,ol,li,h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6,pre,form,p,blockquote,th,td{margin:0;padding:0}
|
60
57
|
a{color:#2156a5;text-decoration:underline;line-height:inherit}
|
61
58
|
a:hover,a:focus{color:#1d4b8f}
|
62
59
|
a img{border:0}
|
@@ -104,11 +101,14 @@ table tr.even,table tr.alt{background:#f8f8f7}
|
|
104
101
|
table thead tr th,table tfoot tr th,table tbody tr td,table tr td,table tfoot tr td{display:table-cell;line-height:1.6}
|
105
102
|
h1,h2,h3,#toctitle,.sidebarblock>.content>.title,h4,h5,h6{line-height:1.2;word-spacing:-.05em}
|
106
103
|
h1 strong,h2 strong,h3 strong,#toctitle strong,.sidebarblock>.content>.title strong,h4 strong,h5 strong,h6 strong{font-weight:400}
|
104
|
+
.center{margin-left:auto;margin-right:auto}
|
105
|
+
.stretch{width:100%}
|
107
106
|
.clearfix::before,.clearfix::after,.float-group::before,.float-group::after{content:" ";display:table}
|
108
107
|
.clearfix::after,.float-group::after{clear:both}
|
109
|
-
:not(pre)
|
110
|
-
:not(pre)
|
111
|
-
:not(pre)
|
108
|
+
:not(pre).nobreak{word-wrap:normal}
|
109
|
+
:not(pre).nowrap{white-space:nowrap}
|
110
|
+
:not(pre).pre-wrap{white-space:pre-wrap}
|
111
|
+
:not(pre):not([class^=L])>code{font-size:.9375em;font-style:normal!important;letter-spacing:0;padding:.1em .5ex;word-spacing:-.15em;background:#f7f7f8;-webkit-border-radius:4px;border-radius:4px;line-height:1.45;text-rendering:optimizeSpeed}
|
112
112
|
pre{color:rgba(0,0,0,.9);font-family:"Droid Sans Mono","DejaVu Sans Mono",monospace;line-height:1.45;text-rendering:optimizeSpeed}
|
113
113
|
pre code,pre pre{color:inherit;font-size:inherit;line-height:inherit}
|
114
114
|
pre>code{display:block}
|
@@ -173,7 +173,7 @@ body.toc2.toc-right{padding-left:0;padding-right:20em}}
|
|
173
173
|
#content #toc{border-style:solid;border-width:1px;border-color:#e0e0dc;margin-bottom:1.25em;padding:1.25em;background:#f8f8f7;-webkit-border-radius:4px;border-radius:4px}
|
174
174
|
#content #toc>:first-child{margin-top:0}
|
175
175
|
#content #toc>:last-child{margin-bottom:0}
|
176
|
-
#footer{max-width:
|
176
|
+
#footer{max-width:none;background:rgba(0,0,0,.8);padding:1.25em}
|
177
177
|
#footer-text{color:rgba(255,255,255,.8);line-height:1.44}
|
178
178
|
#content{margin-bottom:.625em}
|
179
179
|
.sect1{padding-bottom:.625em}
|
@@ -206,11 +206,11 @@ table.tableblock #preamble>.sectionbody>[class="paragraph"]:first-of-type p{font
|
|
206
206
|
.sidebarblock>:last-child{margin-bottom:0}
|
207
207
|
.sidebarblock>.content>.title{color:#7a2518;margin-top:0;text-align:center}
|
208
208
|
.exampleblock>.content>:last-child>:last-child,.exampleblock>.content .olist>ol>li:last-child>:last-child,.exampleblock>.content .ulist>ul>li:last-child>:last-child,.exampleblock>.content .qlist>ol>li:last-child>:last-child,.sidebarblock>.content>:last-child>:last-child,.sidebarblock>.content .olist>ol>li:last-child>:last-child,.sidebarblock>.content .ulist>ul>li:last-child>:last-child,.sidebarblock>.content .qlist>ol>li:last-child>:last-child{margin-bottom:0}
|
209
|
-
.literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;
|
209
|
+
.literalblock pre,.listingblock>.content>pre{-webkit-border-radius:4px;border-radius:4px;overflow-x:auto;padding:1em;font-size:.8125em}
|
210
210
|
@media screen and (min-width:768px){.literalblock pre,.listingblock>.content>pre{font-size:.90625em}}
|
211
211
|
@media screen and (min-width:1280px){.literalblock pre,.listingblock>.content>pre{font-size:1em}}
|
212
|
+
.literalblock pre,.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class="highlight"],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
|
212
213
|
.literalblock.output pre{color:#f7f7f8;background:rgba(0,0,0,.9)}
|
213
|
-
.listingblock>.content>pre:not(.highlight),.listingblock>.content>pre[class="highlight"],.listingblock>.content>pre[class^="highlight "]{background:#f7f7f8}
|
214
214
|
.listingblock>.content{position:relative}
|
215
215
|
.listingblock code[data-lang]::before{display:none;content:attr(data-lang);position:absolute;font-size:.75em;top:.425rem;right:.5rem;line-height:1;text-transform:uppercase;color:inherit;opacity:.5}
|
216
216
|
.listingblock:hover code[data-lang]::before{display:block}
|
@@ -231,7 +231,7 @@ table.linenotable td.linenos{border-right:1px solid currentColor;opacity:.35;pad
|
|
231
231
|
pre.pygments .lineno{border-right:1px solid currentColor;opacity:.35;display:inline-block;margin-right:.75em}
|
232
232
|
pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
233
233
|
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
|
234
|
-
.quoteblock>.title{margin-left:-1.5em;margin-bottom:.75em}
|
234
|
+
.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
|
235
235
|
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
|
236
236
|
.quoteblock blockquote{margin:0;padding:0;border:0}
|
237
237
|
.quoteblock blockquote::before{content:"\201c";float:left;font-size:2.75em;font-weight:bold;line-height:.6em;margin-left:-.6em;color:#7a2518;text-shadow:0 1px 2px rgba(0,0,0,.1)}
|
@@ -248,23 +248,25 @@ pre.pygments .lineno::before{content:"";margin-right:-.125em}
|
|
248
248
|
.quoteblock.abstract blockquote,.quoteblock.abstract p,.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{line-height:1.6;word-spacing:0}
|
249
249
|
.quoteblock.abstract{margin:0 1em 1.25em;display:block}
|
250
250
|
.quoteblock.abstract>.title{margin:0 0 .375em;font-size:1.15em;text-align:center}
|
251
|
-
.quoteblock.excerpt,.quoteblock .quoteblock{
|
251
|
+
.quoteblock.excerpt>blockquote,.quoteblock .quoteblock{padding:0 0 .25em 1em;border-left:.25em solid #dddddf}
|
252
|
+
.quoteblock.excerpt,.quoteblock .quoteblock{margin-left:0}
|
252
253
|
.quoteblock.excerpt blockquote,.quoteblock.excerpt p,.quoteblock .quoteblock blockquote,.quoteblock .quoteblock p{color:inherit;font-size:1.0625rem}
|
253
254
|
.quoteblock.excerpt .attribution,.quoteblock .quoteblock .attribution{color:inherit;text-align:left;margin-right:0}
|
254
|
-
table.tableblock{max-width:100
|
255
|
+
table.tableblock{max-width:100%}
|
255
256
|
p.tableblock:last-child{margin-bottom:0}
|
256
|
-
td.tableblock>.content{margin-bottom
|
257
|
+
td.tableblock>.content{margin-bottom:1.25em}
|
258
|
+
td.tableblock>.content>:last-child{margin-bottom:-1.25em}
|
257
259
|
table.tableblock,th.tableblock,td.tableblock{border:0 solid #dedede}
|
258
|
-
table.grid-all
|
259
|
-
table.grid-
|
260
|
-
table.grid-
|
261
|
-
table.grid-rows>thead>tr>.tableblock,table.grid-rows>tbody>tr>.tableblock{border-width:0 0 1px}
|
262
|
-
table.grid-rows>tfoot>tr>.tableblock{border-width:1px 0 0}
|
263
|
-
table.grid-all>*>tr>.tableblock:last-child,table.grid-cols>*>tr>.tableblock:last-child{border-right-width:0}
|
264
|
-
table.grid-all>tbody>tr:last-child>.tableblock,table.grid-all>thead:last-child>tr>.tableblock,table.grid-rows>tbody>tr:last-child>.tableblock,table.grid-rows>thead:last-child>tr>.tableblock{border-bottom-width:0}
|
260
|
+
table.grid-all>*>tr>*{border-width:1px}
|
261
|
+
table.grid-cols>*>tr>*{border-width:0 1px}
|
262
|
+
table.grid-rows>*>tr>*{border-width:1px 0}
|
265
263
|
table.frame-all{border-width:1px}
|
264
|
+
table.frame-ends{border-width:1px 0}
|
266
265
|
table.frame-sides{border-width:0 1px}
|
267
|
-
table.frame-
|
266
|
+
table.frame-none>colgroup+*>:first-child>*,table.frame-sides>colgroup+*>:first-child>*{border-top-width:0}
|
267
|
+
table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
|
268
|
+
table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
|
269
|
+
table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
|
268
270
|
table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd),table.stripes-even tr:nth-of-type(even),table.stripes-hover tr:hover{background:#f8f8f7}
|
269
271
|
th.halign-left,td.halign-left{text-align:left}
|
270
272
|
th.halign-right,td.halign-right{text-align:right}
|
@@ -374,7 +376,7 @@ a span.icon>.fa{cursor:inherit}
|
|
374
376
|
.admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
|
375
377
|
.admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
|
376
378
|
.admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
|
377
|
-
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:
|
379
|
+
.conum[data-value]{display:inline-block;color:#fff!important;background:rgba(0,0,0,.8);-webkit-border-radius:50%;border-radius:50%;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}
|
378
380
|
.conum[data-value] *{color:#fff!important}
|
379
381
|
.conum[data-value]+b{display:none}
|
380
382
|
.conum[data-value]::after{content:attr(data-value)}
|
@@ -401,6 +403,7 @@ thead{display:table-header-group}
|
|
401
403
|
svg{max-width:100%}
|
402
404
|
p,blockquote,dt,td.content{font-size:1em;orphans:3;widows:3}
|
403
405
|
h2,h3,#toctitle,.sidebarblock>.content>.title{page-break-after:avoid}
|
406
|
+
#header,#content,#footnotes,#footer{max-width:none}
|
404
407
|
#toc,.sidebarblock,.exampleblock>.content{background:none!important}
|
405
408
|
#toc{border-bottom:1px solid #dddddf!important;padding-bottom:0!important}
|
406
409
|
body.book #header{text-align:center}
|