[luatex] Getting all symbols

Sensei senseiwa at gmail.com
Tue Jun 12 17:54:59 CEST 2012


On 6/12/12 5:04pm, Joseph Wright wrote:

> I would use
>
>    f:write(name .. "\string\n")
>
> to write one csname per line in your output.
>
>> I can't open it with ease with a text editor: it complains it has a
>> corrupt UTF-8 enconding. I am using ";;;;" since I don't know how to add
>> a new line safely here: sorry for this inconvenience.
>
> Works fine for me.

With your modification, works for me too. Thanks!

> The escape character (usually "\") is not part of the name of control
> sequences. Depending on the current value of \escapechar you will see
> different things here.
>
> What you need to remember that the way LaTeX works for environments is
> that when you type
>
>     \begin{foo}
>
> it looks for a macro which could also be used directly as \foo. As you
> are seeing the names, and not the control sequences, this means you need
> "begin" and "foo".

You were perfectly clear! Thanks for the pointers, they're invaluable! :)










More information about the luatex mailing list