In Plain TeX when I do a \write
containing ç
or Ç
in the string it gets expanded generating a lot of code in the output file, which can't be read back. I got this problem when reading a TOC:
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdftex)
restricted \write18 enabled.
entering extended mode
(./Dissertation.tex (./macros.tex) [0{/usr/local/texlive/2015basic/texmf-var/fo
nts/map/pdftex/updmap/pdftex.map}] [1] [2] [3]
Underfull \vbox (badness 10000) has occurred while \output is active [4]
Underfull \vbox (badness 10000) has occurred while \output is active [5]
(./Dissertation.toc
./Dissertation.toc:1: Undefined control sequence.
<argument> INTRODU{\setbox \z
@ \hbox {c}\lineskiplimit -\maxdimen \unhbox \...
\tocsecentry #1#2->\line {\rm #1
\dotfill \ #2}
l.1 ...ip \hideskip \crcr }}}{\accent "7E A}O }{7}
?
Process aborted
I tried redefining \c c
(this makes ç in Plain Tex) to \def\c #1 {\accent 24 #1}
and it went good, but it is misaligned in \c C
(Ç) and it's not related to the fonts, I've tried many.
I can't figure it out. Any ideas?
\noexpand\c c
?