Skip to content

Commit c5ca3b6

Browse files
committed
update
1 parent a552961 commit c5ca3b6

File tree

5 files changed

+47
-4
lines changed

5 files changed

+47
-4
lines changed

autobuild.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
port=8000
44
host=0.0.0.0
55

6-
python -m sphinx_autobuild ./source ./build -b html -H $host -p $port
6+
python -m sphinx_autobuild ./source ./build -b html --host $host --port $port

source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
extensions = [
3535
'sphinxcontrib.bibtex',
3636
'sphinx.ext.mathjax',
37-
'sphinx_sitemap'
37+
'sphinx_sitemap',
38+
'sphinxcontrib.blockdiag'
3839
]
3940

4041
# Add any paths that contain templates here, relative to this directory.

source/cvt.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
CVT
22
===
33

4+
.. blockdiag::
5+
6+
diagram {
7+
default_shape = roundedbox
8+
span_width = 32
9+
span_height = 20
10+
default_fontsize = 11
11+
edge_layout = normal
12+
orientation = landscape
13+
14+
C [label = "c", color = "#f55f36", shape = circle, textcolor = white]
15+
V [label = "v", color = "#15d649", shape = circle, textcolor = white]
16+
T [label = "t", color = "#365cf5", shape = circle, textcolor = white]
17+
S [label = "Syllable", color = "#e0e0e0"]
18+
19+
C, V, T -> S
20+
}
21+
422
The mental model of RPA is with understanding the so-called ``CVT`` (Consonant, Vowel, Tone) composition of a ``syllable``. For all intents and purposes, a syllable is simply a sound. Hmong is a language, like Mandarin, that is largely mono-syllabic; meaning, one sound is one word. Of course, there are multi-syllable words in Hmong too, but, these words themselves are composed of the elementary mono-syllables. After you learn the mono-syllables, this achievement paves the way to learning compound words in Hmong.
523

624
Back to ``CVT``. Simply stated, a ``consonant`` is the beggining of a word, a ``vowel`` is the middle of a word and a ``tone`` is the ending of a word. For more technical articles of these concepts, see the following `constant <https://en.wikipedia.org/wiki/Consonant>`_, `vowel <https://en.wikipedia.org/wiki/Vowel>`_ and `tone <https://en.wikipedia.org/wiki/Tone_(linguistics)>`_ articles. In RPA, there are only so many consonants, vowels and tones. In fact, there are

source/index.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,24 @@ Romanized Popular Alphabet, A Primer
2525
Preface
2626
=======
2727

28+
.. blockdiag::
29+
30+
diagram {
31+
default_shape = roundedbox
32+
span_width = 32
33+
span_height = 20
34+
default_fontsize = 11
35+
edge_layout = normal
36+
orientation = landscape
37+
38+
C [label = "c", color = "#f55f36", shape = circle, textcolor = white]
39+
V [label = "v", color = "#15d649", shape = circle, textcolor = white]
40+
T [label = "t", color = "#365cf5", shape = circle, textcolor = white]
41+
S [label = "Syllable", color = "#e0e0e0"]
42+
43+
C, V, T -> S
44+
}
45+
2846
This book is a tutorial for learning `Romanized Popular Alphabet <https://en.wikipedia.org/wiki/Romanized_Popular_Alphabet>`_ ``RPA``. RPA is a writing system, based on Latin alphabets, developed for writing the Hmong language in the early 1950's. The creators of RPA were Christian missionaries Father Yves Bertrais, Dr. Linwood Barney and Dr. William Smalley. Father Bertrais developed and taught RPA in the ``Guars Mountains`` or ``Roob Nyuj Qus``, in the `Xiangkhouang Province <https://en.wikipedia.org/wiki/Xiangkhouang_Province>`_ within the `Kingdom of Laos <https://en.wikipedia.org/wiki/Kingdom_of_Laos>`_. The intended audience of this book are English speakers who want to be literate in Hmong using the RPA writing system. The RPA writing system is called ``Ntawv Las Tees`` (Latin Script) in Hmong.
2947

3048
.. warning::
@@ -118,6 +136,12 @@ Author
118136

119137
Jee Vang, Ph.D.
120138

139+
- |Patreon_Link|
140+
141+
.. |Patreon_Link| raw:: html
142+
143+
<a href="https://www.patreon.com/vangj" target="_blank">Patreon</a>
144+
121145
Logo Design
122146
-----------
123147

source/viz.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Here's a 3D visualization of the CVT space. Hold the ``shift`` key while pressin
55

66
.. raw:: html
77

8-
<div>
8+
<div style="margin: 10px;">
99
<button id="viz-btn">Load</button>
1010
<span id="viz-msg" style="color:red;visibility:hidden;">loading...</span>
1111
</div>
1212

13-
<div id="viz-canvas"></div>
13+
<div id="viz-canvas" style="margin: 10px;"></div>

0 commit comments

Comments
 (0)