]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/heb-article.layout
Cleanup bv-dependent variables in InsetCollapsable
[lyx.git] / lib / layouts / heb-article.layout
index 028492eb8c0dfb0065fa8663d9b18ecabac14e0b..c9122bdcbd5426945b0b94bf8a70480ec0838f6c 100644 (file)
@@ -5,7 +5,7 @@
 # Author: Dekel Tsur <dekel@math.tau.ac.il>
 # Few changes by Baruch Even <baruch.even@writeme.com>
 
-Format 43
+Format 60
 Input article
 
 Preamble
@@ -13,11 +13,21 @@ Preamble
        \theorembodyfont{\upshape}
        \newtheorem{theorem}{\R{משפט}}[section]
        \AtBeginDocument{\make@lr\thetheorem}
+
+       % The following chunk fixes export with XeTeX.
+       % It is needed because polyglossia is used by default
+       % and \make@lr is only defined by babel.
+       \@ifundefined{make@lr}
+       {\def\make@lr#1{\begingroup
+           \toks@=\expandafter{#1}%
+           \edef\x{\endgroup
+         \def\noexpand#1{\noexpand\@number{\the\toks@}}}%
+         \x}}{\relax}
 EndPreamble
 
 
 Style Theorem
-       Category              Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             theorem
@@ -95,7 +105,7 @@ End
 
 
 Style Proof
-       Category              Theorem
+       Category              Reasoning
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             proof