From 36737173bf08b885ed52a58051e1eeb2e68cd3f0 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Thu, 24 May 2018 23:44:23 +0100 Subject: [PATCH] Added first part of TDFA paper v2. --- re2c/doc/tdfa_v2/Makefile | 10 + re2c/doc/tdfa_v2/NJDnatbib.sty | 1262 +++++++++++ re2c/doc/tdfa_v2/TODO | 6 + re2c/doc/tdfa_v2/WileyNJD-AMA.bst | 1094 +++++++++ re2c/doc/tdfa_v2/WileyNJD-v2.cls | 3458 +++++++++++++++++++++++++++++ re2c/doc/tdfa_v2/img/Makefile | 7 + re2c/doc/tdfa_v2/img/gor1.tex | 334 +++ re2c/doc/tdfa_v2/img/tnfa.tex | 258 +++ re2c/doc/tdfa_v2/img/trees.tex | 149 ++ re2c/doc/tdfa_v2/part_1_tnfa.tex | 1680 ++++++++++++++ 10 files changed, 8258 insertions(+) create mode 100644 re2c/doc/tdfa_v2/Makefile create mode 100644 re2c/doc/tdfa_v2/NJDnatbib.sty create mode 100644 re2c/doc/tdfa_v2/TODO create mode 100644 re2c/doc/tdfa_v2/WileyNJD-AMA.bst create mode 100644 re2c/doc/tdfa_v2/WileyNJD-v2.cls create mode 100644 re2c/doc/tdfa_v2/img/Makefile create mode 100644 re2c/doc/tdfa_v2/img/gor1.tex create mode 100644 re2c/doc/tdfa_v2/img/tnfa.tex create mode 100644 re2c/doc/tdfa_v2/img/trees.tex create mode 100644 re2c/doc/tdfa_v2/part_1_tnfa.tex diff --git a/re2c/doc/tdfa_v2/Makefile b/re2c/doc/tdfa_v2/Makefile new file mode 100644 index 00000000..05b79dc6 --- /dev/null +++ b/re2c/doc/tdfa_v2/Makefile @@ -0,0 +1,10 @@ +%.pdf : %.tex + pdflatex -shell-escape $< $<.log +# bibtex $paper +# pdflatex -shell-escape $< $<.log +# pdflatex -shell-escape $< $<.log + +all : part_1_tnfa.pdf + +clean: + rm *.log *.aux *.pdf *.pag diff --git a/re2c/doc/tdfa_v2/NJDnatbib.sty b/re2c/doc/tdfa_v2/NJDnatbib.sty new file mode 100644 index 00000000..57b2ff61 --- /dev/null +++ b/re2c/doc/tdfa_v2/NJDnatbib.sty @@ -0,0 +1,1262 @@ +%% +%% This is file `NJDnatbib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% natbib.dtx (with options: `package,all') +%% ============================================= +%% IMPORTANT NOTICE: +%% +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% +%% This is a generated file. +%% It may not be distributed without the original source file natbib.dtx. +%% +%% Full documentation can be obtained by LaTeXing that original file. +%% Only a few abbreviated comments remain here to describe the usage. +%% ============================================= +%% Copyright 1993-2010 Patrick W Daly +%% Max-Planck-Institut f\"ur Sonnensystemforschung +%% Max-Planck-Str. 2 +%% D-37191 Katlenburg-Lindau +%% Germany +%% E-mail: daly@mps.mpg.de +\NeedsTeXFormat{LaTeX2e}[1995/06/01] +\ProvidesPackage{NJDnatbib} + [2010/09/13 8.31b (PWD, AO)] + + % This package reimplements the LaTeX \cite command to be used for various + % citation styles, both author-year and numerical. It accepts BibTeX + % output intended for many other packages, and therefore acts as a + % general, all-purpose citation-style interface. + % + % With standard numerical .bst files, only numerical citations are + % possible. With an author-year .bst file, both numerical and + % author-year citations are possible. + % + % If author-year citations are selected, \bibitem must have one of the + % following forms: + % \bibitem[Jones et al.(1990)]{key}... + % \bibitem[Jones et al.(1990)Jones, Baker, and Williams]{key}... + % \bibitem[Jones et al., 1990]{key}... + % \bibitem[\protect\citeauthoryear{Jones, Baker, and Williams}{Jones + % et al.}{1990}]{key}... + % \bibitem[\protect\citeauthoryear{Jones et al.}{1990}]{key}... + % \bibitem[\protect\astroncite{Jones et al.}{1990}]{key}... + % \bibitem[\protect\citename{Jones et al., }1990]{key}... + % \harvarditem[Jones et al.]{Jones, Baker, and Williams}{1990}{key}... + % + % This is either to be made up manually, or to be generated by an + % appropriate .bst file with BibTeX. + % Author-year mode || Numerical mode + % Then, \citet{key} ==>> Jones et al. (1990) || Jones et al. [21] + % \citep{key} ==>> (Jones et al., 1990) || [21] + % Multiple citations as normal: + % \citep{key1,key2} ==>> (Jones et al., 1990; Smith, 1989) || [21,24] + % or (Jones et al., 1990, 1991) || [21,24] + % or (Jones et al., 1990a,b) || [21,24] + % \cite{key} is the equivalent of \citet{key} in author-year mode + % and of \citep{key} in numerical mode + % Full author lists may be forced with \citet* or \citep*, e.g. + % \citep*{key} ==>> (Jones, Baker, and Williams, 1990) + % Optional notes as: + % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2) + % \citep[e.g.,][]{key} ==>> (e.g., Jones et al., 1990) + % \citep[see][pg. 34]{key}==>> (see Jones et al., 1990, pg. 34) + % (Note: in standard LaTeX, only one note is allowed, after the ref. + % Here, one note is like the standard, two make pre- and post-notes.) + % \citealt{key} ==>> Jones et al. 1990 + % \citealt*{key} ==>> Jones, Baker, and Williams 1990 + % \citealp{key} ==>> Jones et al., 1990 + % \citealp*{key} ==>> Jones, Baker, and Williams, 1990 + % Additional citation possibilities (both author-year and numerical modes) + % \citeauthor{key} ==>> Jones et al. + % \citeauthor*{key} ==>> Jones, Baker, and Williams + % \citeyear{key} ==>> 1990 + % \citeyearpar{key} ==>> (1990) + % \citetext{priv. comm.} ==>> (priv. comm.) + % \citenum{key} ==>> 11 [non-superscripted] + % Note: full author lists depends on whether the bib style supports them; + % if not, the abbreviated list is printed even when full requested. + % + % For names like della Robbia at the start of a sentence, use + % \Citet{dRob98} ==>> Della Robbia (1998) + % \Citep{dRob98} ==>> (Della Robbia, 1998) + % \Citeauthor{dRob98} ==>> Della Robbia + % + % + % Citation aliasing is achieved with + % \defcitealias{key}{text} + % \citetalias{key} ==>> text + % \citepalias{key} ==>> (text) + % + % Defining the citation mode and punctual (citation style) + % \setcitestyle{} + % Example: \setcitestyle{square,semicolon} + % Alternatively: + % Use \bibpunct with 6 mandatory arguments: + % 1. opening bracket for citation + % 2. closing bracket + % 3. citation separator (for multiple citations in one \cite) + % 4. the letter n for numerical styles, s for superscripts + % else anything for author-year + % 5. punctuation between authors and date + % 6. punctuation between years (or numbers) when common authors missing + % One optional argument is the character coming before post-notes. It + % appears in square braces before all other arguments. May be left off. + % Example (and default) \bibpunct[, ]{(}{)}{;}{a}{,}{,} + % + % To make this automatic for a given bib style, named newbib, say, make + % a local configuration file, natbib.cfg, with the definition + % \newcommand{\bibstyle@newbib}{\bibpunct...} + % Then the \bibliographystyle{newbib} will cause \bibstyle@newbib to + % be called on THE NEXT LATEX RUN (via the aux file). + % + % Such preprogrammed definitions may be invoked anywhere in the text + % by calling \citestyle{newbib}. This is only useful if the style specified + % differs from that in \bibliographystyle. + % + % With \citeindextrue and \citeindexfalse, one can control whether the + % \cite commands make an automatic entry of the citation in the .idx + % indexing file. For this, \makeindex must also be given in the preamble. + % + % Package Options: (for selecting punctuation) + % round - round parentheses are used (default) + % square - square brackets are used [option] + % curly - curly braces are used {option} + % angle - angle brackets are used