Skip to content

Releases: jkuczm/MathematicaCellsToTeX

0.2.2

14 Jan 21:06
20439c0
Compare
Choose a tag to compare

New features

  • #28 Distribute package as paclet.

0.2.1

23 Oct 10:14
Compare
Choose a tag to compare

New features

  • #23, #20 Support for TooltipBox, PaneSelectorBox and GridBox.
  • #21 Official support for Mathematica version 11.0.

Bugs fixed

  • #22, #20 TeX special characters in identifier names, appearing in options, are now escaped.

0.2.0

21 May 10:54
Compare
Choose a tag to compare

Backward incompatible changes

  • #10 Changed $boxHeadsToTeXCommands format.
    Right hand side of rules should now be a List of two elements with first being a String 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" 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 with mmaCell environment. Processing of box rules was moved to boxRulesProcessor and conversion to TeX to boxesToTeXProcessor.
  • #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 of annotateSyntaxProcessor.
  • #14 Removed getBoxesToFormattedTeX function.

New features

  • #12 Official support for Mathematica version 10.4.
  • New options of annotateSyntaxProcessor.
    • #11 "CommonestTypesAsTeXOptions" if set to True 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 to False 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.
  • #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 and texMathReplacementRegister functions.
    texMathReplacementRegister can be used as "NonASCIIHandler", it accepts a string and adds definition to texMathReplacement converting given string to corresponding TeX code.
  • #17 Added CellsToTeXPreamble function returning preamble containing global options for mmacells and definitions of registered math replacements.
  • #15 Added FontWeight option to charToTeX function.
  • #18 Added support for "String" and "Comment" annotations to $annotationTypesToTeX.
  • #14 Added headRulesToBoxRules function to Configuration 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.

0.1.4

30 Jan 15:59
Compare
Choose a tag to compare

Bug fixed: #7 conversion of formatting boxes, with options, no longer causes errors.

0.1.3

03 Nov 15:35
Compare
Choose a tag to compare

Added support for Mathematica version 10.3.

Bug fixed: #4 conversion of boxes, with manual formatting, to InputForm, no longer causes exceptions.

0.1.2

11 Sep 14:11
Compare
Choose a tag to compare

Added support for Mathematica versions 10.1 and 10.2.

0.1.1

30 Mar 16:03
Compare
Choose a tag to compare

Bug fixed: #1 CellsToTeXException::invalid message receives now correct parameters.

0.1.0

27 Mar 14:59
Compare
Choose a tag to compare

First public release.