3,871 reputation
1916
bio website
location
age
visits member for 2 years, 6 months
seen Mar 12 at 14:13

12h
awarded  Enlightened
Jan
6
awarded  Yearling
Oct
13
awarded  Good Answer
Jul
17
awarded  Nice Answer
Jul
17
comment How to create a pre-processing command that accepts plain text and generates formatted text (based on configurable options)
This could be an approach for you: tex.stackexchange.com/a/45791/10570. This example uses LuaLaTeX and replaces only single letters. But I think it is easy to adopt the methods to replace whole words or phrases (The Lua command string.gsub will be your friend). Another example you can find here: wiki.luatex.org/index.php/Process_input_buffer.
Jul
2
awarded  Necromancer
May
7
comment Perform matrix operations (addition, product, transpose, etc.) in LaTeX?
I'm not sure but maybe you are "reinvent" a style file which already exists: tex.stackexchange.com/q/73543/10570. Perhaps you can use/merge some functions from Scott's style file.
May
7
comment Perform matrix operations (addition, product, transpose, etc.) in LaTeX?
If you give LuaLaTeX a try maybe this could be helpful for you: tex.stackexchange.com/q/73543/10570. Scott H. did a lot of work to create a LaTeX-Lua(TeX) interface for matrix calculations.
Jan
6
awarded  Yearling
Dec
20
answered How to install TeX on android phones?
Dec
17
revised Eledmac line numbering out of margin at top of column (memoir)
put the MWE in a code sample environment
Nov
18
answered Full LaTeX on tablet devices
Nov
16
comment Automatic referencing of item number in enumerate environment
Maybe this could be interesting for you: tex.stackexchange.com/a/64521/10570
Nov
8
comment Finding package documentation
If you use WinEdt just double-click the \usepackage.
Nov
1
awarded  Necromancer
Oct
31
awarded  Nice Answer
Oct
31
answered How to split text into characters
Oct
29
answered WinEdt Macros that split automatically the equation
Oct
29
revised Comment out lines without using % and comment enviroment
added a second example
Oct
29
comment Comment out lines without using % and comment enviroment
You are right, just use \readfile{exercise.435.tex}{2} instead of \input{exercise.435.tex}. That's all. There is no need to change your code. I don't think that you will run into big troubles if you switch from XeLaTeX to LuaLaTeX. But I don't know the rest of your tex files and the content of your exercises, so just try it. And if needed you can create a Lua function to read all exercise files in just one loop.