From: Tim Starling Date: Thu, 12 Nov 2009 01:50:02 +0000 (+0000) Subject: (bug 19159) Fixed missing tex_use_ams() for \overleftrightarrow. Patch suggested... X-Git-Tag: 1.31.0-rc.0~38848 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=65b060d512467b7a9cee18696c63ea0abff109e6;p=lhc%2Fweb%2Fwiklou.git (bug 19159) Fixed missing tex_use_ams() for \overleftrightarrow. Patch suggested by cirwin. Tested only compilation. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index d49a5ca4ff..989c80bd7c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -626,6 +626,7 @@ Hopefully we will remove this configuration var soon) * (bug 20112) Bitrotted tests in the t/ directory were failing. * (bug 21470) MediaWiki:Sp-contributions-explain is now wrapped in a

with id "mw-sp-contributions-explain" +* (bug 19159) Fixed \overleftrightarrow in texvc == API changes in 1.16 == diff --git a/math/texutil.ml b/math/texutil.ml index 7355bd645f..5062b663c8 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -481,7 +481,7 @@ let find = function | "\\underbrace" -> LITERAL (TEX_ONLY "\\underbrace ") | "\\overleftarrow" -> LITERAL (TEX_ONLY "\\overleftarrow ") | "\\overrightarrow" -> LITERAL (TEX_ONLY "\\overrightarrow ") - | "\\overleftrightarrow"->LITERAL (TEX_ONLY "\\overleftrightarrow ") + | "\\overleftrightarrow"-> (tex_use_ams(); LITERAL (TEX_ONLY "\\overleftrightarrow ")) | "\\check" -> FUN_AR1 "\\check " | "\\acute" -> FUN_AR1 "\\acute " | "\\grave" -> FUN_AR1 "\\grave "