use vars qw/ $VERSION %HTML_Escapes @LatexSections /;
-$VERSION = '0.59';
+$VERSION = '0.60';
# Definitions of =headN -> latex mapping
@LatexSections = (qw/
'prod' => q|$\prod$|, # n-ary product = product sign
# prod is NOT the same character as 'greek capital letter pi' though the
# same glyph might be used for both
- 'sum' => q|$\sum$|, # n-ary sumation
+ 'sum' => q|$\sum$|, # n-ary summation
# sum is NOT the same character as 'greek capital letter sigma' though
# the same glyph might be used for both
'minus' => q|$-$|, # minus sign
$self->{StartWithNewPage} = 0 # Start new page for pod section
unless exists $self->{StartWithNewPage};
$self->{TableOfContents} = 0 # Add table of contents
- unless exists $self->{TableOfContents}; # only relevent if AddPreamble=1
+ unless exists $self->{TableOfContents}; # only relevant if AddPreamble=1
$self->{AddPostamble} = 1 # Add closing latex code at end
unless exists $self->{AddPostamble}; # effectively end{document} and index
$self->{MakeIndex} = 1 # Add index (only relevant AddPostamble
$self->{Label} = undef # label to be used as prefix
unless exists $self->{Label}; # to all internal section names
- # These allow the caller to add arbritrary latex code to
+ # These allow the caller to add arbitrary latex code to
# start and end of document. AddPreamble and AddPostamble are ignored
# if these are set.
# Also MakeIndex and TableOfContents are also ignored.
} else {
# Suppress all subsequent paragraphs unless
- # it is explcitly intended for latex
+ # it is explicitly intended for latex
$self->{_suppress_all_para} = 1;
}
# What to write depends on list type
my $type = $self->lists->[-1]->type;
- # Dont write anything if the list type is not set
+ # Don't write anything if the list type is not set
# iomplying that a list was created but no entries were
# placed in it (eg because of a =begin/=end combination)
$self->_output("\\end{$type}\n")
return;
}
- # If paragraphs printing is turned off via =begin/=end or whatver
+ # If paragraphs printing is turned off via =begin/=end or whatever
# simply return immediately
return if $self->{_suppress_all_para};
# Now add the dollars around each \backslash
$paragraph =~ s/(\\backslash)/\$$1\$/g;
+
+ # Convert ------ to -{}-{}-{}-{}-{}-
+ $paragraph =~ s/-(?=-)/-{}/g;
+
return $paragraph;
}
=item *
+L<Pod::LaTeX> has been upgraded from version 0.59 to version 0.60.
+
+Added another LaTeX escape: --- => -{}-{}-
+
+Pod::LaTeX doesn't handle -- in PODs specially, passing it directly to
+LaTeX, which then proceeds to replace it with a single -. This patch
+replaces ----- with -{}-{}-{}-{}-
+
+=item *
+
L<Unicode::Collate> has been upgraded from version 0.85 to version 0.86.
Tailored compatibility ideographs as well as unified ideographs for