Bug using breqn and babelbreqn is not compatible with icommawhy is adding `breqn` package breaks `etoolbox`...

Through what methods and mechanisms can a multi-material FDM printer operate?

What is in `tex.print` or `tex.sprint`?

My coworkers think I had a long honeymoon. Actually I was diagnosed with cancer. How do I talk about it?

Credit card offering 0.5 miles for every cent rounded up. Too good to be true?

Java guess the number

Why is quantum entanglement surprising?

Company did not petition for visa in a timely manner. Is asking me to work from overseas, but wants me to take a paycut

How is it possible that Gollum speaks Westron?

Bug using breqn and babel

Why does the Schrödinger equation work so well for the Hydrogen atom despite the relativistic boundary at the nucleus?

From system of coupled ODEs to separable ODE

How can I instantiate a lambda closure type in C++11/14?

Is there any word or phrase for negative bearing?

How would you say “AKA/as in”?

Who operates delivery flights for commercial airlines?

PhD student with mental health issues and bad performance

How can drunken, homicidal elves successfully conduct a wild hunt?

What are the words for people who cause trouble believing they know better?

Did Darth Vader wear the same suit for 20+ years?

Secure offsite backup, even in the case of hacker root access

Pay as you go Or Oyster card

What is the advantage of carrying a tripod and ND-filters when you could use image stacking instead?

How to generate random points without duplication?

Can a magnetic field of an object be stronger than its gravity?



Bug using breqn and babel


breqn is not compatible with icommawhy is adding `breqn` package breaks `etoolbox` command?Why does LuaTeX plus breqn quadruple output of text{} when in display-math mode?Lualatex and bm packageLualatex compilation problem using cancel and breqn packagesbreqn package and equation numberingHungarian with LuaLaTex and biberConflict between breqn and newtxmath packagesbreqn not aligning first two linesTikz-cd problems whilst also using breqn packagebreqn is not compatible with icomma













3















I've hit a bug that I cannot fix (no warnings/errors in the logs).



Here is a mwe:



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

begin{document}
[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]
end{document}


I use the following command to compile:



$ latexmk -lualatex bug.tex


The output is as follows, the commas are mapped to a Gamma symbol !?



Output



Does anyone have a clue on how to fix this ?



$ lualatex --version
This is LuaTeX, Version 1.07.0 (TeX Live 2018)
$ latexmk --version
Latexmk, John Collins, 17 Jan. 2018. Version 4.55









share|improve this question




















  • 1





    breqn is a nice proof-of-concept, but it's incompatible with a wealth of packages.

    – egreg
    6 hours ago






  • 1





    See also tex.stackexchange.com/a/483852/2388

    – Ulrike Fischer
    6 hours ago
















3















I've hit a bug that I cannot fix (no warnings/errors in the logs).



Here is a mwe:



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

begin{document}
[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]
end{document}


I use the following command to compile:



$ latexmk -lualatex bug.tex


The output is as follows, the commas are mapped to a Gamma symbol !?



Output



Does anyone have a clue on how to fix this ?



$ lualatex --version
This is LuaTeX, Version 1.07.0 (TeX Live 2018)
$ latexmk --version
Latexmk, John Collins, 17 Jan. 2018. Version 4.55









share|improve this question




















  • 1





    breqn is a nice proof-of-concept, but it's incompatible with a wealth of packages.

    – egreg
    6 hours ago






  • 1





    See also tex.stackexchange.com/a/483852/2388

    – Ulrike Fischer
    6 hours ago














3












3








3








I've hit a bug that I cannot fix (no warnings/errors in the logs).



Here is a mwe:



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

begin{document}
[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]
end{document}


I use the following command to compile:



$ latexmk -lualatex bug.tex


The output is as follows, the commas are mapped to a Gamma symbol !?



Output



Does anyone have a clue on how to fix this ?



$ lualatex --version
This is LuaTeX, Version 1.07.0 (TeX Live 2018)
$ latexmk --version
Latexmk, John Collins, 17 Jan. 2018. Version 4.55









share|improve this question
















I've hit a bug that I cannot fix (no warnings/errors in the logs).



Here is a mwe:



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

begin{document}
[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]
end{document}


I use the following command to compile:



$ latexmk -lualatex bug.tex


The output is as follows, the commas are mapped to a Gamma symbol !?



Output



Does anyone have a clue on how to fix this ?



$ lualatex --version
This is LuaTeX, Version 1.07.0 (TeX Live 2018)
$ latexmk --version
Latexmk, John Collins, 17 Jan. 2018. Version 4.55






luatex breqn






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 4 hours ago







neok

















asked 8 hours ago









neokneok

1909




1909








  • 1





    breqn is a nice proof-of-concept, but it's incompatible with a wealth of packages.

    – egreg
    6 hours ago






  • 1





    See also tex.stackexchange.com/a/483852/2388

    – Ulrike Fischer
    6 hours ago














  • 1





    breqn is a nice proof-of-concept, but it's incompatible with a wealth of packages.

    – egreg
    6 hours ago






  • 1





    See also tex.stackexchange.com/a/483852/2388

    – Ulrike Fischer
    6 hours ago








