[luatex] Getting all symbols

Sensei senseiwa at gmail.com
Wed Jun 13 11:36:33 CEST 2012

On 6/12/12 4:57 PM, Robin Fairbairns wrote:
> ulrike's code simpler and didn't exhibit that problem.

Reinhard reports also this behavior. I don't know why the "bug" (?) is 
there, though.

>> Moreover, I can find symbols that are common, for example begin,
>> textit, equation, but they're all without a backslash. How can I
>> distinguish between \ commands and known symbols? For example, begin
>> is a command, \begin, and it may accept the environment flushleft, but
>> not \flushleft.
> \begin{flushleft} uses \flushleft
> it's not clear to me what you mean by "known symbols".  afaics, this
> table doesn't deal with active characters, if that's what you're after.
> (note, ulrike's is the first lua code i've run; i tend to spend my tex
> time behind the bleading edge, hoping to ride others' shock waves...)

That code essentially satifies me.

One thing that I've noticed though is this: it isn't "hierarchical". If 
I add a package, there seems no distinction on symbols.

You may say that it's the way TeX works, and that could be fine with me. 
But this also means that we are unable to know the origin of symbols 
(which package defines, for instance, \mathbb?).

Is this last step hopeless?

Thanks & Cheers!

More information about the luatex mailing list