From e074ffdbdd9ccb87e5625fbff3d2747bdb5f0e61 Mon Sep 17 00:00:00 2001 From: Naoum Hankache Date: Mon, 6 Mar 2017 20:23:44 +0200 Subject: [PATCH 1/3] Fix nbsp in pod.pod6 --- doc/Language/pod.pod6 | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/doc/Language/pod.pod6 b/doc/Language/pod.pod6 index 407fab08b..a7c31a150 100644 --- a/doc/Language/pod.pod6 +++ b/doc/Language/pod.pod6 @@ -1,6 +1,6 @@ =begin pod -=TITLE Perl 6 Pod +=TITLE Perl 6 Pod =SUBTITLE An easy-to-use markup language @@ -14,7 +14,7 @@ Everything between these 2 delimiters will be processed and used to generate doc =begin code =begin pod -A very simple Perl 6 Pod document +A very simple Perl 6 Pod document =end pod =end code @@ -310,21 +310,21 @@ Formatting codes may nest other formatting codes. =head2 Bold To format a text in bold enclose it in C> -=code Perl 6 is B +=code Perl 6 is B -Perl 6 is B +Perl 6 is B =head2 Italic To format a text in italic enclose it in C> -=code Perl 6 is I +=code Perl 6 is I -Perl 6 is I +Perl 6 is I =head2 Underlined To underline a text enclose it in C> -=code Perl 6 is U +=code Perl 6 is U Z @@ -338,27 +338,27 @@ C =head2 Links To create a link enclose it in C> -=code Perl 6 homepage L +=code Perl 6 homepage L -Perl 6 homepage L +Perl 6 homepage L =head2 Comments A comment is text that is never rendered. To create a comment enclose it in C> -=code Perl 6 is awesome Z +=code Perl 6 is awesome Z -Perl 6 is awesome Z +Perl 6 is awesome Z =head2 Notes Notes are rendered as footnotes. To create a note enclose it in C> -=code Perl 6 is multi-paradigmatic N +=code Perl 6 is multi-paradigmatic N -Z > +Z > =head2 Keyboard input @@ -379,23 +379,23 @@ Z To include Unicode code points or HTML5 character references in a Pod document, enclose them in C> C> can enclose a number, that number is treated as the decimal Unicode value for the desired code point. -It can also enclose explicit binary, octal, decimal, or hexadecimal numbers using the Perl 6 notations for explicitly based numbers. +It can also enclose explicit binary, octal, decimal, or hexadecimal numbers using the Perl 6 notations for explicitly based numbers. =begin code -Perl 6 makes considerable use of the E<171> and E<187> characters. +Perl 6 makes considerable use of the E<171> and E<187> characters. -Perl 6 makes considerable use of the E and E characters. +Perl 6 makes considerable use of the E and E characters. -Perl 6 makes considerable use of the E<0b10101011> and E<0b10111011> characters. +Perl 6 makes considerable use of the E<0b10101011> and E<0b10111011> characters. -Perl 6 makes considerable use of the E<0o253> and E<0o273> characters. +Perl 6 makes considerable use of the E<0o253> and E<0o273> characters. -Perl 6 makes considerable use of the E<0d171> and E<0d187> characters. +Perl 6 makes considerable use of the E<0d171> and E<0d187> characters. -Perl 6 makes considerable use of the E<0xAB> and E<0xBB> characters. +Perl 6 makes considerable use of the E<0xAB> and E<0xBB> characters. =end code -Perl 6 makes considerable use of the E<171> and E<187> characters. +Perl 6 makes considerable use of the E<171> and E<187> characters. =head1 Rendering Pod From e85316b13aba1fa7d4c0ea0ad7968124c2dc94d2 Mon Sep 17 00:00:00 2001 From: Naoum Hankache Date: Mon, 6 Mar 2017 21:15:15 +0200 Subject: [PATCH 2/3] Pass aspell.t for pod.pod6 --- doc/Language/pod.pod6 | 18 +++++++++--------- xt/code.pws | 4 ++++ xt/words.pws | 2 ++ 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/doc/Language/pod.pod6 b/doc/Language/pod.pod6 index a7c31a150..689518dc2 100644 --- a/doc/Language/pod.pod6 +++ b/doc/Language/pod.pod6 @@ -132,11 +132,11 @@ which continues until an... =end para =end code -As demonstarted by the previous example, within a delimited C<=begin para> and C<=end para> block, any blank lines are preserved. +As demonstrated by the previous example, within a delimited C<=begin para> and C<=end para> block, any blank lines are preserved. =head2 Code blocks -Code blocks are used to specify source code, which should be rendered without rejustification, +Code blocks are used to specify source code, which should be rendered without re-justification, without whitespace-squeezing, and without recognizing any inline formatting codes. Typically these blocks are used to show examples of code, mark-up, or other textual specifications, and are rendered using a fixed-width font. @@ -169,10 +169,10 @@ Code blocks can also be explicitly defined by enclosing them in C<=begin code> a Pod provides blocks for specifying the input and output of programs. The C<=input> block is used to specify pre-formatted keyboard input, -which should be rendered without rejustification or squeezing of whitespace. +which should be rendered without re-justification or squeezing of whitespace. The C<=output> block is used to specify pre-formatted terminal or file output, -which should also be rendered without rejustification or whitespace-squeezing. +which should also be rendered without re-justification or whitespace-squeezing. =head2 Lists @@ -326,7 +326,7 @@ Perl 6 is I To underline a text enclose it in C> =code Perl 6 is U -Z +Z =head2 Code @@ -365,14 +365,14 @@ Z> =code Enter your name K -Z +Z =head2 Terminal Output To flag text as terminal output enclose it in C> =code Hello T -Z +Z =head2 Unicode @@ -408,7 +408,7 @@ C Using the terminal run the following command: =begin code -perl6 --doc=HTML filecontaining.pod6 > outputfilename.html +perl6 --doc=HTML input.pod6 > output.html =end code =head2 Markdown @@ -420,7 +420,7 @@ C Using the terminal run the following command: =begin code -perl6 --doc=Markdown filecontaining.pod6 > outputfilename.md +perl6 --doc=Markdown input.pod6 > output.md =end code =end pod diff --git a/xt/code.pws b/xt/code.pws index 6a31b34d3..d48f84b64 100644 --- a/xt/code.pws +++ b/xt/code.pws @@ -165,6 +165,7 @@ kbar keyvaluepairs keyvaluepairsactions lastname +laquo lenticular libfoo libmysql @@ -238,6 +239,7 @@ pwstruct pêrl quietlevel quux +raquo rawheader rectanglewithcachedarea regexname @@ -311,7 +313,9 @@ withoutlinenumber wraphandler wrappee xa +xab xaf +xbb xbeef xc xff diff --git a/xt/words.pws b/xt/words.pws index 519f99be5..08a3c9076 100644 --- a/xt/words.pws +++ b/xt/words.pws @@ -843,6 +843,7 @@ reification reified reifier reifying +renderers repl repo repositoryregistry @@ -1081,6 +1082,7 @@ typeclasses typediag typeglobs typename +typenames typeobject typesystem tz From 7b1598c57526f1ebb98360fd8e524b625b2b4c84 Mon Sep 17 00:00:00 2001 From: Naoum Hankache Date: Mon, 6 Mar 2017 21:31:18 +0200 Subject: [PATCH 3/3] Fudge examples-compilation.t for pod.pod6 --- xt/examples-compilation.t | 1 + 1 file changed, 1 insertion(+) diff --git a/xt/examples-compilation.t b/xt/examples-compilation.t index f38d70237..6a77a6da5 100644 --- a/xt/examples-compilation.t +++ b/xt/examples-compilation.t @@ -22,6 +22,7 @@ if @*ARGS { doc/Language/nativecall.pod6 doc/Language/packages.pod6 doc/Language/phasers.pod6 + doc/Language/pod.pod6 doc/Language/rb-nutshell.pod6 doc/Language/tables.pod6 doc/Language/testing.pod6