summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-27 23:11:46 +0000
committerKarl Berry <karl@freefriends.org>2017-09-27 23:11:46 +0000
commit839173be16441663c136cac16d77c95f0bf83213 (patch)
tree5696734bd8ea6e22591aaf9cdbedfe4c112ce11c /Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
parentdb56c4feabb30fa1c384abcac1ee691025ebbb2b (diff)
bidi (24sep17)
git-svn-id: svn://tug.org/texlive/trunk@45420 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.def41
1 files changed, 16 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
index 34044de2fec..1412fa21374 100644
--- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
+++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def
@@ -21,8 +21,9 @@
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\ProvidesFile{bxjsja-pandoc.def}
- [2017/09/09 v1.6 BXJS document classes]
+ [2017/09/24 v1.6a BXJS document classes]
\input{bxjsja-standard.def}
+\RequirePackage{bxjspandoc}
\@onlypreamble\bxjs@set@dupload@proc
\def\bxjs@set@dupload@proc#1{%
\expandafter\bxjs@set@dupload@proc@a\csname bxjs@dlp/#1\endcsname}
@@ -48,16 +49,8 @@
\def\bxjs@do@dupload@proc#1#2#3{%
\csname bxjs@dlp/#2.#1\endcsname{#3}%
\@firstoftwo}
-\def\bxjs@mark@as@loaded#1{%
- \expandafter\bxjs@mal@a\csname ver@#1\endcsname{#1}}
-\def\bxjs@mal@a#1#2{%
- \ifx#1\relax
- \def#1{2001/01/01}%
- \ClassInfo\bxjs@clsname
- {File '#2' marked as loaded\@gobble}%
- \fi}
\ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi>0
-\bxjs@mark@as@loaded{polyglossia.sty}
+\pandocSkipLoadPackage{polyglossia}
\bxjs@set@dupload@proc{polyglossia.sty}{%
\ClassWarning\bxjs@clsname
{Loading of polyglossia is blocked}}
@@ -74,7 +67,7 @@
\setotherlangauge{\bxjs@tmpa}}}
\fi
\else
-\bxjs@mark@as@loaded{babel.sty}
+\pandocSkipLoadPackage{babel}
\bxjs@set@dupload@proc{babel.sty}{%
\ClassWarning\bxjs@clsname
{Loading of babel is blocked}}
@@ -85,22 +78,20 @@
\bxjs@set@dupload@proc{geometry.sty}{%
\setpagelayout*{#1}}
\if l\jsEngine
- \bxjs@mark@as@loaded{xeCJK.sty}
+ \pandocSkipLoadPackage{xeCJK}
\providecommand*{\setCJKmainfont}{\setmainjfont}
\fi
-\ifx\@IncludeInRelease\@undefined\else
- \bxjs@mark@as@loaded{fixltx2e.sty}
-\fi
-\if j\jsEngine
- \bxjs@mark@as@loaded{cmap.sty}
-\fi
-\if j\jsEngine \else
- \PassOptionsToPackage{verbose=silent}{microtype}
-\fi
-\if j\jsEngine
- \bxjs@mark@as@loaded{microtype.sty}
- \newcommand*\UseMicrotypeSet[2][]{}
-\fi
+\AtBeginDocument{%
+ \@tempswafalse
+ \ifx\oldparagraph\@undefined\else
+ \@tempswatrue
+ \fi
+ \ifnum\c@secnumdepth>3
+ \@tempswatrue
+ \fi
+ \if@tempswa\ifx\jsParagraphMark\bxjs@org@paragraph@mark
+ \let\jsParagraphMark\@empty
+ \fi\fi}
\endinput
%%
%% End of file `bxjsja-pandoc.def'.