xparse/command-already-defined

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Hello I am trying to use the following class (yReport.cls) from this link https://github.com/HarveySheppard/yLaTeX



I am using MikTex 2.9 and I have installed the relevant packages, fonts and cls files. Unfortunately the following error comes and I do not know how to fix it:



! LaTeX error: "xparse/command-already-defined"
!
! Command 'FA' already defined!
!
! See the LaTeX3 documentation for further information.


This error comes up when loading the following code which is the minimal amount of code required for the layout to work:



documentclass[french]yReport

authorYour name
subtitleSubtitle
titleTitle
hypersetup
pdftitle=Title,
pdfsubject=Subject,
pdfauthor=Your name,
pdfkeywords=keyword 1keyword 2,


makeatletter
letrunauthor@author
letruntitle@title
makeatother

begindocument
titleTwo
enddocument









share|improve this question



















  • 1




    Please add a minimal (non) working example (MWE), that illustrates your problem.
    – NBur
    1 hour ago











  • Added a not working example
    – sab hoque
    1 hour ago










  • There is no problem when rendering using XeLaTeX or pdfTeX. The word Lorem appears as it should
    – sab hoque
    1 hour ago






  • 1




    Try documentclassarticleusepackage[marginIcons]infoBulleusepackagefontawesomebegindocumentLoremenddocument?
    – moewe
    1 hour ago






  • 1




    Good. I suspect infoBulle defines things that fontawesome defines, so the definitions clash.
    – moewe
    1 hour ago














up vote
1
down vote

favorite












Hello I am trying to use the following class (yReport.cls) from this link https://github.com/HarveySheppard/yLaTeX



I am using MikTex 2.9 and I have installed the relevant packages, fonts and cls files. Unfortunately the following error comes and I do not know how to fix it:



! LaTeX error: "xparse/command-already-defined"
!
! Command 'FA' already defined!
!
! See the LaTeX3 documentation for further information.


This error comes up when loading the following code which is the minimal amount of code required for the layout to work:



documentclass[french]yReport

authorYour name
subtitleSubtitle
titleTitle
hypersetup
pdftitle=Title,
pdfsubject=Subject,
pdfauthor=Your name,
pdfkeywords=keyword 1keyword 2,


makeatletter
letrunauthor@author
letruntitle@title
makeatother

begindocument
titleTwo
enddocument









share|improve this question



















  • 1




    Please add a minimal (non) working example (MWE), that illustrates your problem.
    – NBur
    1 hour ago











  • Added a not working example
    – sab hoque
    1 hour ago










  • There is no problem when rendering using XeLaTeX or pdfTeX. The word Lorem appears as it should
    – sab hoque
    1 hour ago






  • 1




    Try documentclassarticleusepackage[marginIcons]infoBulleusepackagefontawesomebegindocumentLoremenddocument?
    – moewe
    1 hour ago






  • 1




    Good. I suspect infoBulle defines things that fontawesome defines, so the definitions clash.
    – moewe
    1 hour ago












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Hello I am trying to use the following class (yReport.cls) from this link https://github.com/HarveySheppard/yLaTeX



I am using MikTex 2.9 and I have installed the relevant packages, fonts and cls files. Unfortunately the following error comes and I do not know how to fix it:



! LaTeX error: "xparse/command-already-defined"
!
! Command 'FA' already defined!
!
! See the LaTeX3 documentation for further information.


This error comes up when loading the following code which is the minimal amount of code required for the layout to work:



documentclass[french]yReport

authorYour name
subtitleSubtitle
titleTitle
hypersetup
pdftitle=Title,
pdfsubject=Subject,
pdfauthor=Your name,
pdfkeywords=keyword 1keyword 2,


makeatletter
letrunauthor@author
letruntitle@title
makeatother

begindocument
titleTwo
enddocument









share|improve this question















Hello I am trying to use the following class (yReport.cls) from this link https://github.com/HarveySheppard/yLaTeX



I am using MikTex 2.9 and I have installed the relevant packages, fonts and cls files. Unfortunately the following error comes and I do not know how to fix it:



! LaTeX error: "xparse/command-already-defined"
!
! Command 'FA' already defined!
!
! See the LaTeX3 documentation for further information.


This error comes up when loading the following code which is the minimal amount of code required for the layout to work:



