Skip to content

Commit

Permalink
fixes some more problems on copy-and-paste
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
joergsteffens committed Dec 2, 2016
1 parent 00507c9 commit 4505708
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion manuals/en/main/bareos.sty
Expand Up @@ -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.
Expand Down

0 comments on commit 4505708

Please sign in to comment.