! Undefined control sequence. pgfsys@svg@newline ->HnewlineLatex to HTML conversion (basic...
How does a dynamic QR code work?
Why were 5.25" floppy drives cheaper than 8"?
What historical events would have to change in order to make 19th century "steampunk" technology possible?
Bullying boss launched a smear campaign and made me unemployable
What is a Samsaran Word™?
Calculate the Mean mean of two numbers
Finitely generated matrix groups whose eigenvalues are all algebraic
Are British MPs missing the point, with these 'Indicative Votes'?
Was the old ablative pronoun "med" or "mēd"?
How dangerous is XSS
Is "/bin/[.exe" a legitimate file? [Cygwin, Windows 10]
What is the most common color to indicate the input-field is disabled?
Ambiguity in the definition of entropy
Could the museum Saturn V's be refitted for one more flight?
Does Dispel Magic work on Tiny Hut?
files created then deleted at every second in tmp directory
OP Amp not amplifying audio signal
Why is the sentence "Das ist eine Nase" correct?
How can saying a song's name be a copyright violation?
Rotate ASCII Art by 45 Degrees
What are the G forces leaving Earth orbit?
Is it possible to map the firing of neurons in the human brain so as to stimulate artificial memories in someone else?
Mathematica command that allows it to read my intentions
What exactly is ineptocracy?
! Undefined control sequence. pgfsys@svg@newline ->Hnewline
Latex to HTML conversion (basic explanation)running pdflatex after htlatex causes hyperref error Undefined control sequenceTikz to html, characters in picture, svg errorUndefined control sequence Hy@MakeCurrentHrefAuto when using tex4htTex4ht error with tikz in TL2015: Undefined control sequence pgfsys@svg@newlineTex4ebook not generating SVG filesUndefined control sequence pgfsyspdfmark converting Standalone TikZ with pdflatexHow to skip hook configurations for control sequences that don't exist?tex4ht: pretty formatting of newline inside html sourcechemfig package - Undefined control sequence setchemfig“Undefined control sequence” error when using chemfig in ConTeXt
I'm trying to generate a svg image of a reaction mechanism. However I keep receiving the error:
! Undefined control sequence.
pgfsys@svg@newline ->Hnewline
when running the command make4ht -u "Bromothymol_blue".tex
where Bromothymol_blue
is the name of the latex document. Here is the code:
documentclass{article}
thispagestyle{empty}
usepackage{chemfig}
usepackage{mol2chemfig}
usepackage{tikz}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{mhchem}
usepackage{tex4ht}
begin{document}
schemestart
chemname{tinychemfig{-[:160]-[:100](-[:40]Br)(-[:220,,,,draw=none]mcfcringle{1.3})-[:160](-[:100,,,1]OH)-[:220](-[:160](-[:100])-[:220])-[:280]-[:340](-[:40])-[:280]@{C}(-[:204]-[:274](-[:154,,,,draw=none]mcfcringle{1.3})-[:214](-[:274](-[:214])-[:334])-[:154](-[:214,,,2]HO)-[:94](-[:154]Br)-[:34](-[:94])-[:334])-[:288]-[:240](-[:0,,,,draw=none]mcfcringle{1.3})-[:300]--[:60]-[:120](-[:180])-[:72]S(=[:336]O)(=[:60]O)-[:144]O(-[:216])}}{Yellow}
begin{tikzpicture}[overlay,remember picture]
draw[red](C) circle (0.1) +(120:0.1) ..controls +(120:0.5) and +(0:0.5).. +(155:2) node[left,align=right] {Conjugation\stops\here};
end{tikzpicture}
arrow{<=>[smallce{+OH-}][smallce{H+},;ce{H2O}]}
chemname{tinychemfig{
% 15
-[:300]% 14
(
-[::60]% 16
)
-[::300]% 12
-[::300]% 11
(
-[::300]mcfright{O}{^{mcfminus}}% 17
)
-[::60]% 10
(
-[::300]Br% 18
)
-[::60]% 9
(
-[::300]% 19
)
-[::60]% 8
(
-[::60]% 13
-[::60]% -> 12
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::300]% 7
(
-[::70]% 20
-[::320]% 21
(
-[::310]S% 26
(
-[::110]mcfright{O}{^{mcfminus}}% 28
)
(
=[::50]O% 29
)
=[::350]O% 27
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::60]% 22
-[::60]% 23
-[::60]% 24
-[::60]% 25
-[::60]% -> 20
)
=[::300]% 6
-[::60]% 1
(
-[::60]% 35
)
-[::300,,,,drh]% 2
(
-[::60]Br% 34
)
-[::300]% 3
(
=[::60]O% 33
)
-[::300]% 4
(
-[::300,,,,drh]% 5
-[::300]% -> 6
)
-[::60]% 30
(
-[::300]% 31
)
-[::60]% 32
}}{Blue}
schemestop
end{document}
I tried to follow the solution from Latex to HTML conversion (basic explanation). I use TeXstudio and used the user command make4ht -u %.tex
Please note that I know the code works with pdftlatex and that is not what I am trying to do. I am trying to generate a html output with an svg using tex4ht. Also I am quite new to this so please try and explain as much as possible in your answer.
Thanks!
tex4ht chemfig
add a comment |
I'm trying to generate a svg image of a reaction mechanism. However I keep receiving the error:
! Undefined control sequence.
pgfsys@svg@newline ->Hnewline
when running the command make4ht -u "Bromothymol_blue".tex
where Bromothymol_blue
is the name of the latex document. Here is the code:
documentclass{article}
thispagestyle{empty}
usepackage{chemfig}
usepackage{mol2chemfig}
usepackage{tikz}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{mhchem}
usepackage{tex4ht}
begin{document}
schemestart
chemname{tinychemfig{-[:160]-[:100](-[:40]Br)(-[:220,,,,draw=none]mcfcringle{1.3})-[:160](-[:100,,,1]OH)-[:220](-[:160](-[:100])-[:220])-[:280]-[:340](-[:40])-[:280]@{C}(-[:204]-[:274](-[:154,,,,draw=none]mcfcringle{1.3})-[:214](-[:274](-[:214])-[:334])-[:154](-[:214,,,2]HO)-[:94](-[:154]Br)-[:34](-[:94])-[:334])-[:288]-[:240](-[:0,,,,draw=none]mcfcringle{1.3})-[:300]--[:60]-[:120](-[:180])-[:72]S(=[:336]O)(=[:60]O)-[:144]O(-[:216])}}{Yellow}
begin{tikzpicture}[overlay,remember picture]
draw[red](C) circle (0.1) +(120:0.1) ..controls +(120:0.5) and +(0:0.5).. +(155:2) node[left,align=right] {Conjugation\stops\here};
end{tikzpicture}
arrow{<=>[smallce{+OH-}][smallce{H+},;ce{H2O}]}
chemname{tinychemfig{
% 15
-[:300]% 14
(
-[::60]% 16
)
-[::300]% 12
-[::300]% 11
(
-[::300]mcfright{O}{^{mcfminus}}% 17
)
-[::60]% 10
(
-[::300]Br% 18
)
-[::60]% 9
(
-[::300]% 19
)
-[::60]% 8
(
-[::60]% 13
-[::60]% -> 12
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::300]% 7
(
-[::70]% 20
-[::320]% 21
(
-[::310]S% 26
(
-[::110]mcfright{O}{^{mcfminus}}% 28
)
(
=[::50]O% 29
)
=[::350]O% 27
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::60]% 22
-[::60]% 23
-[::60]% 24
-[::60]% 25
-[::60]% -> 20
)
=[::300]% 6
-[::60]% 1
(
-[::60]% 35
)
-[::300,,,,drh]% 2
(
-[::60]Br% 34
)
-[::300]% 3
(
=[::60]O% 33
)
-[::300]% 4
(
-[::300,,,,drh]% 5
-[::300]% -> 6
)
-[::60]% 30
(
-[::300]% 31
)
-[::60]% 32
}}{Blue}
schemestop
end{document}
I tried to follow the solution from Latex to HTML conversion (basic explanation). I use TeXstudio and used the user command make4ht -u %.tex
Please note that I know the code works with pdftlatex and that is not what I am trying to do. I am trying to generate a html output with an svg using tex4ht. Also I am quite new to this so please try and explain as much as possible in your answer.
Thanks!
tex4ht chemfig
add a comment |
I'm trying to generate a svg image of a reaction mechanism. However I keep receiving the error:
! Undefined control sequence.
pgfsys@svg@newline ->Hnewline
when running the command make4ht -u "Bromothymol_blue".tex
where Bromothymol_blue
is the name of the latex document. Here is the code:
documentclass{article}
thispagestyle{empty}
usepackage{chemfig}
usepackage{mol2chemfig}
usepackage{tikz}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{mhchem}
usepackage{tex4ht}
begin{document}
schemestart
chemname{tinychemfig{-[:160]-[:100](-[:40]Br)(-[:220,,,,draw=none]mcfcringle{1.3})-[:160](-[:100,,,1]OH)-[:220](-[:160](-[:100])-[:220])-[:280]-[:340](-[:40])-[:280]@{C}(-[:204]-[:274](-[:154,,,,draw=none]mcfcringle{1.3})-[:214](-[:274](-[:214])-[:334])-[:154](-[:214,,,2]HO)-[:94](-[:154]Br)-[:34](-[:94])-[:334])-[:288]-[:240](-[:0,,,,draw=none]mcfcringle{1.3})-[:300]--[:60]-[:120](-[:180])-[:72]S(=[:336]O)(=[:60]O)-[:144]O(-[:216])}}{Yellow}
begin{tikzpicture}[overlay,remember picture]
draw[red](C) circle (0.1) +(120:0.1) ..controls +(120:0.5) and +(0:0.5).. +(155:2) node[left,align=right] {Conjugation\stops\here};
end{tikzpicture}
arrow{<=>[smallce{+OH-}][smallce{H+},;ce{H2O}]}
chemname{tinychemfig{
% 15
-[:300]% 14
(
-[::60]% 16
)
-[::300]% 12
-[::300]% 11
(
-[::300]mcfright{O}{^{mcfminus}}% 17
)
-[::60]% 10
(
-[::300]Br% 18
)
-[::60]% 9
(
-[::300]% 19
)
-[::60]% 8
(
-[::60]% 13
-[::60]% -> 12
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::300]% 7
(
-[::70]% 20
-[::320]% 21
(
-[::310]S% 26
(
-[::110]mcfright{O}{^{mcfminus}}% 28
)
(
=[::50]O% 29
)
=[::350]O% 27
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::60]% 22
-[::60]% 23
-[::60]% 24
-[::60]% 25
-[::60]% -> 20
)
=[::300]% 6
-[::60]% 1
(
-[::60]% 35
)
-[::300,,,,drh]% 2
(
-[::60]Br% 34
)
-[::300]% 3
(
=[::60]O% 33
)
-[::300]% 4
(
-[::300,,,,drh]% 5
-[::300]% -> 6
)
-[::60]% 30
(
-[::300]% 31
)
-[::60]% 32
}}{Blue}
schemestop
end{document}
I tried to follow the solution from Latex to HTML conversion (basic explanation). I use TeXstudio and used the user command make4ht -u %.tex
Please note that I know the code works with pdftlatex and that is not what I am trying to do. I am trying to generate a html output with an svg using tex4ht. Also I am quite new to this so please try and explain as much as possible in your answer.
Thanks!
tex4ht chemfig
I'm trying to generate a svg image of a reaction mechanism. However I keep receiving the error:
! Undefined control sequence.
pgfsys@svg@newline ->Hnewline
when running the command make4ht -u "Bromothymol_blue".tex
where Bromothymol_blue
is the name of the latex document. Here is the code:
documentclass{article}
thispagestyle{empty}
usepackage{chemfig}
usepackage{mol2chemfig}
usepackage{tikz}
usepackage{amsmath}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{mhchem}
usepackage{tex4ht}
begin{document}
schemestart
chemname{tinychemfig{-[:160]-[:100](-[:40]Br)(-[:220,,,,draw=none]mcfcringle{1.3})-[:160](-[:100,,,1]OH)-[:220](-[:160](-[:100])-[:220])-[:280]-[:340](-[:40])-[:280]@{C}(-[:204]-[:274](-[:154,,,,draw=none]mcfcringle{1.3})-[:214](-[:274](-[:214])-[:334])-[:154](-[:214,,,2]HO)-[:94](-[:154]Br)-[:34](-[:94])-[:334])-[:288]-[:240](-[:0,,,,draw=none]mcfcringle{1.3})-[:300]--[:60]-[:120](-[:180])-[:72]S(=[:336]O)(=[:60]O)-[:144]O(-[:216])}}{Yellow}
begin{tikzpicture}[overlay,remember picture]
draw[red](C) circle (0.1) +(120:0.1) ..controls +(120:0.5) and +(0:0.5).. +(155:2) node[left,align=right] {Conjugation\stops\here};
end{tikzpicture}
arrow{<=>[smallce{+OH-}][smallce{H+},;ce{H2O}]}
chemname{tinychemfig{
% 15
-[:300]% 14
(
-[::60]% 16
)
-[::300]% 12
-[::300]% 11
(
-[::300]mcfright{O}{^{mcfminus}}% 17
)
-[::60]% 10
(
-[::300]Br% 18
)
-[::60]% 9
(
-[::300]% 19
)
-[::60]% 8
(
-[::60]% 13
-[::60]% -> 12
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::300]% 7
(
-[::70]% 20
-[::320]% 21
(
-[::310]S% 26
(
-[::110]mcfright{O}{^{mcfminus}}% 28
)
(
=[::50]O% 29
)
=[::350]O% 27
)
(
-[::120,,,,draw=none]mcfcringle{1.3}% (o)
)
-[::60]% 22
-[::60]% 23
-[::60]% 24
-[::60]% 25
-[::60]% -> 20
)
=[::300]% 6
-[::60]% 1
(
-[::60]% 35
)
-[::300,,,,drh]% 2
(
-[::60]Br% 34
)
-[::300]% 3
(
=[::60]O% 33
)
-[::300]% 4
(
-[::300,,,,drh]% 5
-[::300]% -> 6
)
-[::60]% 30
(
-[::300]% 31
)
-[::60]% 32
}}{Blue}
schemestop
end{document}
I tried to follow the solution from Latex to HTML conversion (basic explanation). I use TeXstudio and used the user command make4ht -u %.tex
Please note that I know the code works with pdftlatex and that is not what I am trying to do. I am trying to generate a html output with an svg using tex4ht. Also I am quite new to this so please try and explain as much as possible in your answer.
Thanks!
tex4ht chemfig
tex4ht chemfig
asked 3 mins ago
sab hoquesab hoque
1,524319
1,524319
add a comment |
add a comment |
0
active
oldest
votes
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%2f482893%2fundefined-control-sequence-pgfsyssvgnewline-hnewline%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f482893%2fundefined-control-sequence-pgfsyssvgnewline-hnewline%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