.TH "dosToTex" 1 "Mon Dec 7 2015" "Version 2015-12-07" "r2bib" \" -*- nroff -*- .ad l .nh .SH NAME dosToTex \- convert an 8bit input stream to TeX coding .PP .SH "\&.SH SYNOPSIS " .PP .PP dosToTex [-1 | -u] .PP dosToTex [-h] .PP .SH "OPTIONS " .PP .PP -1 interpret input as cp1252 (Windows) encoding .PP -u interpret input as US ASCII encoding .PP -h print a usage summary and exit .PP .SH "DESCRIPTION " .PP .PP \fIdosToTex\fP reads the standard input and converts some 8bit bytes to the TeX (LaTeX) equivalent sequences on standard output\&. If neither the option -1 nor the option -u is used, the encoding in the input sequence is supposed to follow the ANSI standard as described in the EndNote 8 reference manuals\&. .PP .SH "CAUTION " .PP .PP \fIdosToTex\fP should not be used in conjunction with EndNote X2 or later, since the encoding standard has become Unicode, which is not supported by \fIdosToTex\fP\&. With respect to EndNote, the program is now superfluous\&. .PP .SH "EXAMPLES " .PP .PP dosToTex -h .PP dosToTex < dosinfile\&.asc > outfile\&.tex .PP dosToTex -1 < windowsf\&.txt > outfile\&.tex .PP dos2unix < windowsf\&.txt | dosToTex -1 > outfile\&.tex .PP cat windowsf1\&.txt windosf2\&.txt windosf3\&.txt | dosToTex > outfile\&.tex .PP .SH "SEE ALSO " .PP .PP dos2unix(1) dos2tex(1) recode(1) .PP .SH "AUTHOR " .PP .PP Richard J\&. Mathar, http://www.mpia.de/~mathar