[texhax] FAQ: Copy-paste-able/searchable PDF files - for plainTeX and pdftex
Dan Luecking
dluecking at sbcglobal.net
Mon Sep 22 17:40:32 CEST 2014
I don't know if this will work. But it atleast compiles for me.
% load the plain version of the NFSS:
\input plnfss
% \input ot1cm.pfd % if using cm fonts
% Now select a font
\setfontsize{12pt}
\selectfont
\usefont{OT1}{ptm}{m}{n}
% load latex emulation
\input miniltx
% define some code not defined by miniltx
\newif\ifin@
\def\in@#1{\in at false}
\let\@filelist\@empty
% input cmap
\input cmap.sty
\resetatcatcode
...
\bye
Since I am not sure what constitutes a test of cmap, I'll let
someone else test this.
Regards,
Dan
Daniel H. Luecking
Department of Mathematical Sciences
Fayetteville, Arkansas
http://www-cs-faculty.stanford.edu/~knuth/iaq.html
More information about the texhax
mailing list