Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
HTML: 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 Feb 15, 2018
1 parent 01b099a commit 38e6695
Showing 1 changed file with 70 additions and 5 deletions.
75 changes: 70 additions & 5 deletions manuals/en/main/bareos.sty
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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]{<input>}{</input>},
Expand Down Expand Up @@ -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]{<input>}{</input>},
Expand All @@ -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]{<input>}{</input>},
Expand Down

0 comments on commit 38e6695

Please sign in to comment.