Releases: jkuczm/MathematicaCellsToTeX
Releases · jkuczm/MathematicaCellsToTeX
0.2.2
0.2.1
0.2.0
Backward incompatible changes
- #10 Changed
$boxHeadsToTeXCommands
format.
Right hand side of rules should now be a List of two elements with first being aString
with TeX command name and second being number of arguments of TeX command. - #10 Default output is adapted to version 0.3.0 of
mmacells
package.
Conversion of integrals results in\mmaSubM
,mmaSupM
, or\mmaSubSupM
commands. - #15 By default TeX commands embedded in
"Input"
mmaCell
s are now wrapped in\pmb{...}
- #14 Changed
$charsToTeX
, to$stringsToTeX
.
It now can contain rules converting arbitrary substrings not only single characters. - #16 Changed signature of
mmaCellProcessor
.
It no longer requires"Boxes"
nor"BoxRules"
keys, but now requires"TeXCode"
key and just wraps given TeX code withmmaCell
environment. Processing of box rules was moved toboxRulesProcessor
and conversion to TeX toboxesToTeXProcessor
. - #19 Changed contents of
Failure
objects returned on exceptions.
CellsToTeXException
is now always used as tag, association contains now"Type"
key with type of thrown exception. - #18 Removed
"AnnotationTypesNormalizer"
option ofannotateSyntaxProcessor
. - #14 Removed
getBoxesToFormattedTeX
function.
New features
- #12 Official support for Mathematica version 10.4.
- New options of
annotateSyntaxProcessor
.- #11
"CommonestTypesAsTeXOptions"
if set toTrue
commonest syntax types of all symbols are moved from annotations to TeX environments options, if set to"ASCII"
(default value) only syntax types of symbols with names composed from ASCII characters are moved to options, if set toFalse
no annotations are moved to options. - #18
"StringBoxToTypes"
accepts list of rules converting string boxes to their syntax types. - #18
"AnnotateComments"
determines whether comments should be annotated or not.
- #11
- #16 Added
boxRulesProcessor
accepting"BoxRules"
, #14"StringRules"
and #15"NonASCIIHandler"
keys.
It adds, to given string rules, rule converting non-ASCII characters using given non-ASCII handler, and adds to box rules a rule converting substrings of string box using extended string rules. - #16 Added
boxesToTeXProcessor
accepting"BoxRules"
and"TeXCodeSimplifier"
, and requiring"Boxes"
keys.
It converts, given boxes, to TeX code, using given box rules, then postprocesses result using given TeX code simplifier. - #17 Added
texMathReplacement
andtexMathReplacementRegister
functions.
texMathReplacementRegister
can be used as"NonASCIIHandler"
, it accepts a string and adds definition totexMathReplacement
converting given string to corresponding TeX code. - #17 Added
CellsToTeXPreamble
function returning preamble containing global options formmacells
and definitions of registered math replacements. - #15 Added
FontWeight
option tocharToTeX
function. - #18 Added support for
"String"
and"Comment"
annotations to$annotationTypesToTeX
. - #14 Added
headRulesToBoxRules
function toConfiguration
context.
Bugs fixed
- #10 Problems with math mode in formatting commands fixed by adapting to
mmacells
0.3.0. - #11 Commonest syntax roles of symbols containing non-ASCII characters are no longer moved to TeX environments option.
- #13 All functions use now escape characters from
$commandCharsToTeX
, previously hard coded"\\"
,"{
and"}"
were used in some places.