documentclass[french]yReport

authorYour name
subtitleSubtitle
titleTitle
hypersetup
pdftitle=Title,
pdfsubject=Subject,
pdfauthor=Your name,
pdfkeywords=keyword 1keyword 2,


makeatletter
letrunauthor@author
letruntitle@title
makeatother

begindocument
titleTwo
enddocument






incompatibility xparse






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









Saphar Koshet

469




469










asked 2 hours ago









sab hoque

1,057318




1,057318







  • 1




    Please add a minimal (non) working example (MWE), that illustrates your problem.
    – NBur
    1 hour ago











  • Added a not working example
    – sab hoque
    1 hour ago










  • There is no problem when rendering using XeLaTeX or pdfTeX. The word Lorem appears as it should
    – sab hoque
    1 hour ago






  • 1




    Try documentclassarticleusepackage[marginIcons]infoBulleusepackagefontawesomebegindocumentLoremenddocument?
    – moewe
    1 hour ago






  • 1




    Good. I suspect infoBulle defines things that fontawesome defines, so the definitions clash.
    – moewe
    1 hour ago












  • 1




    Please add a minimal (non) working example (MWE), that illustrates your problem.
    – NBur
    1 hour ago











  • Added a not working example
    – sab hoque
    1 hour ago










  • There is no problem when rendering using XeLaTeX or pdfTeX. The word Lorem appears as it should
    – sab hoque
    1 hour ago






  • 1




    Try documentclassarticleusepackage[marginIcons]infoBulleusepackagefontawesomebegindocumentLoremenddocument?
    – moewe
    1 hour ago






  • 1




    Good. I suspect infoBulle defines things that fontawesome defines, so the definitions clash.
    – moewe
    1 hour ago







1




1




Please add a minimal (non) working example (MWE), that illustrates your problem.
– NBur
1 hour ago





Please add a minimal (non) working example (MWE), that illustrates your problem.
– NBur
1 hour ago













Added a not working example
– sab hoque
1 hour ago




Added a not working example
– sab hoque
1 hour ago












There is no problem when rendering using XeLaTeX or pdfTeX. The word Lorem appears as it should
– sab hoque
1 hour ago




There is no problem when rendering using XeLaTeX or pdfTeX. The word Lorem appears as it should
– sab hoque
1 hour ago




1




1




Try documentclassarticleusepackage[marginIcons]infoBulleusepackagefontawesomebegindocumentLoremenddocument?
– moewe
1 hour ago




Try documentclassarticleusepackage[marginIcons]infoBulleusepackagefontawesomebegindocumentLoremenddocument?
– moewe
1 hour ago




1




1




Good. I suspect infoBulle defines things that fontawesome defines, so the definitions clash.
– moewe
1 hour ago




Good. I suspect infoBulle defines things that fontawesome defines, so the definitions clash.
– moewe
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










The problem can be reproduced with



documentclassarticle
usepackageinfoBulle
begindocument
Lorem
enddocument


You'll need infoBulle.sty from https://github.com/HarveySheppard/yLaTeX/tree/master/yPackages/infoBulle and yMainColor.sty from https://github.com/HarveySheppard/yLaTeX/blob/master/yPackages/yMainColor/ to run the code.



A short investigation reveals that infoBulle.sty not only loads the fontawesome package (in line 44), but it also issues



newfontfamilyFAFontAwesome


later on in line 115.



At that point, however, fontawesome has execute that same line itself and we get an error.



