Releases: jkuczm/MathematicaCellsToTeX
Releases · jkuczm/MathematicaCellsToTeX
Release list
0.2.2
0.2.1
0.2.0
Backward incompatible changes
- #10 Changed
$boxHeadsToTeXCommandsformat.
Right hand side of rules should now be a List of two elements with first being aStringwith TeX command name and second being number of arguments of TeX command. - #10 Default output is adapted to version 0.3.0 of
mmacellspackage.
Conversion of integrals results in\mmaSubM,mmaSupM, or\mmaSubSupMcommands. - #15 By default TeX commands embedded in
"Input"mmaCells 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 withmmaCellenvironment. Processing of box rules was moved toboxRulesProcessorand conversion to TeX toboxesToTeXProcessor. - #19 Changed contents of
Failureobjects returned on exceptions.
CellsToTeXExceptionis now always used as tag, association contains now"Type"key with type of thrown exception. - #18 Removed
"AnnotationTypesNormalizer"option ofannotateSyntaxProcessor. - #14 Removed
getBoxesToFormattedTeXfunction.
New features
- #12 Official support for Mathematica version 10.4.
- New options of
annotateSyntaxProcessor.- #11
"CommonestTypesAsTeXOptions"if set toTruecommonest 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 toFalseno 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
boxRulesProcessoraccepting"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
boxesToTeXProcessoraccepting"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
texMathReplacementandtexMathReplacementRegisterfunctions.
texMathReplacementRegistercan be used as"NonASCIIHandler", it accepts a string and adds definition totexMathReplacementconverting given string to corresponding TeX code. - #17 Added
CellsToTeXPreamblefunction returning preamble containing global options formmacellsand definitions of registered math replacements. - #15 Added
FontWeightoption tocharToTeXfunction. - #18 Added support for
"String"and"Comment"annotations to$annotationTypesToTeX. - #14 Added
headRulesToBoxRulesfunction toConfigurationcontext.
Bugs fixed
- #10 Problems with math mode in formatting commands fixed by adapting to
mmacells0.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.