forked from pool/texmath
Accepting request 987128 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/987128 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texmath?expand=0&rev=47
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4373bb9db8f977f37b9c1316c65ca97bae7600277e4f79d681dabf2fcb81f0cc
|
|
||||||
size 1012215
|
|
||||||
3
texmath-0.12.5.1.tar.gz
Normal file
3
texmath-0.12.5.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a9b4c7b93840f5772a718b8277c233b813e2e027c94d735d2f6f498e21f01fbd
|
||||||
|
size 1606982
|
||||||
@@ -1,3 +1,63 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 18:24:37 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update texmath to version 0.12.5.1.
|
||||||
|
texmath (0.12.5.1)
|
||||||
|
|
||||||
|
* Compile texmath-server with `-threaded`.
|
||||||
|
This should fix the crashes we have experienced.
|
||||||
|
|
||||||
|
* Add apache style logging to web server.
|
||||||
|
|
||||||
|
* Add more strictness in Unicode.ToTeX.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 2 18:20:57 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update texmath to version 0.12.5.
|
||||||
|
texmath (0.12.5)
|
||||||
|
|
||||||
|
* TeX reader: Improve treatment of `\operatorname` (#147).
|
||||||
|
We can now handle spaces, as in `\operatorname{arg\,max}`.
|
||||||
|
We also now have a better fallback when the operator name
|
||||||
|
contains content that can't be turned into plain text.
|
||||||
|
(In this case, we just pass through the contents, since EMathOperator
|
||||||
|
takes a text argument.)
|
||||||
|
|
||||||
|
* TeX: Support more `\var...` commands for greek letters (Albert
|
||||||
|
Krewinkel). AMSmath defines `\varGamma`, `\varDelta`, `\varTheta`,
|
||||||
|
`\varLambda`, `\varXi`, `\varPi`, `\varSigma`, `\varUpsilon`, `\varPhi`,
|
||||||
|
`\varPsi`, and `\varOmega`, all of which are now parsed as unicode
|
||||||
|
characters *MATHEMATICAL ITALIC CAPITAL ...*. Also, `\varsigma` is
|
||||||
|
now parsed as *MATHEMATICAL SMALL FINAL SIGMA*.
|
||||||
|
|
||||||
|
* OMML writer: better handling for scaled delimeter symbols (#140).
|
||||||
|
We now try to represent these using m:d when possible.
|
||||||
|
This allows the parentheses to expand with the content;
|
||||||
|
previously we'd often get small parentheses with large
|
||||||
|
contents.
|
||||||
|
|
||||||
|
* OMML reader:
|
||||||
|
|
||||||
|
+ Allow m:pos to be missing or lack an attribute in m:bar (#187).
|
||||||
|
+ Set the default value of pos to "bot" (Maximilian Meier).
|
||||||
|
+ Implement support for noBar fractions (#191, Meimax).
|
||||||
|
|
||||||
|
* Add servant-based server with a JSON API.
|
||||||
|
|
||||||
|
* Remove old cgi directory.
|
||||||
|
|
||||||
|
* Improve test suite (#189). The existing test suite was a complicated
|
||||||
|
mess, so that it was hard to add new tests. (One of the problems
|
||||||
|
was that the same files were used as golden files for reader
|
||||||
|
tests and as sources for writer tests.) This commit shifts
|
||||||
|
the same tests to a new, easier to understand format, so that
|
||||||
|
it will be simple to add new tests in the future. We now use
|
||||||
|
the tasty test framework, and we use pretty-show to make the
|
||||||
|
native golden tests easier to comprehend.
|
||||||
|
|
||||||
|
* Add regression tests.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 12 03:18:19 UTC 2022 - Peter Simons <psimons@suse.com>
|
Wed Jan 12 03:18:19 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
|||||||
29
texmath.spec
29
texmath.spec
@@ -19,7 +19,7 @@
|
|||||||
%global pkg_name texmath
|
%global pkg_name texmath
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.12.4
|
Version: 0.12.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Conversion between math formats
|
Summary: Conversion between math formats
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@@ -34,6 +34,7 @@ BuildRequires: ghc-mtl-devel
|
|||||||
BuildRequires: ghc-network-uri-devel
|
BuildRequires: ghc-network-uri-devel
|
||||||
BuildRequires: ghc-pandoc-types-devel
|
BuildRequires: ghc-pandoc-types-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
|
BuildRequires: ghc-pretty-show-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: ghc-split-devel
|
BuildRequires: ghc-split-devel
|
||||||
BuildRequires: ghc-syb-devel
|
BuildRequires: ghc-syb-devel
|
||||||
@@ -43,9 +44,9 @@ ExcludeArch: %{ix86}
|
|||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-tagged-devel
|
||||||
BuildRequires: ghc-temporary-devel
|
BuildRequires: ghc-tasty-devel
|
||||||
BuildRequires: ghc-utf8-string-devel
|
BuildRequires: ghc-tasty-golden-devel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -54,21 +55,19 @@ MathML, and OMML (Office Math Markup Language, used in Microsoft Office).
|
|||||||
Support is also included for converting math formats to Gnu eqn and to pandoc's
|
Support is also included for converting math formats to Gnu eqn and to pandoc's
|
||||||
native format (allowing conversion, via pandoc, to a variety of different
|
native format (allowing conversion, via pandoc, to a variety of different
|
||||||
markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it
|
markup formats). The TeX reader supports basic LaTeX and AMS extensions, and it
|
||||||
can parse and apply LaTeX macros. (See <http://johnmacfarlane.net/texmath here>
|
can parse and apply LaTeX macros. (See <https://johnmacfarlane.net/texmath
|
||||||
for a live demo of bidirectional conversion between LaTeX and MathML.)
|
here> for a live demo of bidirectional conversion between LaTeX and MathML.)
|
||||||
|
|
||||||
The package also includes several utility modules which may be useful for
|
The package also includes several utility modules which may be useful for
|
||||||
anyone looking to manipulate either TeX math or MathML. For example, a copy of
|
anyone looking to manipulate either TeX math or MathML. For example, a copy of
|
||||||
the MathML operator dictionary is included. . Use the 'executable' flag to
|
the MathML operator dictionary is included.
|
||||||
install a standalone executable, 'texmath', that by default reads a LaTeX
|
|
||||||
formula from 'stdin' and writes MathML to 'stdout'. With flags all the
|
|
||||||
functionality exposed by 'Text.TeXMath' can be accessed through this
|
|
||||||
executable. (Use the '--help' flag for a description of all functionality)
|
|
||||||
|
|
||||||
The 'texmath' executable can also be used as a CGI script, when renamed as
|
Use the 'executable' flag to install a standalone executable, 'texmath', that
|
||||||
'texmath-cgi'. It will expect query parameters for 'from', 'to', 'input', and
|
converts formulas from one format to another. (Use the '--help' flag for a
|
||||||
optionally 'inline', and return a JSON object with either 'error' and a message
|
description of all functionality).
|
||||||
or 'success' and the converted result.
|
|
||||||
|
Use the 'server' flag to install a web server, 'texmath-server', that exposes a
|
||||||
|
JSON API allowing conversion of individual formulas and batches of formulas.
|
||||||
|
|
||||||
%package -n ghc-%{name}
|
%package -n ghc-%{name}
|
||||||
Summary: Haskell %{name} library
|
Summary: Haskell %{name} library
|
||||||
|
|||||||
Reference in New Issue
Block a user