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













0















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}
?









share|improve this question







New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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
















0















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}
?









share|improve this question







New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 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














0












0








0








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}
?









share|improve this question







New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












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






share|improve this question







New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 6 hours ago









user7078user7078

1




1




New contributor




user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user7078 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 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





    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










1 Answer
1






active

oldest

votes


















0














From previous comment of @David Carlisle your diagram is similar at these images?



enter image description here



documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[row sep=0cm]
0 \
1
end{tikzcd}
end{document}


enter image description here



documentclass{article}
usepackage{tikz-cd}
begin{document}
begin{tikzcd}[column sep=0cm]
0 & 1
end{tikzcd}
end{document}





share|improve this answer
























    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.










    draft saved

    draft discarded


















    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









    0














    From previous comment of @David Carlisle your diagram is similar at these images?



    enter image description here



    documentclass{article}
    usepackage{tikz-cd}
    begin{document}
    begin{tikzcd}[row sep=0cm]
    0 \
    1
    end{tikzcd}
    end{document}


    enter image description here



    documentclass{article}
    usepackage{tikz-cd}
    begin{document}
    begin{tikzcd}[column sep=0cm]
    0 & 1
    end{tikzcd}
    end{document}





    share|improve this answer




























      0














      From previous comment of @David Carlisle your diagram is similar at these images?



      enter image description here



      documentclass{article}
      usepackage{tikz-cd}
      begin{document}
      begin{tikzcd}[row sep=0cm]
      0 \
      1
      end{tikzcd}
      end{document}


      enter image description here



      documentclass{article}
      usepackage{tikz-cd}
      begin{document}
      begin{tikzcd}[column sep=0cm]
      0 & 1
      end{tikzcd}
      end{document}





      share|improve this answer


























        0












        0








        0







        From previous comment of @David Carlisle your diagram is similar at these images?



        enter image description here



        documentclass{article}
        usepackage{tikz-cd}
        begin{document}
        begin{tikzcd}[row sep=0cm]
        0 \
        1
        end{tikzcd}
        end{document}


        enter image description here



        documentclass{article}
        usepackage{tikz-cd}
        begin{document}
        begin{tikzcd}[column sep=0cm]
        0 & 1
        end{tikzcd}
        end{document}





        share|improve this answer













        From previous comment of @David Carlisle your diagram is similar at these images?



        enter image description here



        documentclass{article}
        usepackage{tikz-cd}
        begin{document}
        begin{tikzcd}[row sep=0cm]
        0 \
        1
        end{tikzcd}
        end{document}


        enter image description here



        documentclass{article}
        usepackage{tikz-cd}
        begin{document}
        begin{tikzcd}[column sep=0cm]
        0 & 1
        end{tikzcd}
        end{document}






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 4 hours ago









        SebastianoSebastiano

        11.1k42165




        11.1k42165






















            user7078 is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            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.




            draft saved


            draft discarded














            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





















































            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

            Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

            Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

            How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...