[PATCH v2 2/8] Add unicode support for commonly used characters like copyright.

chrisj at rtems.org chrisj at rtems.org
Wed Feb 27 21:39:17 UTC 2019


From: Chris Johns <chrisj at rtems.org>

- This change makes the copyright character easier to see on editors
  lacking good unicode rendering support, ie terminals.
---
 bsp-howto/index.rst        | 10 ++++++----
 c-user/index.rst           | 16 +++++++++-------
 common/unicode.rst         |  5 +++++
 cpu-supplement/index.rst   | 12 +++++++-----
 develenv/index.rst         |  4 +++-
 eclipse/index.rst          |  4 +++-
 eng/index.rst              |  4 +++-
 filesystem/index.rst       |  4 +++-
 networking/index.rst       |  6 ++++--
 porting/index.rst          |  4 +++-
 posix-compliance/index.rst |  6 ++++--
 posix-users/index.rst      |  8 +++++---
 shell/index.rst            | 10 ++++++----
 user/index.rst             | 18 ++++++++++--------
 14 files changed, 71 insertions(+), 40 deletions(-)
 create mode 100644 common/unicode.rst

diff --git a/bsp-howto/index.rst b/bsp-howto/index.rst
index f035817..4795e08 100644
--- a/bsp-howto/index.rst
+++ b/bsp-howto/index.rst
@@ -1,15 +1,17 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 =======================================
 RTEMS BSP and Driver Guide (|version|).
 =======================================
 
 .. topic:: Copyrights and License
 
-    | © 2017 Christian Mauderer
-    | © 2016, 2018 embedded brains GmbH
-    | © 2016, 2018 Sebastian Huber
-    | © 1988, 2017 On-Line Applications Research Corporation (OAR)
+    | |copy| 2017 Christian Mauderer
+    | |copy| 2016, 2018 embedded brains GmbH
+    | |copy| 2016, 2018 Sebastian Huber
+    | |copy| 1988, 2017 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/c-user/index.rst b/c-user/index.rst
index 19f50a5..1b6e096 100644
--- a/c-user/index.rst
+++ b/c-user/index.rst
@@ -1,18 +1,20 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ====================================
 RTEMS Classic API Guide (|version|).
 ====================================
 
 .. topic:: Copyrights and License
 
-    | © 2017 Chris Johns
-    | © 2017 Kuan-Hsun Chen
-    | © 2016, 2018 embedded brains GmbH
-    | © 2016, 2018 Sebastian Huber
-    | © 2011 Petr Benes
-    | © 2010 Gedare Bloom
-    | © 1988, 2018 On-Line Applications Research Corporation (OAR)
+    | |copy| 2017 Chris Johns
+    | |copy| 2017 Kuan-Hsun Chen
+    | |copy| 2016, 2018 embedded brains GmbH
+    | |copy| 2016, 2018 Sebastian Huber
+    | |copy| 2011 Petr Benes
+    | |copy| 2010 Gedare Bloom
+    | |copy| 1988, 2018 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/common/unicode.rst b/common/unicode.rst
new file mode 100644
index 0000000..c5233dc
--- /dev/null
+++ b/common/unicode.rst
@@ -0,0 +1,5 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+
+.. Copyright (C) 2019 Chris Johns <chrisj at rtems.org>
+
+.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGN
diff --git a/cpu-supplement/index.rst b/cpu-supplement/index.rst
index 614a746..951d6b7 100644
--- a/cpu-supplement/index.rst
+++ b/cpu-supplement/index.rst
@@ -1,16 +1,18 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ==============================================
 RTEMS CPU Architecture Supplement (|version|).
 ==============================================
 
 .. topic:: Copyrights and License
 
-    | © 2016, 2018 embedded brains GmbH
-    | © 2016, 2018 Sebastian Huber
-    | © 2014, 2015 Hesham Almatary
-    | © 2010 Gedare Bloom
-    | © 1988, 2018 On-Line Applications Research Corporation (OAR)
+    | |copy| 2016, 2018 embedded brains GmbH
+    | |copy| 2016, 2018 Sebastian Huber
+    | |copy| 2014, 2015 Hesham Almatary
+    | |copy| 2010 Gedare Bloom
+    | |copy| 1988, 2018 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/develenv/index.rst b/develenv/index.rst
index be34086..84987fb 100644
--- a/develenv/index.rst
+++ b/develenv/index.rst
@@ -1,12 +1,14 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ================================================
 RTEMS Development Environment Guide (|version|).
 ================================================
 
 .. topic:: Copyrights and License
 
-    | © 1988, 2015 On-Line Applications Research Corporation (OAR)
+    | |copy| 1988, 2015 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/eclipse/index.rst b/eclipse/index.rst
index 81b915b..c5b2374 100644
--- a/eclipse/index.rst
+++ b/eclipse/index.rst
@@ -2,6 +2,8 @@
 
 .. Copyright (C) 2016 Chris Johns <chrisj at rtems.org>
 
+.. include:: ../common/unicode.rst
+
 .. highlight:: c
 
 =================================
@@ -10,7 +12,7 @@ RTEMS Eclipse Manual (|version|).
 
 .. topic:: Copyrights and License
 
-    | © 1988, 2015 On-Line Applications Research Corporation (OAR)
+    | |copy| 1988, 2015 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/eng/index.rst b/eng/index.rst
index 5e7f934..7e888df 100644
--- a/eng/index.rst
+++ b/eng/index.rst
@@ -3,13 +3,15 @@
 .. Copyright (C) 2016, 2018 RTEMS Foundation, The RTEMS Documentation Project
 .. Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
 
