| 1 |
MATHASTEXT CHANGE LOG |
| 2 |
===================== |
| 3 |
|
| 4 |
1.4e \[2024/10/26\] |
| 5 |
---- |
| 6 |
|
| 7 |
* Fix a bug dating back to `1.3y` which caused under `LGRgreek` or |
| 8 |
`LGRgreeks` options an `\MTversion{normal}` to raise an `Extra |
| 9 |
\else` error (not if `subdued`). The unit test which could have |
| 10 |
shown this had been left aside at `1.4d` because it was so old |
| 11 |
that some matters unrelated to the package prevented its |
| 12 |
immediate use... alas... |
| 13 |
|
| 14 |
* Fix one more `1.4` regression: the (not really recommended) |
| 15 |
option `unimathaccents` was broken. Again a test file existed |
| 16 |
but it had been left apart from those automatically built, for |
| 17 |
some unknown reason... |
| 18 |
|
| 19 |
1.4d \[2024/10/26\] |
| 20 |
---- |
| 21 |
|
| 22 |
* Fix one more `1.4` regression (the worst one by far): `$f''$` |
| 23 |
caused a crash. Fortunately, the `everymath` option which |
| 24 |
re-enacts legacy code could be used as a *temporary emergency |
| 25 |
work-around*. Thanks to Enrico Gregorio for report. |
| 26 |
|
| 27 |
* The `1.4b` option `noletters` did not prevent the package from |
| 28 |
defining math mode symbols `\inodot` and `\jnodot`. It now does. |
| 29 |
|
| 30 |
* Fix a longstanding legacy bug which would have caused a crash if |
| 31 |
`\MTnonlettersobeymathxx` had been used with `XeLaTeX` in a |
| 32 |
document with the character `-` being a Babel shorthand. |
| 33 |
|
| 34 |
* Usage of `\Mathastext` or `\MTDeclareVersion` to declare a |
| 35 |
math version associated with an exotic non-text font encoding |
| 36 |
such as `OML` is theoretically possible (although of dubious |
| 37 |
practical use except for stress tests) but was broken |
| 38 |
since `1.3u` due to internals |
| 39 |
relying on `LaTeX` commands associated with text font encodings |
| 40 |
(for example to define `\inodot` |
| 41 |
using `\i`, |
| 42 |
or the `\hbar` with the help of the accent command `\=`) |
| 43 |
and which are not available in such context. This release |
| 44 |
handles such situation gracefully via warnings, rather than |
| 45 |
causing low level errors. |
| 46 |
|
| 47 |
* Improve looks in the PDF of this Change log. |
| 48 |
|
| 49 |
1.4c \[2024/10/21\] |
| 50 |
---- |
| 51 |
|
| 52 |
* Fix a regression at `1.4`: under `XeLaTeX`, loading `mathastext` |
| 53 |
caused an error if `unicode-math` and its `\setmathfont` had been |
| 54 |
used prior ("*Extended mathchar used as mathchar*" in relation to the |
| 55 |
minus sign character). Thanks to Michael Roland for report. |
| 56 |
|
| 57 |
Keep in mind though that the documentation (see 1.4.15 Unicode engines) has |
| 58 |
always said that the package "*is expected to be most definitely |
| 59 |
incompatible with unicode-math*". |
| 60 |
|
| 61 |
* Fix another regression at `1.4`, related to the same code and also avoided |
| 62 |
with `everymath` option, but showing with |
| 63 |
all engines. It caused `\MTnonlettersdonotobeymathxx`, if used, to reset |
| 64 |
the minus sign to its status as prior to the loading of `mathastext`, |
| 65 |
whereas it should have used the (by default) mathversion dependent one |
| 66 |
(which defaults to the en-dash in the font encoding as stored by `mathastext` in |
| 67 |
the extended math version). |
| 68 |
|
| 69 |
* `\Relbar` and `\relbar` redeclarations (needed as they are used by `LaTeX` |
| 70 |
for arrows, and the equal and minus signs if picked from the text font may not |
| 71 |
work well in-there) are now done via `\DeclareRobustCommand` also with |
| 72 |
package `amsmath` to match the current behavior of the latter. Note though |
| 73 |
that they will use the equal and minus signs as in place at package loading |
| 74 |
time, the documentation does say that `mathastext` should be loaded last. |
| 75 |
|
| 76 |
1.4b \[2024/07/27\] |
| 77 |
---- |
| 78 |
|
| 79 |
* Fix a regression at `1.4` regarding option `nodigits`. |
| 80 |
|
| 81 |
* New option: `noletters`. *I am in old age now so I can provide an option |
| 82 |
completely antithetical to my life work*. |
| 83 |
|
| 84 |
* Option `everymath` which is destined to be removed at next major |
| 85 |
release warns user about it. As major releases tend to happen once |
| 86 |
per decade I think the constant nagging will become insufferable |
| 87 |
and you will adapt to the `1.4` changes rather than persisting into |
| 88 |
using this option. |
| 89 |
|
| 90 |
1.4a \[2024/07/20\] |
| 91 |
---- |
| 92 |
|
| 93 |
* There was a documentation glitch in 1.4 and also a problem with the |
| 94 |
`\MTprimeskip` feature being lost under the emergency fall-back |
| 95 |
`everymath` option. |
| 96 |
|
| 97 |
1.4 \[2024/07/20\] |
| 98 |
--- |
| 99 |
|
| 100 |
* Since 1.2 of 2012/12/20, mathastext has used *mathematically active* |
| 101 |
characters to propose certain advanced functionalities. For reasons half |
| 102 |
lost in the mists of time but whose main one was surely to keep the |
| 103 |
meaning of the active shape of characters unchanged outside of math mode, |
| 104 |
this mathematical activation, and (in most cases) the definitions of what |
| 105 |
active characters do, were done again at *each* entrance into math mode. |
| 106 |
At this 1.4 release, mathastext does *not inject any code whatsoever* into |
| 107 |
the `\everymath` and `\everydisplay` toks registers anymore (*except* for |
| 108 |
one font-related hack needed under `LuaLaTeX`, see below). Your documents |
| 109 |
will compile a tiny bit faster. |
| 110 |
|
| 111 |
* In (*unsual*) documents where users play with catcodes and mathcodes it is |
| 112 |
*impossible* to keep exact backward compatibility, because documented user |
| 113 |
commands which acted formerly as toggles with delayed action now will enact |
| 114 |
changes immediately if in the document body. In practice consequences are |
| 115 |
expected to be few, because catcode active characters are (as was already |
| 116 |
the case with earlier releases) hacked only when they are Babel shorthands |
| 117 |
and they are then modified in a way altering only their action in math |
| 118 |
mode. The precise description of what mathastext does when mathematically |
| 119 |
activating (or not) a character, depending on circumstances, is to be |
| 120 |
found among small-print comments in the section "Extended scope of the |
| 121 |
math alphabets commands". See also the documentation of the |
| 122 |
`\MTmathactiveletters` command for some specifics regarding ascii letters. |
| 123 |
|
| 124 |
* New option: `everymath`. It instructs mathastext to revert (partially) |
| 125 |
to its legacy code which uses `\everymath/\everydisplay`. This reversal |
| 126 |
is partial, the handling of ascii letters not being included into it. The |
| 127 |
`everymath` option is there *only to try as a quick fix* in case transition |
| 128 |
to this release causes a major problem in a user document and time is |
| 129 |
lacking to investigate. *Please report to the author such issues*. Option |
| 130 |
`everymath` is destined to be removed at next major release. |
| 131 |
|
| 132 |
* New option: `activedigits`. Enjoy. |
| 133 |
|
| 134 |
* It is now easier to hook into the mathastext architecture for |
| 135 |
mathematically activated ascii letters. See the new section "Hacking |
| 136 |
letters (and even digits) for special tasks". |
| 137 |
|
| 138 |
* Bugfix: do not override special behavior of the math mode dot in |
| 139 |
babel-spanish. |
| 140 |
|
| 141 |
* Bugfix: A *desperate* hack related to `LuaLaTeX` font matters and dating |
| 142 |
back to 1.3o 2016/05/03 had been for some years in dire need of an update |
| 143 |
regarding fonts using `Renderer=HarfBuzz`. This is done now. Thanks to |
| 144 |
tex.sx `user691586` for report. This is currently the sole remaining |
| 145 |
usage of `\everymath/\everydisplay`. |
| 146 |
|
| 147 |
* Bugfix: `\MTexplicitbracesobeymathxx` (which is related to `\{` and `\}`) |
| 148 |
was without effect since an upstream `LaTeX` change at its 2020-02-02 release. |
| 149 |
|
| 150 |
* With option symbolmisc, those math symbol macros formerly defined via |
| 151 |
`\DeclareRobustCommand` are now declared via `\protected\def`. |
| 152 |
|
| 153 |
* Removal of legacy branches previously kept to support `LaTeX` earlier than |
| 154 |
2020-02-02. |
| 155 |
|
| 156 |
* Removal of support for EU1 and EU2 font encodings. |
| 157 |
|
| 158 |
* Option `noasterisk` deprecated at 1.2d 2013/01/02 has (finally) been removed. |
| 159 |
|
| 160 |
* Four test files previously included and auto-extracted from the |
| 161 |
distributed dtx have been dropped. One of them is still available |
| 162 |
on the package homepage. |
| 163 |
|
| 164 |
* Some parts of the documentation have been massively re-ordered and even to some |
| 165 |
extent improved. But there may be some occasions where obsolete statements will |
| 166 |
be found having the legacy `\everymath/\everydisplay` situation as background. |
| 167 |
|
| 168 |
1.3zb \[2023/12/29\] |
| 169 |
----- |
| 170 |
|
| 171 |
* Update to the `frenchmath*` option to maintain compatibility |
| 172 |
with the [frenchmath](https://ctan.org/pkg/frenchmath) |
| 173 |
package whose release 2.7 (2023/12/23) has replaced |
| 174 |
the ncccomma package by the decimalcomma package. |
| 175 |
|
| 176 |
* The `frenchmath+` option holds the former meaning of `frenchmath*`. |
| 177 |
|
| 178 |
* Option `decimalcomma` to load the eponymous package by Antoine |
| 179 |
Missier. This is tacitly done by `frenchmath*`. |
| 180 |
|
| 181 |
* No more messages sent to the console output during loading, |
| 182 |
only info messages going into the log, and using (more or less) |
| 183 |
the official `LaTeX` interface: after close to 13 years of development |
| 184 |
of this package it was perhaps finally the time to do it. |
| 185 |
|
| 186 |
* Documentation improvements. Close to 13 years after the |
| 187 |
birth of the package, and as it nowadays rarely wakes up from |
| 188 |
dormancy, this was almost last chance to try to improve a few |
| 189 |
things. |
| 190 |
|
| 191 |
1.3za \[2023/12/20\] |
| 192 |
----- |
| 193 |
|
| 194 |
* Under `LGRgreek` and `LGRgreeks` options, new math alphabets |
| 195 |
`\mathgreekupbold` and `\mathgreekitbold`. |
| 196 |
|
| 197 |
* New options `LGRgreek+` and `LGRgreeks+`. |
| 198 |
|
| 199 |
Thanks to Holger Gerhardt for feature request and code ideas. |
| 200 |
Please find and read the relevant documentation in the PDF. |
| 201 |
|
| 202 |
* The meaning of `defaultalphabets` and related individual |
| 203 |
options such as `defaultbf` has been modified (reverted to pre |
| 204 |
`1.15f` release): even under these options, the package always |
| 205 |
creates `\mathnormalbold`, `\Mathnormal`, `\Mathrm`, `\Mathbf` |
| 206 |
etc..., commands. This may break documents which used these |
| 207 |
options in order to reserve these command names. This was done |
| 208 |
with some hesitancy, but for the sake of internal logical |
| 209 |
coherence. |
| 210 |
|
| 211 |
* Fix an obscure bug with no real consequences regarding |
| 212 |
interaction of `subdued` with `LGRgreek` and `\MTgreekfont`. |
| 213 |
See the `LGRgreek` documentation in the complete list of |
| 214 |
options for details. |
| 215 |
|
| 216 |
* Fix long-standing hyperlink problems in the documentation: |
| 217 |
blue color words should now all be functioning hyperlinks. |
| 218 |
|
| 219 |
1.3z \[2023/09/01\] |
| 220 |
---- |
| 221 |
|
| 222 |
Fix 1.3y regression which broke `selfGreek` option due to internal |
| 223 |
renamings. Thanks to Stephan Korell for report. |
| 224 |
|
| 225 |
1.3y \[2022/11/04\] |
| 226 |
---- |
| 227 |
|
| 228 |
(the 1.3x had an annoying documentation bug, and had already |
| 229 |
been pushed to CTAN, hence the version increase to 1.3y) |
| 230 |
|
| 231 |
* mathastext now requires the `\expanded` primitive (which is |
| 232 |
available with all major engines since TeXLive 2019). |
| 233 |
|
| 234 |
* Revisit parts of the documentation (mainly |
| 235 |
the Examples, and the section on Greek letters) and shuffle |
| 236 |
the other parts to surely improve things. Mention |
| 237 |
the [mathfont](https://ctan.org/pkg/mathfont) |
| 238 |
and [frenchmath](https://ctan.org/pkg/frenchmath) packages. |
| 239 |
|
| 240 |
* Add the `ncccomma` option which loads the |
| 241 |
[ncccomma](https://ctan.org/pkg/ncccomma) |
| 242 |
package to allow the comma as decimal separator. |
| 243 |
|
| 244 |
* Add the `binarysemicolon` option to let the semi-colon |
| 245 |
be of type `\mathbin`, not `\mathpunct`. |
| 246 |
|
| 247 |
* Add the `frenchmath*` option which does all three of |
| 248 |
`frenchmath`, `ncccomma` and `binarysemicolon`. |
| 249 |
|
| 250 |
* Under the `LGRgreek` and `LGRgreeks` options only: |
| 251 |
|
| 252 |
- make available upright and italic Greek letters in math mode |
| 253 |
via `\alphaup`, `\alphait`, ... control sequences, in |
| 254 |
addition to those not using such postfixed-names. |
| 255 |
|
| 256 |
- add `\mathgreekup` and `\mathgreekit` math alphabets. |
| 257 |
|
| 258 |
- add `\MTgreekupdefault` and `\MTgreekitdefault`. The former |
| 259 |
replaces `\updefault` which was used in some places and since |
| 260 |
`LaTeX` `2020-02-02` caused systematic Font Warnings about the |
| 261 |
substitution of `up` by `n`. |
| 262 |
|
| 263 |
These new features required an extensive internal refactoring |
| 264 |
which is expected to not induce changes to most existing |
| 265 |
documents. But it may induce changes to those using some |
| 266 |
unusual configuration in the preamble, as made possible via the |
| 267 |
package macros; this can apply only to documents authored by |
| 268 |
those few people who actually read the documentation. For full |
| 269 |
details make sure to read the PDF documentation about this |
| 270 |
change. |
| 271 |
|
| 272 |
* Fix "`\Digamma` under `LGRgreek` option uses the shape for |
| 273 |
lowercase not uppercase Greek". |
| 274 |
|
| 275 |
* Fix some incongruities in log messages related to Greek |
| 276 |
letters and emitted during math version creation in the |
| 277 |
preamble. |
| 278 |
|
| 279 |
1.3w \[2019/11/16\] |
| 280 |
---- |
| 281 |
|
| 282 |
* `LaTeX` `2019-10-01` release (up to patch level 3 inclusive) |
| 283 |
together with `amsmath` conspired `:-)` to break `mathastext`, |
| 284 |
in connexion with math accents. This has been fixed upstream, |
| 285 |
but I am releasing nevertheless a hot fix to this |
| 286 |
https://github.com/latex3/latex2e/issues/216 issue |
| 287 |
(this is compatible with future `LaTeX` releases). |
| 288 |
|
| 289 |
* Fix: the `\hbar` is originally a robust command but |
| 290 |
becomes a `\mathchardef` token if (e.g.) `amsfonts` is |
| 291 |
loaded and then with recent `LaTeX` `\hbar<space>` is |
| 292 |
made undefined and `mathastext` definition of it |
| 293 |
remained without effect. The `\mathastext` own `\hbar` |
| 294 |
is now defined `\protected`. |
| 295 |
|
| 296 |
* Fix: option `noendash` (or `symboldelimiters` which implies |
| 297 |
it) caused (since `1.3u`) a bug under Unicode engines when |
| 298 |
setting up the minus sign. |
| 299 |
|
| 300 |
* Version names declared via the optional argument of |
| 301 |
`\Mathastext` or as first argument of `\MTDeclareVersion` |
| 302 |
must not be `normal` or `bold`. Enforce that! (this was |
| 303 |
marked as a bug to fix since `2012/10/24`...) |
| 304 |
|
| 305 |
1.3v \[2019/09/19\] |
| 306 |
---- |
| 307 |
|
| 308 |
* `LaTeX` 2019-10-01 release has made more math macros robust. |
| 309 |
This applies in particular to the math accents and to the |
| 310 |
`\hbar`. This required for mathastext to adapt. Also |
| 311 |
`\leftarrowfill` and `\rightarrowfill` are now defined |
| 312 |
robust by the kernel, hence mathastext does the same. These |
| 313 |
changes are dropped if mathastext detects an older `LaTeX` |
| 314 |
format. |
| 315 |
|
| 316 |
* These `LaTeX` kernel changes motivated an examination of some |
| 317 |
redefinitions done (optionally) by mathastext: |
| 318 |
|
| 319 |
- The user math alphabet macros got redefined as expanding |
| 320 |
to some other (robust) math alphabet macros, but were not |
| 321 |
robust in the strict sense. This does cause some issues for |
| 322 |
moving arguments in the context of multiple math versions, |
| 323 |
hence it was a bug. The special behavior of the math |
| 324 |
alphabet commands (they redefine themselves and other macros |
| 325 |
on first use) makes is somewhat problematic for mathastext |
| 326 |
to keep them updated across math versions and at the same |
| 327 |
time strictly `LaTeX2e` robust. Thus mathastext now requires |
| 328 |
the e-TeX primitive `\protected` and uses it for the |
| 329 |
definitions of the user level math alphabet macros. |
| 330 |
|
| 331 |
- There are a number of `\mathchardef` tokens which (under |
| 332 |
certain options and/or configuration via the package user |
| 333 |
interface), mathastext redefines as macros. These macros |
| 334 |
cause no issue in moving arguments (they are not "fragile"), |
| 335 |
still it is probably better if they expand only at the time |
| 336 |
of typesetting. To this effect they are now also |
| 337 |
`\protected`: `\exists`, `\forall`, `\colon`, `\setminus`, |
| 338 |
`\mid`, `\prod`, `\sum`, `\imath`, `\jmath`. |
| 339 |
|
| 340 |
- The macro `\vert` (which expands to a `\delimiter`) is now |
| 341 |
defined robust by `LaTeX`. Its mathastext redefinition is a |
| 342 |
`\protected` one rather. |
| 343 |
|
| 344 |
- The `\{` and `\}` (which get redefined only under |
| 345 |
`\MTexplicitbracesobeymathxx` regime) are now strictly |
| 346 |
robust in the `LaTeX2e` sense (formerly they were `\let` to |
| 347 |
some robust macros, and this did not make them strictly |
| 348 |
`LaTeX2e`-robust entities). |
| 349 |
|
| 350 |
* The various changes in mathastext described in the previous item |
| 351 |
apply independently of the `LaTeX` release version. The |
| 352 |
`LaTeX` format itself requires the e-TeX extensions since 2015. |
| 353 |
|
| 354 |
1.3u \[2019/08/20\] |
| 355 |
---- |
| 356 |
|
| 357 |
* new feature: the initial release dealt with only one font, and |
| 358 |
although shortly thereafter the 1.11 version added support for |
| 359 |
extended math versions, it was documented that some font-dependent |
| 360 |
set-up (minus as endash, dotless i and j, hbar, math accents) was |
| 361 |
done only once. This release makes the relevant characters font |
| 362 |
encoding savvy in each mathastext-extended math version. Thus, |
| 363 |
they should render correctly even with multiple math versions |
| 364 |
using fonts with varying encodings. |
| 365 |
|
| 366 |
This reinforces importance of using `\MTversion` and not the |
| 367 |
`LaTeX` `\mathversion` when switching to a new math version (which |
| 368 |
got declared via the package interface). The implementation is |
| 369 |
compatible with Unicode engines and mixed usage of `TU` encoding |
| 370 |
(OpenType fonts) with traditional 8bits TeX font encodings. For |
| 371 |
all engines, all used (8bits) encodings must have been passed as |
| 372 |
options to the `fontenc` package. |
| 373 |
|
| 374 |
Thanks to Falk Hanisch for feature request and code suggestions. |
| 375 |
|
| 376 |
* new option `unimathaccents`: this adds to option `mathaccents` |
| 377 |
the demand to use the text font accents for OpenType fonts in math |
| 378 |
mode via the `\Umathaccent` primitive. Indeed, as my testing |
| 379 |
showed that this gave non-satisfactory results both with `XeTeX` |
| 380 |
and `LuaTeX` regarding the horizontal placement of the accents, |
| 381 |
the main option `mathaccents` acts only on 8bits encoded fonts. |
| 382 |
|
| 383 |
* bugfix: the `\Mathastext` without optional argument forgot to |
| 384 |
repeat some font-encoding dependent initialization set-up done |
| 385 |
originally during package loading. |
| 386 |
|
| 387 |
* bugfix: under the `subdued` option macros `\MTmathactiveletters` |
| 388 |
or `\MTnonlettersobeymathxx` now act like no-ops if |
| 389 |
issued explicitly while in the `normal` or `bold` math version. |
| 390 |
Formerly, this was not the case and could cause bugs such as a |
| 391 |
disappearing minus sign in math mode. |
| 392 |
|
| 393 |
* bugfix: the letter `h` used in the `\hbar` obeyed the extra |
| 394 |
skips as set-up by `\MTsetmathskips`, badly interfering with the |
| 395 |
horizontal positioning of the bar accent. They are now ignored |
| 396 |
(as well as the added italic correction). |
| 397 |
|
| 398 |
1.3t \[2018/08/22\] |
| 399 |
---- |
| 400 |
|
| 401 |
* bugfix: the 1.3s bugfix about `subdued` compatibility with |
| 402 |
`fontspec` was deficient. |
| 403 |
|
| 404 |
* bugfix: very old (v1.2, 2012/12/20) bug causing low-level TeX error |
| 405 |
during package loading (with pdflatex) when setting up the math minus |
| 406 |
sign to be the text font endash character, in cases with |
| 407 |
`\encodingdefault` other than OT1, T1 or LY1, e.g. something like |
| 408 |
T2A. |
| 409 |
|
| 410 |
* `\imath` and `\jmath` obey the `subdued` regime. And the minus sign |
| 411 |
is now handled especially to ensure perfect compatibility with the |
| 412 |
`subdued` option. |
| 413 |
|
| 414 |
* breaking change: `mathastext` does not redefine anymore |
| 415 |
`\i` and `\j` to let them be usable both in text and math mode. |
| 416 |
|
| 417 |
1.3s \[2018/08/21\] |
| 418 |
---- |
| 419 |
|
| 420 |
* fix to an issue with `subdued` option in a `fontspec` context. |
| 421 |
|
| 422 |
|
| 423 |
1.3r \[2016/11/06\] |
| 424 |
---- |
| 425 |
|
| 426 |
* documentation tweaks. |
| 427 |
|
| 428 |
1.3q \[2016/10/31\] |
| 429 |
---- |
| 430 |
|
| 431 |
* new option `unicodeminus`. |
| 432 |
|
| 433 |
* the `Recent Changes` section of the documentation has been removed as it |
| 434 |
was a duplicate of information available in the `Change Log`. |
| 435 |
|
| 436 |
* some other |
| 437 |
changes in the documentation, in particular the use of straight quotes |
| 438 |
in verbatim. |
| 439 |
|
| 440 |
1.3p \[2016/05/13\] |
| 441 |
---- |
| 442 |
|
| 443 |
* bugfix: release `1.3n` had forgotten to activate by default its new |
| 444 |
customization of the amsmath macro `\newmcodes@` (it was done from |
| 445 |
using `\MTversion` in the document body but not by default at start |
| 446 |
of body.) |
| 447 |
|
| 448 |
* public name `\MTfixmathfonts` for a `1.3o` macro. |
| 449 |
|
| 450 |
1.3o \[2016/05/03\] |
| 451 |
---- |
| 452 |
|
| 453 |
* `mathastext` fixes an issue related to a feature of `LuaLaTeX` and |
| 454 |
`luaotfload` that OpenType fonts are declared in one of two modes: |
| 455 |
`node` and `base`, and only the latter is functional in math mode. But |
| 456 |
by default text fonts are declared in mode `node`. Thus `mathastext` |
| 457 |
now intervenes to make it so that the font it declares in math mode |
| 458 |
will use mode `base`. This fixes issues with for example old style |
| 459 |
figures being used while the text font used lining figures (or vice |
| 460 |
versa, depending on the font). But see the code comments for more. |
| 461 |
|
| 462 |
1.3n \[2016/04/22\] |
| 463 |
---- |
| 464 |
|
| 465 |
* at long last, `mathastext` takes care properly of annoying and perplexing |
| 466 |
amsmath's `\newmcodes@`. The very recent change in `amsopn.sty` finally |
| 467 |
made it compatible with Unicode engines, but anyhow, `mathastext` must do |
| 468 |
its own patch to use the correct font. All of this taking into account |
| 469 |
the various options passed to the package. Lots of trouble for a tiny thing. |
| 470 |
|
| 471 |
1.3m \[2016/04/02\] |
| 472 |
---- |
| 473 |
|
| 474 |
* minor code maintenance before annual TL freeze. |
| 475 |
|
| 476 |
1.3l \[2016/01/29\] |
| 477 |
---- |
| 478 |
|
| 479 |
* compatibility with fontspec's upcoming switch from `EU1/EU2` to |
| 480 |
`TU` common to both Unicode engines. |
| 481 |
|
| 482 |
1.3k \[2016/01/24\] |
| 483 |
---- |
| 484 |
|
| 485 |
* typos fixed in the documentation. In particular, the README link to |
| 486 |
the package homepage had remained broken from day one of the package |
| 487 |
releases: `mathastext.html` therein was misspelled as |
| 488 |
`mathsastext.html`! (but the pdf documentation had the correct link; |
| 489 |
as well as the CTAN catalogue). |
| 490 |
|
| 491 |
1.3j \[2016/01/15\] |
| 492 |
---- |
| 493 |
|
| 494 |
* renamed and modified recent `1.3i`'s `\MTactivemathoff` into |
| 495 |
`\MTeverymathoff`. Added `\MTeverymathdefault`. |
| 496 |
|
| 497 |
* `subdued` mode is a bit stronger: also the asterisk reverts to the |
| 498 |
default (if it was modified due to option `asterisk`), the added |
| 499 |
extra `\mskip`'s (useful with upright fonts) for `'`, `\exists`, |
| 500 |
and `\forall` are suppressed rather than re-configured to use `0mu`. |
| 501 |
Related new commands `\MTexistsdoesskip`, `\MTforalldoesskip`, |
| 502 |
`\MTprimedoesskip`, `\MTnormalexists`, `\MTnormalforall`, |
| 503 |
`\MTnormalprime`. |
| 504 |
|
| 505 |
* the toggle for using mathematically active letters is only emitted |
| 506 |
once during package loading; the `\Mathastext` command does not do |
| 507 |
it anymore; the use in the preamble of `\MTmathstandardletters`, |
| 508 |
or `\MTnoicinmath` and related commands is not overruled by later |
| 509 |
use of `\Mathastext`. |
| 510 |
|
| 511 |
* quite a few documentation improvements and rewrites, particularly |
| 512 |
in the description of commands which are related to the |
| 513 |
modifications of mathcodes (mainly for math activation of |
| 514 |
characters or letters) as done by mathastext at `\everymath` or |
| 515 |
`\everydisplay`. |
| 516 |
|
| 517 |
1.3i \[2016/01/06\] |
| 518 |
---- |
| 519 |
|
| 520 |
* `\url` from `url.sty` as well as `\url` and `\nolinkurl` from |
| 521 |
`hyperref.sty` use math mode and (by default) the monospace text |
| 522 |
font. To avoid mathastext overwriting the special preparation done |
| 523 |
by `{url,hyperref}.sty` the commands `\url/\nolinkurl` are patched |
| 524 |
to do automatically `\MTactivemathoff` (now `\MTeverymathoff`) |
| 525 |
before entering math mode. |
| 526 |
|
| 527 |
* the extra skips specified by `\MTsetmathskips` are not inserted |
| 528 |
around letters if inside the arguments of math alphabet commands, |
| 529 |
or within operator names. |
| 530 |
|
| 531 |
* the added explicit italic corrections (for non-oblique fonts) were |
| 532 |
disabled within math alphabet scopes, except `mathnormal`; they |
| 533 |
are now disabled within all math alphabets, inclusive of |
| 534 |
`mathnormal`. |
| 535 |
|
| 536 |
1.3h \[2015/10/31\] |
| 537 |
---- |
| 538 |
|
| 539 |
* bugfixes: since `1.3d 2014/05/23` the option `symbolgreek` caused |
| 540 |
`\ell` to become undefined, and, similarly but far worse, options |
| 541 |
`selfGreek`, `selfGreeks` caused all lowercase Greek letters |
| 542 |
`\alpha`, `\beta`, etc.. to become undefined. |
| 543 |
|
| 544 |
1.3g \[2015/10/15\] |
| 545 |
---- |
| 546 |
|
| 547 |
* following `2015/10/01` `LaTeX` release, removal of the `"luatex"` |
| 548 |
prefix from the names of the `LuaLaTeX` math primitives. Compatibility |
| 549 |
maintained with older `LaTeX` formats. |
| 550 |
|
| 551 |
1.3f \[2015/09/12\] |
| 552 |
---- |
| 553 |
|
| 554 |
* the replacement of amsmath's `\resetMathstrut@`, when it is |
| 555 |
done, emits an Info rather than a Warning as this could be |
| 556 |
potentially stressful to some users. |
| 557 |
|
| 558 |
* the `README` self-extracts from the `dtx` source, as a text |
| 559 |
file `README.md` with Markdown syntax. |
| 560 |
|
| 561 |
1.3e \[2015/09/10\] |
| 562 |
---- |
| 563 |
|
| 564 |
* bugfix: under option nosmalldelims, `\lbrace` and `\rbrace` were |
| 565 |
redefined as math symbols and could not be used as delimiters. |
| 566 |
|
| 567 |
1.3d \[2014/05/23\] |
| 568 |
---- |
| 569 |
|
| 570 |
* A 2015/02/26 edit to the documentation mentions the |
| 571 |
improved compatibility of mathastext |
| 572 |
with the latest (3.34) beamer release: no more need for |
| 573 |
`\usefonttheme{professionalfonts}`. |
| 574 |
|
| 575 |
* new commands `\MTstandardgreek` and `\MTcustomgreek`. |
| 576 |
|
| 577 |
* The Greek letters, in case of use of one of the package related |
| 578 |
options, are left to their defaults in the normal and bold math |
| 579 |
versions if the subdued option was also used (this was so far |
| 580 |
the case only with options LGRgreek/LGRgreeks). |
| 581 |
|
| 582 |
* `\newmcodes@` of amsmath is left untouched if package |
| 583 |
lualatex-math is detected. |
| 584 |
|
| 585 |
1.3c \[2013/12/14\] |
| 586 |
---- |
| 587 |
|
| 588 |
* added a starred variant to `\MTversion` which tells mathastext to |
| 589 |
only do the math set-up and not modify the text fonts. |
| 590 |
|
| 591 |
* added second optional version name argument to `\Mathastext` and |
| 592 |
to `\MTDeclareVersion`, to transfer settings for things not |
| 593 |
otherwise changed by mathastext from a math version to the one |
| 594 |
declared. This is mainly for symbols and large symbols to be the |
| 595 |
bold ones when the user sets up the series of a mathastextified |
| 596 |
font to be bold in a mathastext-declared version. |
| 597 |
|
| 598 |
* renamed `\defaultprod` to `\MToriginalprod`, `\defaultsum` to |
| 599 |
`\MToriginalsum`, (this is in case of option symbolmisc). |
| 600 |
|
| 601 |
* changes to the dtx organization; options for generating the |
| 602 |
documentation can be customized in generated mathastext.tex file. |
| 603 |
|
| 604 |
* 1.2d code for `\#`, `\$`, `\%`, and `\&` modified erroneously the |
| 605 |
earlier correct 1.2c code and created a bug showing up with more |
| 606 |
than 16 math families (a possibility only with lualatex or |
| 607 |
xelatex). |
| 608 |
|
| 609 |
1.3a \[2013/09/04\] |
| 610 |
---- |
| 611 |
|
| 612 |
* the somewhat silly `\string`'s are removed from the |
| 613 |
`\MTsetmathskips` command of release 1.3, thus allowing its first |
| 614 |
argument to be a macro, or any expandable code, giving a letter. |
| 615 |
|
| 616 |
* the amsmath `\resetMathstrut@`, which is incompatible with a |
| 617 |
mathematically active parenthesis ( is now modified only if |
| 618 |
necessary (i.e.\@ only when `\MTnonlettersobeymathxx` is issued) and |
| 619 |
is restored to its original value if not needed anymore (i.e. |
| 620 |
after `\MTnonlettersdonotobeymathxx`, as for example when |
| 621 |
switching to the normal version under option subdued). |
| 622 |
|
| 623 |
* improved documentation. |
| 624 |
|
| 625 |
1.3 \[2013/09/02\] |
| 626 |
---- |
| 627 |
|
| 628 |
* commands `\MTsetmathskips` and `\MTunsetmathskips` added. |
| 629 |
|
| 630 |
* commands `\MTmathactiveletters` and `\MTmathstandardletters` to |
| 631 |
govern the math activation of letters independently of its use |
| 632 |
for insertion of the italic corrections (`\MTicinmath` and |
| 633 |
`\MTnoicinmath` correspondingly modified). |
| 634 |
|
| 635 |
* the new `\luatexUmathcodenum` as available since TL2013 allows |
| 636 |
identical treatment by mathastext of = and - under both `LuaTeX` |
| 637 |
and `XeTeX`. |
| 638 |
|
| 639 |
* `\newmcodes@` of amsmath is left untouched in case of option basic. |
| 640 |
|
| 641 |
* a sentence containing | which was written to the log during the |
| 642 |
loading caused a problem if | was active (typically if |
| 643 |
`\MakeShortVerb`{\|} was added to the preamble prior to the |
| 644 |
loading of mathastext). |
| 645 |
|
| 646 |
* some preemptive measures taken regarding things such as `\mid`, |
| 647 |
`\lbrace`, and `\rbrace`, as some packages define these things in |
| 648 |
manners which made the re-definitions done by mathastext issue |
| 649 |
errors. |
| 650 |
|
| 651 |
1.2f \[2013/01/21\] |
| 652 |
---- |
| 653 |
|
| 654 |
* minor code improvements. Change log added to the user manual. |
| 655 |
|
| 656 |
1.2e \[2013/01/10\] |
| 657 |
---- |
| 658 |
|
| 659 |
This version should be the last one in the 1.2 series as it seems to |
| 660 |
correct most of the main problems which were introduced with the massive |
| 661 |
use of mathematically active characters in versions 1.2 and 1.2b. |
| 662 |
|
| 663 |
* It is indeed a thorny point when one wants to modify an active character in |
| 664 |
math mode only (without breaking usage in label's and ref's for example). |
| 665 |
The package now does that _only_ if the activation originated in the Babel |
| 666 |
system as it is then possible to modify appropriately the Babel macros |
| 667 |
`\user@active<char>` and `\normal@char<char>`, at the time of entering math |
| 668 |
mode (mathastext does all its activation job at `\everymath` and |
| 669 |
`\everydisplay`). |
| 670 |
|
| 671 |
The relevant issues are discussed in section 2.10 of the user manual, in the |
| 672 |
test file mathastexttestalphabets.tex, and in the source code comments for |
| 673 |
macro `\mst@mathactivate`. The inherent incompatibility of Babel with |
| 674 |
packages having made mathematically active the characters itself makes |
| 675 |
document active is circumvented by this interference of mathastext. A |
| 676 |
generally applicable Babel patch could be derived from the method used by |
| 677 |
mathastext. |
| 678 |
|
| 679 |
For the non catcode active characters, mathematical activation is used. |
| 680 |
This is done at the entrance in math mode. |
| 681 |
|
| 682 |
* Sadly, the feature of added italic corrections introduced in |
| 683 |
version 1.2b did not behave as described in the user manual, due to |
| 684 |
forgotten group braces. Fixed. |
| 685 |
|
| 686 |
* The command `\MTlowerast` from the user manual of v1.2d was not the |
| 687 |
one implemented in the source code. Fixed. |
| 688 |
|
| 689 |
* The test files automatically extracted from a latex run on the dtx |
| 690 |
file have been revised and extended. |
| 691 |
|
| 692 |
* The code is better documented. |
| 693 |
|
| 694 |
1.2d \[2013/01/02\] |
| 695 |
---- |
| 696 |
|
| 697 |
* an incompatibility with amsmath (its macro `\resetMathstrut@`), |
| 698 |
exists since version 1.2 of the package. This is fixed |
| 699 |
here. |
| 700 |
|
| 701 |
* various improvements in dealing with the asterisk and in the |
| 702 |
mechanism of letting non-letter symbols obey the math alphabet |
| 703 |
commands. |
| 704 |
|
| 705 |
* the `noasterisk` option is deprecated and made a no-op. |
| 706 |
|
| 707 |
* documentation extended and improved. |
| 708 |
|
| 709 |
1.2c \[2012/12/31\] |
| 710 |
---- |
| 711 |
|
| 712 |
* mathastext now inserts automatically after all (latin) |
| 713 |
letters in math mode their italic corrections, if the font |
| 714 |
used is upright (sic). This improves the spacings for the |
| 715 |
positioning of subscripts. The feature is de-activated |
| 716 |
inside the math alphabets commands (apart from `\mathnormal`), |
| 717 |
so as to not prohibit the formation of ligatures. |
| 718 |
|
| 719 |
* the documentation has been extended to explain in detail the |
| 720 |
issues which are relevant to the new feature of added italic |
| 721 |
corrections. |
| 722 |
|
| 723 |
* version 1.2 had some bad bugs when confronted to active |
| 724 |
characters. This is corrected and additionally |
| 725 |
`\MTnonlettersdonotobeymathxx` is made the default, as the user |
| 726 |
input is too much constrained in its absence. |
| 727 |
|
| 728 |
* a less fatal, but still annoying, typo had made the dot in 1.2 |
| 729 |
of type `\mathpunct` rather than `\mathord`. |
| 730 |
|
| 731 |
* the inner namespace has been rationalized a bit. |
| 732 |
|
| 733 |
1.2 \[2012/12/20\] |
| 734 |
---- |
| 735 |
|
| 736 |
* a new command sets up the amount of space to be automatically |
| 737 |
inserted before the derivative glyph (useful when using an |
| 738 |
upright font). |
| 739 |
|
| 740 |
* the scope of the math alphabets has been extended to apply |
| 741 |
to the non-alphabetical characters, and also to operator |
| 742 |
names. |
| 743 |
|
| 744 |
* the format of the dtx file has changed. The package file |
| 745 |
is self-extracting from the dtx, and four additional test |
| 746 |
files are also produced during `latex mathastext.dtx`. |
| 747 |
|
| 748 |
1.15f and 1.15g \[2012/10/25\] |
| 749 |
---- |
| 750 |
|
| 751 |
* `\$`, `\#`, `\&`, and `\%` had been re-defined by mathastext since its |
| 752 |
inception in a rather strange (but working) way, which |
| 753 |
could cause surprises to other packages. Fixed. |
| 754 |
|
| 755 |
* the subdued mechanism for the math alphabets is implemented |
| 756 |
in a simpler and more efficient manner than in 1.15e. |
| 757 |
|
| 758 |
* the `defaultxx` options act a bit differently, and are more |
| 759 |
useful in case of a `too many math alphabets` situation. |
| 760 |
|
| 761 |
* various improvements in the documentation. |
| 762 |
|
| 763 |
* general clean up and better commenting of the source code. |
| 764 |
|
| 765 |
1.15e \[2012/10/22\] |
| 766 |
---- |
| 767 |
|
| 768 |
* new user commands to specify skip or glue to be |
| 769 |
inserted after the math symbols `\exists` and `\forall` |
| 770 |
|
| 771 |
* complete (user transparent) rewrite of the code |
| 772 |
implementing the subdued option; and its action has |
| 773 |
been extended to apply also to the `\mathbf`, `\mathit`, |
| 774 |
`\mathsf`, `\mathtt` alphabets and not only to `\mathrm` and |
| 775 |
`\mathnormal` as in the previous versions. |
| 776 |
|
| 777 |
* improvements in the documentation. |
| 778 |
|
| 779 |
1.15d \[2012/10/13\] |
| 780 |
---- |
| 781 |
|
| 782 |
* the Unicode situation is now correctly treated, throughout the |
| 783 |
code (this had been left in a half-done way from version 1.14 of |
| 784 |
April 2011). |
| 785 |
|
| 786 |
* this includes an issue related to amsmath and its |
| 787 |
DeclareMathOperator macro which has been fixed, |
| 788 |
|
| 789 |
* and the code related to `\relbar` and `\Relbar` (and |
| 790 |
`\models`) has been revised. |
| 791 |
|
| 792 |
1.15c \[2012/10/05\] |
| 793 |
---- |
| 794 |
|
| 795 |
* it is now possible to use distinct fonts in LGR encoding |
| 796 |
for the Greek letters according to the current math |
| 797 |
version. |
| 798 |
|
| 799 |
* improvements to the documentation. |
| 800 |
|
| 801 |
1.15b |
| 802 |
---- |
| 803 |
|
| 804 |
* corrected a 'feature' of 1.15 which was backward-incompatible |
| 805 |
|
| 806 |
* improvements to the pdf documentation |
| 807 |
|
| 808 |
1.15 \[2012/09/26\] |
| 809 |
---- |
| 810 |
|
| 811 |
* the subdued option allows the mathastextification to |
| 812 |
act only locally. |
| 813 |
|
| 814 |
* some measures taken to deal with amsmath related |
| 815 |
issues when using xetex or luatex. |
| 816 |
|
| 817 |
1.14c |
| 818 |
---- |
| 819 |
|
| 820 |
* a bug is fixed: the `\Mathastext` macro reinitializes |
| 821 |
the fonts in the normal and bold math versions, but it |
| 822 |
also erroneously redeclared the math alphabet changing |
| 823 |
commands which could have been set up in previously |
| 824 |
defined math versions (via earlier calls to |
| 825 |
`\Mathastext`\[version_name\]). |
| 826 |
|
| 827 |
1.14b \[2011/04/03\] |
| 828 |
---- |
| 829 |
|
| 830 |
* there was a bug with `\$`, `\#`, `\&`, `\%` in math mode which |
| 831 |
showed up when ten or more math families had been |
| 832 |
declared. This bug affected also the minus sign under |
| 833 |
the same circumstances, when Unicode engines were |
| 834 |
used. Fixed. |
| 835 |
|
| 836 |
* the options LGRgreek and selfGreek act now a bit |
| 837 |
differently, and new options LGRgreeks and selfGreeks |
| 838 |
have been defined. |
| 839 |
|
| 840 |
* I also cleaned up a bit the code, for a more |
| 841 |
structured namespace. |
| 842 |
|
| 843 |
1.14 |
| 844 |
---- |
| 845 |
|
| 846 |
* mathastext now modifies also the math alphabets `\mathit`, |
| 847 |
`\mathsf` and `\mathtt`, thus making it a quite generic |
| 848 |
complete manner to adapt the math configuration to fonts |
| 849 |
provided with no math support. |
| 850 |
|
| 851 |
1.13d |
| 852 |
---- |
| 853 |
|
| 854 |
* new macros `\MTstandardgreek` and `\MTcustomgreek` |
| 855 |
|
| 856 |
1.13b |
| 857 |
---- |
| 858 |
|
| 859 |
* when the Symbol font is used for `\prod` and `\sum` this |
| 860 |
will be only for inline math; display math will use the |
| 861 |
default glyphs |
| 862 |
|
| 863 |
1.13 \[2011/03/11\] |
| 864 |
---- |
| 865 |
|
| 866 |
* the LGRgreek option is added. |
| 867 |
|
| 868 |
* internal changes for better readability of the code. |
| 869 |
|
| 870 |
1.12 |
| 871 |
---- |
| 872 |
|
| 873 |
* various bugs have been corrected. |
| 874 |
|
| 875 |
* the endash and alldelims options are active by default. |
| 876 |
|
| 877 |
* the package is more Unicode aware. |
| 878 |
|
| 879 |
* the `\Mathastext` command has been improved to |
| 880 |
facilitate the mechanism of math versions also when |
| 881 |
using `XeTeX` or `LuaTeX` (with package fontspec.) |
| 882 |
|
| 883 |
* the en-dash and dotless i and j now work with all |
| 884 |
encodings, Unicode inclusive. |
| 885 |
|
| 886 |
1.11 \[2011/02/06\] |
| 887 |
---- |
| 888 |
|
| 889 |
* optional argument to `\Mathastext` macro. |
| 890 |
|
| 891 |
1.1 \[2011/02/01\] |
| 892 |
---- |
| 893 |
|
| 894 |
* options italic and frenchmath. |
| 895 |
|
| 896 |
1.0 \[2011/01/25\] |
| 897 |
---- |
| 898 |
|
| 899 |
* Initial version. |
| 900 |
|