Export TeXShop macros












3














I am currently using two different computers to write my papers and slides with TeXShop : my personal one at home, and my office computer.



I am searching for a way to "synchronize" my TeXShop macros between the two computers, or at least export a macro I write on a computer to the other. Even some artisanal solution would suit me, like finding where the macros are saved on a computer and manually copy the files to the other.



For example I have a Beamer template that I constantly update, actually I am forced to keep the template on a file on my Dropbox to keep it synchronized, whereas I would like to save it as a macro.



I insist upon the fact that I am talking about TexShop macros, the ones we create/modify with the Macro editor menu.










share|improve this question





























    3














    I am currently using two different computers to write my papers and slides with TeXShop : my personal one at home, and my office computer.



    I am searching for a way to "synchronize" my TeXShop macros between the two computers, or at least export a macro I write on a computer to the other. Even some artisanal solution would suit me, like finding where the macros are saved on a computer and manually copy the files to the other.



    For example I have a Beamer template that I constantly update, actually I am forced to keep the template on a file on my Dropbox to keep it synchronized, whereas I would like to save it as a macro.



    I insist upon the fact that I am talking about TexShop macros, the ones we create/modify with the Macro editor menu.










    share|improve this question



























      3












      3








      3







      I am currently using two different computers to write my papers and slides with TeXShop : my personal one at home, and my office computer.



      I am searching for a way to "synchronize" my TeXShop macros between the two computers, or at least export a macro I write on a computer to the other. Even some artisanal solution would suit me, like finding where the macros are saved on a computer and manually copy the files to the other.



      For example I have a Beamer template that I constantly update, actually I am forced to keep the template on a file on my Dropbox to keep it synchronized, whereas I would like to save it as a macro.



      I insist upon the fact that I am talking about TexShop macros, the ones we create/modify with the Macro editor menu.










      share|improve this question















      I am currently using two different computers to write my papers and slides with TeXShop : my personal one at home, and my office computer.



      I am searching for a way to "synchronize" my TeXShop macros between the two computers, or at least export a macro I write on a computer to the other. Even some artisanal solution would suit me, like finding where the macros are saved on a computer and manually copy the files to the other.



      For example I have a Beamer template that I constantly update, actually I am forced to keep the template on a file on my Dropbox to keep it synchronized, whereas I would like to save it as a macro.



      I insist upon the fact that I am talking about TexShop macros, the ones we create/modify with the Macro editor menu.







      mac editors texshop






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 30 '17 at 16:15









      Alan Munn

      158k27425699




      158k27425699










      asked Aug 30 '17 at 13:20









      Guillermo Durand

      185




      185






















          2 Answers
          2






          active

          oldest

          votes


















          4














          To move all of the macros copy the ~/Library/TeXShop/Macros folder from one computer and replace the one on the other system with that folder. Note: ~/Library is the Library folder in your HOME folder. In recent versions of TeXShop you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop menu command.



          To move selected Macros open the Macro Editor (Macros->Open Macro Editor…), select the macro(s) in the list on the left and then click on Macros->Save selection to file… (Note: that menu item only appears when the Macro Editor is active) to create a file with extension .plist and a name of your choice in the location of your choice. Copy that file to the other system. On the other system open TeXShop and the Macro Editor and click on Macros->Add macros from file… (again, only available when the Macro Editor is active). Drag and drop that .plist file onto the selection window and import the file. Once the macros are imported you can move them to your preferred location(s) on the menu in the list at the left side of the Macro Editor window and then Save the changes.






          share|improve this answer























          • Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
            – Guillermo Durand
            Aug 30 '17 at 16:04








          • 1




            You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
            – Herb Schulz
            Aug 30 '17 at 16:40



















          0














          I use a bash script to collect such application customization in one folder for backup purposes that may help:



          #! /bin/bash

          echo "backup app config"

          DIR_HB_BACKUP="/Users/bingol/Documents/hbBackup"

          echo "-TeXShop"
          cp -f /Users/bingol/Library/TeXShop/Macros/Macros_Latex.plist ${DIR_HB_BACKUP}/Macros_Latex.plist





          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%2f389013%2fexport-texshop-macros%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            4














            To move all of the macros copy the ~/Library/TeXShop/Macros folder from one computer and replace the one on the other system with that folder. Note: ~/Library is the Library folder in your HOME folder. In recent versions of TeXShop you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop menu command.



            To move selected Macros open the Macro Editor (Macros->Open Macro Editor…), select the macro(s) in the list on the left and then click on Macros->Save selection to file… (Note: that menu item only appears when the Macro Editor is active) to create a file with extension .plist and a name of your choice in the location of your choice. Copy that file to the other system. On the other system open TeXShop and the Macro Editor and click on Macros->Add macros from file… (again, only available when the Macro Editor is active). Drag and drop that .plist file onto the selection window and import the file. Once the macros are imported you can move them to your preferred location(s) on the menu in the list at the left side of the Macro Editor window and then Save the changes.






            share|improve this answer























            • Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
              – Guillermo Durand
              Aug 30 '17 at 16:04








            • 1




              You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
              – Herb Schulz
              Aug 30 '17 at 16:40
















            4














            To move all of the macros copy the ~/Library/TeXShop/Macros folder from one computer and replace the one on the other system with that folder. Note: ~/Library is the Library folder in your HOME folder. In recent versions of TeXShop you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop menu command.



            To move selected Macros open the Macro Editor (Macros->Open Macro Editor…), select the macro(s) in the list on the left and then click on Macros->Save selection to file… (Note: that menu item only appears when the Macro Editor is active) to create a file with extension .plist and a name of your choice in the location of your choice. Copy that file to the other system. On the other system open TeXShop and the Macro Editor and click on Macros->Add macros from file… (again, only available when the Macro Editor is active). Drag and drop that .plist file onto the selection window and import the file. Once the macros are imported you can move them to your preferred location(s) on the menu in the list at the left side of the Macro Editor window and then Save the changes.






            share|improve this answer























            • Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
              – Guillermo Durand
              Aug 30 '17 at 16:04








            • 1




              You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
              – Herb Schulz
              Aug 30 '17 at 16:40














            4












            4








            4






            To move all of the macros copy the ~/Library/TeXShop/Macros folder from one computer and replace the one on the other system with that folder. Note: ~/Library is the Library folder in your HOME folder. In recent versions of TeXShop you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop menu command.



            To move selected Macros open the Macro Editor (Macros->Open Macro Editor…), select the macro(s) in the list on the left and then click on Macros->Save selection to file… (Note: that menu item only appears when the Macro Editor is active) to create a file with extension .plist and a name of your choice in the location of your choice. Copy that file to the other system. On the other system open TeXShop and the Macro Editor and click on Macros->Add macros from file… (again, only available when the Macro Editor is active). Drag and drop that .plist file onto the selection window and import the file. Once the macros are imported you can move them to your preferred location(s) on the menu in the list at the left side of the Macro Editor window and then Save the changes.






            share|improve this answer














            To move all of the macros copy the ~/Library/TeXShop/Macros folder from one computer and replace the one on the other system with that folder. Note: ~/Library is the Library folder in your HOME folder. In recent versions of TeXShop you can open ~/Library/TeXShop using the TeXShop->Open ~/Library/TeXShop menu command.



            To move selected Macros open the Macro Editor (Macros->Open Macro Editor…), select the macro(s) in the list on the left and then click on Macros->Save selection to file… (Note: that menu item only appears when the Macro Editor is active) to create a file with extension .plist and a name of your choice in the location of your choice. Copy that file to the other system. On the other system open TeXShop and the Macro Editor and click on Macros->Add macros from file… (again, only available when the Macro Editor is active). Drag and drop that .plist file onto the selection window and import the file. Once the macros are imported you can move them to your preferred location(s) on the menu in the list at the left side of the Macro Editor window and then Save the changes.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 30 '17 at 15:49









            Alan Munn

            158k27425699




            158k27425699










            answered Aug 30 '17 at 15:04









            Herb Schulz

            1,687187




            1,687187












            • Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
              – Guillermo Durand
              Aug 30 '17 at 16:04








            • 1




              You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
              – Herb Schulz
              Aug 30 '17 at 16:40


















            • Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
              – Guillermo Durand
              Aug 30 '17 at 16:04








            • 1




              You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
              – Herb Schulz
              Aug 30 '17 at 16:40
















            Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
            – Guillermo Durand
            Aug 30 '17 at 16:04






            Those are the informations I was looking for, thanks ! Just a detail : do I need to move the entire ~/Library/TeXShop/Macros folder (that is, the three files I am actually seeing in there) or just some specific files ? Also, I don't see the menu command you are talking about in the Open menu, whereas I believe I have the last version (3.85).
            – Guillermo Durand
            Aug 30 '17 at 16:04






            1




            1




            You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
            – Herb Schulz
            Aug 30 '17 at 16:40




            You could just move the Macros_Latex.plist file assuming you are using LaTeX. The files with names ending with ~ are backups. It doesn't hurt to replace the whole folder.
            – Herb Schulz
            Aug 30 '17 at 16:40











            0














            I use a bash script to collect such application customization in one folder for backup purposes that may help:



            #! /bin/bash

            echo "backup app config"

            DIR_HB_BACKUP="/Users/bingol/Documents/hbBackup"

            echo "-TeXShop"
            cp -f /Users/bingol/Library/TeXShop/Macros/Macros_Latex.plist ${DIR_HB_BACKUP}/Macros_Latex.plist





            share|improve this answer


























              0














              I use a bash script to collect such application customization in one folder for backup purposes that may help:



              #! /bin/bash

              echo "backup app config"

              DIR_HB_BACKUP="/Users/bingol/Documents/hbBackup"

              echo "-TeXShop"
              cp -f /Users/bingol/Library/TeXShop/Macros/Macros_Latex.plist ${DIR_HB_BACKUP}/Macros_Latex.plist





              share|improve this answer
























                0












                0








                0






                I use a bash script to collect such application customization in one folder for backup purposes that may help:



                #! /bin/bash

                echo "backup app config"

                DIR_HB_BACKUP="/Users/bingol/Documents/hbBackup"

                echo "-TeXShop"
                cp -f /Users/bingol/Library/TeXShop/Macros/Macros_Latex.plist ${DIR_HB_BACKUP}/Macros_Latex.plist





                share|improve this answer












                I use a bash script to collect such application customization in one folder for backup purposes that may help:



                #! /bin/bash

                echo "backup app config"

                DIR_HB_BACKUP="/Users/bingol/Documents/hbBackup"

                echo "-TeXShop"
                cp -f /Users/bingol/Library/TeXShop/Macros/Macros_Latex.plist ${DIR_HB_BACKUP}/Macros_Latex.plist






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 10 at 11:25









                01pi

                393




                393






























                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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%2f389013%2fexport-texshop-macros%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

                    How to change which sound is reproduced for terminal bell?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?