From 14612e2a19111d45a12fa35f6d05d07c2d3dfee4 Mon Sep 17 00:00:00 2001 From: Bruce Miller Date: Thu, 21 Jun 2007 02:02:35 +0000 Subject: [PATCH] Released 0.5.9 --- Changes | 23 +++++++++++++++++++++++ MANIFEST | 2 +- bin/latexml | 24 +++++++++++++----------- doc/manual.xml | 21 +++++++++++---------- lib/LaTeXML.pm | 2 +- 5 files changed, 49 insertions(+), 23 deletions(-) diff --git a/Changes b/Changes index bf93111d3..f41fc8625 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,26 @@ +0.5.9 2007-06-20 + - Hmmm, I haven't been keeping the changelog uptodate. + Things _have_ been happening... + - Lots of changes, including: + - Improvements to handling of various kinds of Alignments, + including multrow, rowspan, tabularx packages + - enhancements to postprocessing to support splitting single + documents into multiple output pages, as well as crossreferencing + between multiple source documents. + - Improvements to manual. + - Updated for XML::LibXML version 1.62 + No longer explicitly requires XPathContext. + - Experimental math linebreaker + (see --linelength option to latexmlpost) + - Various minor correctness & robustness patches. + [Thanks to the DLMF and ArXMLiv projects for testing and patches] + +0.5.1 2006-04-27 + Released. + +0.5.0 2006-03-22 + Released. + 0.5.x 2006-08-03 - Changes to how frontmatter is handled, and represented. Frontmatter gets accumulated and added to diff --git a/MANIFEST b/MANIFEST index 1cb2212d7..f3c5da32c 100644 --- a/MANIFEST +++ b/MANIFEST @@ -11,7 +11,7 @@ doc/manual.tex doc/manual.xml doc/latexmldoc.ltxml doc/latexmldoc.sty -doc/makehtml +doc/makemanual INSTALL LaTeXML.ppd lib/LaTeXML.pm diff --git a/bin/latexml b/bin/latexml index 53e3dd9ea..fdf43449a 100755 --- a/bin/latexml +++ b/bin/latexml @@ -12,10 +12,11 @@ use LaTeXML::Util::Pathname; my $identity = "latexml (LaTeXML version $LaTeXML::VERSION)"; my($verbosity,$strict,$comments,$noparse)=(0,0,1,0); -my ($format,$output,$help,$showversion)=('xml',''); +my ($format,$destination,$help,$showversion)=('xml',''); my ($documentid); my (@paths,@preload,@debugs); -GetOptions("output=s" => \$output, +GetOptions("destination=s" => \$destination, + "output=s" => \$destination, "preload=s" => \@preload, "path=s" => \@paths, "quiet" => sub { $verbosity--; }, @@ -48,8 +49,8 @@ my $latexml= LaTeXML->new(preload=>[@preload], searchpaths=>[@paths], nomathparse=>$noparse); # Check that destination is valid before wasting any time... -if($output){ - if(my $dir =pathname_directory($output)){ +if($destination){ + if(my $dir =pathname_directory($destination)){ pathname_mkdir($dir) or die "Couldn't create destination directory $dir: $!"; }} binmode(STDERR,":utf8"); # ======================================== @@ -83,14 +84,14 @@ if($digested){ }} print STDERR "\nConversion complete: ".$latexml->getStatusMessage.".\n"; -if($output){ -# open(OUT,">:utf8",$output) or die "Couldn't open output file $output: $!"; } - open(OUT,">",$output) or die "Couldn't open output file $output: $!"; } +if($destination){ +# open(OUT,">:utf8",$destination) or die "Couldn't open output file $destination: $!"; } + open(OUT,">",$destination) or die "Couldn't open output file $destination: $!"; } else { # binmode(STDOUT,":utf8"); *OUT = *STDOUT; } print OUT $serialized if $serialized; -if($output){ +if($destination){ close(OUT); } #********************************************************************** @@ -105,7 +106,8 @@ C - transforms a TeX/LaTeX file into XML. latexml [options] texfile Options: - --output=file specifies output file; default to stdout. + --destination=file specifies destination file; default to stdout. + --output=file [obsolete synonym for --destination] --preload=module requests loading of an optional module; can be repeated --path=dir adds dir to the paths searched for files, @@ -131,9 +133,9 @@ If texfile is '-', latexml reads the TeX source from standard input. =over 4 -=item B<--output>=I +=item B<--destination>=I -Specifies the output file; by default the XML is written to stdout. +Specifies the destination file; by default the XML is written to stdout. =item B<--preload>=I diff --git a/doc/manual.xml b/doc/manual.xml index fc0942cf1..55947601c 100644 --- a/doc/manual.xml +++ b/doc/manual.xml @@ -11,7 +11,7 @@ Bruce R. Miller - June 15, 2007 + June 18, 2007 Introduction
@@ -1228,7 +1228,8 @@ that is, define it and silently ignore the definition given in the source.

Options: - --output=file specifies output file; default to stdout. + --destination=file specifies destination file; default to stdout. + --output=file [obsolete synonym for --destination] --preload=module requests loading of an optional module; can be repeated --path=dir adds dir to the paths searched for files, @@ -1258,16 +1259,16 @@ that is, define it and silently ignore the definition given in the source.

- –output=file + –destination=file

-

Specifies the output file; by default the XML is written to stdout.

+

Specifies the destination file; by default the XML is written to stdout.

–preload=module

Requests the loading of an optional module or package. This may be useful if the TeX code -does not specificly require the module (eg. through input or usepackage).

- +does not specificly require the module (eg. through input or usepackage). +

–path=dir @@ -1296,8 +1297,8 @@ all nodes have unique IDs.

Increases the verbosity of output during processing, used twice is pretty chatty. -Can be useful for getting more details when errors occur.

- +Can be useful for getting more details when errors occur. +

@@ -1364,9 +1365,9 @@ an aid in tracking the source. The option –nocomments discards such comments. See also<indexmark><indexphrase key="latexml">latexml</indexphrase><indexphrase key="seealso">See also</indexphrase></indexmark> + -

latexmlpost, LaTeXML -

+

latexmlpost, LaTeXML

diff --git a/lib/LaTeXML.pm b/lib/LaTeXML.pm index f362665d3..50e7a228b 100644 --- a/lib/LaTeXML.pm +++ b/lib/LaTeXML.pm @@ -25,7 +25,7 @@ our @ISA = (qw(LaTeXML::Object)); #use LaTeXML::Document; use vars qw($VERSION); -$VERSION = "0.5.1"; +$VERSION = "0.5.9"; #**********************************************************************