+.. include:: ../common/unicode.rst
+
 ================================================
 RTEMS Software Engineering Handbook (|version|)
 ================================================
 
 .. topic:: Copyrights and License
 
-    | © 1988, 2015 On-Line Applications Research Corporation (OAR)
+    | |copy| 1988, 2015 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/filesystem/index.rst b/filesystem/index.rst
index 4e89330..f4e2ed6 100644
--- a/filesystem/index.rst
+++ b/filesystem/index.rst
@@ -1,12 +1,14 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ==========================================
 RTEMS Filesystem Design Guide (|version|).
 ==========================================
 
 .. topic:: Copyrights and License
 
-    | © 1988, 2015 On-Line Applications Research Corporation (OAR)
+    | |copy| 1988, 2015 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/networking/index.rst b/networking/index.rst
index 6ffec38..f56a60d 100644
--- a/networking/index.rst
+++ b/networking/index.rst
@@ -1,5 +1,7 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 .. highlight:: c
 
 ======================================
@@ -8,8 +10,8 @@ RTEMS Network User Manual (|version|).
 
 .. topic:: Copyrights and License
 
-    | © 2018 Marçal Comajoan Cara
-    | © 1988, 2015 On-Line Applications Research Corporation (OAR)
+    | |copy| 2018 Marçal Comajoan Cara
+    | |copy| 1988, 2015 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/porting/index.rst b/porting/index.rst
index 953af2d..3ec9520 100644
--- a/porting/index.rst
+++ b/porting/index.rst
@@ -1,12 +1,14 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ================================
 RTEMS Porting Guide (|version|).
 ================================
 
 .. topic:: Copyrights and License
 
-    | © 1988, 2016 On-Line Applications Research Corporation (OAR)
+    | |copy| 1988, 2016 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/posix-compliance/index.rst b/posix-compliance/index.rst
index 10b48d4..46f51ee 100644
--- a/posix-compliance/index.rst
+++ b/posix-compliance/index.rst
@@ -1,13 +1,15 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ================================================
 RTEMS POSIX 1003.1 Compliance Guide (|version|).
 ================================================
 
 .. topic:: Copyrights and License
 
-    | © 2017 Chris Johns
-    | © 1988, 2018 On-Line Applications Research Corporation (OAR)
+    | |copy| 2017 Chris Johns
+    | |copy| 1988, 2018 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/posix-users/index.rst b/posix-users/index.rst
index 619080b..07fab71 100644
--- a/posix-users/index.rst
+++ b/posix-users/index.rst
@@ -1,14 +1,16 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 ==================================
 RTEMS POSIX API Guide (|version|).
 ==================================
 
 .. topic:: Copyrights and License
 
-    | © 2018 Marçal Comajoan Cara
-    | © 2017 Gedare Bloom
-    | © 1988, 2018 On-Line Applications Research Corporation (OAR)
+    | |copy| 2018 Marçal Comajoan Cara
+    | |copy| 2017 Gedare Bloom
+    | |copy| 1988, 2018 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/shell/index.rst b/shell/index.rst
index bcb3da2..c7efff7 100644
--- a/shell/index.rst
+++ b/shell/index.rst
@@ -2,16 +2,18 @@
 
 .. Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR)
 
+.. include:: ../common/unicode.rst
+
 ==============================
 RTEMS Shell Guide (|version|).
 ==============================
 
 .. topic:: Copyrights and License
 
-    | © 2016, 2018 Chris Johns
-    | © 2016, 2017 embedded brains GmbH
-    | © 2016, 2017 Sebastian Huber
-    | © 1988, 2017 On-Line Applications Research Corporation (OAR)
+    | |copy| 2016, 2018 Chris Johns
+    | |copy| 2016, 2017 embedded brains GmbH
+    | |copy| 2016, 2017 Sebastian Huber
+    | |copy| 1988, 2017 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
diff --git a/user/index.rst b/user/index.rst
index d7baeef..2eb6065 100644
--- a/user/index.rst
+++ b/user/index.rst
@@ -1,5 +1,7 @@
 .. SPDX-License-Identifier: CC-BY-SA-4.0
 
+.. include:: ../common/unicode.rst
+
 .. highlight:: c
 
 ==============================
@@ -8,14 +10,14 @@ RTEMS User Manual (|version|).
 
 .. topic:: Copyrights and License
 
-    | © 2018 Amaan Cheval
-    | © 2018 Marçal Comajoan Cara
-    | © 2018 Vidushi Vashishth
-    | © 2017 Tanu Hari Dixit
-    | © 2016, 2019 embedded brains GmbH
-    | © 2016, 2019 Sebastian Huber
-    | © 2012, 2015 Chris Johns
-    | © 1988, 2018 On-Line Applications Research Corporation (OAR)
+    | |copy| 2018 Amaan Cheval
+    | |copy| 2018 Marçal Comajoan Cara
+    | |copy| 2018 Vidushi Vashishth
+    | |copy| 2017 Tanu Hari Dixit
+    | |copy| 2016, 2019 embedded brains GmbH
+    | |copy| 2016, 2019 Sebastian Huber
+    | |copy| 2012, 2019 Chris  Johns
+    | |copy| 1988, 2018 On-Line Applications Research Corporation (OAR)
 
     .. include:: ../common/license.rst
 
-- 
2.19.1




More information about the devel mailing list