tex4ht doesn't render not correctly
up vote
3
down vote
favorite
I tried to htlatex the following code:
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Anotsubseteq B$.
end{document}
It compiles $notsubseteq$
to something like $/subseteq$
. Is there a simple fix for that? Thanks.
EDIT:
I refer to subseteq
just make things concrete (see an answer below for the usage of nsubseteq
. I wonder whether generally, not
could be modified to work for a general binary relation.
tex4ht
add a comment |
up vote
3
down vote
favorite
I tried to htlatex the following code:
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Anotsubseteq B$.
end{document}
It compiles $notsubseteq$
to something like $/subseteq$
. Is there a simple fix for that? Thanks.
EDIT:
I refer to subseteq
just make things concrete (see an answer below for the usage of nsubseteq
. I wonder whether generally, not
could be modified to work for a general binary relation.
tex4ht
what is strange is that a correct symbol is rendered in thehtml5
output, or withepub3
.
– michal.h21
Nov 27 at 14:32
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I tried to htlatex the following code:
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Anotsubseteq B$.
end{document}
It compiles $notsubseteq$
to something like $/subseteq$
. Is there a simple fix for that? Thanks.
EDIT:
I refer to subseteq
just make things concrete (see an answer below for the usage of nsubseteq
. I wonder whether generally, not
could be modified to work for a general binary relation.
tex4ht
I tried to htlatex the following code:
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Anotsubseteq B$.
end{document}
It compiles $notsubseteq$
to something like $/subseteq$
. Is there a simple fix for that? Thanks.
EDIT:
I refer to subseteq
just make things concrete (see an answer below for the usage of nsubseteq
. I wonder whether generally, not
could be modified to work for a general binary relation.
tex4ht
tex4ht
edited Nov 27 at 12:48
asked Nov 27 at 11:33
Frank Science
1446
1446
what is strange is that a correct symbol is rendered in thehtml5
output, or withepub3
.
– michal.h21
Nov 27 at 14:32
add a comment |
what is strange is that a correct symbol is rendered in thehtml5
output, or withepub3
.
– michal.h21
Nov 27 at 14:32
what is strange is that a correct symbol is rendered in the
html5
output, or with epub3
.– michal.h21
Nov 27 at 14:32
what is strange is that a correct symbol is rendered in the
html5
output, or with epub3
.– michal.h21
Nov 27 at 14:32
add a comment |
2 Answers
2
active
oldest
votes
up vote
4
down vote
accepted
You can try the uni-html4
option for tex4ht. It configures some characters to use the Unicode encoding:
tex4ebook filename.tex "uni-html4"
I've modified the tex4ebook sources to use this option by default, as it uses the Unicode output anyway.
The result:
<!--l. 7--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A</span>⊈<span
class="cmmi-10">B</span>.
</p>
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
@FrankScience sure,htlatex filename.tex "xhtml,uni-html4"
. thehtml5
option loads the Unicode declarations as well, which explain whymake4ht
produced a different output totex4ebook
- it uses thehtml5
output by default.
– michal.h21
Nov 27 at 16:32
add a comment |
up vote
3
down vote
You can use $nsubseteq$
instead of $notsubseteq
.
MWE
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Ansubseteq B$.
end{document}
HTML Source:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<!-- html -->
<meta name="src" content="temp245.tex">
<link rel="stylesheet" type="text/css" href="temp245.css">
</head><body
>
<!--l. 6--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A </span><span
class="msbm-10">⊈ </span><span
class="cmmi-10">B</span>.
</body></html>
Rendered HTML:
Given two sets A,B such that A is not a subset of B, i.e., A ⊈ B.
Thanks. In fact, I knewnsubseteq
. I am, however, trying to understand whether we can makenot
generally working.
– Frank Science
Nov 27 at 12:46
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googlingtex4ebook not subseteq
).
– Frank Science
Nov 27 at 12:55
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
You can try the uni-html4
option for tex4ht. It configures some characters to use the Unicode encoding:
tex4ebook filename.tex "uni-html4"
I've modified the tex4ebook sources to use this option by default, as it uses the Unicode output anyway.
The result:
<!--l. 7--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A</span>⊈<span
class="cmmi-10">B</span>.
</p>
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
@FrankScience sure,htlatex filename.tex "xhtml,uni-html4"
. thehtml5
option loads the Unicode declarations as well, which explain whymake4ht
produced a different output totex4ebook
- it uses thehtml5
output by default.
– michal.h21
Nov 27 at 16:32
add a comment |
up vote
4
down vote
accepted
You can try the uni-html4
option for tex4ht. It configures some characters to use the Unicode encoding:
tex4ebook filename.tex "uni-html4"
I've modified the tex4ebook sources to use this option by default, as it uses the Unicode output anyway.
The result:
<!--l. 7--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A</span>⊈<span
class="cmmi-10">B</span>.
</p>
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
@FrankScience sure,htlatex filename.tex "xhtml,uni-html4"
. thehtml5
option loads the Unicode declarations as well, which explain whymake4ht
produced a different output totex4ebook
- it uses thehtml5
output by default.
– michal.h21
Nov 27 at 16:32
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
You can try the uni-html4
option for tex4ht. It configures some characters to use the Unicode encoding:
tex4ebook filename.tex "uni-html4"
I've modified the tex4ebook sources to use this option by default, as it uses the Unicode output anyway.
The result:
<!--l. 7--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A</span>⊈<span
class="cmmi-10">B</span>.
</p>
You can try the uni-html4
option for tex4ht. It configures some characters to use the Unicode encoding:
tex4ebook filename.tex "uni-html4"
I've modified the tex4ebook sources to use this option by default, as it uses the Unicode output anyway.
The result:
<!--l. 7--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A</span>⊈<span
class="cmmi-10">B</span>.
</p>
answered Nov 27 at 14:54
michal.h21
28.8k445103
28.8k445103
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
@FrankScience sure,htlatex filename.tex "xhtml,uni-html4"
. thehtml5
option loads the Unicode declarations as well, which explain whymake4ht
produced a different output totex4ebook
- it uses thehtml5
output by default.
– michal.h21
Nov 27 at 16:32
add a comment |
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
@FrankScience sure,htlatex filename.tex "xhtml,uni-html4"
. thehtml5
option loads the Unicode declarations as well, which explain whymake4ht
produced a different output totex4ebook
- it uses thehtml5
output by default.
– michal.h21
Nov 27 at 16:32
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
Just out of curiosity: can we pass "uni-html4" to htlatex and how?
– Frank Science
Nov 27 at 15:31
@FrankScience sure,
htlatex filename.tex "xhtml,uni-html4"
. the html5
option loads the Unicode declarations as well, which explain why make4ht
produced a different output to tex4ebook
- it uses the html5
output by default.– michal.h21
Nov 27 at 16:32
@FrankScience sure,
htlatex filename.tex "xhtml,uni-html4"
. the html5
option loads the Unicode declarations as well, which explain why make4ht
produced a different output to tex4ebook
- it uses the html5
output by default.– michal.h21
Nov 27 at 16:32
add a comment |
up vote
3
down vote
You can use $nsubseteq$
instead of $notsubseteq
.
MWE
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Ansubseteq B$.
end{document}
HTML Source:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<!-- html -->
<meta name="src" content="temp245.tex">
<link rel="stylesheet" type="text/css" href="temp245.css">
</head><body
>
<!--l. 6--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A </span><span
class="msbm-10">⊈ </span><span
class="cmmi-10">B</span>.
</body></html>
Rendered HTML:
Given two sets A,B such that A is not a subset of B, i.e., A ⊈ B.
Thanks. In fact, I knewnsubseteq
. I am, however, trying to understand whether we can makenot
generally working.
– Frank Science
Nov 27 at 12:46
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googlingtex4ebook not subseteq
).
– Frank Science
Nov 27 at 12:55
add a comment |
up vote
3
down vote
You can use $nsubseteq$
instead of $notsubseteq
.
MWE
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Ansubseteq B$.
end{document}
HTML Source:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<!-- html -->
<meta name="src" content="temp245.tex">
<link rel="stylesheet" type="text/css" href="temp245.css">
</head><body
>
<!--l. 6--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A </span><span
class="msbm-10">⊈ </span><span
class="cmmi-10">B</span>.
</body></html>
Rendered HTML:
Given two sets A,B such that A is not a subset of B, i.e., A ⊈ B.
Thanks. In fact, I knewnsubseteq
. I am, however, trying to understand whether we can makenot
generally working.
– Frank Science
Nov 27 at 12:46
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googlingtex4ebook not subseteq
).
– Frank Science
Nov 27 at 12:55
add a comment |
up vote
3
down vote
up vote
3
down vote
You can use $nsubseteq$
instead of $notsubseteq
.
MWE
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Ansubseteq B$.
end{document}
HTML Source:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<!-- html -->
<meta name="src" content="temp245.tex">
<link rel="stylesheet" type="text/css" href="temp245.css">
</head><body
>
<!--l. 6--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A </span><span
class="msbm-10">⊈ </span><span
class="cmmi-10">B</span>.
</body></html>
Rendered HTML:
Given two sets A,B such that A is not a subset of B, i.e., A ⊈ B.
You can use $nsubseteq$
instead of $notsubseteq
.
MWE
documentclass{article}
usepackage{amssymb}
begin{document}
Given two sets $A,B$ such that $A$ is not a subset of $B$, i.e., $Ansubseteq B$.
end{document}
HTML Source:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)">
<!-- html -->
<meta name="src" content="temp245.tex">
<link rel="stylesheet" type="text/css" href="temp245.css">
</head><body
>
<!--l. 6--><p class="noindent" >Given two sets <span
class="cmmi-10">A,B </span>such that <span
class="cmmi-10">A </span>is not a subset of <span
class="cmmi-10">B</span>, i.e., <span
class="cmmi-10">A </span><span
class="msbm-10">⊈ </span><span
class="cmmi-10">B</span>.
</body></html>
Rendered HTML:
Given two sets A,B such that A is not a subset of B, i.e., A ⊈ B.
answered Nov 27 at 12:33
David Purton
8,4611834
8,4611834
Thanks. In fact, I knewnsubseteq
. I am, however, trying to understand whether we can makenot
generally working.
– Frank Science
Nov 27 at 12:46
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googlingtex4ebook not subseteq
).
– Frank Science
Nov 27 at 12:55
add a comment |
Thanks. In fact, I knewnsubseteq
. I am, however, trying to understand whether we can makenot
generally working.
– Frank Science
Nov 27 at 12:46
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googlingtex4ebook not subseteq
).
– Frank Science
Nov 27 at 12:55
Thanks. In fact, I knew
nsubseteq
. I am, however, trying to understand whether we can make not
generally working.– Frank Science
Nov 27 at 12:46
Thanks. In fact, I knew
nsubseteq
. I am, however, trying to understand whether we can make not
generally working.– Frank Science
Nov 27 at 12:46
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
@FrankScience, oh! Sorry, misunderstood. I don't know, but interesting question.
– David Purton
Nov 27 at 12:51
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googling
tex4ebook not subseteq
).– Frank Science
Nov 27 at 12:55
Well, that's due to the fact that I did not succeed to properly phrase the question, not a mistake from your part. And this answer should be useful for others (for example, it will be shown in the result of googling
tex4ebook not subseteq
).– Frank Science
Nov 27 at 12:55
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.
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.
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%2f461980%2ftex4ht-doesnt-render-not-correctly%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
what is strange is that a correct symbol is rendered in the
html5
output, or withepub3
.– michal.h21
Nov 27 at 14:32