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)

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

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Why are there no cargo aircraft with "flying wing" design?

Can you use the Shield Master feat to shove someone before you make an attack by using a Readied action?

How to Make a Beautiful Stacked 3D Plot

Trademark violation for app?

Chinese Seal on silk painting - what does it mean?

If a VARCHAR(MAX) column is included in an index, is the entire value always stored in the index page(s)?

Amount of permutations on an NxNxN Rubik's Cube

What does the "x" in "x86" represent?

Delete nth line from bottom

Around usage results

What are the out-of-universe reasons for the references to Toby Maguire-era Spider-Man in ITSV

How to tell that you are a giant?

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

Why do we bend a book to keep it straight?

Why didn't Eitri join the fight?

Why are the trig functions versine, haversine, exsecant, etc, rarely used in modern mathematics?

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

How do I find out the mythology and history of my Fortress?

Closed form of recurrent arithmetic series summation

Is "Reachable Object" really an NP-complete problem?

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Is there a kind of relay only consumes power when switching?



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

          Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

          Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

          Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm