7

According to the docu there are some new features in texlive 2014. One of them is a command \pdfinterwordspaceon. It seems as if it adds spaces between the words, so that I can just copy and paste from a PDF. OK.

Can somebody give an example where this command is useful? Years ago I had issues with text copied from PDF without any space between words, but that was long ago. Even under texlive 2013 I can open a PDF and copy the text including the spaces between words.

1

1 Answer 1

1

This is needed for PDF/A compatibility, but also for accessibility. Accessible PDFs are supposed to be able to read out aloud by a screen reader software.

3
  • Can you give an example where the usage of \pdfinterwordspaceon makes a difference? Because I checked with lmodern as well as with Linux Libertine as fonts and there was no gain.
    – Keks Dose
    Aug 5, 2014 at 17:52
  • 1
    Sorry, I cannot provide a minimal example. However the difference becomes noticable, if you want to create a tagged PDF, i.e. with babette schalitz "accessibility.sty" or related tug.org/TUGboat/tb30-2/tb95moore.pdf - When extracting the structual content and surrounding them with tags, there will be no spaces. See also here tex.stackexchange.com/questions/124291/… - Maybe it's already visible, if you open Acrobat Pro and try to see the tag structure there...
    – ndbd
    Aug 5, 2014 at 18:29
  • @KeksDose An MWE is in tex.stackexchange.com/q/317586/30810
    – bers
    Jul 1, 2016 at 22:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .