Replacing all custom macros and standardizing papers written in TeX Announcing the arrival of...

Why are both D and D# fitting into my E minor key?

Maximum summed powersets with non-adjacent items

Fundamental Solution of the Pell Equation

Why aren't air breathing engines used as small first stages

If a contract sometimes uses the wrong name, is it still valid?

Delete nth line from bottom

Should I use a zero-interest credit card for a large one-time purchase?

What does this Jacques Hadamard quote mean?

How to Make a Beautiful Stacked 3D Plot

How do pianists reach extremely loud dynamics?

Do wooden building fires get hotter than 600°C?

What is the longest distance a player character can jump in one leap?

How can I use the Python library networkx from Mathematica?

Would "destroying" Wurmcoil Engine prevent its tokens from being created?

How to convince students of the implication truth values?

How come Sam didn't become Lord of Horn Hill?

How would a mousetrap for use in space work?

What's the meaning of "fortified infraction restraint"?

What would be the ideal power source for a cybernetic eye?

Irreducible of finite Krull dimension implies quasi-compact?

How to find all the available tools in mac terminal?

Why didn't Eitri join the fight?

Do I really need to have a message in a novel to appeal to readers?

Circuit to "zoom in" on mV fluctuations of a DC signal?



Replacing all custom macros and standardizing papers written in TeX



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Plain TeX macros with obeylines and no delimiters.Plain TeX vs. LaTeX MacrosReplacing all dots in a documentShowing definition of macros with custom characters?Recursively defined macros in TeXTeX macro idioms, or: understanding advanced macrosCustom document classes with embedable external macros?True `macros' in (La)TeXreplacing macros parameters by its definitionTeX Live - Names of all standard macros (the one proposed by TeX Live Utility)












0















I would like to be able to replace every single user-defined macro in papers written in TeX by its definition. That is, if TeXing is considered to be a function f and my standardizing script is function g I want fg(x)=f(x)for any TeX code x that can be TeXXed without errors.



From similar questions others have asked before it is clear that this will require some really hard work because TeX is extremely customizable. Well, I still want to do it.



I do want to know what I'm about to get into though.




  1. Do I essentially need to almost create half of a TeX engine (i.e. the input processor and the expansion processor)?


  2. Assuming that the work is actually finished. Will I have to keep updating my code for the rest of my life in order for it to remain compatible with latest packages even though Knuth's TeX engine itself permanently remains stable?


  3. If the goal in 1 and 2 are indeed infeasible for one person to reach during leisure time, is it feasible for me to achieve something less ambitious, namely making sure that at least 50% of the actually existing papers on arXiv gets successfully standardized? The papers are almost always written in LaTeX often using one of the AMS packages. However they tend to include low-level code such as def and sometimes even let which causes de-macro to be ineffective in standardizing them.



I'm reading Knuth's The TeXbook right now.









share



























    0















    I would like to be able to replace every single user-defined macro in papers written in TeX by its definition. That is, if TeXing is considered to be a function f and my standardizing script is function g I want fg(x)=f(x)for any TeX code x that can be TeXXed without errors.



    From similar questions others have asked before it is clear that this will require some really hard work because TeX is extremely customizable. Well, I still want to do it.



    I do want to know what I'm about to get into though.




    1. Do I essentially need to almost create half of a TeX engine (i.e. the input processor and the expansion processor)?


    2. Assuming that the work is actually finished. Will I have to keep updating my code for the rest of my life in order for it to remain compatible with latest packages even though Knuth's TeX engine itself permanently remains stable?


    3. If the goal in 1 and 2 are indeed infeasible for one person to reach during leisure time, is it feasible for me to achieve something less ambitious, namely making sure that at least 50% of the actually existing papers on arXiv gets successfully standardized? The papers are almost always written in LaTeX often using one of the AMS packages. However they tend to include low-level code such as def and sometimes even let which causes de-macro to be ineffective in standardizing them.



    I'm reading Knuth's The TeXbook right now.









    share

























      0












      0








      0








      I would like to be able to replace every single user-defined macro in papers written in TeX by its definition. That is, if TeXing is considered to be a function f and my standardizing script is function g I want fg(x)=f(x)for any TeX code x that can be TeXXed without errors.



      From similar questions others have asked before it is clear that this will require some really hard work because TeX is extremely customizable. Well, I still want to do it.



      I do want to know what I'm about to get into though.




      1. Do I essentially need to almost create half of a TeX engine (i.e. the input processor and the expansion processor)?


      2. Assuming that the work is actually finished. Will I have to keep updating my code for the rest of my life in order for it to remain compatible with latest packages even though Knuth's TeX engine itself permanently remains stable?


      3. If the goal in 1 and 2 are indeed infeasible for one person to reach during leisure time, is it feasible for me to achieve something less ambitious, namely making sure that at least 50% of the actually existing papers on arXiv gets successfully standardized? The papers are almost always written in LaTeX often using one of the AMS packages. However they tend to include low-level code such as def and sometimes even let which causes de-macro to be ineffective in standardizing them.



      I'm reading Knuth's The TeXbook right now.









      share














      I would like to be able to replace every single user-defined macro in papers written in TeX by its definition. That is, if TeXing is considered to be a function f and my standardizing script is function g I want fg(x)=f(x)for any TeX code x that can be TeXXed without errors.



      From similar questions others have asked before it is clear that this will require some really hard work because TeX is extremely customizable. Well, I still want to do it.



      I do want to know what I'm about to get into though.




      1. Do I essentially need to almost create half of a TeX engine (i.e. the input processor and the expansion processor)?


      2. Assuming that the work is actually finished. Will I have to keep updating my code for the rest of my life in order for it to remain compatible with latest packages even though Knuth's TeX engine itself permanently remains stable?


      3. If the goal in 1 and 2 are indeed infeasible for one person to reach during leisure time, is it feasible for me to achieve something less ambitious, namely making sure that at least 50% of the actually existing papers on arXiv gets successfully standardized? The papers are almost always written in LaTeX often using one of the AMS packages. However they tend to include low-level code such as def and sometimes even let which causes de-macro to be ineffective in standardizing them.



      I'm reading Knuth's The TeXbook right now.







      macros





      share












      share










      share



      share










      asked 6 mins ago









      Ying ZhouYing Zhou

      787




      787






















          0






          active

          oldest

          votes












          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%2f485401%2freplacing-all-custom-macros-and-standardizing-papers-written-in-tex%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f485401%2freplacing-all-custom-macros-and-standardizing-papers-written-in-tex%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

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación