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

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