#263: latex variable with exponent causes compilation error --------------------------+------------------------------------------------- Reporter: houtanb | Owner: sebastien Type: bug | Status: new Priority: minor | Milestone: 5.0 Component: Preprocessor | Version: 4.3.0 Keywords: | --------------------------+------------------------------------------------- See: http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=3846
Quick fix is to require users to place brackets around latex variables containing exponents (and probably underscores)
Complete fix is to place braces around variables with lead/lags and those variables with no lead/lag but that are followed by an exponent. In the user's case, we would output: {B^{problem}_{t-1}}^{\rho}
#263: latex variable with exponent causes compilation error --------------------------+------------------------------------------------- Reporter: houtanb | Owner: sebastien Type: bug | Status: new Priority: minor | Milestone: 5.0 Component: Preprocessor | Version: 4.3.0 Keywords: | --------------------------+-------------------------------------------------
Comment(by houtanb):
NB: {B_{t-1}}^{\rho} will not produce the ideal output (ie, just placing braces around a variable containing a lead/lag is more correct than the quick fix but not precisely the complete fix as described above)
#263: latex variable with exponent causes compilation error ---------------------------+---------------------- Reporter: houtanb | Owner: Type: bug | Status: assigned Priority: minor | Milestone: 5.0 Component: Preprocessor | Version: 4.3.0 Resolution: | Keywords: ---------------------------+---------------------- Changes (by sebastien):
* owner: sebastien => * status: new => assigned