From 4505708fc51c8d4272d5e3e79a3a2bbf5e0dd96a Mon Sep 17 00:00:00 2001 From: Joerg Steffens Date: Mon, 28 Nov 2016 12:08:13 +0100 Subject: [PATCH] fixes some more problems on copy-and-paste In the HTML version of this document, some characters in the listings have been transformed to look better (ligatures like 'fi' or 'fl' into a single character 'fi'). However, these characters did cause problems when using copy-and-paste. As the documented ways did not work to disable this behavior, we have to manually create a list of characters, that should not be transformed. We added a set of ligatures that should not be transformed. We hope, we have now covered all character groups that could cause problems. --- manuals/en/main/bareos.sty | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/manuals/en/main/bareos.sty b/manuals/en/main/bareos.sty index 794b41c9882..146859a9dbe 100644 --- a/manuals/en/main/bareos.sty +++ b/manuals/en/main/bareos.sty @@ -682,7 +682,20 @@ Version $>=$ #3% basicstyle=\ttfamily, columns=fullflexible, keepspaces=true, - literate={-}{-}1, + literate={-}{-}1 + {ch}{c{}h}2 + {ck}{c{}k}2 + {fb}{f{}b}2 + {ff}{f{}f}2 + {fh}{f{}h}2 + {fi}{f{}i}2 + {fj}{f{}j}2 + {fl}{f{}l}2 + {fk}{f{}k}2 + {ll}{l{}l}2 + {th}{t{}h}2 + {tt}{t{}t}2 + , caption=\mbox{#1}, captionpos=b, % command only work for single commands without parameter.