Author: baum
Date: Sun Nov  6 19:12:20 2011
New Revision: 40144
URL: http://www.lyx.org/trac/changeset/40144

Log:
Fix bug 6834: Import theorems with optional argument correctly.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/   (props changed)
   lyx-devel/branches/BRANCH_2_0_X/lib/syntax.default
   lyx-devel/branches/BRANCH_2_0_X/src/tex2lyx/   (props changed)
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/syntax.default
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/syntax.default  Sun Nov  6 19:08:45 
2011        (r40143)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/syntax.default  Sun Nov  6 19:12:20 
2011        (r40144)
@@ -697,6 +697,7 @@
 \begin{environments}
 bibunit[]{translate}
 psmatrix[]{}
+theorem[]{translate} % from amsthm.sty and probably others
 thebibliography{}
 \end{environments}
 

Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x  Sun Nov  6 19:08:45 2011        
(r40143)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x  Sun Nov  6 19:12:20 2011        
(r40144)
@@ -158,6 +158,8 @@
 
 - Fix (La)TeX import of shaded boxes (bug 7843).
 
+- Fix LaTeX import of theorem environment with optional argument (bug 6834).
+
 - Store the autosave files of unnamed buffers in the correct directory
   and make sure they are not left behind after saving (bug 7793).
 

Reply via email to