User "Thenub314" posted a comment on MediaWiki.r86962. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/86962#c16495 Commit summary:
The following changes enhance the way texvc handles space around mathematical function names when translating to HTML; adds support for the sen, the Spanish name for sin; and corrects a bug that eliminates spacing around \operatorname{...} in the resulting png. More specifically, texvc now dectect whether or not a standard function such as is followed by a delimitier such as (, {, [ etc. and adds a space or not as appropriate. This issue The code has been reorganized to include a list of standard LaTeX commands whose spacing rules are the same, and treates them all on an equal footing. It similarly treats functions defined for mediawiki in the same way it treats standard latex functions. One addition function is added, \sen, and others can be added easily if necessary. Finally LaTeX generated by texvc contained to many braces which altered the spacing created by the command \operatorname, this has now been corrected. These last two changes address the issues raised in bug 18912 and the chaning in translation to HTML address most, but not all, of the issues raised in bug 6722 . Comment: Revision r87117 corrects a small bug introduced in this change. which results to not inserting a space after the function name when no braces are used. That is if the input was <math>\sin x</math> the the code sent to LaTeX was \sinx. _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview