Skip to content

Commit

Permalink
Released 0.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Jun 21, 2007
1 parent c6e4ebf commit 14612e2
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 23 deletions.
23 changes: 23 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -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 <document>
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 13 additions & 11 deletions bin/latexml
Original file line number Diff line number Diff line change
Expand Up @@ -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--; },
Expand Down Expand Up @@ -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");
# ========================================
Expand Down Expand Up @@ -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); }

#**********************************************************************
Expand All @@ -105,7 +106,8 @@ C<latexml> - 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,
Expand All @@ -131,9 +133,9 @@ If texfile is '-', latexml reads the TeX source from standard input.
=over 4
=item B<--output>=I<file>
=item B<--destination>=I<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.
=item B<--preload>=I<module>
Expand Down
21 changes: 11 additions & 10 deletions doc/manual.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<creator role="author">
<personname>Bruce R. Miller</personname>
</creator>
<date role="conversion">June 15, 2007</date>
<date role="conversion">June 18, 2007</date>
<chapter id="manual.Ch1" refnum="1" label="intro">
<title>Introduction</title>
<section>
Expand Down Expand Up @@ -1228,7 +1228,8 @@ that is, define it and silently ignore the definition given in the source.</p>
<para id="manual.A1.Sx1.SSx1.p2">
<verbatim font="typewriter">
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,
Expand Down Expand Up @@ -1258,16 +1259,16 @@ that is, define it and silently ignore the definition given in the source.</p>
<para id="manual.A1.Sx1.SSx2.p1">
<description id="manual.A1.I1">
<item id="manual.A1.I1.i1">
<tag><text font="bold">–output</text>=<text font="italic">file</text></tag>
<tag><text font="bold">–destination</text>=<text font="italic">file</text></tag>
<p><text/></p>
<p>Specifies the output file; by default the XML is written to stdout.</p>
<p>Specifies the destination file; by default the XML is written to stdout.</p>
</item>
<item id="manual.A1.I1.i2">
<tag><text font="bold">–preload</text>=<text font="italic">module</text></tag>
<p><text/></p>
<p>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).</p>
<!-- %**** pods/latexml.tex Line 50 **** -->
does not specificly require the module (eg. through input or usepackage).
<!-- %**** pods/latexml.tex Line 50 **** --></p>
</item>
<item id="manual.A1.I1.i3">
<tag><text font="bold">–path</text>=<text font="italic">dir</text></tag>
Expand Down Expand Up @@ -1296,8 +1297,8 @@ all nodes have unique IDs.</p>
</tag>
<p><text/></p>
<p>Increases the verbosity of output during processing, used twice is pretty chatty.
Can be useful for getting more details when errors occur.</p>
<!-- %**** pods/latexml.tex Line 75 **** -->
Can be useful for getting more details when errors occur.
<!-- %**** pods/latexml.tex Line 75 **** --></p>
</item>
<item id="manual.A1.I1.i7">
<tag>
Expand Down Expand Up @@ -1364,9 +1365,9 @@ an aid in tracking the source. The option –nocomments discards such comments.
</subsection>
<subsection id="manual.A1.Sx1.SSx3" label="latexml_See_also">
<title>See also<indexmark><indexphrase key="latexml">latexml</indexphrase><indexphrase key="seealso">See also</indexphrase></indexmark></title>
<!-- %**** pods/latexml.tex Line 125 **** -->
<para id="manual.A1.Sx1.SSx3.p1">
<p><ref class="package" labelref="latexmlpost">latexmlpost</ref>, <ref class="package" labelref="LaTeXML">LaTeXML</ref>
<!-- %**** pods/latexml.tex Line 125 **** --></p>
<p><ref class="package" labelref="latexmlpost">latexmlpost</ref>, <ref class="package" labelref="LaTeXML">LaTeXML</ref></p>
</para>
</subsection>
</section>
Expand Down
2 changes: 1 addition & 1 deletion lib/LaTeXML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ our @ISA = (qw(LaTeXML::Object));
#use LaTeXML::Document;

use vars qw($VERSION);
$VERSION = "0.5.1";
$VERSION = "0.5.9";

#**********************************************************************

Expand Down

0 comments on commit 14612e2

Please sign in to comment.