From 38e66952a4c199294682c0d6e9eef47167e72e5b Mon Sep 17 00:00:00 2001 From: Joerg Steffens Date: Thu, 15 Feb 2018 18:53:58 +0100 Subject: HTML: 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 | 75 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 70 insertions(+), 5 deletions(-) diff --git a/manuals/en/main/bareos.sty b/manuals/en/main/bareos.sty index 1dc965e..7b88be5 100644 --- a/manuals/en/main/bareos.sty +++ b/manuals/en/main/bareos.sty @@ -577,7 +577,20 @@ Version $>=$ #3% %columns=fixed, 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 + , backgroundcolor=\color{colorBconsole}, frame=single, framerule=0pt, @@ -607,7 +620,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 + , %label=config:#1, caption=\mbox{#1}, captionpos=b, @@ -633,7 +659,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, moredelim=[is][\it]{}{}, @@ -673,7 +712,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=#1.d/#2/#3.conf, captionpos=b, moredelim=[is][\it]{}{}, @@ -698,7 +750,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=#1, captionpos=b, moredelim=[is][\it]{}{}, -- cgit v1.2.3