From 3392205530510f02a2d8197a9969a525b6359f7d Mon Sep 17 00:00:00 2001 From: Paul Donahue Date: Wed, 17 Apr 2019 10:06:03 -0700 Subject: Finesse ligatures to work with Adobe Acrobat Reader search and cut-and-paste --- src/riscv-privileged.tex | 4 ++++ src/riscv-spec.tex | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/riscv-privileged.tex b/src/riscv-privileged.tex index 2472be1..07673c8 100644 --- a/src/riscv-privileged.tex +++ b/src/riscv-privileged.tex @@ -4,6 +4,10 @@ \documentclass[twoside,11pt]{book} +% Fix copy/pasting of ligatures in Acrobat +\input{glyphtounicode.tex} +\pdfgentounicode=1 % + \input{preamble} \newcommand{\privrev}{\mbox{20190405-Priv-MSU-Ratification}} diff --git a/src/riscv-spec.tex b/src/riscv-spec.tex index 12d34d2..f050947 100644 --- a/src/riscv-spec.tex +++ b/src/riscv-spec.tex @@ -4,6 +4,10 @@ \documentclass[twoside,11pt]{book} +% Fix copy/pasting of ligatures in Acrobat +\input{glyphtounicode.tex} +\pdfgentounicode=1 % + \input{preamble} \newcommand{\specrev}{\mbox{20190305-Base-Ratification}} -- cgit v1.1