Menu

#167 Hyphenated words (with dash) cannot be copied from PDF output

Future
open
nobody
5
2020-03-29
2020-03-29
Anonymous
No

Compling the following code
```
\documentclass[a4paper,man,floatsintext,12pt]
\usepackage[american]
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]
\usepackage{fontspec}[HyphenChar={+}]
\setmainfont{Times New Roman}
\fontspec[HyphenChar=None]

%\usepackage[T1]

\title{x}
\author{x}

\begin{document}

\maketitle

not-copy-able-hyphens

\printbibliography[category=cited]

\end{document}

with the command line of 

latexmk -pdf -xelatex
```

Creates a PDF output where the dashes cannot be copy-pasted correctly (copy as invisible characters).
Using lualatex compiles correctly, but PDF looks correct in both cases.
Not using Times New Roman also correct.
Further information on StackExchange

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel