Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jkuczm/mmacells
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.1
Choose a base ref
...
head repository: jkuczm/mmacells
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 17 commits
  • 2 files changed
  • 3 contributors

Commits on Jan 3, 2017

  1. Initialize Mathematica language

    Language initialization can cause error when done after executing
    `\FV@FormattingPrep` command from `fancyvrb` package. This can happen
    inside `\mmaInlineCell`, if it's used without previous language
    initialization.
    
    Proper initialization happens e.g. inside `mmaCell` environment so it's
    easy to miss this problem.
    
    To fix it, we simply initialize language inside package.
    jkuczm committed Jan 3, 2017
    Copy the full SHA
    7d7062d View commit details
  2. Version bump: 0.3.2

    jkuczm committed Jan 3, 2017
    Copy the full SHA
    0376f1c View commit details
  3. Merge pull request #33 from jkuczm/fix_lst_language_init

    Fix listings language initialization
    jkuczm authored Jan 3, 2017
    Copy the full SHA
    bc6cc59 View commit details

Commits on May 3, 2021

  1. Replace deprecated command

    Randl authored May 3, 2021
    Copy the full SHA
    fb9c7bf View commit details

Commits on May 9, 2021

  1. Merge pull request #42 from Randl/patch-1

    Replace deprecated command
    jkuczm authored May 9, 2021
    Copy the full SHA
    d63fe41 View commit details

Commits on May 13, 2021

  1. Use \hbox_unpack_(drop|clear):N whichever is available

    `\hbox_unpack_clear:N` was renamed to `\hbox_unpack_drop:N` in 2019,
    but some distributions still ship older versions of expl3,
    so use "drop" if it's available, and fall back to "clear" if not.
    jkuczm committed May 13, 2021
    Copy the full SHA
    7ff1d2d View commit details
  2. Make backtick a letter character

    In Mathematica it is a context mark that can be used as part of symbol
    names.
    jkuczm committed May 13, 2021
    Copy the full SHA
    59e7ccf View commit details
  3. Use plain form inner environments

    Instead of `\begin{list}` and `\end{list}` use `\list` and `\endlist`
    respectively.
    
    See https://tex.stackexchange.com/a/14684 for general arguments.
    
    Specific reason was that previous version required `\\` after last row
    when using `tabular` with `collcell` wrapped with `mmaCell` with
    `verbatimenv=` option, in custom environment. See also
    https://tex.stackexchange.com/a/83857 .
    jkuczm committed May 13, 2021
    Copy the full SHA
    8ed9724 View commit details
  4. Handle ^^Ms inside formatted "lines"

    When `listings`-`fancyverb` interface is switched on
    `\FancyVerbFormatLine` command set by `listings` can't handle carriage
    return (`^^M`) characters passed to it. Although it's intended to format
    individual lines, when `commandchars` are set, commands with arguments
    containing newlines are passed to `\FancyVerbFormatLine` as single
    "lines". This leads to infinite compilation.
    
    As a workaround all `^^M`s are replaced by `\empty`s before tokens are
    passed to formatting command.
    jkuczm committed May 13, 2021
    Copy the full SHA
    5ddaa70 View commit details
  5. Handle \left and \right commands

    `\left` and `\right` commands used with `listings`-`fancyverb`
    interface, even when properly registered with `morefvcmdparams` lead to
    "Missing delimiter" error.
    
    Probably they use their argument in some special way incompatible with
    how `listings` is passing arguments to `fvcmdparams`-registered
    commands.
    
    We can make them work by wrapping them with "ordinary" document level
    commands. Since those commands should work as originals, we just
    redefine originals locally inside formatted cells that use `listings`.
    jkuczm committed May 13, 2021
    Copy the full SHA
    7af8e49 View commit details
  6. Merge pull request #43 from jkuczm/support_older_distros

    Use `\hbox_unpack_(drop|clear):N` whichever is available
    jkuczm authored May 13, 2021
    Copy the full SHA
    c36af52 View commit details
  7. Merge pull request #44 from jkuczm/fix_backtick

    Make backtick a letter character
    jkuczm authored May 13, 2021
    Copy the full SHA
    7ed36d3 View commit details
  8. Merge pull request #45 from jkuczm/fix_inner_envs

    Use plain form inner environments
    jkuczm authored May 13, 2021
    Copy the full SHA
    34f0ea0 View commit details
  9. Merge pull request #46 from jkuczm/fix_newlines_in_args

    Handle `^^M`s inside formatted "lines"
    jkuczm authored May 13, 2021
    Copy the full SHA
    c6850d3 View commit details
  10. Merge pull request #47 from jkuczm/fix_left_right

    Handle `\left` and `\right` commands
    jkuczm authored May 13, 2021
    Copy the full SHA
    73a0ee7 View commit details

Commits on Sep 21, 2021

  1. Copy the full SHA
    b134000 View commit details

Commits on Sep 22, 2021

  1. Merge pull request #50 from drybalka/adapt-readme

    Adapt readme to contain most recent mmacells.sty file
    jkuczm authored Sep 22, 2021
    Copy the full SHA
    753de29 View commit details
Loading