Page MenuHomePhabricator

spacing around \bmod is wrong
Closed, ResolvedPublic

Description

Author: gunther.vogel

Description:
When using \bmod in a formula which is rendered as an PNG, the glue around
the operator is missing. Patch follows.


Version: unspecified
Severity: normal
OS: other
Platform: Other

Details

Reference
bz3624

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:52 PM
bzimport added a project: Math.
bzimport set Reference to bz3624.
bzimport added a subscriber: Unknown Object (MLST).

gunther.vogel wrote:

bugfix for \bmod spacing bug (texvc) and a few other minor things

Patch to texutil.ml which fixes a few minor things:

  • spacing around \bmod was missing
  • \ker, \hom, \arg, \dim should be treated like \sin & \cos (i.e., they don't need TeX)
  • \approx may be translated to HTML as ≈

Attached:

jeluf wrote:

Fixed in svn r22658: TeX: \ker, \hom, \arg, \dim treated like \sin & \cos
approx bhaviour changed, too.

bmod change not implemented. Mathematicians don't use "5 bmod 3" but "5 mod 3".