summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty')
-rw-r--r--Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty16
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty b/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty
index 8c83baffaa2..3b41a420677 100644
--- a/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty
+++ b/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty
@@ -27,7 +27,16 @@
\RequirePackage{ragged2e}
-\DeclareOption{loadsampleconfig}{\AtEndOfPackage{\InputIfFileExists{dlfltxbmarkup-sample.cfg}{}{}}}
+\DeclareOption{loadsampleconfig}{\AtEndOfPackage{
+ %\InputIfFileExists{dlfltxbmarkup-sample.cfg}{}{}
+ \IfFileExists{dlfltxbmarkupbookkeys.sty}{
+ \RequirePackage{dlfltxbmarkupbookkeys}
+ }{
+ \PackageError{dlfltxbmarkup}{Sample configuration package
+ 'dlfltxbmarkupbookkeys' not found, option 'loadsampleconfig'
+ is useless.}{}
+ }
+}}
\ProcessOptions\relax
@@ -61,6 +70,9 @@
% 2007/05/15 \feline@index@cmd renamed to \felineIndexCmd
% 2007/05/16 package renamed to dlfltxbmarkup
% 2008/01/10 added a strut inside the macro that writes in the margin,
+% 2008/10/30 'sample configuration' has been renamed
+
+
% this boolean is meant to be used for example inside constructions
% that will not permit the use of \marginpar, for example the
@@ -264,7 +276,7 @@
% test key
\felineKeyGenerator{test}
{test key, does not do anything useful}%
- {\MarkWMargin{#1}}%
+ {\felineWriteInMargin{#1}}%
{\felineIndexCmd{#1}}%
{\emph{#1}}