Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3397895pxj; Tue, 1 Jun 2021 04:30:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyg288aIKVACSJ8UH1ZdlGBcfzG2veAFdQHfj2fHwqH21lCGhSA0IwuK+fihsqqgysVs9uG X-Received: by 2002:a17:906:158c:: with SMTP id k12mr28459371ejd.274.1622547038728; Tue, 01 Jun 2021 04:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622547038; cv=none; d=google.com; s=arc-20160816; b=MLgRdn43hP5Ri9O9h5inaDXRd8KrlcpesVb60P5O7n5Ff9MFRF5i2Hhqm2eO+V0hK6 jVqAX9rJWIepkDAipmm9LX2D34fk+dxeldTaOmeoll6mGfEsNlAp4VWnzxsoETsxOa4p EvEwV0aiKcwRjDxn3Gmg319QByoWvO6mOf7rcngQRU9JIqcqHE1SUjz1PccJGzdCf2I+ EiTfXl1tK0tS89QQZnokxeNPR8nOmm1vqreBPlOzC6sSpE5fwB0Zh5Hj7YgpUivNeoWh VYbckC6OCGSpSTb0oprkfvEWd+dDJPhj29D/AZWZ0HKs/nApnUlSPIUgUZTz9O4eN4om jaew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :organization:in-reply-to:subject:cc:to:from:ironport-sdr :ironport-sdr; bh=wiM9dEDyzAb23sVDQ6y7LpaQFqudaSa1D/mIYGZlslA=; b=UgYzZM31NhgwRp+zVXh9ZA2G2iWkh1V7IetmlNElzkngeL+ir94Cb+ApP8I3ZwhVOV 5FSDH4HCXjyy4D7o31MO1U6qvbXLD+/kZYDpZ2xD51g3Zkmc7eJH4YFsRWPck+uamM+u X78unuGWpjhFeswPVL+S8Hfknq47TN6TJMk+co5ejomjpsx8q07+8F53ktTA5BISx9rV 5yOHg/YhPgyRYuuiBCxMTuYLK0if+EGZA7BTuZxAxyVEd8LoZtsF6edAta7tLeeRpYv1 WG7dBnEZ0m8ShQE6X/fx7Do/BJxhdmppXxn88UDjwOAXNLCJwyo1sqj+zj2Pcan8r3K0 ogjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc31si11148488ejc.598.2021.06.01.04.30.15; Tue, 01 Jun 2021 04:30:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233784AbhFALaO (ORCPT + 99 others); Tue, 1 Jun 2021 07:30:14 -0400 Received: from mga14.intel.com ([192.55.52.115]:48906 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233723AbhFALaM (ORCPT ); Tue, 1 Jun 2021 07:30:12 -0400 IronPort-SDR: aX9gCbL1JRHJG01KlkMKQd80CUcLnClmEHrgU9I/kQQhTwyux1Zh0hoI1rv+PklBa7jFdHeNCl gmgQGPGMn++Q== X-IronPort-AV: E=McAfee;i="6200,9189,10001"; a="203332864" X-IronPort-AV: E=Sophos;i="5.83,239,1616482800"; d="scan'208";a="203332864" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 04:28:31 -0700 IronPort-SDR: nPqztfqrKWc4M/EtpSE1ui1K0i3HVLTw8otOpPBSRjJjjt99uI8AKJAp7FQ/ggHGj9qJDlkZ3y RGiXe+LcdU0Q== X-IronPort-AV: E=Sophos;i="5.83,239,1616482800"; d="scan'208";a="479243880" Received: from ycohenha-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.54.130]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 04:28:26 -0700 From: Jani Nikula To: Igor Matheus Andrade Torrente , corbet@lwn.net, gregkh@linuxfoundation.org, samuel.thibault@ens-lyon.org, grandmaster@al2klimov.de, rdunlap@infradead.org Cc: Igor Matheus Andrade Torrente , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] docs: Convert the Speakup guide to rst In-Reply-To: <20210531215737.8431-1-igormtorrente@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20210531215737.8431-1-igormtorrente@gmail.com> Date: Tue, 01 Jun 2021 14:28:23 +0300 Message-ID: <87r1hlrfhk.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 31 May 2021, Igor Matheus Andrade Torrente wrote: > Modify some parts of the text and add the necessary formatting to leverage > the rst features. Including links, code-blocks, bullet lists, etc. > > Also, adds a table of contents at the beginning and a section to the > license. > > This change helps integrate this documentation to the rest of the rst > documentation. > > Signed-off-by: Igor Matheus Andrade Torrente > --- > > V2: Rebase the patch to cover the commit cae2181b498fe > > --- > Documentation/admin-guide/index.rst | 1 + > .../{spkguide.txt => spkguide.rst} | 1026 +++++++++-------- > 2 files changed, 574 insertions(+), 453 deletions(-) > rename Documentation/admin-guide/{spkguide.txt => spkguide.rst} (75%) > > diff --git a/Documentation/admin-guide/index.rst b/Documentation/admin-guide/index.rst > index 423116c4e787..c45121777ecf 100644 > --- a/Documentation/admin-guide/index.rst > +++ b/Documentation/admin-guide/index.rst > @@ -112,6 +112,7 @@ configure specific aspects of kernel behavior to your liking. > ras > rtc > serial-console > + spkguide > svga > syscall-user-dispatch > sysrq > diff --git a/Documentation/admin-guide/spkguide.txt b/Documentation/admin-guide/spkguide.rst > similarity index 75% > rename from Documentation/admin-guide/spkguide.txt > rename to Documentation/admin-guide/spkguide.rst > index 977ab3f5a0a8..e254af41a8e9 100644 > --- a/Documentation/admin-guide/spkguide.txt > +++ b/Documentation/admin-guide/spkguide.rst > @@ -1,14 +1,20 @@ > - > +======================== > The Speakup User's Guide > -For Speakup 3.1.2 and Later > -By Gene Collins > -Updated by others > -Last modified on Mon Sep 27 14:26:31 2010 > -Document version 1.3 > +======================== > + > +| For Speakup 3.1.2 and Later > +| By Gene Collins > +| Updated by others > +| Last modified on Mon Jan 21 17:08:21 2021 > +| Document version 1.3 > + > > -Copyright (c) 2005 Gene Collins > -Copyright (c) 2008 Samuel Thibault > -Copyright (c) 2009, 2010 the Speakup Team > +Copyright and License > +===================== > + > +| Copyright (c) 2005 Gene Collins > +| Copyright (c) 2008 Samuel Thibault > +| Copyright (c) 2009, 2010 the Speakup Team Use a field list? https://docutils.sourceforge.io/docs/user/rst/quickref.html#field-lists > > Permission is granted to copy, distribute and/or modify this document > under the terms of the GNU Free Documentation License, Version 1.2 or > @@ -17,7 +23,40 @@ Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A > copy of the license is included in the section entitled "GNU Free > Documentation License". > > + > +Contents > +======== > + > +* `Preface`_. > + > +* `1. Starting Speakup`_ > +* `2. Basic operation`_ > +* `3. Using the Speakup Help System`_ > +* `4. Keys and Their Assigned Commands`_ > +* `5. The Speakup Sys System`_ > +* `6. Changing Synthesizers`_ > +* `7. Loading modules`_ > +* `8. Using Software Synthesizers`_ > + - `8.1. Espeakup`_ > + - `8.2. Speech Dispatcher`_ > +* `9. Using The DecTalk PC Card`_ > +* `10. Using Cursor Tracking`_ > +* `11. Cut and Paste`_ > +* `12. Changing the Pronunciation of Characters`_ > +* `13. Mapping Keys`_ > +* `14. Internationalizing Speakup`_ > + - `14.1. Files Under the i18n Subdirectory`_. > + - `14.2.1. Loading Your Own Messages`_. > + - `14.2.2. Choose a language`_. > + - `14.3. No Support for Non-Western-European Languages`_. > +* `15. Using Speakup's Windowing Capability`_ > +* `16. Tools for Controlling Speakup`_ > + - `16.1. Speakupconf`_. > + - `16.2. Talkwith`_ There's a directive for this: .. contents:: The document didn't use to have a manually updated contents, why add one now that you can have it automated? https://docutils.sourceforge.io/docs/ref/rst/directives.html#table-of-contents > + > + > Preface > +======= > > The purpose of this document is to familiarize users with the user > interface to Speakup, a Linux Screen Reader. If you need instructions > @@ -37,7 +76,9 @@ with speech access unaided by a sighted person. Again, these details > are beyond the scope of this manual, but the user should be aware of > them. See the web site mentioned above for further details. > > + Unnecessary extra blank line, but okay. > 1. Starting Speakup I'd drop the numbers and let Sphinx take care of this. > +==================== > > If your system administrator has installed Speakup to work with your > specific synthesizer by default, then all you need to do to use Speakup > @@ -58,41 +99,43 @@ build and install your own kernel. > If your kernel has been compiled with Speakup, and has no default > synthesizer set, or you would like to use a different synthesizer than > the default one, then you may issue the following command at the boot > -prompt of your boot loader. > +prompt of your boot loader.:: > > -linux speakup.synth=ltlk > + linux speakup.synth=ltlk > > This command would tell Speakup to look for and use a LiteTalk or > DoubleTalk LT at boot up. You may replace the ltlk synthesizer keyword > with the keyword for whatever synthesizer you wish to use. The > -speakup.synth parameter will accept the following keywords, provided > +``speakup.synth`` parameter will accept the following keywords, provided > that support for the related synthesizers has been built into the > kernel. > > -acntsa -- Accent SA > -acntpc -- Accent PC > -apollo -- Apollo > -audptr -- Audapter > -bns -- Braille 'n Speak > -dectlk -- DecTalk Express (old and new, db9 serial only) > -decext -- DecTalk (old) External > -dtlk -- DoubleTalk PC > -keypc -- Keynote Gold PC > -ltlk -- DoubleTalk LT, LiteTalk, or external Tripletalk (db9 serial only) > -spkout -- Speak Out > -txprt -- Transport > -dummy -- Plain text terminal > - > -Note: Speakup does * NOT * support usb connections! Speakup also does * > -NOT * support the internal Tripletalk! > +| acntsa -- Accent SA > +| acntpc -- Accent PC > +| apollo -- Apollo > +| audptr -- Audapter > +| bns -- Braille 'n Speak > +| dectlk -- DecTalk Express (old and new, db9 serial only) > +| decext -- DecTalk (old) External > +| dtlk -- DoubleTalk PC > +| keypc -- Keynote Gold PC > +| ltlk -- DoubleTalk LT, LiteTalk, or external Tripletalk (db9 serial only) > +| spkout -- Speak Out > +| txprt -- Transport > +| dummy -- Plain text terminal Looks like a definition list? https://docutils.sourceforge.io/docs/user/rst/quickref.html#definition-lists > + > +.. note:: > + > + | Speakup does **NOT** support usb connections! > + | Speakup also does **NOT** support the internal Tripletalk! Why the pipes "|"? > > Speakup does support two other synthesizers, but because they work in > conjunction with other software, they must be loaded as modules after > their related software is loaded, and so are not available at boot up. > These are as follows: > > -decpc -- DecTalk PC (not available at boot up) > -soft -- One of several software synthesizers (not available at boot up) > +| decpc -- DecTalk PC (not available at boot up) > +| soft -- One of several software synthesizers (not available at boot up) > > See the sections on loading modules and software synthesizers later in > this manual for further details. It should be noted here that the > @@ -102,7 +145,9 @@ the boot process, such action must be configured by your system > administrator. This will mean that you will hear some, but not all, of > the bootup messages. > > + > 2. Basic operation > +=================== > > Once you have booted the system, and if necessary, have supplied the > proper bootup parameter for your synthesizer, Speakup will begin > @@ -115,10 +160,12 @@ screen using the kernel, and must get their keyboard input through the > kernel, they are automatically handled properly by Speakup. There are a > few exceptions, but we'll come to those later. > > -Note: In this guide I will refer to the numeric keypad as the keypad. > -This is done because the speakupmap.map file referred to later in this > -manual uses the term keypad instead of numeric keypad. Also I'm lazy > -and would rather only type one word. So keypad it is. Got it? Good. > +.. note:: > + > + In this guide I will refer to the numeric keypad as the keypad. > + This is done because the speakupmap.map file referred to later in this > + manual uses the term keypad instead of numeric keypad. Also I'm lazy > + and would rather only type one word. So keypad it is. Got it? Good. > > Most of the Speakup review keys are located on the keypad at the far > right of the keyboard. The numlock key should be off, in order for these > @@ -131,9 +178,9 @@ You probably won't want to listen to all the bootup messages every time > you start your system, though it's a good idea to listen to them at > least once, just so you'll know what kind of information is available to > you during the boot process. You can always review these messages after > -bootup with the command: > +bootup with the command:: > > -dmesg | more > + dmesg | more > > In order to speed the boot process, and to silence the speaking of the > bootup messages, just press the keypad enter key. This key is located > @@ -164,19 +211,19 @@ the speech with keypad enter, or use any of the Speakup review keys. > Here are some basic Speakup review keys, and a short description of what > they do. > > -keypad 1 -- read previous character > -keypad 2 -- read current character (pressing keypad 2 twice rapidly will speak > - the current character phonetically) > -keypad 3 -- read next character > -keypad 4 -- read previous word > -keypad 5 -- read current word (press twice rapidly to spell the current word) > -keypad 6 -- read next word > -keypad 7 -- read previous line > -keypad 8 -- read current line (press twice rapidly to hear how much the > - text on the current line is indented) > -keypad 9 -- read next line > -keypad period -- speak current cursor position and announce current > - virtual console > +| keypad 1 -- read previous character > +| keypad 2 -- read current character (pressing keypad 2 twice rapidly will speak > + the current character phonetically) > +| keypad 3 -- read next character > +| keypad 4 -- read previous word > +| keypad 5 -- read current word (press twice rapidly to spell the current word) > +| keypad 6 -- read next word > +| keypad 7 -- read previous line > +| keypad 8 -- read current line (press twice rapidly to hear how much the > + text on the current line is indented) > +| keypad 9 -- read next line > +| keypad period -- speak current cursor position and announce current > + virtual console Definition list? Ditto for all the similar cases. > > It's also worth noting that the insert key on the keypad is mapped > as the speakup key. Instead of pressing and releasing this key, as you > @@ -190,16 +237,18 @@ Speakup will say, "You turned me off.", or "Hey, that's better." When > Speakup is turned off, no new text on the screen will be spoken. You > can still use the reading controls to review the screen however. > [snip] > + > +Document License > +================ > + Using SPDX might be nice. > GNU Free Documentation License > Version 1.2, November 2002 > > > - Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. > - Everyone is permitted to copy and distribute verbatim copies > - of this license document, but changing it is not allowed. > +Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. > +Everyone is permitted to copy and distribute verbatim copies > +of this license document, but changing it is not allowed. > > > 0. PREAMBLE -- Jani Nikula, Intel Open Source Graphics Center