AMSMath align breaks feynmp-autoNo diagrams appear with feynmp-autoOverbrace in amsmath align...

Why was Germany not as successful as other Europeans in establishing overseas colonies?

How would one muzzle a full grown polar bear in the 13th century?

Critique of timeline aesthetic

Apply MapThread to all but one variable

How can I practically buy stocks?

How exactly does Hawking radiation decrease the mass of black holes?

Mjolnir's timeline from Thor's perspective

How can I place the product on a social media post better?

What are the potential pitfalls when using metals as a currency?

Realistic Necromancy?

Symbolic Multivariate Distribution

Why is it that the natural deduction method can't test for invalidity?

Was there a shared-world project before "Thieves World"?

How can Zone of Truth be defeated without the caster knowing?

Real-world applications of fields, rings and groups in linear algebra.

How to write a column outside the braces in a matrix?

Rivers without rain

How could Tony Stark make this in Endgame?

How to verbalise code in Mathematica?

How to have a sharp product image?

Seemingly unused edef prior to an ifx mysteriously affects the outcome of the ifx. Why?

How to pronounce 'C++' in Spanish

Why does processed meat contain preservatives, while canned fish needs not?

TIKZ - changing one block into parallel multiple blocks



AMSMath align breaks feynmp-auto


No diagrams appear with feynmp-autoOverbrace in amsmath align environmentGetting feynmp-auto to run in Mik-texfeynmp-auto and --output-directory=build not possible?Putting two vertices within an oval on FeynmpFeynmp/auto not working in Yosemite?grffile / feynmp-auto compatibility in Texlive14Feynman Diagram (feynmp-auto) : 4-Quark Operatorfeynmp-auto line length and anglefeynmp-auto and MacTex 2017No diagrams appear with feynmp-auto













0















When compiled with pdflatex -shell-escape, the following MCVE (shamelessly taken from another answer and adapted to my problem) fails with an empty mp file, and mpost wait for user input. I have to manually type end to continue the compilation, only after that a non-empty mp file is generated but mpost is not automatically executed again for the non-empty file.



documentclass{article}
usepackage[force]{feynmp-auto} %<-added force
usepackage{amsmath}
begin{document}
begin{align}
begin{fmffile}{simple_labels}
begin{fmfgraph*}(40,25)
fmfleft{i1,i2}
fmfright{o1,o2}
fmflabel{$e^-$}{i1}
fmflabel{$e^+$}{i2}
fmflabel{$e^+,mu^+$}{o1}
fmflabel{$e^-,mu^-$}{o2}
fmflabel{$isqrt{alpha}$}{v1}
fmflabel{$isqrt{alpha}$}{v2}
fmf{fermion}{i1,v1,i2}
fmf{fermion}{o1,v2,o2}
fmf{photon,label=$gamma,,Z^0$}{v1,v2}
end{fmfgraph*}
end{fmffile}
&=text{foobar}notag\
foo&=bar
end{align}
end{document}


Output in screen (at this time, the mp file is still empty)



