summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex')
-rw-r--r--Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex95
1 files changed, 95 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex b/Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex
index 1bd2f0fa0e1..f1220e9148d 100644
--- a/Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex
+++ b/Master/texmf-dist/doc/latex/apa6/pseudoTeX/apa6.ptex
@@ -161,6 +161,100 @@
\@secdef@nonum@paragraphlevel{5}{1}{0}{0}{\normalsize\rm\it}{subparagraph}{Subparagraph}
\@addtoreset{subparagraph}{paragraph}
+\newcommand\DeclareLanguageMapping[2]{}
+\newcommand\addbibresource[1]{}
+\newcommand\printbibliography{}
+
+\def\specialComma{,}
+\def\specialSemicolon{;}
+
+\catcode`\^^G=12
+\newcommand*{\doachar}[1]{%
+\if#1\specialComma\specialSemicolon\else#1\fi%%
+}
+\newcommand*{\makeCommaIntoSemicolon}[1]{%
+\def\stuff{#1}\ifx\stuff\@empty\else\@llchars#1^^G\fi}
+\def\@llchars#1#2^^G{%
+\def\letter{#1}\def\others{#2}%
+\ifx\letter\@empty\let\next\@gobble%
+\else%
+\doachar{#1}%
+\ifx\others\@empty \let\next\@gobble%
+\else \let\next\@llchars \fi%
+\fi%
+\next#2^^G}
+\catcode`\^^G=15
+
+\def\parencite{%
+ \@ifnextchar[%
+ {\@parencite}%
+ {\@parencite[]}%
+}
+\def\@parencite[#1]{%
+ \@ifnextchar[%
+ {\@@parencite[#1]}%
+ {\@@parencite[#1][]}%
+}
+\def\@@parencite[#1][#2]#3{%
+\makeatletter%
+{\{{{#1}\textbackslash}{\makeCommaIntoSemicolon{#3}}@{#2}\}}%
+\makeatother%
+}
+\let\maskparencite=\parencite
+
+\let\Parencite=\parencite
+\let\maskParencite=\parencite
+
+\let\citep=\parencite
+\let\maskcitep=\parencite
+\let\Citep=\parencite
+\let\maskCitep=\parencite
+
+\let\cite=\parencite
+\let\maskcite=\parencite
+
+\let\citeyear=\parencite
+\let\maskciteyear=\parencite
+\let\citeyearpar=\parencite
+\let\maskciteyearpar=\parencite
+
+\def\textcite{%
+ \@ifnextchar[%
+ {\@textcite}%
+ {\@textcite[]}%
+}
+\def\@textcite[#1]{%
+ \@ifnextchar[%
+ {\@@textcite[#1]}%
+ {\@@textcite[#1][]}%
+}
+\def\@@textcite[#1][#2]#3{%
+\makeatletter%
+{\{{{#1}\textbackslash}\makeCommaIntoSemicolon{#3}@{#2}@author-year\}}%
+\makeatother%
+}
+\let\masktextcite=\textcite
+\let\Textcite=\textcite
+\let\maskTextcite=\textcite
+
+\let\citet=\textcite
+\let\maskcitet=\textcite
+\let\Citet=\textcite
+\let\maskCitet=\textcite
+
+\let\citeA=\textcite
+\let\maskciteA=\textcite
+
+\let\citeauthor=\textcite
+\let\maskciteauthor=\textcite
+\let\Citeauthor=\textcite
+\let\maskCiteauthor=\textcite
+
+\let\citeyearNP=\textcite
+\let\maskciteyearNP=\textcite
+\let\citeNP=\textcite
+\let\maskciteNP=\textcite
+
\long\def\maketitle{\entity@paragraph@new\begingroup\entity@paragraph@just=1\relax%
{\raggedright\entity@paragraph@first=0\entity@paragraph@linespacingmultiple=0\entity@paragraph@spacebetween=240%
{\bf INSTRUCTIONS:}\par\entity@paragraph@first=0%
@@ -267,6 +361,7 @@
%% APAczech.txt,
%% APAendfloat.cfg,
%% apa6.ptex,
+%% TeX2WordForapa6.bas,
%% Figure1.pdf,
%% shortsample.tex,
%% longsample.tex, and