aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-08-25 09:56:19 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-08-25 09:56:19 +0200
commit75b5c9579fcaaa9531b87c161928ce6657c5a074 (patch)
tree05b1057e03a49d17c5c74497de9c02d73895d8bb /ekdosis.dtx
parent9fa44076aced0c5fcbcdc06f70424c0dd46620c4 (diff)
downloadekdosis-75b5c9579fcaaa9531b87c161928ce6657c5a074.tar.gz
added babel autodetection in \lem
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx9
1 files changed, 7 insertions, 2 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 8af64f2..5a585a0 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -360,6 +360,7 @@ Running "make install" installs the files in the local TeX tree.
360\RequirePackage{refcount} 360\RequirePackage{refcount}
361\RequirePackage{xspace} 361\RequirePackage{xspace}
362\RequirePackage[user,abspage]{zref} 362\RequirePackage[user,abspage]{zref}
363\RequirePackage{ltxcmds}
363\if@pkg@parnotes 364\if@pkg@parnotes
364 \RequirePackage{parnotes} 365 \RequirePackage{parnotes}
365\fi 366\fi
@@ -550,13 +551,17 @@ idno={}, msName={}, origDate={}][3]{%
550 \ifdefined\ekdlr@alt 551 \ifdefined\ekdlr@alt
551 \ifdefined\ekdlr@pre% 552 \ifdefined\ekdlr@pre%
552 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi 553 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
553 \unexpanded\expandafter{\ekdlr@alt} 554 \ltx@ifpackageloaded{babel}%
555 {{\noexpand\selectlanguage{\languagename}%
556 \unexpanded\expandafter{\ekdlr@alt}}}%
557 {\unexpanded\expandafter{\ekdlr@alt}}
554 \ifdefined\ekdlr@post% 558 \ifdefined\ekdlr@post%
555 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi 559 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
556 \else 560 \else
557 \ifdefined\ekdlr@pre% 561 \ifdefined\ekdlr@pre%
558 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi 562 \space\unexpanded\expandafter{\ekdlr@pre}\space\else\fi
559 #2% 563 \ltx@ifpackageloaded{babel}%
564 {{\noexpand\selectlanguage{\languagename}#2}}{#2}%
560 \ifdefined\ekdlr@post% 565 \ifdefined\ekdlr@post%
561 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi 566 \space\unexpanded\expandafter{\ekdlr@post}\space\else\fi
562 \fi 567 \fi