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

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