It seems to me that infoBulle.sty is wrong in using FA with newfontfamily for FontAwesome when fontawesome is already loaded. This should be reported to the infoBulle maintainer (https://github.com/HarveySheppard/yLaTeX/issues/8).



In the meantime the easiest, but also dirtiest, fix is to edit your local copy of infoBulle.sty and to remove (or comment out) the newfontfamilyFAFontAwesome in line 115.






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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    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%2f453188%2fxparse-command-already-defined%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    3
    down vote



    accepted










    The problem can be reproduced with



    documentclassarticle
    usepackageinfoBulle
    begindocument
    Lorem
    enddocument


    You'll need infoBulle.sty from https://github.com/HarveySheppard/yLaTeX/tree/master/yPackages/infoBulle and yMainColor.sty from https://github.com/HarveySheppard/yLaTeX/blob/master/yPackages/yMainColor/ to run the code.



    A short investigation reveals that infoBulle.sty not only loads the fontawesome package (in line 44), but it also issues



    newfontfamilyFAFontAwesome


    later on in line 115.



    At that point, however, fontawesome has execute that same line itself and we get an error.



    It seems to me that infoBulle.sty is wrong in using FA with newfontfamily for FontAwesome when fontawesome is already loaded. This should be reported to the infoBulle maintainer (https://github.com/HarveySheppard/yLaTeX/issues/8).



    In the meantime the easiest, but also dirtiest, fix is to edit your local copy of infoBulle.sty and to remove (or comment out) the newfontfamilyFAFontAwesome in line 115.






    share|improve this answer


























      up vote
      3
      down vote



      accepted










      The problem can be reproduced with



      documentclassarticle
      usepackageinfoBulle
      begindocument
      Lorem
      enddocument


      You'll need infoBulle.sty from https://github.com/HarveySheppard/yLaTeX/tree/master/yPackages/infoBulle and yMainColor.sty from https://github.com/HarveySheppard/yLaTeX/blob/master/yPackages/yMainColor/ to run the code.



      A short investigation reveals that infoBulle.sty not only loads the fontawesome package (in line 44), but it also issues



      newfontfamilyFAFontAwesome


      later on in line 115.



      At that point, however, fontawesome has execute that same line itself and we get an error.



      It seems to me that infoBulle.sty is wrong in using FA with newfontfamily for FontAwesome when fontawesome is already loaded. This should be reported to the infoBulle maintainer (https://github.com/HarveySheppard/yLaTeX/issues/8).



      In the meantime the easiest, but also dirtiest, fix is to edit your local copy of infoBulle.sty and to remove (or comment out) the newfontfamilyFAFontAwesome in line 115.






      share|improve this answer
























        up vote
        3
        down vote



        accepted







        up vote
        3
        down vote



        accepted






        The problem can be reproduced with



        documentclassarticle
        usepackageinfoBulle
        begindocument
        Lorem
        enddocument


        You'll need infoBulle.sty from https://github.com/HarveySheppard/yLaTeX/tree/master/yPackages/infoBulle and yMainColor.sty from https://github.com/HarveySheppard/yLaTeX/blob/master/yPackages/yMainColor/ to run the code.



        A short investigation reveals that infoBulle.sty not only loads the fontawesome package (in line 44), but it also issues



        newfontfamilyFAFontAwesome


        later on in line 115.



        At that point, however, fontawesome has execute that same line itself and we get an error.



        It seems to me that infoBulle.sty is wrong in using FA with newfontfamily for FontAwesome when fontawesome is already loaded. This should be reported to the infoBulle maintainer (https://github.com/HarveySheppard/yLaTeX/issues/8).



        In the meantime the easiest, but also dirtiest, fix is to edit your local copy of infoBulle.sty and to remove (or comment out) the newfontfamilyFAFontAwesome in line 115.






        share|improve this answer














        The problem can be reproduced with



        documentclassarticle
        usepackageinfoBulle
        begindocument
        Lorem
        enddocument


        You'll need infoBulle.sty from https://github.com/HarveySheppard/yLaTeX/tree/master/yPackages/infoBulle and yMainColor.sty from https://github.com/HarveySheppard/yLaTeX/blob/master/yPackages/yMainColor/ to run the code.



        A short investigation reveals that infoBulle.sty not only loads the fontawesome package (in line 44), but it also issues



        newfontfamilyFAFontAwesome


        later on in line 115.



        At that point, however, fontawesome has execute that same line itself and we get an error.



        It seems to me that infoBulle.sty is wrong in using FA with newfontfamily for FontAwesome when fontawesome is already loaded. This should be reported to the infoBulle maintainer (https://github.com/HarveySheppard/yLaTeX/issues/8).



        In the meantime the easiest, but also dirtiest, fix is to edit your local copy of infoBulle.sty and to remove (or comment out) the newfontfamilyFAFontAwesome in line 115.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 1 hour ago









        moewe

        77.4k797293




        77.4k797293



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f453188%2fxparse-command-already-defined%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            Installing NextGIS Connect into QGIS 3?

            One-line joke