Hello,
I would like to display titles differently in TOC than they appear in text. For
example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial
transformation that really needs Lua.
I've written simple Lua macros before, but the following approach trying to
define textcommand does n
On 2/21/2020 2:34 PM, alephzorro wrote:
Hello,
I would like to display titles differently in TOC than they appear in
text. For example, MyChapter1 -> 1retpahCyM. Basically any highly
non-trivial transformation that really needs Lua.
\starttext
\completecontent
\startchapter[title={
On Fri, 21 Feb 2020 13:34:20 +
alephzorro wrote:
> Hello,
>
> I would like to display titles differently in TOC than they appear in text.
> For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial
> transformation that really needs Lua.
>
> I've written simple Lua macros be
The "list" seems capable of handling even complex lua macros. It does not
require much work to add this to all chapters manually in my case so this
solution works for me (and there's always awk and such for larger things).
Thank you!
Jason
‐‐‐ Original Message ‐‐‐
On Friday, February
Yup, this works gloriously for reversing titles. And more complex
transformations (in my case mostly weird stuff like generating morse code for
titles to be shown in TOC) can be done by specifying "list" for all chapters as
Hans suggested. Thank you!
Jason
‐‐‐ Original Message ‐‐‐
O