1




1





breqn is a nice proof-of-concept, but it's incompatible with a wealth of packages.

– egreg
6 hours ago





breqn is a nice proof-of-concept, but it's incompatible with a wealth of packages.

– egreg
6 hours ago




1




1





See also tex.stackexchange.com/a/483852/2388

– Ulrike Fischer
6 hours ago





See also tex.stackexchange.com/a/483852/2388

– Ulrike Fischer
6 hours ago










2 Answers
2






active

oldest

votes


















2














The babel-french module does std@math@comma upon entering and also exiting French language blocks.



This resets the mathcode for the comma to the standard, but breqn wants that the mathcode stays "8000.



Simply make std@math@comma to do nothing.



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

makeatletter
letstd@math@commarelax
makeatother

begin{document}

[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]

end{document}


enter image description here



You should be aware that breqn is not really compatible with several package and is better not used in serious typesetting tasks.






share|improve this answer
























  • Great investigation egreg, many thanks for the detailed explanations !

    – neok
    4 hours ago





















1














For lualatex use



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}
usepackage{unicode-math}
...





share|improve this answer



















  • 1





    Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

    – neok
    6 hours ago












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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493721%2fbug-using-breqn-and-babel%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














The babel-french module does std@math@comma upon entering and also exiting French language blocks.



This resets the mathcode for the comma to the standard, but breqn wants that the mathcode stays "8000.



Simply make std@math@comma to do nothing.



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

makeatletter
letstd@math@commarelax
makeatother

begin{document}

[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]

end{document}


enter image description here



You should be aware that breqn is not really compatible with several package and is better not used in serious typesetting tasks.






share|improve this answer
























  • Great investigation egreg, many thanks for the detailed explanations !

    – neok
    4 hours ago


















2














The babel-french module does std@math@comma upon entering and also exiting French language blocks.



This resets the mathcode for the comma to the standard, but breqn wants that the mathcode stays "8000.



Simply make std@math@comma to do nothing.



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

makeatletter
letstd@math@commarelax
makeatother

begin{document}

[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]

end{document}


enter image description here



You should be aware that breqn is not really compatible with several package and is better not used in serious typesetting tasks.






share|improve this answer
























  • Great investigation egreg, many thanks for the detailed explanations !

    – neok
    4 hours ago
















2












2








2







The babel-french module does std@math@comma upon entering and also exiting French language blocks.



This resets the mathcode for the comma to the standard, but breqn wants that the mathcode stays "8000.



Simply make std@math@comma to do nothing.



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

makeatletter
letstd@math@commarelax
makeatother

begin{document}

[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]

end{document}


enter image description here



You should be aware that breqn is not really compatible with several package and is better not used in serious typesetting tasks.






share|improve this answer













The babel-french module does std@math@comma upon entering and also exiting French language blocks.



This resets the mathcode for the comma to the standard, but breqn wants that the mathcode stays "8000.



Simply make std@math@comma to do nothing.



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}

makeatletter
letstd@math@commarelax
makeatother

begin{document}

[{A, B, C}]

selectlanguage{french}
[{A, B, C}]

selectlanguage{english}
[{A, B, C}]

end{document}


enter image description here



You should be aware that breqn is not really compatible with several package and is better not used in serious typesetting tasks.







share|improve this answer












share|improve this answer



share|improve this answer










answered 4 hours ago









egregegreg

745k8919513291




745k8919513291













  • Great investigation egreg, many thanks for the detailed explanations !

    – neok
    4 hours ago





















  • Great investigation egreg, many thanks for the detailed explanations !

    – neok
    4 hours ago



















Great investigation egreg, many thanks for the detailed explanations !

– neok
4 hours ago







Great investigation egreg, many thanks for the detailed explanations !

– neok
4 hours ago













1














For lualatex use



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}
usepackage{unicode-math}
...





share|improve this answer



















  • 1





    Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

    – neok
    6 hours ago
















1














For lualatex use



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}
usepackage{unicode-math}
...





share|improve this answer



















  • 1





    Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

    – neok
    6 hours ago














1












1








1







For lualatex use



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}
usepackage{unicode-math}
...





share|improve this answer













For lualatex use



documentclass{article}
usepackage[english,french]{babel}
usepackage{breqn}
usepackage{unicode-math}
...






share|improve this answer












share|improve this answer



share|improve this answer










answered 7 hours ago









Red-CloudRed-Cloud

3,363214




3,363214








  • 1





    Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

    – neok
    6 hours ago














  • 1





    Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

    – neok
    6 hours ago








1




1





Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

– neok
6 hours ago





Thanks, this works for this particular mwe but throws tons of errors for my huge document. I also see that unicode-math is quite eqperimental ?

– neok
6 hours ago


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f493721%2fbug-using-breqn-and-babel%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...