Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: tlug: LaTeX: CJK package: 0212 support



>... (eg, the reason that `\' can start a TeX
>macro is because it is an active character whose definition is "read
>the following letters and invoke the corresponding macro", and `$' is
>an active character which invokes the command "toggle-math-mode"---if
>you want to use hiragana in 7-bit JIS, you need that `$' to mean
>"hiragana", not math mode)!

Strictly speaking, the \ character in TeX is not active; it is the command
escape character, which triggers the reading of a following string of
"ordinary" characters (normally defined to be a-zA-Z), swallowing any
trailing whitespace.  Active characters don't swallow following whitespace,
they just expand to whatever they are defined to mean, and let the
interpreter ingest whatever follows them.  You can make an active
character behave a lot like \, no doubt (using \futurelet and a lot of
jiggery-
pokery), but they are different primitive forms within TeX.

Cheers,
Frank B


--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links