(./mpFockLOE.tex [MP to PDF] (./mpFockLOE.1)This is MetaPost, version 2.000 (TeX Live 2017) (kpathsea version 6.2.3)
(/usr/local/texlive/2017/texmf-dist/metapost/base/mpost.mp
(/usr/local/texlive/2017/texmf-dist/metapost/base/plain.mp
Preloading the plain mem file, version 1.005) ) (./mpFockLOE.mp)
*


Then I type end and the non-empty mp file is written.










share|improve this question



























    0















    When compiled with pdflatex -shell-escape, the following MCVE (shamelessly taken from another answer and adapted to my problem) fails with an empty mp file, and mpost wait for user input. I have to manually type end to continue the compilation, only after that a non-empty mp file is generated but mpost is not automatically executed again for the non-empty file.



    documentclass{article}
    usepackage[force]{feynmp-auto} %<-added force
    usepackage{amsmath}
    begin{document}
    begin{align}
    begin{fmffile}{simple_labels}
    begin{fmfgraph*}(40,25)
    fmfleft{i1,i2}
    fmfright{o1,o2}
    fmflabel{$e^-$}{i1}
    fmflabel{$e^+$}{i2}
    fmflabel{$e^+,mu^+$}{o1}
    fmflabel{$e^-,mu^-$}{o2}
    fmflabel{$isqrt{alpha}$}{v1}
    fmflabel{$isqrt{alpha}$}{v2}
    fmf{fermion}{i1,v1,i2}
    fmf{fermion}{o1,v2,o2}
    fmf{photon,label=$gamma,,Z^0$}{v1,v2}
    end{fmfgraph*}
    end{fmffile}
    &=text{foobar}notag\
    foo&=bar
    end{align}
    end{document}


    Output in screen (at this time, the mp file is still empty)



    (./mpFockLOE.tex [MP to PDF] (./mpFockLOE.1)This is MetaPost, version 2.000 (TeX Live 2017) (kpathsea version 6.2.3)
    (/usr/local/texlive/2017/texmf-dist/metapost/base/mpost.mp
    (/usr/local/texlive/2017/texmf-dist/metapost/base/plain.mp
    Preloading the plain mem file, version 1.005) ) (./mpFockLOE.mp)
    *


    Then I type end and the non-empty mp file is written.










    share|improve this question

























      0












      0








      0








      When compiled with pdflatex -shell-escape, the following MCVE (shamelessly taken from another answer and adapted to my problem) fails with an empty mp file, and mpost wait for user input. I have to manually type end to continue the compilation, only after that a non-empty mp file is generated but mpost is not automatically executed again for the non-empty file.



      documentclass{article}
      usepackage[force]{feynmp-auto} %<-added force
      usepackage{amsmath}
      begin{document}
      begin{align}
      begin{fmffile}{simple_labels}
      begin{fmfgraph*}(40,25)
      fmfleft{i1,i2}
      fmfright{o1,o2}
      fmflabel{$e^-$}{i1}
      fmflabel{$e^+$}{i2}
      fmflabel{$e^+,mu^+$}{o1}
      fmflabel{$e^-,mu^-$}{o2}
      fmflabel{$isqrt{alpha}$}{v1}
      fmflabel{$isqrt{alpha}$}{v2}
      fmf{fermion}{i1,v1,i2}
      fmf{fermion}{o1,v2,o2}
      fmf{photon,label=$gamma,,Z^0$}{v1,v2}
      end{fmfgraph*}
      end{fmffile}
      &=text{foobar}notag\
      foo&=bar
      end{align}
      end{document}


      Output in screen (at this time, the mp file is still empty)



      (./mpFockLOE.tex [MP to PDF] (./mpFockLOE.1)This is MetaPost, version 2.000 (TeX Live 2017) (kpathsea version 6.2.3)
      (/usr/local/texlive/2017/texmf-dist/metapost/base/mpost.mp
      (/usr/local/texlive/2017/texmf-dist/metapost/base/plain.mp
      Preloading the plain mem file, version 1.005) ) (./mpFockLOE.mp)
      *


      Then I type end and the non-empty mp file is written.










      share|improve this question














      When compiled with pdflatex -shell-escape, the following MCVE (shamelessly taken from another answer and adapted to my problem) fails with an empty mp file, and mpost wait for user input. I have to manually type end to continue the compilation, only after that a non-empty mp file is generated but mpost is not automatically executed again for the non-empty file.



      documentclass{article}
      usepackage[force]{feynmp-auto} %<-added force
      usepackage{amsmath}
      begin{document}
      begin{align}
      begin{fmffile}{simple_labels}
      begin{fmfgraph*}(40,25)
      fmfleft{i1,i2}
      fmfright{o1,o2}
      fmflabel{$e^-$}{i1}
      fmflabel{$e^+$}{i2}
      fmflabel{$e^+,mu^+$}{o1}
      fmflabel{$e^-,mu^-$}{o2}
      fmflabel{$isqrt{alpha}$}{v1}
      fmflabel{$isqrt{alpha}$}{v2}
      fmf{fermion}{i1,v1,i2}
      fmf{fermion}{o1,v2,o2}
      fmf{photon,label=$gamma,,Z^0$}{v1,v2}
      end{fmfgraph*}
      end{fmffile}
      &=text{foobar}notag\
      foo&=bar
      end{align}
      end{document}


      Output in screen (at this time, the mp file is still empty)



      (./mpFockLOE.tex [MP to PDF] (./mpFockLOE.1)This is MetaPost, version 2.000 (TeX Live 2017) (kpathsea version 6.2.3)
      (/usr/local/texlive/2017/texmf-dist/metapost/base/mpost.mp
      (/usr/local/texlive/2017/texmf-dist/metapost/base/plain.mp
      Preloading the plain mem file, version 1.005) ) (./mpFockLOE.mp)
      *


      Then I type end and the non-empty mp file is written.







      align amsmath feynmp-auto






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 36 mins ago









      Weijun ZhouWeijun Zhou

      17010




      17010






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I suppose this is related to how the align environment in AMS collects its parameter. A temporary fix I use is replacing it with aligned,



          documentclass{article}
          usepackage[force]{feynmp-auto} %<-added force
          usepackage{amsmath}
          begin{document}
          begin{equation}
          begin{aligned}
          begin{fmffile}{simple_labels}
          begin{fmfgraph*}(40,25)
          fmfleft{i1,i2}
          fmfright{o1,o2}
          fmflabel{$e^-$}{i1}
          fmflabel{$e^+$}{i2}
          fmflabel{$e^+,mu^+$}{o1}
          fmflabel{$e^-,mu^-$}{o2}
          fmflabel{$isqrt{alpha}$}{v1}
          fmflabel{$isqrt{alpha}$}{v2}
          fmf{fermion}{i1,v1,i2}
          fmf{fermion}{o1,v2,o2}
          fmf{photon,label=$gamma,,Z^0$}{v1,v2}
          end{fmfgraph*}
          end{fmffile}
          &=text{foobar}\
          foo&=bar
          end{aligned}
          end{equation}
          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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487953%2famsmath-align-breaks-feynmp-auto%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














            I suppose this is related to how the align environment in AMS collects its parameter. A temporary fix I use is replacing it with aligned,



            documentclass{article}
            usepackage[force]{feynmp-auto} %<-added force
            usepackage{amsmath}
            begin{document}
            begin{equation}
            begin{aligned}
            begin{fmffile}{simple_labels}
            begin{fmfgraph*}(40,25)
            fmfleft{i1,i2}
            fmfright{o1,o2}
            fmflabel{$e^-$}{i1}
            fmflabel{$e^+$}{i2}
            fmflabel{$e^+,mu^+$}{o1}
            fmflabel{$e^-,mu^-$}{o2}
            fmflabel{$isqrt{alpha}$}{v1}
            fmflabel{$isqrt{alpha}$}{v2}
            fmf{fermion}{i1,v1,i2}
            fmf{fermion}{o1,v2,o2}
            fmf{photon,label=$gamma,,Z^0$}{v1,v2}
            end{fmfgraph*}
            end{fmffile}
            &=text{foobar}\
            foo&=bar
            end{aligned}
            end{equation}
            end{document}





            share|improve this answer






























              0














              I suppose this is related to how the align environment in AMS collects its parameter. A temporary fix I use is replacing it with aligned,



              documentclass{article}
              usepackage[force]{feynmp-auto} %<-added force
              usepackage{amsmath}
              begin{document}
              begin{equation}
              begin{aligned}
              begin{fmffile}{simple_labels}
              begin{fmfgraph*}(40,25)
              fmfleft{i1,i2}
              fmfright{o1,o2}
              fmflabel{$e^-$}{i1}
              fmflabel{$e^+$}{i2}
              fmflabel{$e^+,mu^+$}{o1}
              fmflabel{$e^-,mu^-$}{o2}
              fmflabel{$isqrt{alpha}$}{v1}
              fmflabel{$isqrt{alpha}$}{v2}
              fmf{fermion}{i1,v1,i2}
              fmf{fermion}{o1,v2,o2}
              fmf{photon,label=$gamma,,Z^0$}{v1,v2}
              end{fmfgraph*}
              end{fmffile}
              &=text{foobar}\
              foo&=bar
              end{aligned}
              end{equation}
              end{document}





              share|improve this answer




























                0












                0








                0







                I suppose this is related to how the align environment in AMS collects its parameter. A temporary fix I use is replacing it with aligned,



                documentclass{article}
                usepackage[force]{feynmp-auto} %<-added force
                usepackage{amsmath}
                begin{document}
                begin{equation}
                begin{aligned}
                begin{fmffile}{simple_labels}
                begin{fmfgraph*}(40,25)
                fmfleft{i1,i2}
                fmfright{o1,o2}
                fmflabel{$e^-$}{i1}
                fmflabel{$e^+$}{i2}
                fmflabel{$e^+,mu^+$}{o1}
                fmflabel{$e^-,mu^-$}{o2}
                fmflabel{$isqrt{alpha}$}{v1}
                fmflabel{$isqrt{alpha}$}{v2}
                fmf{fermion}{i1,v1,i2}
                fmf{fermion}{o1,v2,o2}
                fmf{photon,label=$gamma,,Z^0$}{v1,v2}
                end{fmfgraph*}
                end{fmffile}
                &=text{foobar}\
                foo&=bar
                end{aligned}
                end{equation}
                end{document}





                share|improve this answer















                I suppose this is related to how the align environment in AMS collects its parameter. A temporary fix I use is replacing it with aligned,



                documentclass{article}
                usepackage[force]{feynmp-auto} %<-added force
                usepackage{amsmath}
                begin{document}
                begin{equation}
                begin{aligned}
                begin{fmffile}{simple_labels}
                begin{fmfgraph*}(40,25)
                fmfleft{i1,i2}
                fmfright{o1,o2}
                fmflabel{$e^-$}{i1}
                fmflabel{$e^+$}{i2}
                fmflabel{$e^+,mu^+$}{o1}
                fmflabel{$e^-,mu^-$}{o2}
                fmflabel{$isqrt{alpha}$}{v1}
                fmflabel{$isqrt{alpha}$}{v2}
                fmf{fermion}{i1,v1,i2}
                fmf{fermion}{o1,v2,o2}
                fmf{photon,label=$gamma,,Z^0$}{v1,v2}
                end{fmfgraph*}
                end{fmffile}
                &=text{foobar}\
                foo&=bar
                end{aligned}
                end{equation}
                end{document}






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 26 mins ago

























                answered 36 mins ago









                Weijun ZhouWeijun Zhou

                17010




                17010






























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487953%2famsmath-align-breaks-feynmp-auto%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

                    IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

                    Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

                    Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...