diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-11-11 19:43:54 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-11-11 19:43:54 +0100 |
commit | e1968f3ee77c1485c06a567aed0bc0e2eb5c7d01 (patch) | |
tree | e6664e73334ac677241feb04244580b2f22c92c3 /tex/context/base/mkxl/buff-ini.mkxl | |
parent | 70deb1dc5cd7c0546dd864ca91a8fa0b97e31533 (diff) | |
download | context-e1968f3ee77c1485c06a567aed0bc0e2eb5c7d01.tar.gz |
2021-11-11 19:21:00
Diffstat (limited to 'tex/context/base/mkxl/buff-ini.mkxl')
-rw-r--r-- | tex/context/base/mkxl/buff-ini.mkxl | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/buff-ini.mkxl b/tex/context/base/mkxl/buff-ini.mkxl index ed16bd6e3..530058f46 100644 --- a/tex/context/base/mkxl/buff-ini.mkxl +++ b/tex/context/base/mkxl/buff-ini.mkxl @@ -283,4 +283,38 @@ \permanent\def\getbufferdata[#1]{\buff_get_stored_indeed{#1}} +% low level helper (for math manual): + +% \showboxinbuffer{temp}<boxnumber><detail> % defined in lua, detail cf \shownodedetails 0|1|2 + +%D \starttyping +%D \setbox\scratchbox\hbox{$fff$} +%D \showboxinbuffer{temp}\scratchbox\plusone +%D \typebuffer[temp][option=TEX] +%D \stoptyping +%D +%D More extensive multistep cases can do this: +%D +%D \starttyping +%D \pushlogfile{oeps-1.txt} +%D \setbox0\hbox{A}\showbox0 +%D \pushlogfile{oeps-2.txt} +%D \setbox0\hbox{B}\showbox0 +%D \poplogfile +%D \setbox0\hbox{C}\showbox0 +%D \poplogfile +%D +%D % \resetlogfile{oeps-1.txt} +%D \pushlogfile{oeps-1.txt} +%D \setbox0\hbox{A}\showbox0 +%D \pushlogfile{oeps-2.txt} +%D \setbox0\hbox{B}\showbox0 +%D \poplogfile +%D \setbox0\hbox{C}\showbox0 +%D \poplogfile +%D \stoptyping +%D +%D But in the end that was overkill and we don't really need a stepwise verbatim +%D because we need to add comments in between anyway. + \protect \endinput |