Using polyglossia with Hebrew as second language mess up align environment
Edit: the problem appears when using xelatex from TL 2015, when using xelatex from TL 2017 everything is fine.
Here is a working example
documentclass{report}
usepackage{amsmath}
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
begin{document}
begin{align}
1 + 1 = 2
\
1 + 2 = 3
end{align}
end{document}
And here is how the align environment looks like
after removing
setotherlanguage{hebrew}
I'm getting the desired result:
How can I use Hebrew without messing up the numbering of the align environment?
Thank you,
Gilad
polyglossia hebrew
add a comment |
Edit: the problem appears when using xelatex from TL 2015, when using xelatex from TL 2017 everything is fine.
Here is a working example
documentclass{report}
usepackage{amsmath}
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
begin{document}
begin{align}
1 + 1 = 2
\
1 + 2 = 3
end{align}
end{document}
And here is how the align environment looks like
after removing
setotherlanguage{hebrew}
I'm getting the desired result:
How can I use Hebrew without messing up the numbering of the align environment?
Thank you,
Gilad
polyglossia hebrew
1
Do you compile with XeLaTeX or LuaLaTeX? What version of each are you using? What are your package versions? (Addlistfiles
to the beginning of the test file to get a table of package versions like in Herbert's answer at the end of the.log
file)
– moewe
Jan 13 at 8:37
With LuaLaTeX 1.09 (MikTeX 2.9 on Win 10 fully updated this morning) the example fails to compile due to undefined control sequences inpolyglossia
files. With XeLaTeX 0.999991 the example compiles fine and the parentheses show up as expected. I guess this is a version problem.
– moewe
Jan 13 at 8:42
I can't reproduce the issue with XeLaTeX. What TeX distribution are you using?
– egreg
Jan 13 at 16:16
add a comment |
Edit: the problem appears when using xelatex from TL 2015, when using xelatex from TL 2017 everything is fine.
Here is a working example
documentclass{report}
usepackage{amsmath}
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
begin{document}
begin{align}
1 + 1 = 2
\
1 + 2 = 3
end{align}
end{document}
And here is how the align environment looks like
after removing
setotherlanguage{hebrew}
I'm getting the desired result:
How can I use Hebrew without messing up the numbering of the align environment?
Thank you,
Gilad
polyglossia hebrew
Edit: the problem appears when using xelatex from TL 2015, when using xelatex from TL 2017 everything is fine.
Here is a working example
documentclass{report}
usepackage{amsmath}
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
begin{document}
begin{align}
1 + 1 = 2
\
1 + 2 = 3
end{align}
end{document}
And here is how the align environment looks like
after removing
setotherlanguage{hebrew}
I'm getting the desired result:
How can I use Hebrew without messing up the numbering of the align environment?
Thank you,
Gilad
polyglossia hebrew
polyglossia hebrew
edited Jan 13 at 19:20
Gilad
asked Jan 11 at 8:45
GiladGilad
1185
1185
1
Do you compile with XeLaTeX or LuaLaTeX? What version of each are you using? What are your package versions? (Addlistfiles
to the beginning of the test file to get a table of package versions like in Herbert's answer at the end of the.log
file)
– moewe
Jan 13 at 8:37
With LuaLaTeX 1.09 (MikTeX 2.9 on Win 10 fully updated this morning) the example fails to compile due to undefined control sequences inpolyglossia
files. With XeLaTeX 0.999991 the example compiles fine and the parentheses show up as expected. I guess this is a version problem.
– moewe
Jan 13 at 8:42
I can't reproduce the issue with XeLaTeX. What TeX distribution are you using?
– egreg
Jan 13 at 16:16
add a comment |
1
Do you compile with XeLaTeX or LuaLaTeX? What version of each are you using? What are your package versions? (Addlistfiles
to the beginning of the test file to get a table of package versions like in Herbert's answer at the end of the.log
file)
– moewe
Jan 13 at 8:37
With LuaLaTeX 1.09 (MikTeX 2.9 on Win 10 fully updated this morning) the example fails to compile due to undefined control sequences inpolyglossia
files. With XeLaTeX 0.999991 the example compiles fine and the parentheses show up as expected. I guess this is a version problem.
– moewe
Jan 13 at 8:42
I can't reproduce the issue with XeLaTeX. What TeX distribution are you using?
– egreg
Jan 13 at 16:16
1
1
Do you compile with XeLaTeX or LuaLaTeX? What version of each are you using? What are your package versions? (Add
listfiles
to the beginning of the test file to get a table of package versions like in Herbert's answer at the end of the .log
file)– moewe
Jan 13 at 8:37
Do you compile with XeLaTeX or LuaLaTeX? What version of each are you using? What are your package versions? (Add
listfiles
to the beginning of the test file to get a table of package versions like in Herbert's answer at the end of the .log
file)– moewe
Jan 13 at 8:37
With LuaLaTeX 1.09 (MikTeX 2.9 on Win 10 fully updated this morning) the example fails to compile due to undefined control sequences in
polyglossia
files. With XeLaTeX 0.999991 the example compiles fine and the parentheses show up as expected. I guess this is a version problem.– moewe
Jan 13 at 8:42
With LuaLaTeX 1.09 (MikTeX 2.9 on Win 10 fully updated this morning) the example fails to compile due to undefined control sequences in
polyglossia
files. With XeLaTeX 0.999991 the example compiles fine and the parentheses show up as expected. I guess this is a version problem.– moewe
Jan 13 at 8:42
I can't reproduce the issue with XeLaTeX. What TeX distribution are you using?
– egreg
Jan 13 at 16:16
I can't reproduce the issue with XeLaTeX. What TeX distribution are you using?
– egreg
Jan 13 at 16:16
add a comment |
1 Answer
1
active
oldest
votes
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
with up-to-date TL2018:
*File List*
report.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
amsmath.sty 2018/12/01 v2.17b AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
polyglossia.sty 2018/04/07 v1.43 Alternative to Babel for XeLaTeX and LuaLaT
eX
etoolbox.sty 2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
makecmds.sty 2009/09/03 v1.0a extra command making commands
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
fontspec.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
xparse.sty 2018-10-17 L3 Experimental document command parser
expl3.sty 2019-01-01 L3 programming layer (loader)
expl3-code.tex 2019-01-01 L3 programming layer
l3xdvipdfmx.def
fontspec-xetex.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
tuenc.def 2018/08/11 v2.0j Standard LaTeX file
fontspec.cfg
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
gloss-english.ldf polyglossia: module for english
gloss-hebrew.ldf polyglossia: module for hebrew
hebrewcal.sty 2015/04/17 v2.6 Hebrew calendar for polyglossia (adapted from
hebcal.sty in Babel)
bidi.sty 2018/12/11 v35.4 Bidirectional typesetting in plain TeX and LaT
eX
iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX
biditools.sty 2018/12/11 v1.9 Programming tools for bidi package
zref-abspage.sty 2018/11/21 v2.27 Module abspage for zref (HO)
zref-base.sty 2018/11/21 v2.27 Module base for zref (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty 2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
ifpdf.sty 2018/09/07 v3.3 Provides the ifpdf switch
auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO)
atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO)
latex-xetex-bidi.def 2018/10/11 v1.3.6 bidi adaptations for `latex.ltx' for
XeTeX engine
footnote-xetex-bidi.def 2017/08/09 v1.1 bidi footnote macros for XeTeX engin
e
report-xetex-bidi.def 2017/06/09 v0.8 bidi adaptations for standard report c
lass for XeTeX engine
amsmath-xetex-bidi.def 2018/01/08 v1.1 bidi adaptations for amsmath package
for XeTeX engine
amstext-xetex-bidi.def 2016/09/12 v0.2 bidi adaptations for amstext package
for XeTeX engine
loadingorder-xetex-bidi.def 2017/12/29 v0.97 making sure that bidi is the la
st package loaded
cal-util.def
babel-hebrewalph.def 2010/03/02 Babel definitions for Hebrew numerals
Adapted from hebrew.ldf (2005/03/30 v2.3h)
***********
Getting the same result even when addingsetmainlanguage{english}
.
– Gilad
Jan 13 at 6:12
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469658%2fusing-polyglossia-with-hebrew-as-second-language-mess-up-align-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
with up-to-date TL2018:
*File List*
report.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
amsmath.sty 2018/12/01 v2.17b AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
polyglossia.sty 2018/04/07 v1.43 Alternative to Babel for XeLaTeX and LuaLaT
eX
etoolbox.sty 2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
makecmds.sty 2009/09/03 v1.0a extra command making commands
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
fontspec.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
xparse.sty 2018-10-17 L3 Experimental document command parser
expl3.sty 2019-01-01 L3 programming layer (loader)
expl3-code.tex 2019-01-01 L3 programming layer
l3xdvipdfmx.def
fontspec-xetex.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
tuenc.def 2018/08/11 v2.0j Standard LaTeX file
fontspec.cfg
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
gloss-english.ldf polyglossia: module for english
gloss-hebrew.ldf polyglossia: module for hebrew
hebrewcal.sty 2015/04/17 v2.6 Hebrew calendar for polyglossia (adapted from
hebcal.sty in Babel)
bidi.sty 2018/12/11 v35.4 Bidirectional typesetting in plain TeX and LaT
eX
iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX
biditools.sty 2018/12/11 v1.9 Programming tools for bidi package
zref-abspage.sty 2018/11/21 v2.27 Module abspage for zref (HO)
zref-base.sty 2018/11/21 v2.27 Module base for zref (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty 2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
ifpdf.sty 2018/09/07 v3.3 Provides the ifpdf switch
auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO)
atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO)
latex-xetex-bidi.def 2018/10/11 v1.3.6 bidi adaptations for `latex.ltx' for
XeTeX engine
footnote-xetex-bidi.def 2017/08/09 v1.1 bidi footnote macros for XeTeX engin
e
report-xetex-bidi.def 2017/06/09 v0.8 bidi adaptations for standard report c
lass for XeTeX engine
amsmath-xetex-bidi.def 2018/01/08 v1.1 bidi adaptations for amsmath package
for XeTeX engine
amstext-xetex-bidi.def 2016/09/12 v0.2 bidi adaptations for amstext package
for XeTeX engine
loadingorder-xetex-bidi.def 2017/12/29 v0.97 making sure that bidi is the la
st package loaded
cal-util.def
babel-hebrewalph.def 2010/03/02 Babel definitions for Hebrew numerals
Adapted from hebrew.ldf (2005/03/30 v2.3h)
***********
Getting the same result even when addingsetmainlanguage{english}
.
– Gilad
Jan 13 at 6:12
add a comment |
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
with up-to-date TL2018:
*File List*
report.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
amsmath.sty 2018/12/01 v2.17b AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
polyglossia.sty 2018/04/07 v1.43 Alternative to Babel for XeLaTeX and LuaLaT
eX
etoolbox.sty 2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
makecmds.sty 2009/09/03 v1.0a extra command making commands
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
fontspec.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
xparse.sty 2018-10-17 L3 Experimental document command parser
expl3.sty 2019-01-01 L3 programming layer (loader)
expl3-code.tex 2019-01-01 L3 programming layer
l3xdvipdfmx.def
fontspec-xetex.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
tuenc.def 2018/08/11 v2.0j Standard LaTeX file
fontspec.cfg
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
gloss-english.ldf polyglossia: module for english
gloss-hebrew.ldf polyglossia: module for hebrew
hebrewcal.sty 2015/04/17 v2.6 Hebrew calendar for polyglossia (adapted from
hebcal.sty in Babel)
bidi.sty 2018/12/11 v35.4 Bidirectional typesetting in plain TeX and LaT
eX
iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX
biditools.sty 2018/12/11 v1.9 Programming tools for bidi package
zref-abspage.sty 2018/11/21 v2.27 Module abspage for zref (HO)
zref-base.sty 2018/11/21 v2.27 Module base for zref (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty 2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
ifpdf.sty 2018/09/07 v3.3 Provides the ifpdf switch
auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO)
atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO)
latex-xetex-bidi.def 2018/10/11 v1.3.6 bidi adaptations for `latex.ltx' for
XeTeX engine
footnote-xetex-bidi.def 2017/08/09 v1.1 bidi footnote macros for XeTeX engin
e
report-xetex-bidi.def 2017/06/09 v0.8 bidi adaptations for standard report c
lass for XeTeX engine
amsmath-xetex-bidi.def 2018/01/08 v1.1 bidi adaptations for amsmath package
for XeTeX engine
amstext-xetex-bidi.def 2016/09/12 v0.2 bidi adaptations for amstext package
for XeTeX engine
loadingorder-xetex-bidi.def 2017/12/29 v0.97 making sure that bidi is the la
st package loaded
cal-util.def
babel-hebrewalph.def 2010/03/02 Babel definitions for Hebrew numerals
Adapted from hebrew.ldf (2005/03/30 v2.3h)
***********
Getting the same result even when addingsetmainlanguage{english}
.
– Gilad
Jan 13 at 6:12
add a comment |
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
with up-to-date TL2018:
*File List*
report.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
amsmath.sty 2018/12/01 v2.17b AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
polyglossia.sty 2018/04/07 v1.43 Alternative to Babel for XeLaTeX and LuaLaT
eX
etoolbox.sty 2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
makecmds.sty 2009/09/03 v1.0a extra command making commands
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
fontspec.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
xparse.sty 2018-10-17 L3 Experimental document command parser
expl3.sty 2019-01-01 L3 programming layer (loader)
expl3-code.tex 2019-01-01 L3 programming layer
l3xdvipdfmx.def
fontspec-xetex.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
tuenc.def 2018/08/11 v2.0j Standard LaTeX file
fontspec.cfg
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
gloss-english.ldf polyglossia: module for english
gloss-hebrew.ldf polyglossia: module for hebrew
hebrewcal.sty 2015/04/17 v2.6 Hebrew calendar for polyglossia (adapted from
hebcal.sty in Babel)
bidi.sty 2018/12/11 v35.4 Bidirectional typesetting in plain TeX and LaT
eX
iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX
biditools.sty 2018/12/11 v1.9 Programming tools for bidi package
zref-abspage.sty 2018/11/21 v2.27 Module abspage for zref (HO)
zref-base.sty 2018/11/21 v2.27 Module base for zref (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty 2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
ifpdf.sty 2018/09/07 v3.3 Provides the ifpdf switch
auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO)
atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO)
latex-xetex-bidi.def 2018/10/11 v1.3.6 bidi adaptations for `latex.ltx' for
XeTeX engine
footnote-xetex-bidi.def 2017/08/09 v1.1 bidi footnote macros for XeTeX engin
e
report-xetex-bidi.def 2017/06/09 v0.8 bidi adaptations for standard report c
lass for XeTeX engine
amsmath-xetex-bidi.def 2018/01/08 v1.1 bidi adaptations for amsmath package
for XeTeX engine
amstext-xetex-bidi.def 2016/09/12 v0.2 bidi adaptations for amstext package
for XeTeX engine
loadingorder-xetex-bidi.def 2017/12/29 v0.97 making sure that bidi is the la
st package loaded
cal-util.def
babel-hebrewalph.def 2010/03/02 Babel definitions for Hebrew numerals
Adapted from hebrew.ldf (2005/03/30 v2.3h)
***********
usepackage{polyglossia}
setmainlanguage{english}
setotherlanguage{hebrew}
newfontfamilyhebrewfont[Script=Hebrew]{David CLM}
with up-to-date TL2018:
*File List*
report.cls 2018/09/03 v1.4i Standard LaTeX document class
size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option)
amsmath.sty 2018/12/01 v2.17b AMS math features
amstext.sty 2000/06/29 v2.01 AMS text
amsgen.sty 1999/11/30 v2.0 generic functions
amsbsy.sty 1999/11/29 v1.2d Bold Symbols
amsopn.sty 2016/03/08 v2.02 operator names
polyglossia.sty 2018/04/07 v1.43 Alternative to Babel for XeLaTeX and LuaLaT
eX
etoolbox.sty 2018/08/19 v2.5f e-TeX tools for LaTeX (JAW)
makecmds.sty 2009/09/03 v1.0a extra command making commands
xkeyval.sty 2014/12/03 v2.7a package option processing (HA)
xkeyval.tex 2014/12/03 v2.7a key=value parser (HA)
fontspec.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
xparse.sty 2018-10-17 L3 Experimental document command parser
expl3.sty 2019-01-01 L3 programming layer (loader)
expl3-code.tex 2019-01-01 L3 programming layer
l3xdvipdfmx.def
fontspec-xetex.sty 2018/07/30 vv2.6h Font selection for XeLaTeX and LuaLaTeX
fontenc.sty
tuenc.def 2018/08/11 v2.0j Standard LaTeX file
fontspec.cfg
ifluatex.sty 2016/05/16 v1.4 Provides the ifluatex switch (HO)
ifxetex.sty 2010/09/12 v0.6 Provides ifxetex conditional
gloss-english.ldf polyglossia: module for english
gloss-hebrew.ldf polyglossia: module for hebrew
hebrewcal.sty 2015/04/17 v2.6 Hebrew calendar for polyglossia (adapted from
hebcal.sty in Babel)
bidi.sty 2018/12/11 v35.4 Bidirectional typesetting in plain TeX and LaT
eX
iftex.sty 2013/04/04 v0.2 Provides if(tex) conditional for PDFTeX, XeTeX,
and LuaTeX
biditools.sty 2018/12/11 v1.9 Programming tools for bidi package
zref-abspage.sty 2018/11/21 v2.27 Module abspage for zref (HO)
zref-base.sty 2018/11/21 v2.27 Module base for zref (HO)
ltxcmds.sty 2016/05/16 v1.23 LaTeX kernel commands for general use (HO)
infwarerr.sty 2016/05/16 v1.4 Providing info/warning/error messages (HO)
kvsetkeys.sty 2016/05/16 v1.17 Key value parser (HO)
etexcmds.sty 2016/05/16 v1.6 Avoid name clashes with e-TeX commands (HO)
kvdefinekeys.sty 2016/05/16 v1.4 Define keys (HO)
pdftexcmds.sty 2018/09/10 v0.29 Utility functions of pdfTeX for LuaTeX (HO)
ifpdf.sty 2018/09/07 v3.3 Provides the ifpdf switch
auxhook.sty 2016/05/16 v1.4 Hooks for auxiliary files (HO)
atbegshi.sty 2016/06/09 v1.18 At begin shipout hook (HO)
latex-xetex-bidi.def 2018/10/11 v1.3.6 bidi adaptations for `latex.ltx' for
XeTeX engine
footnote-xetex-bidi.def 2017/08/09 v1.1 bidi footnote macros for XeTeX engin
e
report-xetex-bidi.def 2017/06/09 v0.8 bidi adaptations for standard report c
lass for XeTeX engine
amsmath-xetex-bidi.def 2018/01/08 v1.1 bidi adaptations for amsmath package
for XeTeX engine
amstext-xetex-bidi.def 2016/09/12 v0.2 bidi adaptations for amstext package
for XeTeX engine
loadingorder-xetex-bidi.def 2017/12/29 v0.97 making sure that bidi is the la
st package loaded
cal-util.def
babel-hebrewalph.def 2010/03/02 Babel definitions for Hebrew numerals
Adapted from hebrew.ldf (2005/03/30 v2.3h)
***********
edited Jan 13 at 6:20
answered Jan 11 at 11:18
HerbertHerbert
271k24409719
271k24409719
Getting the same result even when addingsetmainlanguage{english}
.
– Gilad
Jan 13 at 6:12
add a comment |
Getting the same result even when addingsetmainlanguage{english}
.
– Gilad
Jan 13 at 6:12
Getting the same result even when adding
setmainlanguage{english}
.– Gilad
Jan 13 at 6:12
Getting the same result even when adding
setmainlanguage{english}
.– Gilad
Jan 13 at 6:12
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f469658%2fusing-polyglossia-with-hebrew-as-second-language-mess-up-align-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Do you compile with XeLaTeX or LuaLaTeX? What version of each are you using? What are your package versions? (Add
listfiles
to the beginning of the test file to get a table of package versions like in Herbert's answer at the end of the.log
file)– moewe
Jan 13 at 8:37
With LuaLaTeX 1.09 (MikTeX 2.9 on Win 10 fully updated this morning) the example fails to compile due to undefined control sequences in
polyglossia
files. With XeLaTeX 0.999991 the example compiles fine and the parentheses show up as expected. I guess this is a version problem.– moewe
Jan 13 at 8:42
I can't reproduce the issue with XeLaTeX. What TeX distribution are you using?
– egreg
Jan 13 at 16:16