Blame SOURCES/0001-Use-kramdown-in-man-pages.patch

d3a94c
From faab1d055d8c033b5975727a4de7431d548b7db2 Mon Sep 17 00:00:00 2001
d3a94c
From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= <olysonek@redhat.com>
d3a94c
Date: Tue, 26 Jun 2018 15:07:43 +0200
d3a94c
Subject: [PATCH] Use kramdown in man pages
d3a94c
d3a94c
---
d3a94c
 Makefile.am          |  20 +++----
d3a94c
 README.md            |   4 +-
d3a94c
 configure.ac         |   8 ---
d3a94c
 src/espeak-ng.1.md   | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++
d3a94c
 src/espeak-ng.1.ronn | 162 --------------------------------------------------
d3a94c
 src/speak-ng.1.md    | 159 +++++++++++++++++++++++++++++++++++++++++++++++++
d3a94c
 src/speak-ng.1.ronn  | 158 -------------------------------------------------
d3a94c
 7 files changed, 331 insertions(+), 343 deletions(-)
d3a94c
 create mode 100644 src/espeak-ng.1.md
d3a94c
 delete mode 100644 src/espeak-ng.1.ronn
d3a94c
 create mode 100644 src/speak-ng.1.md
d3a94c
 delete mode 100644 src/speak-ng.1.ronn
d3a94c
d3a94c
diff --git a/Makefile.am b/Makefile.am
d3a94c
index 0ae0c326..cf1d833e 100644
d3a94c
--- a/Makefile.am
d3a94c
+++ b/Makefile.am
d3a94c
@@ -76,14 +76,14 @@ distclean-local:
d3a94c
 
d3a94c
 ##### custom rules:
d3a94c
 
d3a94c
-SUFFIXES=.html .md .ronn
d3a94c
+SUFFIXES=.html .md
d3a94c
 
d3a94c
 .md.html: _layouts/webpage.html
d3a94c
-	cat $< | sed -e 's/\.md)/.html)/g' -e 's/\.ronn/.html/g' | \
d3a94c
+	cat $< | sed -e 's/\.md)/.html)/g' | \
d3a94c
 		kramdown --template _layouts/webpage.html > $@
d3a94c
 
d3a94c
-.ronn.html:
d3a94c
-	ronn --html $<
d3a94c
+.md.html:
d3a94c
+	kramdown --template _layouts/webpage.html -i kramdown -o html $< > $@
d3a94c
 
d3a94c
 ##### vim:
d3a94c
 
d3a94c
@@ -101,11 +101,11 @@ EXTRA_DIST += $(vim_addons_syntax_DATA)
d3a94c
 
d3a94c
 ##### documentation:
d3a94c
 
d3a94c
-src/espeak-ng.1: src/espeak-ng.1.ronn
d3a94c
-	ronn --roff $<
d3a94c
+src/espeak-ng.1: src/espeak-ng.1.md
d3a94c
+	kramdown -i kramdown -o man $< > $@
d3a94c
 
d3a94c
-src/speak-ng.1: src/speak-ng.1.ronn
d3a94c
-	ronn --roff $<
d3a94c
+src/speak-ng.1: src/speak-ng.1.md
d3a94c
+	kramdown -i kramdown -o man $< > $@
d3a94c
 
d3a94c
 docs:	docs/index.html \
d3a94c
 	docs/add_language.html \
d3a94c
@@ -195,9 +195,7 @@ endif
d3a94c
 
d3a94c
 bin_PROGRAMS += src/speak-ng
d3a94c
 
d3a94c
-if HAVE_RONN
d3a94c
 man1_MANS += src/speak-ng.1
d3a94c
-endif
d3a94c
 
d3a94c
 src_speak_ng_LDADD   = src/libespeak-ng.la
d3a94c
 src_speak_ng_LDFLAGS = -static -lm ${PCAUDIOLIB_LIBS}
d3a94c
@@ -206,9 +204,7 @@ src_speak_ng_SOURCES = src/speak-ng.c
d3a94c
 
d3a94c
 bin_PROGRAMS += src/espeak-ng
d3a94c
 
d3a94c
-if HAVE_RONN
d3a94c
 man1_MANS += src/espeak-ng.1
d3a94c
-endif
d3a94c
 
d3a94c
 src_espeak_ng_LDADD   = src/libespeak-ng.la ${PCAUDIOLIB_LIBS}
d3a94c
 src_espeak_ng_SOURCES = src/espeak-ng.c
d3a94c
diff --git a/README.md b/README.md
d3a94c
index dac80c21..935fe977 100644
d3a94c
--- a/README.md
d3a94c
+++ b/README.md
d3a94c
@@ -108,7 +108,6 @@ Optionally, you need:
d3a94c
     to enable audio output;
d3a94c
 3.  the [sonic](https://github.com/espeak-ng/sonic) development library to
d3a94c
     enable sonic audio speed up support;
d3a94c
-4.  the `ronn` man-page markdown processor to build the man pages.
d3a94c
 
d3a94c
 To build the documentation, you need:
d3a94c
 
d3a94c
@@ -122,7 +121,6 @@ be installed using the following commands:
d3a94c
 | autotools     | `sudo apt-get install make autoconf automake libtool pkg-config` |
d3a94c
 | c99 compiler  | `sudo apt-get install gcc`                                       |
d3a94c
 | sonic         | `sudo apt-get install libsonic-dev`                              |
d3a94c
-| ronn          | `sudo apt-get install ruby-ronn`                                 |
d3a94c
 | kramdown      | `sudo apt-get install ruby-kramdown`                             |
d3a94c
 
d3a94c
 ### Building
d3a94c
@@ -326,7 +324,7 @@ To enable eSpeak, you need to:
d3a94c
 The [main documentation](docs/index.md) for eSpeak NG provides more information
d3a94c
 on using and creating voices/languages for eSpeak NG.
d3a94c
 
d3a94c
-The [espeak-ng](src/espeak-ng.1.ronn) and [speak-ng](src/speak-ng.1.ronn)
d3a94c
+The [espeak-ng](src/espeak-ng.1.md) and [speak-ng](src/speak-ng.1.md)
d3a94c
 command-line documentation provide a reference of the different command-line
d3a94c
 options available to these commands with example usage.
d3a94c
 
d3a94c
diff --git a/configure.ac b/configure.ac
d3a94c
index 33960c24..302f88f4 100644
d3a94c
--- a/configure.ac
d3a94c
+++ b/configure.ac
d3a94c
@@ -223,14 +223,6 @@ AM_CONDITIONAL(OPT_KLATT,  [test x"$have_klatt"  = xyes])
d3a94c
 AM_CONDITIONAL(OPT_MBROLA, [test x"$have_mbrola" = xyes])
d3a94c
 AM_CONDITIONAL(OPT_ASYNC,  [test x"$have_async"  = xyes])
d3a94c
 
d3a94c
-dnl ================================================================
d3a94c
-dnl ronn checks.
d3a94c
-dnl ================================================================
d3a94c
-
d3a94c
-AC_CHECK_PROG(RONN, ronn, ronn, no)
d3a94c
-
d3a94c
-AM_CONDITIONAL(HAVE_RONN, [test ! x"$RONN" = xno])
d3a94c
-
d3a94c
 dnl ================================================================
d3a94c
 dnl Extended dictionary checks.
d3a94c
 dnl ================================================================
d3a94c
diff --git a/src/espeak-ng.1.md b/src/espeak-ng.1.md
d3a94c
new file mode 100644
d3a94c
index 00000000..89fa2c01
d3a94c
--- /dev/null
d3a94c
+++ b/src/espeak-ng.1.md
d3a94c
@@ -0,0 +1,163 @@
d3a94c
+# espeak-ng(1) - A multi-lingual software speech synthesizer.
d3a94c
+{: data-date="July 2018"}
d3a94c
+
d3a94c
+## SYNOPSIS
d3a94c
+
d3a94c
+__espeak-ng__ \[*options*\] \[*words*\]
d3a94c
+
d3a94c
+## DESCRIPTION
d3a94c
+
d3a94c
+__espeak-ng__ is a software speech synthesizer for English, and some other
d3a94c
+languages.
d3a94c
+
d3a94c
+## OPTIONS
d3a94c
+
d3a94c
+`-h`, `--help`
d3a94c
+:   Show summary of options.
d3a94c
+
d3a94c
+`--version`
d3a94c
+:   Prints the espeak library version and the location of the espeak voice
d3a94c
+    data.
d3a94c
+
d3a94c
+`-f <text file>`
d3a94c
+:   Text file to speak.
d3a94c
+
d3a94c
+`--stdin`
d3a94c
+:   Read text input from stdin instead of a file.
d3a94c
+
d3a94c
+If neither `-f` nor `--stdin` are provided, `<words>` are spoken, or if no
d3a94c
+words are provided then text is spoken from stdin a line at a time.
d3a94c
+
d3a94c
+`-d <device>`
d3a94c
+:   Use the specified device to speak the audio on. If not specified, the
d3a94c
+    default audio device is used.
d3a94c
+
d3a94c
+`-q`
d3a94c
+:   Quiet, don't produce any speech (may be useful with `-x`).
d3a94c
+
d3a94c
+`-a <integer>`
d3a94c
+:   Amplitude, 0 to 200, default is 100.
d3a94c
+
d3a94c
+`-g <integer>`
d3a94c
+:   Word gap. Pause between words, units of 10ms at the default speed.
d3a94c
+
d3a94c
+`-k <integer>`
d3a94c
+:   Indicate capital letters with: 1=sound, 2=the word \"capitals\", higher
d3a94c
+    values = a pitch increase (try `-k20`).
d3a94c
+
d3a94c
+`-l <integer>`
d3a94c
+:   Line length. If not zero (which is the default), consider lines less than
d3a94c
+    this length as end-of-clause.
d3a94c
+
d3a94c
+`-p <integer>`
d3a94c
+:   Pitch adjustment, 0 to 99, default is 50.
d3a94c
+
d3a94c
+`-s <integer>`
d3a94c
+:   Speed in words per minute, default is 160.
d3a94c
+
d3a94c
+`-v <voice name>`
d3a94c
+:   Use voice file of this name from espeak-ng-data/voices. A variant can be
d3a94c
+    specified using _voice_+_variant_, such as af+m3.
d3a94c
+
d3a94c
+`-w <wave file name>`
d3a94c
+:   Write output to this WAV file, rather than speaking it directly.
d3a94c
+
d3a94c
+`--split=<minutes>`
d3a94c
+:   Used with `-w` to split the audio output into \<minutes\> recorded
d3a94c
+    chunks.
d3a94c
+
d3a94c
+`-b`
d3a94c
+:   Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
d3a94c
+
d3a94c
+`-m`
d3a94c
+:   Indicates that the text contains SSML (Speech Synthesis Markup Language)
d3a94c
+    tags or other XML tags. Those SSML tags which are supported are
d3a94c
+    interpreted. Other tags, including HTML, are ignored, except that some HTML
d3a94c
+    tags such as \<hr\> \<h2\> and \<li\> ensure a break in the speech.
d3a94c
+
d3a94c
+`-x`
d3a94c
+:   Write phoneme mnemonics to stdout.
d3a94c
+
d3a94c
+`-X`
d3a94c
+:   Write phonemes mnemonics and translation trace to stdout. If rules files
d3a94c
+    have been built with `--compile=debug`, line numbers will also be displayed.
d3a94c
+
d3a94c
+`-z`
d3a94c
+:   No final sentence pause at the end of the text.
d3a94c
+
d3a94c
+`--stdout`
d3a94c
+:   Write speech output to stdout.
d3a94c
+
d3a94c
+`--compile=voicename`
d3a94c
+:   Compile the pronunciation rules and dictionary in the current directory.
d3a94c
+    =\<voicename\> is optional and specifies which language is compiled.
d3a94c
+
d3a94c
+`--compile-debug=voicename`
d3a94c
+:   Compile the pronunciation rules and dictionary in the current directory as
d3a94c
+    above, but include line numbers, that get shown when `-X` is used.
d3a94c
+
d3a94c
+`--ipa`
d3a94c
+:   Write phonemes to stdout using International Phonetic Alphabet. `--ipa=1`
d3a94c
+    Use ties, `--ipa=2` Use ZWJ, `--ipa=3` Separate with _.
d3a94c
+
d3a94c
+`--tie=<character>`
d3a94c
+:   The character to use to join multi-letter phonemes in `-x` and `--ipa`
d3a94c
+    output.
d3a94c
+
d3a94c
+`--path=<path>`
d3a94c
+:   Specifies the directory containing the espeak-ng-data directory.
d3a94c
+
d3a94c
+`--pho`
d3a94c
+:   Write mbrola phoneme data (.pho) to stdout or to the file in `--phonout`.
d3a94c
+
d3a94c
+`--phonout=<filename>`
d3a94c
+:   Write output from `-x` `-X` commands and mbrola phoneme data to this file.
d3a94c
+
d3a94c
+`--punct="<characters>"`
d3a94c
+:   Speak the names of punctuation characters during speaking. If
d3a94c
+    =\<characters\> is omitted, all punctuation is spoken.
d3a94c
+
d3a94c
+`--sep=<character>`
d3a94c
+:   The character to separate phonemes from the `-x` and `--ipa` output.
d3a94c
+
d3a94c
+`--voices[=<language code>]`
d3a94c
+:   Lists the available voices. If =\<language code\> is present then only
d3a94c
+    those voices which are suitable for that language are listed.
d3a94c
+
d3a94c
+`--voices=<directory>`
d3a94c
+:   Lists the voices in the specified subdirectory.
d3a94c
+
d3a94c
+## EXAMPLES
d3a94c
+
d3a94c
+`espeak-ng "This is a test"`
d3a94c
+:   Speak the sentence \"This is a test\" using the default English voice.
d3a94c
+
d3a94c
+`espeak-ng -f hello.txt`
d3a94c
+:   Speak the contents of hello.txt using the default English voice.
d3a94c
+
d3a94c
+`cat hello.txt | espeak-ng`
d3a94c
+:   Speak the contents of hello.txt using the default English voice.
d3a94c
+
d3a94c
+`espeak-ng -x hello`
d3a94c
+:   Speak the word \"hello\" using the default English voice, and print the
d3a94c
+    phonemes that were spoken.
d3a94c
+
d3a94c
+`espeak-ng -ven-us "[[h@'loU]]"`
d3a94c
+:   Speak the phonemes \"h@'loU\" using the American English voice.
d3a94c
+
d3a94c
+`espeak-ng --voices`
d3a94c
+:   List all voices supported by eSpeak.
d3a94c
+
d3a94c
+`espeak-ng --voices=en`
d3a94c
+:   List all voices that speak English (`en`).
d3a94c
+
d3a94c
+`espeak-ng --voices=mb`
d3a94c
+:   List all voices using the MBROLA voice synthesizer.
d3a94c
+
d3a94c
+## AUTHOR
d3a94c
+
d3a94c
+eSpeak NG is maintained by Reece H. Dunn <msclrhd@gmail.com>. It is based on
d3a94c
+eSpeak by Jonathan Duddington <jonsd@jsd.clara.co.uk>.
d3a94c
+
d3a94c
+This manual page is based on the eSpeak page written by Luke Yelavich
d3a94c
+<themuso@ubuntu.com> for the Ubuntu project.
d3a94c
diff --git a/src/espeak-ng.1.ronn b/src/espeak-ng.1.ronn
d3a94c
deleted file mode 100644
d3a94c
index 4fcd5e87..00000000
d3a94c
--- a/src/espeak-ng.1.ronn
d3a94c
+++ /dev/null
d3a94c
@@ -1,162 +0,0 @@
d3a94c
-# espeak-ng - A multi-lingual software speech synthesizer.
d3a94c
-
d3a94c
-## SYNOPSIS
d3a94c
-
d3a94c
-__espeak-ng__ [<options>] [<words>]
d3a94c
-
d3a94c
-## DESCRIPTION
d3a94c
-
d3a94c
-__espeak-ng__ is a software speech synthesizer for English, and some other
d3a94c
-languages.
d3a94c
-
d3a94c
-## OPTIONS
d3a94c
-
d3a94c
-  * `-h`, `--help`:
d3a94c
-    Show summary of options.
d3a94c
-
d3a94c
-  * `--version`:
d3a94c
-    Prints the espeak library version and the location of the espeak voice
d3a94c
-    data.
d3a94c
-
d3a94c
-  * `-f <text file>`:
d3a94c
-    Text file to speak.
d3a94c
-
d3a94c
-  * `--stdin`:
d3a94c
-    Read text input from stdin instead of a file.
d3a94c
-
d3a94c
-If neither -f nor --stdin are provided, <words> are spoken, or if no
d3a94c
-words are provided then text is spoken from stdin a line at a time.
d3a94c
-
d3a94c
-  * `-d <device>`:
d3a94c
-    Use the specified device to speak the audio on. If not specified, the
d3a94c
-    default audio device is used.
d3a94c
-
d3a94c
-  * `-q`:
d3a94c
-    Quiet, don't produce any speech (may be useful with -x).
d3a94c
-
d3a94c
-  * `-a <integer>`:
d3a94c
-    Amplitude, 0 to 200, default is 100.
d3a94c
-
d3a94c
-  * `-g <integer>`:
d3a94c
-    Word gap. Pause between words, units of 10ms at the default speed.
d3a94c
-
d3a94c
-  * `-k <integer>`:
d3a94c
-    Indicate capital letters with: 1=sound, 2=the word "capitals", higher
d3a94c
-    values = a pitch increase (try -k20).
d3a94c
-
d3a94c
-  * `-l <integer>`:
d3a94c
-    Line length. If not zero (which is the default), consider lines less than
d3a94c
-    this length as end-of-clause.
d3a94c
-
d3a94c
-  * `-p <integer>`:
d3a94c
-    Pitch adjustment, 0 to 99, default is 50.
d3a94c
-
d3a94c
-  * `-s <integer>`:
d3a94c
-    Speed in words per minute, default is 160.
d3a94c
-
d3a94c
-  * `-v <voice name>`:
d3a94c
-    Use voice file of this name from espeak-ng-data/voices. A variant can be
d3a94c
-    specified using <voice>+<variant>, such as af+m3.
d3a94c
-
d3a94c
-  * `-w <wave file name>`:
d3a94c
-    Write output to this WAV file, rather than speaking it directly.
d3a94c
-
d3a94c
-  * `--split=<minutes>`:
d3a94c
-    Used with `-w` to split the audio output into <minutes> recorded
d3a94c
-    chunks.
d3a94c
-
d3a94c
-  * `-b`:
d3a94c
-    Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
d3a94c
-
d3a94c
-  * `-m`:
d3a94c
-    Indicates that the text contains SSML (Speech Synthesis Markup Language)
d3a94c
-    tags or other XML tags. Those SSML tags which are supported are
d3a94c
-    interpreted. Other tags, including HTML, are ignored, except that some HTML
d3a94c
-    tags such as <hr> <h2> and <li> ensure a break in the
d3a94c
-    speech.
d3a94c
-
d3a94c
-  * `-x`:
d3a94c
-    Write phoneme mnemonics to stdout.
d3a94c
-
d3a94c
-  * `-X`:
d3a94c
-    Write phonemes mnemonics and translation trace to stdout. If rules files
d3a94c
-    have been built with --compile=debug, line numbers will also be displayed.
d3a94c
-
d3a94c
-  * `-z`:
d3a94c
-    No final sentence pause at the end of the text.
d3a94c
-
d3a94c
-  * `--stdout`:
d3a94c
-    Write speech output to stdout.
d3a94c
-
d3a94c
-  * `--compile=voicename`:
d3a94c
-    Compile the pronunciation rules and dictionary in the current directory.
d3a94c
-    =<voicename< is optional and specifies which language is compiled.
d3a94c
-
d3a94c
-  * `--compile-debug=voicename`:
d3a94c
-    Compile the pronunciation rules and dictionary in the current directory as
d3a94c
-    above, but include line numbers, that get shown when -X is used.
d3a94c
-
d3a94c
-  * `--ipa`:
d3a94c
-    Write phonemes to stdout using International Phonetic Alphabet. --ipa=1 Use
d3a94c
-    ties, --ipa=2 Use ZWJ, --ipa=3 Separate with _.
d3a94c
-
d3a94c
-  * `--tie=<character>`:
d3a94c
-    The character to use to join multi-letter phonemes in -x and --ipa output.
d3a94c
-
d3a94c
-  * `--path=<path>`:
d3a94c
-    Specifies the directory containing the espeak-ng-data directory.
d3a94c
-
d3a94c
-  * `--pho`:
d3a94c
-    Write mbrola phoneme data (.pho) to stdout or to the file in --phonout.
d3a94c
-
d3a94c
-  * `--phonout=<filename>`:
d3a94c
-    Write output from -x -X commands and mbrola phoneme data to this file.
d3a94c
-
d3a94c
-  * `--punct="<characters>"`:
d3a94c
-    Speak the names of punctuation characters during speaking. If
d3a94c
-    =<characters> is omitted, all punctuation is spoken.
d3a94c
-
d3a94c
-  * `--sep=<character>`:
d3a94c
-    The character to separate phonemes from the -x and --ipa output.
d3a94c
-
d3a94c
-  * `--voices[=<language code>]`:
d3a94c
-    Lists the available voices. If =<language code> is present then only
d3a94c
-    those voices which are suitable for that language are listed.
d3a94c
-
d3a94c
-  * `--voices=<directory>`:
d3a94c
-    Lists the voices in the specified subdirectory.
d3a94c
-
d3a94c
-## EXAMPLES
d3a94c
-
d3a94c
-  * `espeak-ng "This is a test"`:
d3a94c
-    Speak the sentence "This is a test" using the default English voice.
d3a94c
-
d3a94c
-  * `espeak-ng -f hello.txt`:
d3a94c
-    Speak the contents of hello.txt using the default English voice.
d3a94c
-
d3a94c
-  * `cat hello.txt | espeak-ng`:
d3a94c
-    Speak the contents of hello.txt using the default English voice.
d3a94c
-
d3a94c
-  * `espeak-ng -x hello`:
d3a94c
-    Speak the word "hello" using the default English voice, and print the
d3a94c
-    phonemes that were spoken.
d3a94c
-
d3a94c
-  * `espeak-ng -ven-us "[[h@'loU]]"`:
d3a94c
-    Speak the phonemes "h@'loU" using the American English voice.
d3a94c
-
d3a94c
-  * `espeak-ng --voices`:
d3a94c
-    List all voices supported by eSpeak.
d3a94c
-
d3a94c
-  * `espeak-ng --voices=en`:
d3a94c
-    List all voices that speak English (`en`).
d3a94c
-
d3a94c
-  * `espeak-ng --voices=mb`:
d3a94c
-    List all voices using the MBROLA voice synthesizer.
d3a94c
-
d3a94c
-## AUTHOR
d3a94c
-
d3a94c
-eSpeak NG is maintained by Reece H. Dunn <msclrhd@gmail.com>. It is based on
d3a94c
-eSpeak by Jonathan Duddington <jonsd@jsd.clara.co.uk>.
d3a94c
-
d3a94c
-This manual page is based on the eSpeak page written by Luke Yelavich
d3a94c
-<themuso@ubuntu.com> for the Ubuntu project.
d3a94c
diff --git a/src/speak-ng.1.md b/src/speak-ng.1.md
d3a94c
new file mode 100644
d3a94c
index 00000000..b05b9ad4
d3a94c
--- /dev/null
d3a94c
+++ b/src/speak-ng.1.md
d3a94c
@@ -0,0 +1,159 @@
d3a94c
+# speak-ng(1) - A multi-lingual software speech synthesizer.
d3a94c
+{: data-date="July 2018"}
d3a94c
+
d3a94c
+## SYNOPSIS
d3a94c
+
d3a94c
+__speak-ng__ \[*options*\] \[*words*\]
d3a94c
+
d3a94c
+## DESCRIPTION
d3a94c
+
d3a94c
+__speak-ng__ is a software speech synthesizer for English, and some other
d3a94c
+languages.
d3a94c
+
d3a94c
+## OPTIONS
d3a94c
+
d3a94c
+`-h`, `--help`
d3a94c
+:   Show summary of options.
d3a94c
+
d3a94c
+`--version`
d3a94c
+:   Prints the espeak library version and the location of the espeak voice
d3a94c
+    data.
d3a94c
+
d3a94c
+`-f <text file>`
d3a94c
+:   Text file to speak.
d3a94c
+
d3a94c
+`--stdin`
d3a94c
+:   Read text input from stdin instead of a file.
d3a94c
+
d3a94c
+If neither `-f` nor `--stdin` are provided, `<words>` are spoken, or if no
d3a94c
+words are provided then text is spoken from stdin a line at a time.
d3a94c
+
d3a94c
+`-q`
d3a94c
+:   Quiet, don't produce any speech (may be useful with `-x`).
d3a94c
+
d3a94c
+`-a <integer>`
d3a94c
+:   Amplitude, 0 to 200, default is 100.
d3a94c
+
d3a94c
+`-g <integer>`
d3a94c
+:   Word gap. Pause between words, units of 10ms at the default speed.
d3a94c
+
d3a94c
+`-k <integer>`
d3a94c
+:   Indicate capital letters with: 1=sound, 2=the word \"capitals\", higher
d3a94c
+    values = a pitch increase (try `-k20`).
d3a94c
+
d3a94c
+`-l <integer>`
d3a94c
+:   Line length. If not zero (which is the default), consider lines less than
d3a94c
+    this length as end-of-clause.
d3a94c
+
d3a94c
+`-p <integer>`
d3a94c
+:   Pitch adjustment, 0 to 99, default is 50.
d3a94c
+
d3a94c
+`-s <integer>`
d3a94c
+:   Speed in words per minute, default is 160.
d3a94c
+
d3a94c
+`-v <voice name>`
d3a94c
+:   Use voice file of this name from espeak-ng-data/voices. A variant can be
d3a94c
+    specified using _voice_+_variant_, such as af+m3.
d3a94c
+
d3a94c
+`-w <wave file name>`
d3a94c
+:   Write output to this WAV file, rather than speaking it directly.
d3a94c
+
d3a94c
+`--split=<minutes>`
d3a94c
+:   Used with `-w` to split the audio output into \<minutes\> recorded
d3a94c
+    chunks.
d3a94c
+
d3a94c
+`-b`
d3a94c
+:   Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
d3a94c
+
d3a94c
+`-m`
d3a94c
+:   Indicates that the text contains SSML (Speech Synthesis Markup Language)
d3a94c
+    tags or other XML tags. Those SSML tags which are supported are
d3a94c
+    interpreted. Other tags, including HTML, are ignored, except that some HTML
d3a94c
+    tags such as \<hr\> \<h2\> and \<li\> ensure a break in the speech.
d3a94c
+
d3a94c
+`-x`
d3a94c
+:   Write phoneme mnemonics to stdout.
d3a94c
+
d3a94c
+`-X`
d3a94c
+:   Write phonemes mnemonics and translation trace to stdout. If rules files
d3a94c
+    have been built with `--compile=debug`, line numbers will also be displayed.
d3a94c
+
d3a94c
+`-z`
d3a94c
+:   No final sentence pause at the end of the text.
d3a94c
+
d3a94c
+`--stdout`
d3a94c
+:   Write speech output to stdout.
d3a94c
+
d3a94c
+`--compile=voicename`
d3a94c
+:   Compile the pronunciation rules and dictionary in the current directory.
d3a94c
+    =\<voicename\> is optional and specifies which language is compiled.
d3a94c
+
d3a94c
+`--compile-debug=voicename`
d3a94c
+:   Compile the pronunciation rules and dictionary in the current directory as
d3a94c
+    above, but include line numbers, that get shown when `-X` is used.
d3a94c
+
d3a94c
+`--ipa`
d3a94c
+:   Write phonemes to stdout using International Phonetic Alphabet. `--ipa=1`
d3a94c
+    Use ties, `--ipa=2` Use ZWJ, `--ipa=3` Separate with _.
d3a94c
+
d3a94c
+`--tie=<character>`
d3a94c
+:   The character to use to join multi-letter phonemes in `-x` and `--ipa`
d3a94c
+    output.
d3a94c
+
d3a94c
+`--path=<path>`
d3a94c
+:   Specifies the directory containing the espeak-ng-data directory.
d3a94c
+
d3a94c
+`--pho`
d3a94c
+:   Write mbrola phoneme data (.pho) to stdout or to the file in `--phonout`.
d3a94c
+
d3a94c
+`--phonout=<filename>`
d3a94c
+:   Write output from `-x` `-X` commands and mbrola phoneme data to this file.
d3a94c
+
d3a94c
+`--punct="<characters>"`
d3a94c
+:   Speak the names of punctuation characters during speaking. If
d3a94c
+    =\<characters\> is omitted, all punctuation is spoken.
d3a94c
+
d3a94c
+`--sep=<character>`
d3a94c
+:   The character to separate phonemes from the `-x` and `--ipa` output.
d3a94c
+
d3a94c
+`--voices[=<language code>]`
d3a94c
+:   Lists the available voices. If =\<language code\> is present then only
d3a94c
+    those voices which are suitable for that language are listed.
d3a94c
+
d3a94c
+`--voices=<directory>`
d3a94c
+:   Lists the voices in the specified subdirectory.
d3a94c
+
d3a94c
+## EXAMPLES
d3a94c
+
d3a94c
+`speak-ng "This is a test"`
d3a94c
+:   Speak the sentence \"This is a test\" using the default English voice.
d3a94c
+
d3a94c
+`speak-ng -f hello.txt`
d3a94c
+:   Speak the contents of hello.txt using the default English voice.
d3a94c
+
d3a94c
+`cat hello.txt | speak-ng`
d3a94c
+:   Speak the contents of hello.txt using the default English voice.
d3a94c
+
d3a94c
+`speak-ng -x hello`
d3a94c
+:   Speak the word \"hello\" using the default English voice, and print the
d3a94c
+    phonemes that were spoken.
d3a94c
+
d3a94c
+`speak-ng -ven-us "[[h@'loU]]"`
d3a94c
+:   Speak the phonemes \"h@'loU\" using the American English voice.
d3a94c
+
d3a94c
+`speak-ng --voices`
d3a94c
+:   List all voices supported by eSpeak.
d3a94c
+
d3a94c
+`speak-ng --voices=en`
d3a94c
+:   List all voices that speak English (`en`).
d3a94c
+
d3a94c
+`speak-ng --voices=mb`
d3a94c
+:   List all voices using the MBROLA voice synthesizer.
d3a94c
+
d3a94c
+## AUTHOR
d3a94c
+
d3a94c
+eSpeak NG is maintained by Reece H. Dunn <msclrhd@gmail.com>. It is based on
d3a94c
+eSpeak by Jonathan Duddington <jonsd@jsd.clara.co.uk>.
d3a94c
+
d3a94c
+This manual page is based on the eSpeak page written by Luke Yelavich
d3a94c
+<themuso@ubuntu.com> for the Ubuntu project.
d3a94c
diff --git a/src/speak-ng.1.ronn b/src/speak-ng.1.ronn
d3a94c
deleted file mode 100644
d3a94c
index 25c607f2..00000000
d3a94c
--- a/src/speak-ng.1.ronn
d3a94c
+++ /dev/null
d3a94c
@@ -1,158 +0,0 @@
d3a94c
-# speak-ng - A multi-lingual software speech synthesizer.
d3a94c
-
d3a94c
-## SYNOPSIS
d3a94c
-
d3a94c
-__speak-ng__ [<options>] [<<words>>]
d3a94c
-
d3a94c
-## DESCRIPTION
d3a94c
-
d3a94c
-__speak-ng__ is a software speech synthesizer for English, and some other
d3a94c
-languages.
d3a94c
-
d3a94c
-## OPTIONS
d3a94c
-
d3a94c
-  * `-h`, `--help`:
d3a94c
-    Show summary of options.
d3a94c
-
d3a94c
-  * `--version`:
d3a94c
-    Prints the espeak library version and the location of the espeak voice
d3a94c
-    data.
d3a94c
-
d3a94c
-  * `-f <text file>`:
d3a94c
-    Text file to speak.
d3a94c
-
d3a94c
-  * `--stdin`:
d3a94c
-    Read text input from stdin instead of a file.
d3a94c
-
d3a94c
-If neither -f nor --stdin are provided, <words> are spoken, or if no
d3a94c
-words are provided then text is spoken from stdin a line at a time.
d3a94c
-
d3a94c
-  * `-q`:
d3a94c
-    Quiet, don't produce any speech (may be useful with -x).
d3a94c
-
d3a94c
-  * `-a <integer>`:
d3a94c
-    Amplitude, 0 to 200, default is 100.
d3a94c
-
d3a94c
-  * `-g <integer>`:
d3a94c
-    Word gap. Pause between words, units of 10ms at the default speed.
d3a94c
-
d3a94c
-  * `-k <integer>`:
d3a94c
-    Indicate capital letters with: 1=sound, 2=the word "capitals", higher
d3a94c
-    values = a pitch increase (try -k20).
d3a94c
-
d3a94c
-  * `-l <integer>`:
d3a94c
-    Line length. If not zero (which is the default), consider lines less than
d3a94c
-    this length as end-of-clause.
d3a94c
-
d3a94c
-  * `-p <integer>`:
d3a94c
-    Pitch adjustment, 0 to 99, default is 50.
d3a94c
-
d3a94c
-  * `-s <integer>`:
d3a94c
-    Speed in words per minute, default is 160.
d3a94c
-
d3a94c
-  * `-v <voice name>`:
d3a94c
-    Use voice file of this name from espeak-ng-data/voices. A variant can be
d3a94c
-    specified using <voice>+<variant>, such as af+m3.
d3a94c
-
d3a94c
-  * `-w <wave file name>`:
d3a94c
-    Write output to this WAV file, rather than speaking it directly.
d3a94c
-
d3a94c
-  * `--split=<minutes>`:
d3a94c
-    Used with `-w` to split the audio output into <minutes> recorded
d3a94c
-    chunks.
d3a94c
-
d3a94c
-  * `-b`:
d3a94c
-    Input text encoding, 1=UTF8, 2=8 bit, 4=16 bit.
d3a94c
-
d3a94c
-  * `-m`:
d3a94c
-    Indicates that the text contains SSML (Speech Synthesis Markup Language)
d3a94c
-    tags or other XML tags. Those SSML tags which are supported are
d3a94c
-    interpreted. Other tags, including HTML, are ignored, except that some HTML
d3a94c
-    tags such as <hr> <h2> and <li> ensure a break in the
d3a94c
-    speech.
d3a94c
-
d3a94c
-  * `-x`:
d3a94c
-    Write phoneme mnemonics to stdout.
d3a94c
-
d3a94c
-  * `-X`:
d3a94c
-    Write phonemes mnemonics and translation trace to stdout. If rules files
d3a94c
-    have been built with --compile=debug, line numbers will also be displayed.
d3a94c
-
d3a94c
-  * `-z`:
d3a94c
-    No final sentence pause at the end of the text.
d3a94c
-
d3a94c
-  * `--stdout`:
d3a94c
-    Write speech output to stdout.
d3a94c
-
d3a94c
-  * `--compile=voicename`:
d3a94c
-    Compile the pronunciation rules and dictionary in the current directory.
d3a94c
-    =<voicename< is optional and specifies which language is compiled.
d3a94c
-
d3a94c
-  * `--compile-debug=voicename`:
d3a94c
-    Compile the pronunciation rules and dictionary in the current directory as
d3a94c
-    above, but include line numbers, that get shown when -X is used.
d3a94c
-
d3a94c
-  * `--ipa`:
d3a94c
-    Write phonemes to stdout using International Phonetic Alphabet. --ipa=1 Use
d3a94c
-    ties, --ipa=2 Use ZWJ, --ipa=3 Separate with _.
d3a94c
-
d3a94c
-  * `--tie=<character>`:
d3a94c
-    The character to use to join multi-letter phonemes in -x and --ipa output.
d3a94c
-
d3a94c
-  * `--path=<path>`:
d3a94c
-    Specifies the directory containing the espeak-ng-data directory.
d3a94c
-
d3a94c
-  * `--pho`:
d3a94c
-    Write mbrola phoneme data (.pho) to stdout or to the file in --phonout.
d3a94c
-
d3a94c
-  * `--phonout=<filename>`:
d3a94c
-    Write output from -x -X commands and mbrola phoneme data to this file.
d3a94c
-
d3a94c
-  * `--punct="<characters>"`:
d3a94c
-    Speak the names of punctuation characters during speaking. If
d3a94c
-    =<characters> is omitted, all punctuation is spoken.
d3a94c
-
d3a94c
-  * `--sep=<character>`:
d3a94c
-    The character to separate phonemes from the -x and --ipa output.
d3a94c
-
d3a94c
-  * `--voices[=<language code>]`:
d3a94c
-    Lists the available voices. If =<language code> is present then only
d3a94c
-    those voices which are suitable for that language are listed.
d3a94c
-
d3a94c
-  * `--voices=<directory>`:
d3a94c
-    Lists the voices in the specified subdirectory.
d3a94c
-
d3a94c
-## EXAMPLES
d3a94c
-
d3a94c
-  * `speak-ng "This is a test"`:
d3a94c
-    Speak the sentence "This is a test" using the default English voice.
d3a94c
-
d3a94c
-  * `speak-ng -f hello.txt`:
d3a94c
-    Speak the contents of hello.txt using the default English voice.
d3a94c
-
d3a94c
-  * `cat hello.txt | speak-ng`:
d3a94c
-    Speak the contents of hello.txt using the default English voice.
d3a94c
-
d3a94c
-  * `speak-ng -x hello`:
d3a94c
-    Speak the word "hello" using the default English voice, and print the
d3a94c
-    phonemes that were spoken.
d3a94c
-
d3a94c
-  * `speak-ng -ven-us "[[h@'loU]]"`:
d3a94c
-    Speak the phonemes "h@'loU" using the American English voice.
d3a94c
-
d3a94c
-  * `speak-ng --voices`:
d3a94c
-    List all voices supported by eSpeak.
d3a94c
-
d3a94c
-  * `speak-ng --voices=en`:
d3a94c
-    List all voices that speak English (`en`).
d3a94c
-
d3a94c
-  * `speak-ng --voices=mb`:
d3a94c
-    List all voices using the MBROLA voice synthesizer.
d3a94c
-
d3a94c
-## AUTHOR
d3a94c
-
d3a94c
-eSpeak NG is maintained by Reece H. Dunn <msclrhd@gmail.com>. It is based on
d3a94c
-eSpeak by Jonathan Duddington <jonsd@jsd.clara.co.uk>.
d3a94c
-
d3a94c
-This manual page is based on the eSpeak page written by Luke Yelavich
d3a94c
-<themuso@ubuntu.com> for the Ubuntu project.
d3a94c
-- 
d3a94c
2.14.4
d3a94c