aboutsummaryrefslogtreecommitdiff
path: root/ekdosis.dtx
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-09-06 12:24:02 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-09-06 12:24:02 +0200
commit371e1365b4e5f441bec2a2e3068a54b2349a7c01 (patch)
treefa16091785692ccb993d09624b78771ecab2ba8f /ekdosis.dtx
parent66b8cfb867c4264323ff4c53ba89246ea4b6a358 (diff)
downloadekdosis-371e1365b4e5f441bec2a2e3068a54b2349a7c01.tar.gz
use \getpagerefnumber instead of \getrefbykeydefault to get page numbers
Diffstat (limited to 'ekdosis.dtx')
-rw-r--r--ekdosis.dtx9
1 files changed, 3 insertions, 6 deletions
diff --git a/ekdosis.dtx b/ekdosis.dtx
index 76fc915..5bbef54 100644
--- a/ekdosis.dtx
+++ b/ekdosis.dtx
@@ -522,11 +522,9 @@ idno={}, msName={}, origDate={}][3]{%
522 \ekd@isinappfalse} 522 \ekd@isinappfalse}
523\def\current@ref{{\textdir TLT\noexpand\bfseries% 523\def\current@ref{{\textdir TLT\noexpand\bfseries%
524 \ifnum% 524 \ifnum%
525 \getrefbykeydefault{% 525 \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}
526 \luadirect{tex.sprint(ekdosis.getlnlab())}-b}{page}{}
527 = 526 =
528 \getrefbykeydefault{% 527 \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-e}
529 \luadirect{tex.sprint(ekdosis.getlnlab())}-e}{page}{}
530 \ifnum% 528 \ifnum%
531 \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b} 529 \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}
532 = 530 =
@@ -538,8 +536,7 @@ idno={}, msName={}, origDate={}][3]{%
538 \fi% 536 \fi%
539 \else 537 \else
540 \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}--% 538 \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-b}--%
541 \getrefbykeydefault{% 539 \getpagerefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-e}.%
542 \luadirect{tex.sprint(ekdosis.getlnlab())}-e}{page}{}.%
543 \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-e}% 540 \getrefnumber{\luadirect{tex.sprint(ekdosis.getlnlab())}-e}%
544 \fi% 541 \fi%
545 } 542 }