summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ascmac/ascmac.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-14 03:00:43 +0000
committerNorbert Preining <norbert@preining.info>2020-01-14 03:00:43 +0000
commitb3225c4301e7724de481f410444fef5463799b9d (patch)
tree537c4ee5a5bda1ac7ea14c96cb3fcc453061ecd6 /macros/latex/contrib/ascmac/ascmac.dtx
parentd8d4c8c20f235a6610baf22bea580063cc19e9a6 (diff)
CTAN sync 202001140300
Diffstat (limited to 'macros/latex/contrib/ascmac/ascmac.dtx')
-rw-r--r--macros/latex/contrib/ascmac/ascmac.dtx20
1 files changed, 12 insertions, 8 deletions
diff --git a/macros/latex/contrib/ascmac/ascmac.dtx b/macros/latex/contrib/ascmac/ascmac.dtx
index 66badfe866..95ac10d90c 100644
--- a/macros/latex/contrib/ascmac/ascmac.dtx
+++ b/macros/latex/contrib/ascmac/ascmac.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
%
% Copyright (c) 2010 ASCII MEDIA WORKS
-% Copyright (c) 2016-2018 Japanese TeX Development Community
+% Copyright (c) 2016-2020 Japanese TeX Development Community
%
% This file is part of ascmac community edition.
% -------------------------------------------------------------
@@ -11,6 +11,8 @@
%
% \iffalse
%
+% 2020/01/13 v2.0i
+% - Fix a bug: latex in DVI mode of pdfTeX did not work.
% 2018/03/09 v2.0h
% - Moved to new GitHub repository:
% https://github.com/texjporg/ascmac
@@ -74,7 +76,7 @@
%</driver>
%<tascmac>\ProvidesPackage{tascmac}
%<ascmac>\ProvidesPackage{ascmac}
- [2018/03/09 v2.0h
+ [2020/01/13 v2.0i
%<driver|tascmac> ascmac package (community edition)
%<ascmac> ascmac wrapper (community edition)
]
@@ -347,16 +349,18 @@
% \begin{macrocode}
%%
%% Use Type1 font for ascgrp (pdfLaTeX, LuaLaTeX)
-\ifascmac@ptex\else
- \ifx\pdfextension\@undefined
- \ifx\pdfmapline\@undefined\else
- % pdfTeX, LuaTeX (<=0.81)
+\ifx\pdfextension\@undefined
+ \ifx\pdfmapline\@undefined\else
+ % pdfTeX, LuaTeX (<=0.81)
+ \ifnum\pdfoutput>\z@\relax
\pdfmapline{+ascgrp <ascgrp.pfb}
\pdfmapline{+ascii10 <ascii10.pfb}
\pdfmapline{+ascii36 <ascii36.pfb}
\fi
- \else
- % LuaTeX (>=0.85)
+ \fi
+\else
+ % LuaTeX (>=0.85)
+ \ifnum\outputmode>\z@\relax
\pdfextension mapline{+ascgrp <ascgrp.pfb}
\pdfextension mapline{+ascii10 <ascii10.pfb}
\pdfextension mapline{+ascii36 <ascii36.pfb}