X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FPod%2Ft%2Fbasic.man;h=499e06f9afa5109170e522b2557316cb33d9a57c;hb=23ca4e226622486979507fdfba49ad547a457d25;hp=c5d8c14f89b468c513757de1d7d2bf947d661178;hpb=2da3dd1220db0c8e18e8bcc1b6c47f5f168dc6fc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/Pod/t/basic.man b/lib/Pod/t/basic.man index c5d8c14..499e06f 100644 --- a/lib/Pod/t/basic.man +++ b/lib/Pod/t/basic.man @@ -41,22 +41,10 @@ Try out \fI\s-1LOTS\s0\fR of different ways of specifying references: .PP Reference the \*(L"section\*(R" in manpage .PP -Reference the \*(L"section\*(R" in manpage -.PP -Reference the \*(L"section\*(R" in manpage -.PP -Reference the \*(L"section\*(R" in manpage -.PP -Reference the \*(L"manpage/section\*(R" -.PP Reference the \*(L"section\*(R" in \*(L"manpage\*(R" .PP Reference the \*(L"section\*(R" in manpage .PP -Reference the \*(L"section\*(R" in manpage -.PP -Reference the \*(L"section\*(R" in manpage -.PP Now try it using the new \*(L"|\*(R" stuff ... .PP Reference the thistext| @@ -69,14 +57,8 @@ Reference the thistext | .PP Reference the thistext| .PP -Reference the thistext | -.PP -Reference the thistext| -.PP Reference the thistext| .PP -Reference the thistext | -.PP And then throw in a few new ones of my own. .PP foo @@ -95,25 +77,19 @@ foo .PP \&\*(L"baz boo\*(R" in foo bar .PP -\&\*(L"baz boo\*(R" in foo bar -.PP -\&\*(L"boo\*(R" in foo bar baz -.PP \&\*(L"boo var baz\*(R" .PP \&\*(L"bar baz\*(R" .PP -\&\*(L"boo bar baz / baz boo\*(R" -.PP \&\*(L"boo\*(R", \*(L"bar\*(R", and \*(L"baz\*(R" .PP -foo\&bar +foobar .PP Testing \fIitalics\fR .PP "\fIItalic\fR text" in foo .PP -"Section \f(CW\*(C`with\*(C'\fR \fI\f(BIother\fI markup\fR" in foo|bar\& +"Section \f(CW\*(C`with\*(C'\fR \fI\f(BIother\fI markup\fR" in foo|bar .PP Nested .SH "OVER AND ITEMS" @@ -127,8 +103,7 @@ There should be whitespace now before this line. .PP Taken from Pod::Parser tests, this is a test to ensure the nested =item paragraphs get indented appropriately. -.IP "1" 2 -.IX Item "1" +.IP "1." 2 First section. .RS 2 .IP "a" 2 @@ -140,8 +115,7 @@ this is item b .RE .RS 2 .RE -.IP "2" 2 -.IX Item "2" +.IP "2." 2 Second section. .RS 2 .IP "a" 2 @@ -253,7 +227,7 @@ So things like \f(CW\*(C`<$self\-\*(C'\fR\fImethod()\fR>> and \f(CW\*(C`<$self\- up doing what you might expect since the first > will still terminate the first < seen. .PP -Lets make sure these work for empty ones too, like and \f(CW\*(C`>>\*(C'\fR +Lets make sure these work for empty ones too, like \f(CW\*(C`\*(C'\fR and \f(CW\*(C`>>\*(C'\fR (just to be obnoxious) .PP The statement: \f(CW\*(C`This is dog kind's \f(CIfinest\f(CW hour!\*(C'\fR is a parody of a @@ -261,7 +235,7 @@ quotation from Winston Churchill. .PP The following tests are added to those: .PP -Make sure that a few oth\&er odd \fI\&things\fR still work. This should be +Make sure that a few other odd \fIthings\fR still work. This should be a vertical bar: |. Here's a test of a few more special escapes that have to be supported: .IP "&" 3 @@ -280,7 +254,7 @@ A forward slash. Try to get this bit of text over towards the edge so |that\ all\ of\ this\ text\ inside\ S<>\ won't| be wrapped. Also test the |same\ thing\ with\ non-breaking\ spaces.| .PP -There is a soft hyphen in hyphen at hy\-phen. +There is a soft hy\%phen in hyphen at hy\-phen. .PP This is a test of an index entry. .IX Xref "index entry" @@ -297,9 +271,7 @@ Throw in a few verbatim paragraphs. \& print colored ("Yellow on magenta.\en", 'yellow on_magenta'); \& print "This text is normal.\en"; \& print colored ['yellow on_magenta'], "Yellow on magenta.\en"; -.Ve -.PP -.Vb 2 +\& \& use Term::ANSIColor qw(uncolor); \& print uncolor '01;31', "\en"; .Ve @@ -310,9 +282,7 @@ paragraph is again: .Vb 2 \& use Term::ANSIColor qw(:constants); \& print BOLD, BLUE, "This text is in bold blue.\en", RESET; -.Ve -.PP -.Vb 1 +\& \& use Term::ANSIColor qw(:constants); $Term::ANSIColor::AUTORESET = 1; print BOLD BLUE "This text is in bold blue.\en"; print "This text is normal.\en"; .Ve .PP @@ -332,7 +302,7 @@ This isn't. .PP .Vb 2 \& This is. And this: is an internal tab. It should be: -\& |--| <= lined up with that. +\& |\-\-| <= lined up with that. .Ve .PP (Tricky, but tabs should be expanded before the translator starts in on