[tex-live] detex -w is not 8-bit clean

Peter Dyballa Peter_Dyballa at Freenet.DE
Thu Sep 13 21:36:08 CEST 2012


While detex in TL '12 has no problems to preserve 8-bit characters, this fails when detex is used to output the text as a long list of one single word per line, i.e., in the detex -w mode. An example: the word "schön" in the text body is output as


The "ö" is swallowed, and the remaining "n" is too short to be output as a word.

P.S.: Are these lines from detex.l correct? Or is the "minpage" just an internal symbol?

 191	<LaBegin>{S}"{"{S}"minipage"{S}"}"		{ KILLARGS(1);
 192							  if (BeginEnv("minpage"))
 193								BEGIN LaEnv;
 194							  else
 195								BEGIN Normal;
 196							  IGNORE;
 197							}



There is no national science just as there is no national multiplication table; what is national is no longer science.
				– Anton Checov

More information about the tex-live mailing list