[texhax] [pdftex] TeX for the blind

Victor Ivrii vivrii at gmail.com
Wed Dec 13 00:56:17 CET 2006


> 2) In pdftex and in comp.text.tex was discussed example showing that
> one can specify copy-paste buffer different from the "printed" text
> (works only in AR or Acrobat AFAIK). There is a claim from Adobe that
> it would be useful for accessibility features but it was not
> explanation how

I got an explanation.

Open Adobe Reader and change Preferences > Reading > Reading Order  to
"Use reading order in raw print stream"

Process this document, open it in Adobe Reader and ask to Read Out Loud

\documentclass[12pt]{article}
     \pagestyle{empty}


     \begin{document}

     \bgroup
       \lccode`!=`\\
       \lowercase{\gdef\esc{!!}}
     \egroup


     \pdfliteral direct {%
       /Span <<
        /ActualText (Do not believe this bullshit)
       >>
       BDC
     }
Microsoft Office allows you to experience the beauty, power, and
stability of all four Microsoft Office for Mac programs: Word, Excel,
PowerPoint, and Entourage.


     \pdfliteral direct {%
       EMC
     }

    \end{document}


More information about the texhax mailing list