{expansion} is about expanding tokens, including the manipulation of expansion order and the suppressing of expansion.
42
votes
0answers
1k views
A LaTeX log analyzer application (visualizing TeX expansion)
Consider the following MWE, test.tex:
\documentclass[12pt]{article}
\begin{document}
\tracingassigns=1
\tracingmacros=1
\def\aaa{something}
\def\bbb{else \aaa, else}
\edef\ccc{third \bbb, level}
...
2
votes
0answers
95 views
\ref, \autoref and hyperref expansion
I'm trying to write section numbers to a file with the newfile package.
In details, this MWE basically tries to write to a .ref file with lines like A-B. The A and B are generated by \label and \ref ...
1
vote
0answers
58 views
Expanded StrSubstitute
I am trying to use \StrSubstitute, but what I want is to expand it all the way to get the result string.
\StrSubstitute{Řepa}{Ř}{Rzzz}
then i use it with
% somehow define \a as the result string ...