[tex-live] typesetting source code (Funnelweb)

Tomas By tomas at basun.net
Fri Jan 27 10:06:06 CET 2017

Hi all,

I am using the Funnelweb literate programming tool, producing Tex 

In some code I have, I need to insert ASCII code 25 in the C source 

This works fine as far as producing the C code, but when I run Latex on 
the .tex file, I get:

| ! Text line contains an invalid character.
| l.1573
| ^^Y

The relevant piece of the .tex file is:

| \fwbtx[
| ^Y
| ]

(in Emacs; the ^Y is one character, not two)

and the "fwbtx" macro is defined as:

| \def\fwbtx[{%
| \begingroup%
| \def\par{\leavevmode\endgraf}%
| \catcode`\`=\active%
| \obeylines%
| \def\do##1{\catcode`##1=12 }\dospecials%
| \obeyspaces
| \parskip=0pt%
| \tt%
| \fwverbatimgobble}

| \def\fwverbatimgobble#1]fwetx={#1\endgroup}

which, I believe, is supposed to escape all non-ASCII characters, so 
that Tex does not complain.

Can anybody explain what goes wrong?

Is there some simple work-around? Replace the "fwbtx" macro with 

Any help appreciated.


More information about the tex-live mailing list