John R. Culleton wrote:
> I have a situation where I wish to import a file and have the line 
> endings and the spaces honored as in \typefile. But I want any font 
> changes (e.g. \it) honored as well. I tried the plain TeX commands 
> \obeylines and \obeyspaces. The line endings and typeface changes 
> were honored but the spaces were not.  
> 
> Is there a convenient way to do this? I can preprocess the file 
> through e.g. sed to patch in \crlf and hard spaces but this seems a 
> bit clumsy. 

You could try with \processingverbatimtrue . If you are lucky,
that will trigger \obeyspaces into outputting \hboxes instead of
actual spaces.

Good luck, Taco
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to