summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-18 20:14:54 +0000
committerKarl Berry <karl@freefriends.org>2021-05-18 20:14:54 +0000
commit0c77f5a20c91f0bf16aca7cda36f154161e06afc (patch)
tree38cdc891a8d6593538c58baeea3071bf7fceba45 /Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
parent795f209c807150ac14e95c4f2ded2aa468f0cb9f (diff)
bxjscls (18may21)
git-svn-id: svn://tug.org/texlive/trunk@59253 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def')
-rw-r--r--Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def31
1 files changed, 30 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
index 19cea1b1933..8853a2d2eb7 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
@@ -21,14 +21,22 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-pandoc.def}
- [2021/02/02 v2.5 BXJS document classes]
+ [2021/05/18 v2.5a BXJS document classes]
\input{bxjsja-standard.def}
\RequirePackage{bxjspandoc}
+\ifjsWitheTeX\else
+ \ClassWarningNoLine\bxjs@clsname
+ {!!!!!!!! WARNING !!!!!!!!\MessageBreak
+ This engine does not support e-TeX extension!\MessageBreak
+ Some feature might not work properly}
+\fi
\@onlypreamble\bxjs@endpreamble@hook
\let\bxjs@endpreamble@hook\@empty
+\RequirePackage{iftex}[2013/04/04]% v0.2
\ifjsWitheTeX
\RequirePackage{etoolbox}[2010/08/21]% v2.0
\AtEndPreamble{\bxjs@endpreamble@hook}
+ \RequirePackage{filehook}[2011/10/12]% v0.5d
\fi
\newif\ifbxjs@jp@fix@strong \bxjs@jp@fix@strongtrue
\let\bxjs@kv@fixstrong@true\bxjs@jp@fix@strongtrue
@@ -293,6 +301,27 @@
\g@addto@macro\verb@egroup{\bxjs@pan@eghost}
\fi
\fi
+\if j\jsEngine
+ \def\bxjs@check@frontier{%
+ \expandafter\bxjs@check@frontier@a\@currnamestack\noindent...\@nil}
+ \def\bxjs@check@frontier@a#1#2#3#4#5\@nil#6{%
+ \ifx\noindent#4#6\fi}
+ \@onlypreamble\bxjs@unforge@ifPDFTeX
+ \def\bxjs@unforge@ifPDFTeX{\global\bxjs@csletcs{ifPDFTeX}{iffalse}}
+ \@onlypreamble\bxjs@forge@ifPDFTeX
+ \def\bxjs@forge@ifPDFTeX{\global\bxjs@csletcs{ifPDFTeX}{iftrue}}
+ \def\bxjs@unload@forge@ifPDFTeX{%
+ \bxjs@unforge@ifPDFTeX
+ \global\let\bxjs@check@frontier\@gobble}
+ \jsAtEndOfClass{\bxjs@forge@ifPDFTeX}
+ \ifjsWitheTeX
+ \AtBeginOfEveryFile{\bxjs@check@frontier\bxjs@unforge@ifPDFTeX}%
+ \AtEndOfEveryFile{\bxjs@check@frontier\bxjs@forge@ifPDFTeX}%
+ \g@addto@macro\bxjs@endpreamble@hook{\bxjs@unload@forge@ifPDFTeX}
+ \else
+ \g@addto@macro\bxjs@begin@document@hook{\bxjs@unload@forge@ifPDFTeX}
+ \fi
+\fi
\endinput
%%
%% End of file `bxjsja-pandoc.def'.