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

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

Significance of Cersei's obsession with elephants?

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

Irreducible of finite Krull dimension implies quasi-compact?

Fantasy story; one type of magic grows in power with use, but the more powerful they are, they more they are drawn to travel to their source

Is this homebrew Lady of Pain warlock patron balanced?

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

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

Why do we bend a book to keep it straight?

How to compare two different files line by line in unix?

Can a party unilaterally change candidates in preparation for a General election?

What font is "z" in "z-score"?

Is safe to use va_start macro with this as parameter?

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

Most bit efficient text communication method?

Do wooden building fires get hotter than 600°C?

An adverb for when you're not exaggerating

Where are Serre’s lectures at Collège de France to be found?

Crossing US/Canada Border for less than 24 hours

Can anything be seen from the center of the Boötes void? How dark would it be?

Wu formula for manifolds with boundary

Can a new player join a group only when a new campaign starts?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

How to answer "Have you ever been terminated?"



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

          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...