Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.8.8 #2328

Merged
merged 9 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,49 @@
0.8.8 2024-02-29
- This release addresses a large variety of usability, fidelity, robustness,
portability and output-quality issues.
- Improved CSS, html, accessibility affecting
* framing, position & rotation, color
* figure/subfigure grouping
- MathML (closer to MathML Core)
* avoid gratuitous math mode (simple sub/superscripts); mathvariant
* option to avoid InvisibleTimes, when not certain (--noinvisibletimes)
- Improved emulation of TeX internals affecting
registers, \chardef, accents, intarray, tracing
- More TeX-like "scanning" of tokens affecting
* expansion, input,
* alignments (\halign,tabular)
- improved block mode processing
* affecting \parbox, {minipage}, \centering, \raggedright/left
* More consistent set of block elements:
ltx:block, ltx:logical-block, ltx:sectional-block,
* along with their inline variants:
ltx:inline-block, ltx:inline-logical-block, ltx:inline-sectional-block
* NOTE: breaking change: ltx:inline-para has been renamed ltx:inline-logical-block
- Improvements to processing alignments (\halign, tabular),
more TeX-like (processing templates, spacing)
- Improved processing of images, graphics, svg generation
* image post-processing
* pgf, tikz, pgfplots, tikz-cd
- initial support for Vietnamese, t5enc
- improved Windows portability
- improved schema documentation
- Improvements to test cases.

- New bindings: boxedminipage, cmap, ifdraft, marginnote, tikz-cd.
- Improvements to bindings: aa, aas, algorithm2e, amsmath, amsthm,
cleverref, comment, csquotes, elsarticle, enumitem, expl3, framed,
hyperref, hyperxmp, IEEEtran, lineno, listing, longtable, mn2e,
nicefrac, ntheorem, pdfpages, pgfmath, pgfplots, rotating, srcltx,
sidecap, subcaption, subfiles, thmtools, tikz, url, xfrac, xypic.

Thanks to Deyan Ginev and Tom Wiesing for ongoing development and support;
Special thanks to Christoph Hauert, Tim Prescott, Vincenzo Mantova for patches and bindings;
Reports from Felix Benning, Miles Cranmer, circlestarzero, Dan Frankow, giovanni111,
goska, Duc A. Hoang, Ramnath Karthekesan, Pedro Konzen, Joseph Long, Greg Meyer,
molke-productions, Dennis Mueller, David Poole, Hilmar Preusse, Nico Schloemer,
Neil M. Sheldon, Heinrich Stammerjohanns, Henrik Tidefelt, Andrew Tonks,
userrand, Eelco van Vliet, Richard Zach, |8|.

0.8.7 2022-12-16
- This release addresses a large variety of usability, fidelity, robustness,
portability and output-quality issues.
Expand Down
6 changes: 4 additions & 2 deletions doc/site/index.tex
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@
\begin{description}
\item[\url{https://latexml.mathweb.org/editor}] an online editor/showcase
of things that \LaTeXML\ can do.
\item[\url{https://arxmliv.kwarc.info}] An experiment processing
the entire \url{https://arXiv.org}.
%\item[\url{https://arxmliv.kwarc.info}] An experiment processing
% the entire \url{https://arXiv.org}.
\item[\url{https://arxiv.org/}] is now offering preprints in HTML format using \LaTeXML\
(currently experimental).
\end{description}

% In brief, \texttt{latexml} is a program, written in Perl, that attempts to
Expand Down
2 changes: 1 addition & 1 deletion lib/LaTeXML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ use LaTeXML::Util::ObjectDB;
use LaTeXML::Post::Scan;
use vars qw($VERSION);
# This is the main version of LaTeXML being claimed.
use version; our $VERSION = version->declare("0.8.7");
use version; our $VERSION = version->declare("0.8.8");
use LaTeXML::Version;
# Derived, more informative version numbers
our $FULLVERSION = "LaTeXML version $LaTeXML::VERSION"
Expand Down
17 changes: 9 additions & 8 deletions lib/LaTeXML/Common/Font/StandardMetrics.pm

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/LaTeXML/Common/XML/Parser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sub parseFile {
my ($self, $file) = @_;
LaTeXML::Common::XML::initialize_catalogs();
# LaTeXML::Common::XML::initialize_input_callbacks($$self{parser});
if ((-s $file) > 20_000_000) {
if (((-s $file) || 0) > 20_000_000) {
$$self{parser}->set_option('huge', 1); }
return $$self{parser}->parse_file($file); }

Expand Down
Binary file modified manual.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion release/notes
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,14 @@ Chocolatey: Ronald Tse <[email protected]>

* Modify ~/Macports/tex/LaTeXML/Portfile
- Change version number
- Set revision to 0
- regen portindex
cd ~/Macports ; portindex
- recompute checksums
(use port -v install and it suggests checksums for you to cut'n'paste!)
(Be careful of cached tarballs: use port clean --all)
- Test Portfile; PR requirements:
sudo port lint LaTeXML
sudo port lint --nitpick LaTeXML
sudo port test LaTeXML
sudo port -vst install LaTeXML
test basic functionality
Expand Down
2 changes: 1 addition & 1 deletion t/003_unit_imagemagick.t
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Test::More;
BEGIN { use_ok('LaTeXML::Util::Image'); }

my $image_converter = image_object();
my $is_image_magick = $image_converter and ((ref $image_converter) eq "Image::Magick");
my $is_image_magick = $image_converter && ((ref $image_converter) eq "Image::Magick");
if (!$is_image_magick) {
diag("Skip: This unit test only examines basic Image::Magick conversion, when installed."); }
else {
Expand Down
6 changes: 4 additions & 2 deletions tools/compilemetrics
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ $latexml->withState(sub {
my $dumper = Data::Dumper->new([$metrics], [qw(STDMETRICS)]);

$dumper->Indent(0);
$dumper->Sortkeys(1);
my $FH;
open($FH, ">", $MODULEPATH);
print $FH $HEADER;
print $FH $dumper->Dump();
print $FH "our " . $dumper->Dump();
print $FH "1;\n";
close($FH);
print STDERR "Wrote Standard font metrics to $MODULEPATH\n";
Expand All @@ -82,7 +83,8 @@ BEGIN {
# \=========================================================ooo==U==ooo=/ #
# THIS IS A GENERATED FILE! DO NOT EDIT
# (see LaTeXML/tools/compilemetrics)
use strict;
use warnings;
package LaTeXML::Common::Font::StandardMetrics;
our $STANDARDMETRICS;
EoHeader
}
Loading