Why am I getting Unidcode Error for some equations after updating Microsoft Windows from 7 to 10?











up vote
5
down vote

favorite












I have upgraded Windows from 7 to 10. When I am compiling some latex files, which were already built in Windows 7 and used to work fine - now in Windows 10 I am getting this error message for some equations:



! Package ucs Error: Unknown Unicode character 8289 = U+2061,
(ucs) possibly declared in uni-32.def.
(ucs) Type H to see if it is available with options.


Using XeLaTex works well, but I prefer compiling tex files, to do any online edits.



Here is an example...
When compiling the below tex file, eq1 and eq2 are fine, while eq3 and eq4 are not. Why and how can this tex file be compiled "in windows 10" without getting a Unicode error?



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{Scaled}=a+ frac{[x-min⁡(X)]}{[max⁡(X)-min⁡(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{Standardized}= frac{[x-mean⁡(X)]}{std(X)}
end{equation}

end{document}









share|improve this question




















  • 2




    This will be unrelated to the operating system, also it is generally better to avoid usepackage[utf8x]{inputenc}usepackage{ucs} unless you know you need that version and use the standard utf8 inputenc option (which is enabled by default in recent releases, so you don't need inputenc at all) How are you producing the file, why do you have U+2061 characters in the input?
    – David Carlisle
    Dec 11 at 20:54






  • 2




    "Using XeLaTex works well, but I prefer compiling tex files, to do any online edits." I don't really understand this statement, your TeX distribution should presumably supply Xe(La)TeX, Lua(La)TeX, and pdf(La)TeX, so you shouldn't need to go to an online system to make use of XeLaTeX.
    – aoi
    Dec 11 at 20:55






  • 1




    @mhdella you never answered the question of where the U+2061 character came from, it is rather hard to type this invisible character by accident, is this tex converted from some other format?
    – David Carlisle
    Dec 11 at 22:20






  • 1




    @mhdella no the windows version does not affect this at all, the error comes from the tex macros and they are not dependent on the operating system
    – David Carlisle
    Dec 11 at 23:02






  • 1




    @mhdella I quite understand that the file works on one and not the other but the version of windows won't be the cause, you may have older package version or the file might be in different encoding or ...
    – David Carlisle
    Dec 12 at 0:43















up vote
5
down vote

favorite












I have upgraded Windows from 7 to 10. When I am compiling some latex files, which were already built in Windows 7 and used to work fine - now in Windows 10 I am getting this error message for some equations:



! Package ucs Error: Unknown Unicode character 8289 = U+2061,
(ucs) possibly declared in uni-32.def.
(ucs) Type H to see if it is available with options.


Using XeLaTex works well, but I prefer compiling tex files, to do any online edits.



Here is an example...
When compiling the below tex file, eq1 and eq2 are fine, while eq3 and eq4 are not. Why and how can this tex file be compiled "in windows 10" without getting a Unicode error?



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{Scaled}=a+ frac{[x-min⁡(X)]}{[max⁡(X)-min⁡(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{Standardized}= frac{[x-mean⁡(X)]}{std(X)}
end{equation}

end{document}









share|improve this question




















  • 2




    This will be unrelated to the operating system, also it is generally better to avoid usepackage[utf8x]{inputenc}usepackage{ucs} unless you know you need that version and use the standard utf8 inputenc option (which is enabled by default in recent releases, so you don't need inputenc at all) How are you producing the file, why do you have U+2061 characters in the input?
    – David Carlisle
    Dec 11 at 20:54






  • 2




    "Using XeLaTex works well, but I prefer compiling tex files, to do any online edits." I don't really understand this statement, your TeX distribution should presumably supply Xe(La)TeX, Lua(La)TeX, and pdf(La)TeX, so you shouldn't need to go to an online system to make use of XeLaTeX.
    – aoi
    Dec 11 at 20:55






  • 1




    @mhdella you never answered the question of where the U+2061 character came from, it is rather hard to type this invisible character by accident, is this tex converted from some other format?
    – David Carlisle
    Dec 11 at 22:20






  • 1




    @mhdella no the windows version does not affect this at all, the error comes from the tex macros and they are not dependent on the operating system
    – David Carlisle
    Dec 11 at 23:02






  • 1




    @mhdella I quite understand that the file works on one and not the other but the version of windows won't be the cause, you may have older package version or the file might be in different encoding or ...
    – David Carlisle
    Dec 12 at 0:43













up vote
5
down vote

favorite









up vote
5
down vote

favorite











I have upgraded Windows from 7 to 10. When I am compiling some latex files, which were already built in Windows 7 and used to work fine - now in Windows 10 I am getting this error message for some equations:



! Package ucs Error: Unknown Unicode character 8289 = U+2061,
(ucs) possibly declared in uni-32.def.
(ucs) Type H to see if it is available with options.


Using XeLaTex works well, but I prefer compiling tex files, to do any online edits.



Here is an example...
When compiling the below tex file, eq1 and eq2 are fine, while eq3 and eq4 are not. Why and how can this tex file be compiled "in windows 10" without getting a Unicode error?



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{Scaled}=a+ frac{[x-min⁡(X)]}{[max⁡(X)-min⁡(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{Standardized}= frac{[x-mean⁡(X)]}{std(X)}
end{equation}

end{document}









share|improve this question















I have upgraded Windows from 7 to 10. When I am compiling some latex files, which were already built in Windows 7 and used to work fine - now in Windows 10 I am getting this error message for some equations:



! Package ucs Error: Unknown Unicode character 8289 = U+2061,
(ucs) possibly declared in uni-32.def.
(ucs) Type H to see if it is available with options.


Using XeLaTex works well, but I prefer compiling tex files, to do any online edits.



Here is an example...
When compiling the below tex file, eq1 and eq2 are fine, while eq3 and eq4 are not. Why and how can this tex file be compiled "in windows 10" without getting a Unicode error?



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{Scaled}=a+ frac{[x-min⁡(X)]}{[max⁡(X)-min⁡(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{Standardized}= frac{[x-mean⁡(X)]}{std(X)}
end{equation}

end{document}






math-mode pdftex compiling unicode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 12 at 5:19









Mico

272k30369756




272k30369756










asked Dec 11 at 20:32









mhdella

997




997








  • 2




    This will be unrelated to the operating system, also it is generally better to avoid usepackage[utf8x]{inputenc}usepackage{ucs} unless you know you need that version and use the standard utf8 inputenc option (which is enabled by default in recent releases, so you don't need inputenc at all) How are you producing the file, why do you have U+2061 characters in the input?
    – David Carlisle
    Dec 11 at 20:54






  • 2




    "Using XeLaTex works well, but I prefer compiling tex files, to do any online edits." I don't really understand this statement, your TeX distribution should presumably supply Xe(La)TeX, Lua(La)TeX, and pdf(La)TeX, so you shouldn't need to go to an online system to make use of XeLaTeX.
    – aoi
    Dec 11 at 20:55






  • 1




    @mhdella you never answered the question of where the U+2061 character came from, it is rather hard to type this invisible character by accident, is this tex converted from some other format?
    – David Carlisle
    Dec 11 at 22:20






  • 1




    @mhdella no the windows version does not affect this at all, the error comes from the tex macros and they are not dependent on the operating system
    – David Carlisle
    Dec 11 at 23:02






  • 1




    @mhdella I quite understand that the file works on one and not the other but the version of windows won't be the cause, you may have older package version or the file might be in different encoding or ...
    – David Carlisle
    Dec 12 at 0:43














  • 2




    This will be unrelated to the operating system, also it is generally better to avoid usepackage[utf8x]{inputenc}usepackage{ucs} unless you know you need that version and use the standard utf8 inputenc option (which is enabled by default in recent releases, so you don't need inputenc at all) How are you producing the file, why do you have U+2061 characters in the input?
    – David Carlisle
    Dec 11 at 20:54






  • 2




    "Using XeLaTex works well, but I prefer compiling tex files, to do any online edits." I don't really understand this statement, your TeX distribution should presumably supply Xe(La)TeX, Lua(La)TeX, and pdf(La)TeX, so you shouldn't need to go to an online system to make use of XeLaTeX.
    – aoi
    Dec 11 at 20:55






  • 1




    @mhdella you never answered the question of where the U+2061 character came from, it is rather hard to type this invisible character by accident, is this tex converted from some other format?
    – David Carlisle
    Dec 11 at 22:20






  • 1




    @mhdella no the windows version does not affect this at all, the error comes from the tex macros and they are not dependent on the operating system
    – David Carlisle
    Dec 11 at 23:02






  • 1




    @mhdella I quite understand that the file works on one and not the other but the version of windows won't be the cause, you may have older package version or the file might be in different encoding or ...
    – David Carlisle
    Dec 12 at 0:43








2




2




This will be unrelated to the operating system, also it is generally better to avoid usepackage[utf8x]{inputenc}usepackage{ucs} unless you know you need that version and use the standard utf8 inputenc option (which is enabled by default in recent releases, so you don't need inputenc at all) How are you producing the file, why do you have U+2061 characters in the input?
– David Carlisle
Dec 11 at 20:54




This will be unrelated to the operating system, also it is generally better to avoid usepackage[utf8x]{inputenc}usepackage{ucs} unless you know you need that version and use the standard utf8 inputenc option (which is enabled by default in recent releases, so you don't need inputenc at all) How are you producing the file, why do you have U+2061 characters in the input?
– David Carlisle
Dec 11 at 20:54




2




2




"Using XeLaTex works well, but I prefer compiling tex files, to do any online edits." I don't really understand this statement, your TeX distribution should presumably supply Xe(La)TeX, Lua(La)TeX, and pdf(La)TeX, so you shouldn't need to go to an online system to make use of XeLaTeX.
– aoi
Dec 11 at 20:55




"Using XeLaTex works well, but I prefer compiling tex files, to do any online edits." I don't really understand this statement, your TeX distribution should presumably supply Xe(La)TeX, Lua(La)TeX, and pdf(La)TeX, so you shouldn't need to go to an online system to make use of XeLaTeX.
– aoi
Dec 11 at 20:55




1




1




@mhdella you never answered the question of where the U+2061 character came from, it is rather hard to type this invisible character by accident, is this tex converted from some other format?
– David Carlisle
Dec 11 at 22:20




@mhdella you never answered the question of where the U+2061 character came from, it is rather hard to type this invisible character by accident, is this tex converted from some other format?
– David Carlisle
Dec 11 at 22:20




1




1




@mhdella no the windows version does not affect this at all, the error comes from the tex macros and they are not dependent on the operating system
– David Carlisle
Dec 11 at 23:02




@mhdella no the windows version does not affect this at all, the error comes from the tex macros and they are not dependent on the operating system
– David Carlisle
Dec 11 at 23:02




1




1




@mhdella I quite understand that the file works on one and not the other but the version of windows won't be the cause, you may have older package version or the file might be in different encoding or ...
– David Carlisle
Dec 12 at 0:43




@mhdella I quite understand that the file works on one and not the other but the version of windows won't be the cause, you may have older package version or the file might be in different encoding or ...
– David Carlisle
Dec 12 at 0:43










2 Answers
2






active

oldest

votes

















up vote
8
down vote













Compiling your code under LuaLaTeX (while also loading the unicode-math package) yields the following screenshot for equations 3 and 4:



enter image description here



I've highlighted the four occurrences of U+2061. Why is this character in your tex file to begin with?



I believe you should re-write your code using min and max along the following lines (to be compiled under pdfLaTeX):



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage{ucs} % is this really needed?
usepackage{amsmath}
DeclareMathOperator{mean}{mean}
DeclareMathOperator{std}{std}

begin{document}
begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+dots+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{mathrm{Scaled}}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{mathrm{Standardized}}= frac{[x-mean(X)]}{std(X)}
end{equation}
end{document}





share|improve this answer

















  • 2




    I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
    – egreg
    Dec 11 at 22:13










  • Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
    – mhdella
    Dec 11 at 22:45






  • 2




    @mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
    – Mico
    Dec 12 at 3:56


















up vote
6
down vote













Your file contains hidden characters that LaTeX can't deal with, copy-paste in a good editor to see it. The following image shows these hidden characters shown as f() after min, max, and mean, remove these and recompile. Also min and max are typset in up roman, also mean and std.



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs,amsmath}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_text{Scaled}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_text{Standardized}= frac{[x-mathrm{mean}(X)]}{mathrm{std}(X)}
end{equation}

end{document}


The correct output:




enter image description here







share|improve this answer























  • Thanks very much indeed, AboAmmar
    – mhdella
    Dec 11 at 21:16











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',
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%2f464393%2fwhy-am-i-getting-unidcode-error-for-some-equations-after-updating-microsoft-wind%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








up vote
8
down vote













Compiling your code under LuaLaTeX (while also loading the unicode-math package) yields the following screenshot for equations 3 and 4:



enter image description here



I've highlighted the four occurrences of U+2061. Why is this character in your tex file to begin with?



I believe you should re-write your code using min and max along the following lines (to be compiled under pdfLaTeX):



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage{ucs} % is this really needed?
usepackage{amsmath}
DeclareMathOperator{mean}{mean}
DeclareMathOperator{std}{std}

begin{document}
begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+dots+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{mathrm{Scaled}}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{mathrm{Standardized}}= frac{[x-mean(X)]}{std(X)}
end{equation}
end{document}





share|improve this answer

















  • 2




    I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
    – egreg
    Dec 11 at 22:13










  • Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
    – mhdella
    Dec 11 at 22:45






  • 2




    @mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
    – Mico
    Dec 12 at 3:56















up vote
8
down vote













Compiling your code under LuaLaTeX (while also loading the unicode-math package) yields the following screenshot for equations 3 and 4:



enter image description here



I've highlighted the four occurrences of U+2061. Why is this character in your tex file to begin with?



I believe you should re-write your code using min and max along the following lines (to be compiled under pdfLaTeX):



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage{ucs} % is this really needed?
usepackage{amsmath}
DeclareMathOperator{mean}{mean}
DeclareMathOperator{std}{std}

begin{document}
begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+dots+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{mathrm{Scaled}}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{mathrm{Standardized}}= frac{[x-mean(X)]}{std(X)}
end{equation}
end{document}





share|improve this answer

















  • 2




    I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
    – egreg
    Dec 11 at 22:13










  • Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
    – mhdella
    Dec 11 at 22:45






  • 2




    @mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
    – Mico
    Dec 12 at 3:56













up vote
8
down vote










up vote
8
down vote









Compiling your code under LuaLaTeX (while also loading the unicode-math package) yields the following screenshot for equations 3 and 4:



enter image description here



I've highlighted the four occurrences of U+2061. Why is this character in your tex file to begin with?



I believe you should re-write your code using min and max along the following lines (to be compiled under pdfLaTeX):



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage{ucs} % is this really needed?
usepackage{amsmath}
DeclareMathOperator{mean}{mean}
DeclareMathOperator{std}{std}

begin{document}
begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+dots+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{mathrm{Scaled}}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{mathrm{Standardized}}= frac{[x-mean(X)]}{std(X)}
end{equation}
end{document}





share|improve this answer












Compiling your code under LuaLaTeX (while also loading the unicode-math package) yields the following screenshot for equations 3 and 4:



enter image description here



I've highlighted the four occurrences of U+2061. Why is this character in your tex file to begin with?



I believe you should re-write your code using min and max along the following lines (to be compiled under pdfLaTeX):



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage{ucs} % is this really needed?
usepackage{amsmath}
DeclareMathOperator{mean}{mean}
DeclareMathOperator{std}{std}

begin{document}
begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+dots+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_{mathrm{Scaled}}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_{mathrm{Standardized}}= frac{[x-mean(X)]}{std(X)}
end{equation}
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 11 at 21:06









Mico

272k30369756




272k30369756








  • 2




    I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
    – egreg
    Dec 11 at 22:13










  • Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
    – mhdella
    Dec 11 at 22:45






  • 2




    @mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
    – Mico
    Dec 12 at 3:56














  • 2




    I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
    – egreg
    Dec 11 at 22:13










  • Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
    – mhdella
    Dec 11 at 22:45






  • 2




    @mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
    – Mico
    Dec 12 at 3:56








2




2




I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
– egreg
Dec 11 at 22:13




I guess the OP is using some equation editor and the new version adds that Unicode invisible character (which makes sense for translations to MathML, I believe).
– egreg
Dec 11 at 22:13












Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
– mhdella
Dec 11 at 22:45




Thanks Mico for your response and correcting the tex file. Thanks egreg for the comment. I managed the Unicode error by just adding usepackage[utf8x]{inputenc} and DeclareUnicodeCharacter{"2061}{}
– mhdella
Dec 11 at 22:45




2




2




@mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
– Mico
Dec 12 at 3:56




@mhdella - Glad you found a workaround. A separate issue: I would hope you’ll still do your readers a favor and start writing mib, max, etc. That’ll make it much easier for them to notice what’s an operator and what’s a string of one-letter variable names.
– Mico
Dec 12 at 3:56










up vote
6
down vote













Your file contains hidden characters that LaTeX can't deal with, copy-paste in a good editor to see it. The following image shows these hidden characters shown as f() after min, max, and mean, remove these and recompile. Also min and max are typset in up roman, also mean and std.



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs,amsmath}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_text{Scaled}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_text{Standardized}= frac{[x-mathrm{mean}(X)]}{mathrm{std}(X)}
end{equation}

end{document}


The correct output:




enter image description here







share|improve this answer























  • Thanks very much indeed, AboAmmar
    – mhdella
    Dec 11 at 21:16















up vote
6
down vote













Your file contains hidden characters that LaTeX can't deal with, copy-paste in a good editor to see it. The following image shows these hidden characters shown as f() after min, max, and mean, remove these and recompile. Also min and max are typset in up roman, also mean and std.



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs,amsmath}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_text{Scaled}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_text{Standardized}= frac{[x-mathrm{mean}(X)]}{mathrm{std}(X)}
end{equation}

end{document}


The correct output:




enter image description here







share|improve this answer























  • Thanks very much indeed, AboAmmar
    – mhdella
    Dec 11 at 21:16













up vote
6
down vote










up vote
6
down vote









Your file contains hidden characters that LaTeX can't deal with, copy-paste in a good editor to see it. The following image shows these hidden characters shown as f() after min, max, and mean, remove these and recompile. Also min and max are typset in up roman, also mean and std.



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs,amsmath}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_text{Scaled}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_text{Standardized}= frac{[x-mathrm{mean}(X)]}{mathrm{std}(X)}
end{equation}

end{document}


The correct output:




enter image description here







share|improve this answer














Your file contains hidden characters that LaTeX can't deal with, copy-paste in a good editor to see it. The following image shows these hidden characters shown as f() after min, max, and mean, remove these and recompile. Also min and max are typset in up roman, also mean and std.



enter image description here



documentclass[12pt,a4paper]{article} 
usepackage[utf8x]{inputenc}
usepackage{ucs,amsmath}

begin{document}

begin{equation}label{eq 1}
F=W_{A}*M_{A}+W_{B}*M_{B}+..+W_{N}*M_{N}
end{equation}

begin{equation}label{eq 2}
RR=frac{dP(t)}{dt}=frac{P(t)-P(t-D)}{D}
end{equation}

begin{equation}label{eq_3}
X_text{Scaled}=a+ frac{[x-min(X)]}{[max(X)-min(X)]}*{b-a}
end{equation}

begin{equation}label{eq_4}
X_text{Standardized}= frac{[x-mathrm{mean}(X)]}{mathrm{std}(X)}
end{equation}

end{document}


The correct output:




enter image description here








share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 11 at 21:05

























answered Dec 11 at 20:54









AboAmmar

32.2k22781




32.2k22781












  • Thanks very much indeed, AboAmmar
    – mhdella
    Dec 11 at 21:16


















  • Thanks very much indeed, AboAmmar
    – mhdella
    Dec 11 at 21:16
















Thanks very much indeed, AboAmmar
– mhdella
Dec 11 at 21:16




Thanks very much indeed, AboAmmar
– mhdella
Dec 11 at 21:16


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f464393%2fwhy-am-i-getting-unidcode-error-for-some-equations-after-updating-microsoft-wind%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

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b