latexdiff does not work with the diagrams packagelatexdiff is not workingMake Latexdiff work on big, complex...
Why is consensus so controversial in Britain?
How to draw the figure with four pentagons?
Is it possible to download Internet Explorer on my Mac running OS X El Capitan?
Fully-Firstable Anagram Sets
What reasons are there for a Capitalist to oppose a 100% inheritance tax?
Does a druid starting with a bow start with no arrows?
Infinite Abelian subgroup of infinite non Abelian group example
Why doesn't H₄O²⁺ exist?
Arrow those variables!
Doing something right before you need it - expression for this?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
In a Spin are Both Wings Stalled?
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
A reference to a well-known characterization of scattered compact spaces
UK: Is there precedent for the governments e-petition site changing the direction of a government decision?
Is it legal for company to use my work email to pretend I still work there?
Combinations of multiple lists
Is there a hemisphere-neutral way of specifying a season?
I'm flying to France today and my passport expires in less than 2 months
Took a trip to a parallel universe, need help deciphering
Is "remove commented out code" correct English?
Assassin's bullet with mercury
Is the Joker left-handed?
latexdiff does not work with the diagrams package
latexdiff is not workingMake Latexdiff work on big, complex projectlatexdiff does not highlight changes within AtEndDocumentLatexdiff with two column layout“Missing $ inserted” error while using Diagrams packagelatexdiff is changing the codificationlatexdiff and not showing changes with eurosymHow to use Latexdiff with TexLiveWhat output encoding does `latexdiff` use?latexdiff don't work in table with scalebox
Here is a MWE showing a problem with using latexdiff with the diagrams package (for commutative diagrams). How can I fix this?
new.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
$$
begin{diagram} 0 & 1 end{diagram}
$$
end{document}
old.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
end{document}
Output:
: vh512 505; latexdiff old.tex new.tex > diffs.tex
: vh512 506; latex diffs
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex)
restricted write18 enabled.
entering extended mode
(./diffs.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (./diagrams.sty
==================================================================
<Paul Taylor's commutative diagrams - version 3.95, December 2014>
| >>>>>>>> POSTSCRIPT MODE (DVIPS) IS NOW THE DEFAULT <<<<<<<<<<<<|
|(DVI mode has not been supported since 1992 and produces inferior|
|results which are completely unsuitable for publication. However,|
|if you really still need it, you can still get it by loading the |
|package using ``usepackage[UglyObsolete]{diagrams}'' instead. ) |
===================================================================)
(/usr/share/texlive/texmf-dist/tex/generic/ulem/ulem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def)) (./diffs.aux)
! Extra }, or forgotten $.
UL@onmath ...rd {UL@hrest mathop {kern z@ #1}
limits sb {UL@leadtype ...
l.28 DIFadd{begin{diagram} 0 }
& DIFadd{1 end{diagram}
?
commutative-diagrams latexdiff
New contributor
add a comment |
Here is a MWE showing a problem with using latexdiff with the diagrams package (for commutative diagrams). How can I fix this?
new.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
$$
begin{diagram} 0 & 1 end{diagram}
$$
end{document}
old.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
end{document}
Output:
: vh512 505; latexdiff old.tex new.tex > diffs.tex
: vh512 506; latex diffs
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex)
restricted write18 enabled.
entering extended mode
(./diffs.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (./diagrams.sty
==================================================================
<Paul Taylor's commutative diagrams - version 3.95, December 2014>
| >>>>>>>> POSTSCRIPT MODE (DVIPS) IS NOW THE DEFAULT <<<<<<<<<<<<|
|(DVI mode has not been supported since 1992 and produces inferior|
|results which are completely unsuitable for publication. However,|
|if you really still need it, you can still get it by loading the |
|package using ``usepackage[UglyObsolete]{diagrams}'' instead. ) |
===================================================================)
(/usr/share/texlive/texmf-dist/tex/generic/ulem/ulem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def)) (./diffs.aux)
! Extra }, or forgotten $.
UL@onmath ...rd {UL@hrest mathop {kern z@ #1}
limits sb {UL@leadtype ...
l.28 DIFadd{begin{diagram} 0 }
& DIFadd{1 end{diagram}
?
commutative-diagrams latexdiff
New contributor
2
diagrams.sty is a commercial package with deliberately obfuscated code in its public version. It is not surprising that latexdiff can not understand it. Also it's not easy for anyone to debug as the code isn't readable. I would use one of the more open CD packages, such as tikz-cd.
– David Carlisle
5 hours ago
Welcome to the TeX.SE. For equations the use of the double dollar sign is now obsolete and is no longer used as it is an old syntax.
– Sebastiano
4 hours ago
1
Thanks for the quick reply, Davicd Carlisle. The use of diagrams.sty came from a coauthor. I'll try to convince him to switch to a different package.
– user7078
3 hours ago
add a comment |
Here is a MWE showing a problem with using latexdiff with the diagrams package (for commutative diagrams). How can I fix this?
new.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
$$
begin{diagram} 0 & 1 end{diagram}
$$
end{document}
old.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
end{document}
Output:
: vh512 505; latexdiff old.tex new.tex > diffs.tex
: vh512 506; latex diffs
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex)
restricted write18 enabled.
entering extended mode
(./diffs.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (./diagrams.sty
==================================================================
<Paul Taylor's commutative diagrams - version 3.95, December 2014>
| >>>>>>>> POSTSCRIPT MODE (DVIPS) IS NOW THE DEFAULT <<<<<<<<<<<<|
|(DVI mode has not been supported since 1992 and produces inferior|
|results which are completely unsuitable for publication. However,|
|if you really still need it, you can still get it by loading the |
|package using ``usepackage[UglyObsolete]{diagrams}'' instead. ) |
===================================================================)
(/usr/share/texlive/texmf-dist/tex/generic/ulem/ulem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def)) (./diffs.aux)
! Extra }, or forgotten $.
UL@onmath ...rd {UL@hrest mathop {kern z@ #1}
limits sb {UL@leadtype ...
l.28 DIFadd{begin{diagram} 0 }
& DIFadd{1 end{diagram}
?
commutative-diagrams latexdiff
New contributor
Here is a MWE showing a problem with using latexdiff with the diagrams package (for commutative diagrams). How can I fix this?
new.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
$$
begin{diagram} 0 & 1 end{diagram}
$$
end{document}
old.tex:
documentclass{article}
usepackage{diagrams}
begin{document}
end{document}
Output:
: vh512 505; latexdiff old.tex new.tex > diffs.tex
: vh512 506; latex diffs
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2019/dev/Debian) (preloaded format=latex)
restricted write18 enabled.
entering extended mode
(./diffs.tex
LaTeX2e <2018-04-01> patch level 5
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (./diagrams.sty
==================================================================
<Paul Taylor's commutative diagrams - version 3.95, December 2014>
| >>>>>>>> POSTSCRIPT MODE (DVIPS) IS NOW THE DEFAULT <<<<<<<<<<<<|
|(DVI mode has not been supported since 1992 and produces inferior|
|results which are completely unsuitable for publication. However,|
|if you really still need it, you can still get it by loading the |
|package using ``usepackage[UglyObsolete]{diagrams}'' instead. ) |
===================================================================)
(/usr/share/texlive/texmf-dist/tex/generic/ulem/ulem.sty)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/dvipsnam.def)) (./diffs.aux)
! Extra }, or forgotten $.
UL@onmath ...rd {UL@hrest mathop {kern z@ #1}
limits sb {UL@leadtype ...
l.28 DIFadd{begin{diagram} 0 }
& DIFadd{1 end{diagram}
?
commutative-diagrams latexdiff
commutative-diagrams latexdiff
New contributor
New contributor
New contributor
asked 6 hours ago
user7078user7078
1
1
New contributor
New contributor
2
diagrams.sty is a commercial package with deliberately obfuscated code in its public version. It is not surprising that latexdiff can not understand it. Also it's not easy for anyone to debug as the code isn't readable. I would use one of the more open CD packages, such as tikz-cd.
– David Carlisle
5 hours ago
Welcome to the TeX.SE. For equations the use of the double dollar sign is now obsolete and is no longer used as it is an old syntax.
– Sebastiano
4 hours ago
1
Thanks for the quick reply, Davicd Carlisle. The use of diagrams.sty came from a coauthor. I'll try to convince him to switch to a different package.
– user7078
3 hours ago
add a comment |
2
diagrams.sty is a commercial package with deliberately obfuscated code in its public version. It is not surprising that latexdiff can not understand it. Also it's not easy for anyone to debug as the code isn't readable. I would use one of the more open CD packages, such as tikz-cd.
– David Carlisle
5 hours ago
Welcome to the TeX.SE. For equations the use of the double dollar sign is now obsolete and is no longer used as it is an old syntax.
– Sebastiano
4 hours ago
1
Thanks for the quick reply, Davicd Carlisle. The use of diagrams.sty came from a coauthor. I'll try to convince him to switch to a different package.
– user7078
3 hours ago
2
2
diagrams.sty is a commercial package with deliberately obfuscated code in its public version. It is not surprising that latexdiff can not understand it. Also it's not easy for anyone to debug as the code isn't readable. I would use one of the more open CD packages, such as tikz-cd.
– David Carlisle
5 hours ago
diagrams.sty is a commercial package with deliberately obfuscated code in its public version. It is not surprising that latexdiff can not understand it. Also it's not easy for anyone to debug as the code isn't readable. I would use one of the more open CD packages, such as tikz-cd.
– David Carlisle
5 hours ago
Welcome to the TeX.SE. For equations the use of the double dollar sign is now obsolete and is no longer used as it is an old syntax.
– Sebastiano
4 hours ago
Welcome to the TeX.SE. For equations the use of the double dollar sign is now obsolete and is no longer used as it is an old syntax.
– Sebastiano
4 hours ago
1
1
Thanks for the quick reply, Davicd Carlisle. The use of diagrams.sty came from a coauthor. I'll try to convince him to switch to a different package.
– user7078
3 hours ago
Thanks for the quick reply, Davicd Carlisle. The use of diagrams.sty came from a coauthor. I'll try to convince him to switch to a different package.
– user7078
3 hours ago
add a comment |
1 Answer
1
active
oldest
votes
From previous comment of @David Carlisle your diagram is similar at these images?
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[row sep=0cm]
0 \
1
end{tikzcd}
end{document}
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[column sep=0cm]
0 & 1
end{tikzcd}
end{document}
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
});
}
});
user7078 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f483231%2flatexdiff-does-not-work-with-the-diagrams-package%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
From previous comment of @David Carlisle your diagram is similar at these images?
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[row sep=0cm]
0 \
1
end{tikzcd}
end{document}
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[column sep=0cm]
0 & 1
end{tikzcd}
end{document}
add a comment |
From previous comment of @David Carlisle your diagram is similar at these images?
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[row sep=0cm]
0 \
1
end{tikzcd}
end{document}
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[column sep=0cm]
0 & 1
end{tikzcd}
end{document}
add a comment |
From previous comment of @David Carlisle your diagram is similar at these images?
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[row sep=0cm]
0 \
1
end{tikzcd}
end{document}
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[column sep=0cm]
0 & 1
end{tikzcd}
end{document}
From previous comment of @David Carlisle your diagram is similar at these images?
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[row sep=0cm]
0 \
1
end{tikzcd}
end{document}
documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[column sep=0cm]
0 & 1
end{tikzcd}
end{document}
answered 4 hours ago
SebastianoSebastiano
11.1k42165
11.1k42165
add a comment |
add a comment |
user7078 is a new contributor. Be nice, and check out our Code of Conduct.
user7078 is a new contributor. Be nice, and check out our Code of Conduct.
user7078 is a new contributor. Be nice, and check out our Code of Conduct.
user7078 is a new contributor. Be nice, and check out our Code of Conduct.
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%2f483231%2flatexdiff-does-not-work-with-the-diagrams-package%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
2
diagrams.sty is a commercial package with deliberately obfuscated code in its public version. It is not surprising that latexdiff can not understand it. Also it's not easy for anyone to debug as the code isn't readable. I would use one of the more open CD packages, such as tikz-cd.
– David Carlisle
5 hours ago
Welcome to the TeX.SE. For equations the use of the double dollar sign is now obsolete and is no longer used as it is an old syntax.
– Sebastiano
4 hours ago
1
Thanks for the quick reply, Davicd Carlisle. The use of diagrams.sty came from a coauthor. I'll try to convince him to switch to a different package.
– user7078
3 hours ago