Révision 3660

TXM/trunk/bundles/org.txm.statsengine.r.core.linux/.project (revision 3660)
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>org.txm.statsengine.r.core.linux</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>org.eclipse.pde.ManifestBuilder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
		<buildCommand>
19
			<name>org.eclipse.pde.SchemaBuilder</name>
20
			<arguments>
21
			</arguments>
22
		</buildCommand>
23
	</buildSpec>
24
	<natures>
25
		<nature>org.eclipse.pde.PluginNature</nature>
26
		<nature>org.eclipse.jdt.core.javanature</nature>
27
	</natures>
28
</projectDescription>
0 29

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/SVN-REVISION (revision 3660)
1
Revision: 69752
2
Last Changed Date: 2015-12-10
0 3

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/debian/r-cran.mk (revision 3660)
1
#!/usr/bin/make -f
2
# 							-*- makefile -*-
3
#
4
# Generic debian/rules file for the Debian/GNU Linux r-cran-* packages
5
#
6
# Should be sufficient for Debianization of CRAN (http://cran.r-project.org) 
7
# packages. Note that you still need to provide the other files in debian/*,
8
# in particular control, changelog and copyright. 
9
# 
10
# Copyright 2003 - 2015 by Dirk Eddelbuettel <edd@debian.org>
11

  
12
include /usr/share/cdbs/1/rules/debhelper.mk
13
include /usr/share/cdbs/1/class/langcore.mk
14
## include /usr/share/cdbs/1/rules/dpatch.mk
15
## include /usr/share/cdbs/1/rules/simple-patchsys.mk
16

  
17
# Check whether source format 3.0 (quilt) is used.  If yes, do not include the conflicting simple-patchsys.mk
18
formatfile 	:= $(CURDIR)/debian/source/format
19
format_3_quilt	= $(shell if [ -f $(formatfile) ] ; then if grep -q '3.0[[:space:]]*(quilt)' $(formatfile) ; then echo 1 ; else echo 0 ; fi else echo 0 ; fi )
20
ifeq ($(format_3_quilt),0)
21
  include /usr/share/cdbs/1/rules/simple-patchsys.mk
22
endif
23

  
24
# awk command to extract word after Package or Bundle, not lowercased
25
awkString	:= "'/^(Package|Bundle):/ {print $$2 }'"
26

  
27
# apply it to the upstream meta-info file DESCRIPTION, also generate a lc version
28
cranNameOrig    := $(shell awk "$(awkString)" DESCRIPTION)
29
#cranName        := $(shell echo "$(cranNameOrig)" | tr A-Z a-z | tr . -)
30
cranName        := $(shell echo "$(cranNameOrig)" | tr A-Z a-z)
31

  
32
## if no debRreposname is known, set default to cran -- thanks, Steffen!
33
ifeq ($(debRreposname),)
34
  debRreposname	:= cran
35
endif
36

  
37
## we can define additional flags for R's make, eg "CXXFLAGS=-g0" for 
38
## RQuantLib but the default is empty
39
##   makeFlags	:=
40
## if makeFlags are defined, then we'll use them in this variable
41
## which would otherwise be empty
42
ifneq ($(makeFlags),)
43
  makeFlagsCall	:= MAKEFLAGS=$(makeFlags)
44
endif
45

  
46
## and use the results to build the Debian'ized package name
47
package		:= r-$(debRreposname)-$(cranName)
48

  
49
## awk command to extract word after Priority
50
prioritystr	:= "'/^Priority:/ {print tolower($$2) }'"
51
priority        := $(shell awk "$(prioritystr)" DESCRIPTION)
52

  
53
ifeq ($(priority),recommended)
54
  debRdir	:= usr/lib/R/library
55
else
56
  debRdir	:= usr/lib/R/site-library
57
endif
58

  
59
## current R version in Debian, with thanks to Charles Plessy for the dpkg-query call
60
#rversion	:= $(shell zcat /usr/share/doc/r-base-dev/changelog.Debian.gz | \
61
#			dpkg-parsechangelog -l- --count 1  | \
62
#			awk '/^Version/ {print $$2}')
63
rversion	:= $(shell dpkg-query -W -f='$${Version}' r-base-dev)
64
rapiversion	:= $(shell dpkg-query -W -f='$${Provides}' r-base-core | grep -o 'r-api[^, ]*')
65

  
66
## we use these results for the to-be-installed-in directory
67
debRlib		:= $(CURDIR)/debian/$(package)/$(debRdir)
68

  
69
## optional installation of a lintian silencer
70
lintiandir	:= $(CURDIR)/debian/$(package)/usr/share/lintian/overrides
71

  
72
## set built-time in DESCRIPTION time of created binary package based on stamp in changelog
73
## cf discussion in http://bugs.debian.org/774031 --- and uncomment two assignments here
74
##
75
## extract built-timestamp from entry changelog and use as argument 
76
#builttime       := $(shell dpkg-parsechangelog -l$(CURDIR)/debian/changelog | awk -F': ' '/Date/ {print $$2}')
77
##
78
#builttimeStamp  := "--built-timestamp=\"$(builttime)\""
79
##
80
## else
81
#builttimeStamp  := ""
82
#
83
## Bug report #782764 with patch by Philipp Rinn building on what we had above
84
## if no builttimeStamp is supplied, set built-time (to be set in DESCRIPTION) 
85
## to time of created source package based on stamp in changelog. 
86
## See discussion in http://bugs.debian.org/774031
87

  
88
ifeq ($(builttimeStamp),)
89
  builttime       := $(shell dpkg-parsechangelog -l$(CURDIR)/debian/changelog | awk -F': ' '/Date/ {print $$2}')
90
  builttimeStamp  := "--built-timestamp=\"$(builttime)\""
91
endif  
92

  
93
common-install-indep:: R_any_arch
94
common-install-arch:: R_any_arch
95

  
96
R_any_arch:
97
                ## create the target directory
98
		dh_installdirs		$(debRdir)
99
                ##
100
                ## support ${R:Depends} via debian/${package}.substvars
101
		echo "R:Depends=r-base-core (>= ${rversion}), ${rapiversion}" >> debian/$(package).substvars
102
                ##
103
                ## call R to install the sources we're looking at
104
                ## use this inside xvfb-run if this wrapper is installed
105
		if test -f /usr/bin/xvfb-run; then 			\
106
			$(makeFlagsCall) xvfb-run -a 			\
107
				R CMD INSTALL -l $(debRlib) --clean     \
108
					$(extraInstallFlags) .   	\
109
					$(builttimeStamp)   	        \
110
					;                               \
111
		else							\
112
			$(makeFlagsCall) R CMD INSTALL -l $(debRlib) 	\
113
					--clean $(extraInstallFlags) .  \
114
					$(builttimeStamp)   	        \
115
					;                               \
116
		fi
117
                ## remove extra files which are present in some packages
118
		rm -vf $(debRlib)/R.css 			\
119
			$(debRlib)/$(cranNameOrig)/COPYING 	\
120
			$(debRlib)/$(cranNameOrig)/LICENSE.txt
121
                ## if we have an overrides file for lintian, install it
122
		if test -f debian/overrides; then 		\
123
			install -d $(lintiandir) ; 		\
124
			install -m 0644 debian/overrides 	\
125
				$(lintiandir)/$(package); 	\
126
		fi
127

  
128
## clean target from patch by Steffen Moeller on 16 May 2009
129
clean::
130
                ## the re-invocation of a build process should not
131
                ## leave a footprint in Debian's diff.gz.
132
		if test -d src; then				\
133
			find src -regex ".*\.o" |               \
134
                        xargs --no-run-if-empty -r rm;          \
135
		fi
136
		rm -f config.log config.status
137
                ## the configure file is provided by upstream but
138
                ## could be recreated by a call to 'autoconf'.
139
                #if [ -r configure.in ]; then \
140
                #	rm -f configure \
141
                #fi
142
                ##
143
                # if [ -r src/Makevars.in ]; then \
144
                # 	rm -f src/Makevars; \
145
                # fi
146

  
0 147

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/ts1aett.fd (revision 3660)
1
\ProvidesFile{ts1aett.fd}
2
\DeclareFontFamily{TS1}{aett}{\skewchar\m@ne }
3
\DeclareFontShape{TS1}{aett}{m}{n}%
4
   {<->ssub*cmtt/m/n}{}
5
\DeclareFontShape{TS1}{aett}{m}{it}%
6
   {<->ssub*cmtt/m/it}{}
7
\DeclareFontShape{TS1}{aett}{m}{sl}%
8
   {<->ssub*cmtt/m/sl}{}
9
\endinput
10
%%
11
%% End of file `ts1aett.fd'.
0 12

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/omsaer.fd (revision 3660)
1
%%
2
%% This is file `omsaer.fd',
3
%% 
4
\ProvidesFile{omsaer.fd}[1999/12/27]
5
\DeclareFontFamily{OMS}{aer}{\skewchar\font48 }
6
\DeclareFontShape{OMS}{aer}{m}{n}%
7
   {<->ssub*cmsy/m/n}{}
8
\DeclareFontShape{OMS}{aer}{m}{it}%
9
   {<->ssub*cmsy/m/n}{}
10
\DeclareFontShape{OMS}{aer}{m}{sl}%
11
   {<->ssub*cmsy/m/n}{}
12
\DeclareFontShape{OMS}{aer}{m}{sc}%
13
   {<->ssub*cmsy/m/n}{}
14
\DeclareFontShape{OMS}{aer}{bx}{n}%
15
   {<->ssub*cmsy/b/n}{}
16
\DeclareFontShape{OMS}{aer}{bx}{it}%
17
   {<->ssub*cmsy/b/n}{}
18
\DeclareFontShape{OMS}{aer}{bx}{sl}%
19
   {<->ssub*cmsy/b/n}{}
20
\DeclareFontShape{OMS}{aer}{bx}{sc}%
21
   {<->ssub*cmsy/b/n}{}
22
\endinput
23
%%
24
%% End of file `omsaer.fd'.
0 25

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/omscmtt.fd (revision 3660)
1
\ProvidesFile{omscmtt.fd}
2
\DeclareFontFamily{OMS}{cmtt}{\skewchar\font48 }
3
\DeclareFontShape{OMS}{cmtt}{m}{n}%
4
   {<->ssub*cmsy/m/n}{}
5
\DeclareFontShape{OMS}{cmtt}{m}{it}%
6
   {<->ssub*cmsy/m/n}{}
7
\DeclareFontShape{OMS}{cmtt}{m}{sl}%
8
   {<->ssub*cmsy/m/n}{}
9
\DeclareFontShape{OMS}{cmtt}{m}{sc}%
10
   {<->ssub*cmsy/m/n}{}
11
\DeclareFontShape{OMS}{cmtt}{bx}{n}%
12
   {<->ssub*cmsy/b/n}{}
13
\DeclareFontShape{OMS}{cmtt}{bx}{it}%
14
   {<->ssub*cmsy/b/n}{}
15
\DeclareFontShape{OMS}{cmtt}{bx}{sl}%
16
   {<->ssub*cmsy/b/n}{}
17
\DeclareFontShape{OMS}{cmtt}{bx}{sc}%
18
   {<->ssub*cmsy/b/n}{}
19
\endinput
20
%%
21
%% End of file `omscmtt.fd'.
0 22

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/jss.cls (revision 3660)
1
%%
2
%% This is file `jss.cls',
3
\def\fileversion{2.3}
4
\def\filename{jss}
5
\def\filedate{2013/09/05}
6
%%
7
%% Package `jss' to use with LaTeX2e for JSS publications (http://www.jstatsoft.org/)
8
%% License: GPL-2 | GPL-3
9
%% Copyright: (C) Achim Zeileis
10
%% Please report errors to Achim.Zeileis@R-project.org
11
%%
12
\NeedsTeXFormat{LaTeX2e}
13
\ProvidesClass{jss}[\filedate\space\fileversion\space jss class by Achim Zeileis]
14
%% options
15
\newif\if@article
16
\newif\if@codesnippet
17
\newif\if@bookreview
18
\newif\if@softwarereview
19
\newif\if@review
20
\newif\if@shortnames
21
\newif\if@nojss
22
\newif\if@notitle
23
\newif\if@noheadings
24
\newif\if@nofooter
25

  
26
\@articletrue
27
\@codesnippetfalse
28
\@bookreviewfalse
29
\@softwarereviewfalse
30
\@reviewfalse
31
\@shortnamesfalse
32
\@nojssfalse
33
\@notitlefalse
34
\@noheadingsfalse
35
\@nofooterfalse
36

  
37
\DeclareOption{article}{\@articletrue%
38
  \@codesnippetfalse \@bookreviewfalse \@softwarereviewfalse}
39
\DeclareOption{codesnippet}{\@articlefalse%
40
  \@codesnippettrue \@bookreviewfalse \@softwarereviewfalse}
41
\DeclareOption{bookreview}{\@articlefalse%
42
  \@codesnippetfalse \@bookreviewtrue \@softwarereviewfalse}
43
\DeclareOption{softwarereview}{\@articlefalse%
44
  \@codesnippetfalse \@bookreviewfalse \@softwarereviewtrue}
45
\DeclareOption{shortnames}{\@shortnamestrue}
46
\DeclareOption{nojss}{\@nojsstrue}
47
\DeclareOption{notitle}{\@notitletrue}
48
\DeclareOption{noheadings}{\@noheadingstrue}
49
\DeclareOption{nofooter}{\@nofootertrue}
50

  
51
\ProcessOptions
52
\LoadClass[11pt,a4paper,twoside]{article}
53
%% required packages
54
\RequirePackage{graphicx,color,ae,fancyvrb}
55
\RequirePackage[T1]{fontenc}
56
\IfFileExists{upquote.sty}{\RequirePackage{upquote}}{}
57
%% bibliography
58
\if@shortnames
59
  \usepackage[authoryear,round]{natbib}
60
\else
61
  \usepackage[authoryear,round,longnamesfirst]{natbib}
62
\fi
63
\bibpunct{(}{)}{;}{a}{}{,}
64
\bibliographystyle{jss}
65
%% page layout
66
\topmargin 0pt
67
\textheight 46\baselineskip
68
\advance\textheight by \topskip
69
\oddsidemargin 0.1in
70
\evensidemargin 0.15in
71
\marginparwidth 1in
72
\oddsidemargin 0.125in
73
\evensidemargin 0.125in
74
\marginparwidth 0.75in
75
\textwidth 6.125in
76
%% paragraphs
77
\setlength{\parskip}{0.7ex plus0.1ex minus0.1ex}
78
\setlength{\parindent}{0em}
79
%% for all publications
80
\newcommand{\Address}[1]{\def\@Address{#1}}
81
\newcommand{\Plaintitle}[1]{\def\@Plaintitle{#1}}
82
\newcommand{\Shorttitle}[1]{\def\@Shorttitle{#1}}
83
\newcommand{\Plainauthor}[1]{\def\@Plainauthor{#1}}
84
\newcommand{\Volume}[1]{\def\@Volume{#1}}
85
\newcommand{\Year}[1]{\def\@Year{#1}}
86
\newcommand{\Month}[1]{\def\@Month{#1}}
87
\newcommand{\Issue}[1]{\def\@Issue{#1}}
88
\newcommand{\Submitdate}[1]{\def\@Submitdate{#1}}
89
%% for articles and code snippets
90
\newcommand{\Acceptdate}[1]{\def\@Acceptdate{#1}}
91
\newcommand{\Abstract}[1]{\def\@Abstract{#1}}
92
\newcommand{\Keywords}[1]{\def\@Keywords{#1}}
93
\newcommand{\Plainkeywords}[1]{\def\@Plainkeywords{#1}}
94
%% for book and software reviews
95
\newcommand{\Reviewer}[1]{\def\@Reviewer{#1}}
96
\newcommand{\Booktitle}[1]{\def\@Booktitle{#1}}
97
\newcommand{\Bookauthor}[1]{\def\@Bookauthor{#1}}
98
\newcommand{\Publisher}[1]{\def\@Publisher{#1}}
99
\newcommand{\Pubaddress}[1]{\def\@Pubaddress{#1}}
100
\newcommand{\Pubyear}[1]{\def\@Pubyear{#1}}
101
\newcommand{\ISBN}[1]{\def\@ISBN{#1}}
102
\newcommand{\Pages}[1]{\def\@Pages{#1}}
103
\newcommand{\Price}[1]{\def\@Price{#1}}
104
\newcommand{\Plainreviewer}[1]{\def\@Plainreviewer{#1}}
105
\newcommand{\Softwaretitle}[1]{\def\@Softwaretitle{#1}}
106
\newcommand{\URL}[1]{\def\@URL{#1}}
107
%% for internal use
108
\newcommand{\Seriesname}[1]{\def\@Seriesname{#1}}
109
\newcommand{\Hypersubject}[1]{\def\@Hypersubject{#1}}
110
\newcommand{\Hyperauthor}[1]{\def\@Hyperauthor{#1}}
111
\newcommand{\Footername}[1]{\def\@Footername{#1}}
112
\newcommand{\Firstdate}[1]{\def\@Firstdate{#1}}
113
\newcommand{\Seconddate}[1]{\def\@Seconddate{#1}}
114
\newcommand{\Reviewauthor}[1]{\def\@Reviewauthor{#1}}
115
%% defaults
116
\author{Firstname Lastname\\Affiliation}
117
\title{Title}
118
\Abstract{---!!!---an abstract is required---!!!---}
119
\Plainauthor{\@author}
120
\Volume{VV}
121
\Year{YYYY}
122
\Month{MMMMMM}
123
\Issue{II}
124
\Submitdate{yyyy-mm-dd}
125
\Acceptdate{yyyy-mm-dd}
126
\Address{
127
  Firstname Lastname\\
128
  Affiliation\\
129
  Address, Country\\
130
  E-mail: \email{name@address}\\
131
  URL: \url{http://link/to/webpage/}
132
}
133

  
134
\Reviewer{Firstname Lastname\\Affiliation}
135
\Plainreviewer{Firstname Lastname}
136
\Booktitle{Book Title}
137
\Bookauthor{Book Author}
138
\Publisher{Publisher}
139
\Pubaddress{Publisher's Address}
140
\Pubyear{YYY}
141
\ISBN{x-xxxxx-xxx-x}
142
\Pages{xv + 123}
143
\Price{USD 69.95 (P)}
144
\URL{http://link/to/webpage/}
145
\if@article
146
  \Seriesname{Issue}
147
  \Hypersubject{Journal of Statistical Software}
148
  \Plaintitle{\@title}
149
  \Shorttitle{\@title}
150
  \Plainkeywords{\@Keywords}
151
\fi
152

  
153
\if@codesnippet
154
  \Seriesname{Code Snippet}
155
  \Hypersubject{Journal of Statistical Software -- Code Snippets}
156
  \Plaintitle{\@title}
157
  \Shorttitle{\@title}
158
  \Plainkeywords{\@Keywords}
159
\fi
160

  
161
\if@bookreview
162
  \Seriesname{Book Review}
163
  \Hypersubject{Journal of Statistical Software -- Book Reviews}
164
  \Plaintitle{\@Booktitle}
165
  \Shorttitle{\@Booktitle}
166
  \Reviewauthor{\@Bookauthor\\
167
                \@Publisher, \@Pubaddress, \@Pubyear.\\
168
                ISBN~\@ISBN. \@Pages~pp. \@Price.\\
169
                \url{\@URL}}
170
  \Plainkeywords{}
171
  \@reviewtrue
172
\fi
173

  
174
\if@softwarereview
175
  \Seriesname{Software Review}
176
  \Hypersubject{Journal of Statistical Software -- Software Reviews}
177
  \Plaintitle{\@Softwaretitle}
178
  \Shorttitle{\@Softwaretitle}
179
  \Booktitle{\@Softwaretitle}
180
  \Reviewauthor{\@Publisher, \@Pubaddress. \@Price.\\
181
                \url{\@URL}}
182
  \Plainkeywords{}
183
  \@reviewtrue
184
\fi
185

  
186
\if@review
187
  \Hyperauthor{\@Plainreviewer}
188
  \Keywords{}
189
  \Footername{Reviewer}
190
  \Firstdate{\textit{Published:} \@Submitdate}
191
  \Seconddate{}
192
\else
193
  \Hyperauthor{\@Plainauthor}
194
  \Keywords{---!!!---at least one keyword is required---!!!---}
195
  \Footername{Affiliation}
196
  \Firstdate{\textit{Submitted:} \@Submitdate}
197
  \Seconddate{\textit{Accepted:} \@Acceptdate}
198
\fi
199
%% Sweave(-like)
200
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl}
201
\DefineVerbatimEnvironment{Soutput}{Verbatim}{}
202
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl}
203
\newenvironment{Schunk}{}{}
204
\DefineVerbatimEnvironment{Code}{Verbatim}{}
205
\DefineVerbatimEnvironment{CodeInput}{Verbatim}{fontshape=sl}
206
\DefineVerbatimEnvironment{CodeOutput}{Verbatim}{}
207
\newenvironment{CodeChunk}{}{}
208
\setkeys{Gin}{width=0.8\textwidth}
209
%% footer
210
\newlength{\footerskip}
211
\setlength{\footerskip}{2.5\baselineskip plus 2ex minus 0.5ex}
212

  
213
\newcommand{\makefooter}{%
214
  \vspace{\footerskip}
215

  
216
  \if@nojss
217
    \begin{samepage}
218
    \textbf{\large \@Footername: \nopagebreak}\\[.3\baselineskip] \nopagebreak
219
    \@Address \nopagebreak
220
    \end{samepage}
221
  \else
222
    \begin{samepage}
223
    \textbf{\large \@Footername: \nopagebreak}\\[.3\baselineskip] \nopagebreak
224
    \@Address \nopagebreak
225
    \vfill
226
    \hrule \nopagebreak
227
    \vspace{.1\baselineskip}
228
    {\fontfamily{pzc} \fontsize{13}{15} \selectfont Journal of Statistical Software}
229
    \hfill
230
    \url{http://www.jstatsoft.org/}\\ \nopagebreak
231
    published by the American Statistical Association
232
    \hfill
233
    \url{http://www.amstat.org/}\\[.3\baselineskip] \nopagebreak
234
    {Volume~\@Volume, \@Seriesname~\@Issue}
235
    \hfill
236
    \@Firstdate\\ \nopagebreak
237
    {\@Month{} \@Year}
238
    \hfill
239
    \@Seconddate  \nopagebreak
240
    \vspace{.3\baselineskip}
241
    \hrule
242
    \end{samepage}
243
  \fi
244
}
245
\if@nofooter
246
  %% \AtEndDocument{\makefooter}
247
\else
248
  \AtEndDocument{\makefooter}
249
\fi
250
%% required packages
251
\RequirePackage{hyperref}
252
%% new \maketitle
253
\def\@myoddhead{
254
  {\color{white} JSS}\\[-1.42cm]
255
  \hspace{-2em} \includegraphics[height=23mm,keepaspectratio]{jsslogo} \hfill
256
  \parbox[b][23mm]{118mm}{\hrule height 3pt
257
   \center{
258
   {\fontfamily{pzc} \fontsize{28}{32} \selectfont Journal of Statistical Software}
259
   \vfill
260
   {\it \small \@Month{} \@Year, Volume~\@Volume, \@Seriesname~\@Issue.%
261
            \hfill \href{http://www.jstatsoft.org/}{http://www.jstatsoft.org/}}}\\[0.1cm]
262
     \hrule height 3pt}}
263
\if@review
264
  \renewcommand{\maketitle}{
265
  \if@nojss
266
    %% \@oddhead{\@myoddhead}\\[3\baselineskip]
267
  \else
268
    \@oddhead{\@myoddhead}\\[3\baselineskip]
269
  \fi
270
    {\large
271
    \noindent
272
    Reviewer: \@Reviewer
273
    \vspace{\baselineskip}
274
    \hrule
275
    \vspace{\baselineskip}
276
    \textbf{\@Booktitle}
277
    \begin{quotation} \noindent
278
    \@Reviewauthor
279
    \end{quotation}
280
    \vspace{0.7\baselineskip}
281
    \hrule
282
    \vspace{1.3\baselineskip}
283
    }
284

  
285
    \thispagestyle{empty}
286
    \if@nojss
287
      \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hyperauthor}}
288
    \else
289
      \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hypersubject}}
290
    \fi
291
    \pagestyle{myheadings}
292
  }
293
\else
294
  \def\maketitle{
295
  \if@nojss
296
    %% \@oddhead{\@myoddhead} \par
297
  \else
298
    \@oddhead{\@myoddhead} \par
299
  \fi
300
   \begingroup
301
     \def\thefootnote{\fnsymbol{footnote}}
302
     \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
303
     \long\def\@makefntext##1{\parindent 1em\noindent
304
                              \hbox to1.8em{\hss $\m@th ^{\@thefnmark}$}##1}
305
     \@maketitle \@thanks
306
   \endgroup
307
   \setcounter{footnote}{0}
308

  
309
   \if@noheadings
310
    %% \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hypersubject}}
311
    \else
312
     \thispagestyle{empty}
313
      \if@nojss
314
        \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hyperauthor}}
315
      \else
316
        \markboth{\centerline{\@Shorttitle}}{\centerline{\@Hypersubject}}
317
      \fi
318
     \pagestyle{myheadings}
319
   \fi
320

  
321
   \let\maketitle\relax \let\@maketitle\relax
322
   \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax
323
  }
324

  
325
  \def\@maketitle{\vbox{\hsize\textwidth \linewidth\hsize
326
  \if@nojss
327
    %% \vskip 1in
328
  \else
329
    \vskip 1in
330
  \fi
331
   {\centering
332
   {\LARGE\bf \@title\par}
333
   \vskip 0.2in plus 1fil minus 0.1in
334
   {
335
       \def\and{\unskip\enspace{\rm and}\enspace}%
336
       \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil
337
          \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\large\bf\rule{\z@}{24pt}\ignorespaces}%
338
       \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
339
          \vskip 0.1in plus 1fil minus 0.05in
340
          \hbox to \linewidth\bgroup\rule{\z@}{10pt} \hfil\hfil
341
          \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\large\bf\rule{\z@}{24pt}\ignorespaces}
342
       \hbox to \linewidth\bgroup\rule{\z@}{10pt} \hfil\hfil
343
       \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\large\bf\rule{\z@}{24pt}\@author
344
       \end{tabular}\hss\egroup
345
   \hfil\hfil\egroup}
346
   \vskip 0.3in minus 0.1in
347
   \hrule
348
   \begin{abstract}
349
   \@Abstract
350
   \end{abstract}}
351
   \textit{Keywords}:~\@Keywords.
352
   \vskip 0.1in minus 0.05in
353
   \hrule
354
   \vskip 0.2in minus 0.1in
355
  }}
356
\fi
357
%% sections, subsections, and subsubsections
358
\newlength{\preXLskip}
359
\newlength{\preLskip}
360
\newlength{\preMskip}
361
\newlength{\preSskip}
362
\newlength{\postMskip}
363
\newlength{\postSskip}
364
\setlength{\preXLskip}{1.8\baselineskip plus 0.5ex minus 0ex}
365
\setlength{\preLskip}{1.5\baselineskip plus 0.3ex minus 0ex}
366
\setlength{\preMskip}{1\baselineskip plus 0.2ex minus 0ex}
367
\setlength{\preSskip}{.8\baselineskip plus 0.2ex minus 0ex}
368
\setlength{\postMskip}{.5\baselineskip plus 0ex minus 0.1ex}
369
\setlength{\postSskip}{.3\baselineskip plus 0ex minus 0.1ex}
370

  
371
\newcommand{\jsssec}[2][default]{\vskip \preXLskip%
372
  \pdfbookmark[1]{#1}{Section.\thesection.#1}%
373
  \refstepcounter{section}%
374
  \centerline{\textbf{\Large \thesection. #2}} \nopagebreak
375
  \vskip \postMskip \nopagebreak}
376
\newcommand{\jsssecnn}[1]{\vskip \preXLskip%
377
  \centerline{\textbf{\Large #1}} \nopagebreak
378
  \vskip \postMskip \nopagebreak}
379

  
380
\newcommand{\jsssubsec}[2][default]{\vskip \preMskip%
381
  \pdfbookmark[2]{#1}{Subsection.\thesubsection.#1}%
382
  \refstepcounter{subsection}%
383
  \textbf{\large \thesubsection. #2} \nopagebreak
384
  \vskip \postSskip \nopagebreak}
385
\newcommand{\jsssubsecnn}[1]{\vskip \preMskip%
386
  \textbf{\large #1} \nopagebreak
387
  \vskip \postSskip \nopagebreak}
388

  
389
\newcommand{\jsssubsubsec}[2][default]{\vskip \preSskip%
390
  \pdfbookmark[3]{#1}{Subsubsection.\thesubsubsection.#1}%
391
  \refstepcounter{subsubsection}%
392
  {\large \textit{#2}} \nopagebreak
393
  \vskip \postSskip \nopagebreak}
394
\newcommand{\jsssubsubsecnn}[1]{\vskip \preSskip%
395
  {\textit{\large #1}} \nopagebreak
396
  \vskip \postSskip \nopagebreak}
397

  
398
\newcommand{\jsssimplesec}[2][default]{\vskip \preLskip%
399
%%  \pdfbookmark[1]{#1}{Section.\thesection.#1}%
400
  \refstepcounter{section}%
401
  \textbf{\large #1} \nopagebreak
402
  \vskip \postSskip \nopagebreak}
403
\newcommand{\jsssimplesecnn}[1]{\vskip \preLskip%
404
  \textbf{\large #1} \nopagebreak
405
  \vskip \postSskip \nopagebreak}
406

  
407
\if@review
408
  \renewcommand{\section}{\secdef \jsssimplesec \jsssimplesecnn}
409
  \renewcommand{\subsection}{\secdef \jsssimplesec \jsssimplesecnn}
410
  \renewcommand{\subsubsection}{\secdef \jsssimplesec \jsssimplesecnn}
411
\else
412
  \renewcommand{\section}{\secdef \jsssec \jsssecnn}
413
  \renewcommand{\subsection}{\secdef \jsssubsec \jsssubsecnn}
414
  \renewcommand{\subsubsection}{\secdef \jsssubsubsec \jsssubsubsecnn}
415
\fi
416
%% colors
417
\definecolor{Red}{rgb}{0.5,0,0}
418
\definecolor{Blue}{rgb}{0,0,0.5}
419
\if@review
420
  \hypersetup{%
421
    hyperindex = {true},
422
    colorlinks = {true},
423
    linktocpage = {true},
424
    plainpages = {false},
425
    linkcolor = {Blue},
426
    citecolor = {Blue},
427
    urlcolor = {Red},
428
    pdfstartview = {Fit},
429
    pdfpagemode = {None},
430
    pdfview = {XYZ null null null}
431
  }
432
\else
433
  \hypersetup{%
434
    hyperindex = {true},
435
    colorlinks = {true},
436
    linktocpage = {true},
437
    plainpages = {false},
438
    linkcolor = {Blue},
439
    citecolor = {Blue},
440
    urlcolor = {Red},
441
    pdfstartview = {Fit},
442
    pdfpagemode = {UseOutlines},
443
    pdfview = {XYZ null null null}
444
  }
445
\fi
446
\if@nojss
447
  \AtBeginDocument{
448
    \hypersetup{%
449
      pdfauthor = {\@Hyperauthor},
450
      pdftitle = {\@Plaintitle},
451
      pdfkeywords = {\@Plainkeywords}
452
    }
453
  }
454
\else
455
  \AtBeginDocument{
456
    \hypersetup{%
457
      pdfauthor = {\@Hyperauthor},
458
      pdftitle = {\@Plaintitle},
459
      pdfsubject = {\@Hypersubject},
460
      pdfkeywords = {\@Plainkeywords}
461
    }
462
  }
463
\fi
464
\if@notitle
465
  %% \AtBeginDocument{\maketitle}
466
\else
467
  \AtBeginDocument{\maketitle}
468
\fi
469
%% commands
470
\newcommand\code{\bgroup\@makeother\_\@makeother\~\@makeother\$\@codex}
471
\def\@codex#1{{\normalfont\ttfamily\hyphenchar\font=-1 #1}\egroup}
472
%%\let\code=\texttt
473
\let\proglang=\textsf
474
\newcommand{\pkg}[1]{{\fontseries{b}\selectfont #1}}
475
\newcommand{\email}[1]{\href{mailto:#1}{\normalfont\texttt{#1}}}
476
\ifx\csname urlstyle\endcsname\relax
477
  \newcommand\@doi[1]{doi:\discretionary{}{}{}#1}\else
478
  \newcommand\@doi{doi:\discretionary{}{}{}\begingroup
479
\urlstyle{tt}\Url}\fi
480
\newcommand{\doi}[1]{\href{http://dx.doi.org/#1}{\normalfont\texttt{\@doi{#1}}}}
481
\newcommand{\E}{\mathsf{E}}
482
\newcommand{\VAR}{\mathsf{VAR}}
483
\newcommand{\COV}{\mathsf{COV}}
484
\newcommand{\Prob}{\mathsf{P}}
485
\endinput
486
%%
487
%% End of file `jss.cls'.
0 488

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/Rd.sty (revision 3660)
1
%%% Rd.sty ... Style for printing the R manual
2
%%% Part of the R package, http://www.R-project.org
3
%%% Copyright (C) 2003-2014 The R Foundation
4
%%% Distributed under GPL 2 or later
5
%%%
6
%%% Modified 1998/01/05 by Friedrich Leisch
7
%%% Modified 1998/07/07 by Martin Maechler
8
%%% Modified 1999/11/20 by Brian Ripley
9
%%% Modified 1999/12/26 by Kurt Hornik
10
%%% and so on.
11

  
12
\NeedsTeXFormat{LaTeX2e}
13
\ProvidesPackage{Rd}{}
14

  
15
\RequirePackage{ifthen}
16
\newboolean{Rd@has@ae}
17
\newboolean{Rd@use@ae}
18
\newboolean{Rd@use@hyper}
19
\newboolean{Rd@has@times}
20
\newboolean{Rd@use@times}
21
\newboolean{Rd@use@cm-super}
22
\newboolean{Rd@has@lm}
23
\newboolean{Rd@use@lm}
24
\newboolean{Rd@use@beramono}
25
\newboolean{Rd@use@inconsolata}
26
\DeclareOption{ae}{\setboolean{Rd@use@ae}{true}}
27
\DeclareOption{hyper}{\setboolean{Rd@use@hyper}{true}}
28
\DeclareOption{times}{\setboolean{Rd@use@times}{true}}
29
\DeclareOption{lm}{\setboolean{Rd@use@lm}{true}}
30
\DeclareOption{cm-super}{\setboolean{Rd@use@cm-super}{true}}
31
\DeclareOption{beramono}{\setboolean{Rd@use@beramono}{true}}
32
\DeclareOption{inconsolata}{\setboolean{Rd@use@inconsolata}{true}}
33
\ProcessOptions
34
\RequirePackage{longtable}
35
\setcounter{LTchunksize}{250}
36
\ifthenelse{\boolean{Rd@use@hyper}}
37
{\IfFileExists{hyperref.sty}{}{\setboolean{Rd@use@hyper}{false}
38
  \message{package hyperref not found}}}
39
{}
40

  
41
\RequirePackage{bm}              % standard boldsymbol
42
\RequirePackage{alltt}           % {verbatim} allowing \..
43
\RequirePackage{verbatim}        % small example code
44
\RequirePackage{url}             % set urls
45
\RequirePackage{textcomp}        % for \textquotesingle etc
46

  
47

  
48
\addtolength{\textheight}{12mm}
49
\addtolength{\topmargin}{-9mm}   % still fits on US paper
50
\addtolength{\textwidth}{24mm}   % still fits on US paper
51
\setlength{\oddsidemargin}{10mm}
52
\setlength{\evensidemargin}{\oddsidemargin}
53

  
54
\newenvironment{display}[0]%
55
  {\begin{list}{}{\setlength{\leftmargin}{30pt}}\item}%
56
  {\end{list}}
57
\newcommand{\HTML}{{\normalfont\textsc{html}}}
58
\newcommand{\R}{{\normalfont\textsf{R}}{}}
59
\newcommand{\Rdash}{-}
60

  
61
% \def\href#1#2{\special{html:<a href="#1">}{#2}\special{html:</a>}}
62

  
63
\newcommand{\vneed}[1]{%
64
  \penalty-1000\vskip#1 plus 10pt minus #1\penalty-1000\vspace{-#1}}
65

  
66
\newcommand{\Rdcontents}[1]{% modified \tableofcontents -- not \chapter
67
\section*{{#1}\@mkboth{\MakeUppercase#1}{\MakeUppercase#1}}
68
  \@starttoc{toc}}
69

  
70
\newcommand{\Header}[2]{%
71
  \vneed{1ex}
72
  \markboth{#1}{#1}
73
  \noindent
74
  \nopagebreak
75
  \begin{center}
76
  \ifthenelse{\boolean{Rd@use@hyper}}%
77
    {\def\@currentHref{page.\thepage}
78
    \hypertarget{Rfn.#1}{\index{#1@\texttt{#1}}}%
79
    \myaddcontentsline{toc}{subsection}{#1}%
80
    \pdfbookmark[1]{#1}{Rfn.#1}}
81
    {\addcontentsline{toc}{subsection}{#1}
82
      \index{#1@\texttt{#1}|textbf}}
83
    \hrule
84
    \parbox{0.95\textwidth}{%
85
      \begin{ldescription}[1.5in]
86
       \item[\texttt{#1}] \emph{#2}
87
      \end{ldescription}}
88
    \hrule
89
  \end{center}
90
  \nopagebreak}
91
%
92
%
93
%
94
% \alias{<alias>}{<header>}
95
\ifthenelse{\boolean{Rd@use@hyper}}
96
{\newcommand{\alias}[2]{\hypertarget{Rfn.#1}{\index{#1@\texttt{#1} \textit{(\texttt{#2})}}}}}
97
{\newcommand{\alias}[2]{\index{#1@\texttt{#1} \textit{(\texttt{#2})}}}}
98
\ifthenelse{\boolean{Rd@use@hyper}}
99
{\newcommand{\methalias}[2]{\hypertarget{Rfn.#1}{\relax}}}
100
{\newcommand{\methalias}[2]{}}
101
% \keyword{<topic>}{<header>}
102
\newcommand{\keyword}[2]{\index{$*$Topic{\large\ \textbf{#1}}!#2@\texttt{#2}}}
103
%
104
% used prior to 2.10.0 only
105
\newcommand{\Itemize}[1]{\begin{itemize}{#1}\end{itemize}}
106
\newcommand{\Enumerate}[1]{\begin{enumerate}{#1}\end{enumerate}}
107
\newcommand{\describe}[1]{\begin{description}{#1}\end{description}}
108

  
109
\newcommand{\Tabular}[2]{%
110
  \par\begin{longtable}{#1}
111
    #2
112
  \end{longtable}}
113

  
114
\newlength{\ldescriptionwidth}
115
\newcommand{\ldescriptionlabel}[1]{%
116
  \settowidth{\ldescriptionwidth}{{#1}}%
117
  \ifdim\ldescriptionwidth>\labelwidth
118
    {\parbox[b]{\labelwidth}%
119
      {\makebox[0pt][l]{#1}\\[1pt]\makebox{}}}%
120
  \else
121
    \makebox[\labelwidth][l]{{#1}}%
122
  \fi
123
  \hfil\relax}
124
\newenvironment{ldescription}[1][1in]%
125
  {\begin{list}{}%
126
    {\setlength{\labelwidth}{#1}%
127
      \setlength{\leftmargin}{\labelwidth}%
128
      \addtolength{\leftmargin}{\labelsep}%
129
      \renewcommand{\makelabel}{\ldescriptionlabel}}}%
130
  {\end{list}}
131

  
132
\newenvironment{Rdsection}[1]{%
133
  \ifx\@empty#1\else\subsubsection*{#1}\fi
134
  \begin{list}{}{\setlength{\leftmargin}{0.25in}}\item}
135
  {\end{list}}
136

  
137
\newenvironment{Arguments}{%
138
  \begin{Rdsection}{Arguments}}{\end{Rdsection}}
139
\newenvironment{Author}{%
140
  \begin{Rdsection}{Author(s)}}{\end{Rdsection}}
141
\newenvironment{Description}{%
142
  \begin{Rdsection}{Description}}{\end{Rdsection}}
143
\newenvironment{Details}{%
144
  \begin{Rdsection}{Details}}{\end{Rdsection}}
145
\newenvironment{Examples}{%
146
  \begin{Rdsection}{Examples}}{\end{Rdsection}}
147
\newenvironment{Note}{%
148
  \begin{Rdsection}{Note}}{\end{Rdsection}}
149
\newenvironment{References}{%
150
  \begin{Rdsection}{References}}{\end{Rdsection}}
151
\newenvironment{SeeAlso}{%
152
  \begin{Rdsection}{See Also}}{\end{Rdsection}}
153
\newenvironment{Format}{%
154
  \begin{Rdsection}{Format}}{\end{Rdsection}}
155
\newenvironment{Source}{%
156
  \begin{Rdsection}{Source}}{\end{Rdsection}}
157
\newenvironment{Section}[1]{%
158
  \begin{Rdsection}{#1}}{\end{Rdsection}}
159
\newenvironment{Usage}{%
160
  \begin{Rdsection}{Usage}}{\end{Rdsection}}
161
\newenvironment{Value}{%
162
  \begin{Rdsection}{Value}}{\end{Rdsection}}
163

  
164
\newenvironment{SubSection}[1]{%
165
  \begin{list}{}{\setlength{\leftmargin}{0.1in}}\item \textbf{#1: }}{\end{list}}
166
\newenvironment{SubSubSection}[1]{%
167
  \begin{list}{}{\setlength{\leftmargin}{0.1in}}\item \textit{#1: }}{\end{list}}
168

  
169
\newenvironment{ExampleCode}{\small\verbatim}{\endverbatim}
170

  
171
\ifx\textbackslash\undefined%-- e.g. for MM
172
  \newcommand{\bsl}{\ifmmode\backslash\else$\backslash$\fi}
173
\else
174
  \newcommand{\bsl}{\ifmmode\backslash\else\textbackslash\fi}
175
\fi
176
%fails for index (but is not used there...)
177
\newcommand{\SIs}{\relax\ifmmode\leftarrow\else$\leftarrow$\fi}
178
\newcommand{\SIIs}{\relax\ifmmode<\leftarrow\else$<\leftarrow$\fi}
179
\newcommand{\Sbecomes}{\relax\ifmmode\rightarrow\else$\rightarrow$\fi}
180
%
181
\newcommand{\deqn}[2]{\[#1\]}
182
\newcommand{\eqn}[2]{$#1$}
183
\newcommand{\bold}[1]{\ifmmode\bm{#1}\else\textbf{#1}\fi}
184
%% as from R 2.12.0 set \file in monospaced font, not sans-serif
185
\newcommand{\file}[1]{`\texttt{#1}'}
186

  
187
\newcommand{\Figure}[2]{\includegraphics[#2]{#1}}
188

  
189
\ifthenelse{\boolean{Rd@use@hyper}}
190
{\newcommand{\link}[1]{\hyperlink{Rfn.#1}{#1}\index{#1@\texttt{#1}}}}
191
{\newcommand{\link}[1]{#1\index{#1@\texttt{#1}}}}
192

  
193
\ifthenelse{\boolean{Rd@use@hyper}}
194
{\newcommand*{\Rhref}{\begingroup\@makeother\#\@Rhref}
195
  \newcommand*{\@Rhref}[2]{\href{#1}{#2}\endgroup}}
196
{\newcommand*{\Rhref}{\begingroup\@makeother\#\@Rhref}
197
  \newcommand*{\@Rhref}[2]{#2\footnote{\url{#1}}\endgroup}}
198

  
199
%% as from R 2.10.0 set \email in monospaced font (like \url)
200
%\newcommand{\email}[1]{$\langle$\texttt{#1}$\rangle$}
201
\newcommand{\email}[1]{\normalfont\texttt{\textless#1\textgreater}}
202

  
203
%% \code without `-' ligatures
204

  
205
%{\catcode`\-=\active%
206
%   \global\def\code{\bgroup%
207
%     \catcode`\-=\active \let-\codedash%
208
%     \Rd@code}}
209
%     \def\codedash{-\discretionary{}{}{}}
210

  
211
%% If we simply do
212
%%   \DeclareRobustCommand\code{\bgroup\@noligs\@vobeyspaces\Rd@code}
213
%% then e.g.
214
%%   \code{\LinkA{attr<-}{attr<.Rdash.}} 
215
%% will give an undefined control sequence `\< error when hyperref is
216
%% used (so that \LinkA uses \hyperlink).
217
%% Hence, use a noligs list without < and > for now, and use the same
218
%% list for \code and \samp and their variants.
219
\def\Rd@nolig@list{\do\`\do\,\do\'\do\-}
220
\def\Rd@noligs{\let\do\do@noligs \Rd@nolig@list}
221

  
222
\DeclareRobustCommand\code{\bgroup\Rd@noligs\@vobeyspaces\Rd@code}
223
\def\Rd@code#1{\normalfont\texttt{#1}\egroup}
224
\let\command=\code
225
\let\env=\code
226

  
227
\DeclareRobustCommand\samp{`\bgroup\Rd@noligs\@vobeyspaces\@sampx}
228
\def\@sampx#1{{\normalfont\texttt{#1}}\egroup'}
229
\let\option=\samp
230

  
231
\def\AsIs{\bgroup\let\do\@makeother\Rd@AsIs@dospecials\@noligs\obeylines\@vobeyspaces\parskip\z@skip\Rd@AsIsX}
232
\def\Rd@AsIs@dospecials{\do\$\do\&\do\#\do\^\do\_\do\%\do\~}
233
\def\Rd@AsIsX#1{\normalfont #1\egroup}
234

  
235
% This is a workaround for the old Rdconv to handle \Sexpr by echoing it
236
% Rd2latex() should never let \Sexpr through to here.
237
\newcommand\Sexpr[2][]{{\normalfont\texttt{\bsl Sexpr[#1]\{#2\}}}}
238

  
239
\newcommand{\var}[1]{{\normalfont\textsl{#1}}}
240

  
241
\newcommand{\dfn}[1]{\textsl{#1}}
242
\let\Cite=\dfn
243

  
244
\newcommand{\acronym}[1]{\textsc{\lowercase{#1}}}
245
\newcommand{\kbd}[1]{{\normalfont\texttt{\textsl{#1}}}}
246

  
247
\newcommand{\strong}[1]{{\normalfont\fontseries{b}\selectfont #1}}
248
\let\pkg=\strong
249

  
250
\newcommand{\sQuote}[1]{`#1'}
251
\newcommand{\dQuote}[1]{``#1''}
252

  
253
\IfFileExists{ae.sty}{\setboolean{Rd@has@ae}{true}}{}
254
\ifthenelse{\boolean{Rd@use@ae}\and\boolean{Rd@has@ae}}{%
255
  \usepackage[T1]{fontenc}
256
  \usepackage{ae}
257
  \input{t1aett.fd}
258
  \DeclareFontShape{T1}{aett}{bx}{n}{<->ssub*aett/m/n}{}}{}
259
\IfFileExists{times.sty}{\setboolean{Rd@has@times}{true}}{}
260
\ifthenelse{\boolean{Rd@use@times}\and\boolean{Rd@has@times}}{%
261
  \usepackage[T1]{fontenc}
262
  \usepackage{times}}{}
263
\IfFileExists{lmodern.sty}{\setboolean{Rd@has@lm}{true}}{}
264
\ifthenelse{\boolean{Rd@use@lm}\and\boolean{Rd@has@lm}}{%
265
  \usepackage[T1]{fontenc}
266
  \usepackage{lmodern}}{}
267
\ifthenelse{\boolean{Rd@use@cm-super}}{%
268
  \usepackage[T1]{fontenc}}{}
269
\ifthenelse{\boolean{Rd@use@beramono}}{%
270
  \usepackage[scaled=.8]{beramono}}{}
271
%% it appears that all versions of zi4.sty support [noupquote],
272
%% whereas only those since 2013/06/09 of inconsolata.sty do: such
273
%% installations should also have zi4.sty
274
\ifthenelse{\boolean{Rd@use@inconsolata}}{%
275
 \IfFileExists{zi4.sty}{\usepackage[noupquote]{zi4}}{\usepackage{inconsolata}}}{}
276

  
277
%% needs to come after \code is defined
278
%% inspired by an earlier version of upquote.sty
279
\begingroup
280
\catcode`'=\active \catcode``=\active
281
\g@addto@macro\@noligs {\let`\textasciigrave \let'\textquotesingle}
282
\g@addto@macro\Rd@noligs {\let`\textasciigrave \let'\textquotesingle}
283
\endgroup
284

  
285
%% We use \pkg{verbatim} for our ExampleCode environment, which in its
286
%% \verbatim@font has an explicit \let\do\do@noligs\verbatim@nolig@list
287
%% rather than (the identical) \@noligs from the LaTeX2e kernel.
288
%% Hence, we add to \verbatim@font ... suggestion by Bernd Raichle
289
%% <raichle@Informatik.Uni-Stuttgart.DE>.
290
\g@addto@macro\verbatim@font\@noligs
291

  
292
\ifthenelse{\boolean{Rd@use@hyper}}{%
293
  \RequirePackage{color}    
294
  \def\myaddcontentsline#1#2#3{%
295
    \addtocontents{#1}{\protect\contentsline{#2}{#3}{\thepage}{page.\thepage}}}
296
  \RequirePackage{hyperref}
297
  \DeclareTextCommand{\Rpercent}{PD1}{\045} % percent
298
  %% <NOTE>
299
  %% Formerly in R's hyperref.cfg, possibly to be shared with Sweave.sty
300
  %% as well (but without setting pagebackref as this can give trouble
301
  %% for .bib entries containing URLs with '#' characters).
302
  \definecolor{Blue}{rgb}{0,0,0.8}
303
  \definecolor{Red}{rgb}{0.7,0,0}
304
  \hypersetup{%
305
    hyperindex,%
306
    colorlinks,%
307
    pagebackref,%
308
    linktocpage,%
309
    plainpages=false,%
310
    linkcolor=Blue,%
311
    citecolor=Blue,%
312
    urlcolor=Red,%
313
    pdfstartview=Fit,%
314
    pdfview={XYZ null null null}%
315
  }
316
  %% </NOTE>
317
  \renewcommand\tableofcontents{%
318
    \if@twocolumn
319
      \@restonecoltrue\onecolumn
320
    \else
321
      \@restonecolfalse
322
    \fi
323
    \chapter*{\contentsname
324
        \@mkboth{%
325
           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
326
    \pdfbookmark{Contents}{contents}
327
    \@starttoc{toc}%
328
    \if@restonecol\twocolumn\fi
329
    }
330
  \renewenvironment{theindex}
331
  {\if@twocolumn
332
    \@restonecolfalse
333
    \else
334
    \@restonecoltrue
335
    \fi
336
    \columnseprule \z@
337
    \columnsep 35\p@
338
    \twocolumn[\@makeschapterhead{\indexname}]%
339
    \@mkboth{\MakeUppercase\indexname}%
340
    {\MakeUppercase\indexname}%
341
    \pdfbookmark{Index}{index}
342
    \myaddcontentsline{toc}{chapter}{Index}
343
    \thispagestyle{plain}\parindent\z@
344
    \parskip\z@ \@plus .3\p@\relax
345
    \raggedright
346
    \let\item\@idxitem}
347
  {\if@restonecol\onecolumn\else\clearpage\fi}
348
  }{
349
  \renewenvironment{theindex}
350
  {\if@twocolumn
351
    \@restonecolfalse
352
    \else
353
    \@restonecoltrue
354
    \fi
355
    \columnseprule \z@
356
    \columnsep 35\p@
357
    \twocolumn[\@makeschapterhead{\indexname}]%
358
    \@mkboth{\MakeUppercase\indexname}%
359
    {\MakeUppercase\indexname}%
360
    \addcontentsline{toc}{chapter}{Index}
361
    \thispagestyle{plain}\parindent\z@
362
    \parskip\z@ \@plus .3\p@\relax
363
    \raggedright
364
    \let\item\@idxitem}
365
  {\if@restonecol\onecolumn\else\clearpage\fi}
366
  }
367

  
368
% new definitions for R >= 2.0.0
369
\ifthenelse{\boolean{Rd@use@hyper}}
370
{\newcommand{\LinkA}[2]{\hyperlink{Rfn.#2}{#1}\index{#1@\texttt{#1}|textit}}}
371
{\newcommand{\LinkA}[2]{#1\index{#1@\texttt{#1}|textit}}}
372
%
373
% \alias{<alias>}{<header>}
374
\ifthenelse{\boolean{Rd@use@hyper}}
375
{\newcommand{\aliasA}[3]{\hypertarget{Rfn.#3}{\index{#1@\texttt{#1} \textit{(\texttt{#2})}}}}}
376
{\newcommand{\aliasA}[3]{\index{#1@\texttt{#1} \textit{(\texttt{#2})}}}}
377
% \aliasB has no indexing.
378
\ifthenelse{\boolean{Rd@use@hyper}}
379
{\newcommand{\aliasB}[3]{\hypertarget{Rfn.#3}{\relax}}}
380
{\newcommand{\aliasB}[3]{}}
381
\ifthenelse{\boolean{Rd@use@hyper}}
382
{\newcommand{\methaliasA}[3]{\hypertarget{Rfn.#3}{\relax}}}
383
{\newcommand{\methaliasA}[3]{}}
384

  
385
\ifthenelse{\boolean{Rd@use@hyper}}
386
{\newcommand{\CRANpkg}[1]{\href{https://CRAN.R-project.org/package=#1}{\pkg{#1}}}}
387
{\newcommand{\CRANpkg}[1]{\pkg{#1}}}
388

  
389
\newcommand{\HeaderA}[3]{%
390
  \vneed{1ex}
391
  \markboth{#1}{#1}
392
  \noindent
393
  \nopagebreak
394
  \begin{center}
395
  \ifthenelse{\boolean{Rd@use@hyper}}%
396
    {\def\@currentHref{page.\thepage}
397
    \hypertarget{Rfn.#3}{\index{#1@\texttt{#1}}}%
398
    \myaddcontentsline{toc}{subsection}{#1}%
399
    \pdfbookmark[1]{#1}{Rfn.#3}}
400
    {\addcontentsline{toc}{subsection}{#1}
401
      \index{#1@\texttt{#1}|textbf}}
402
    \hrule
403
    \parbox{0.95\textwidth}{%
404
      \begin{ldescription}[1.5in]
405
       \item[\texttt{#1}] \emph{#2}
406
      \end{ldescription}}
407
    \hrule
408
  \end{center}
409
  \nopagebreak}
410
\DeclareTextCommandDefault{\Rpercent}{\%{}}
411
%% for use with the output of encoded_text_to_latex
412
\ProvideTextCommandDefault{\textdegree}{\ensuremath{{^\circ}}}
413
\ProvideTextCommandDefault{\textonehalf}{\ensuremath{\frac12}}
414
\ProvideTextCommandDefault{\textonequarter}{\ensuremath{\frac14}}
415
\ProvideTextCommandDefault{\textthreequarters}{\ensuremath{\frac34}}
416
\ProvideTextCommandDefault{\textcent}{\TextSymbolUnavailable\textcent}
417
\ProvideTextCommandDefault{\textyen}{\TextSymbolUnavailable\textyen}
418
\ProvideTextCommandDefault{\textcurrency}{\TextSymbolUnavailable\textcurrency}
419
\ProvideTextCommandDefault{\textbrokenbar}{\TextSymbolUnavailable\textbrokenbar}
420
\ProvideTextCommandDefault{\texteuro}{\TextSymbolUnavailable\texteuro}
421
\providecommand{\mathonesuperior}{\ensuremath{^1}}
422
\providecommand{\mathtwosuperior}{\ensuremath{^2}}
423
\providecommand{\maththreesuperior}{\ensuremath{^3}}
424

  
425
\InputIfFileExists{Rd.cfg}{%
426
  \typeout{Reading personal defaults ...}}{}
0 427

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/omsaett.fd (revision 3660)
1
\ProvidesFile{omsaett.fd}
2
\DeclareFontFamily{OMS}{aett}{\skewchar\font48 }
3
\DeclareFontShape{OMS}{aett}{m}{n}%
4
   {<->ssub*aesy/m/n}{}
5
\DeclareFontShape{OMS}{aett}{m}{it}%
6
   {<->ssub*aesy/m/n}{}
7
\DeclareFontShape{OMS}{aett}{m}{sl}%
8
   {<->ssub*aesy/m/n}{}
9
\DeclareFontShape{OMS}{aett}{m}{sc}%
10
   {<->ssub*aesy/m/n}{}
11
\DeclareFontShape{OMS}{aett}{bx}{n}%
12
   {<->ssub*aesy/b/n}{}
13
\DeclareFontShape{OMS}{aett}{bx}{it}%
14
   {<->ssub*aesy/b/n}{}
15
\DeclareFontShape{OMS}{aett}{bx}{sl}%
16
   {<->ssub*aesy/b/n}{}
17
\DeclareFontShape{OMS}{aett}{bx}{sc}%
18
   {<->ssub*aesy/b/n}{}
19
\endinput
20
%%
21
%% End of file `omsaett.fd'.
0 22

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/ts1aer.fd (revision 3660)
1
\ProvidesFile{ts1aer.fd}
2
\DeclareFontFamily{TS1}{aer}{\skewchar\m@ne }
3
\DeclareFontShape{TS1}{aer}{m}{n}%
4
   {<->ssub*cmr/m/n}{}
5
\DeclareFontShape{TS1}{aer}{m}{it}%
6
   {<->ssub*cmr/m/it}{}
7
\DeclareFontShape{TS1}{aer}{m}{sl}%
8
   {<->ssub*cmr/m/sl}{}
9
\DeclareFontShape{TS1}{aer}{bx}{n}%
10
   {<->ssub*cmr/bx/n}{}
11
\DeclareFontShape{TS1}{aer}{bx}{it}%
12
   {<->ssub*cmr/bx/it}{}
13
\DeclareFontShape{TS1}{aer}{bx}{sl}%
14
   {<->ssub*cmr/bx/sl}{}
15
\DeclareFontShape{TS1}{aer}{m}{ui}%
16
   {<->ssub*cmr/m/ui}{}
17
\endinput
18
%%
19
%% End of file `ts1aer.fd'.
0 20

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/tex/latex/Sweave.sty (revision 3660)
1
\NeedsTeXFormat{LaTeX2e}
2
\ProvidesPackage{Sweave}{}
3

  
4
\RequirePackage{ifthen}
5
\newboolean{Sweave@gin}
6
\setboolean{Sweave@gin}{true}
7
\newboolean{Sweave@ae}
8
\setboolean{Sweave@ae}{true}
9
\newboolean{Sweave@inconsolata}
10
\setboolean{Sweave@inconsolata}{false}
11

  
12
\DeclareOption{nogin}{\setboolean{Sweave@gin}{false}}
13
\DeclareOption{noae}{\setboolean{Sweave@ae}{false}}
14
\DeclareOption{inconsolata}{\setboolean{Sweave@ae}{false}\setboolean{Sweave@inconsolata}{true}}
15
\ProcessOptions
16

  
17
\RequirePackage{graphicx,fancyvrb,textcomp}
18
%% inspired by an earlier version of upquote.sty
19
\begingroup
20
\catcode`'=\active \catcode``=\active
21
\g@addto@macro\@noligs{\let`\textasciigrave \let'\textquotesingle}
22
\endgroup
23

  
24
\ifthenelse{\boolean{Sweave@gin}}{\setkeys{Gin}{width=0.8\textwidth}}{}%
25
\ifthenelse{\boolean{Sweave@ae}}{%
26
  \RequirePackage[T1]{fontenc}
27
  \RequirePackage{ae}
28
}{}%
29
%% see comment in Rd.sty
30
\ifthenelse{\boolean{Sweave@inconsolata}}{%
31
 \IfFileExists{zi4.sty}{\usepackage[noupquote]{zi4}}{\usepackage{inconsolata}}}{}
32

  
33
\DefineVerbatimEnvironment{Sinput}{Verbatim}{fontshape=sl}
34
\DefineVerbatimEnvironment{Soutput}{Verbatim}{}
35
\DefineVerbatimEnvironment{Scode}{Verbatim}{fontshape=sl}
36

  
37
\ifdefined\Schunk%
38
  \message{\string Environment Schunk is already defined, stay with former definition}%
39
\else
40
  \newenvironment{Schunk}{}{}%
41
\fi
42

  
43
\newcommand{\Sconcordance}[1]{%
44
  \ifx\pdfoutput\undefined%
45
  \csname newcount\endcsname\pdfoutput\fi%
46
  \ifcase\pdfoutput\special{#1}%
47
  \else%
48
   \begingroup%
49
     \pdfcompresslevel=0%
50
     \immediate\pdfobj stream{#1}%
51
     \pdfcatalog{/SweaveConcordance \the\pdflastobj\space 0 R}%
52
   \endgroup%
53
  \fi}
0 54

  
TXM/trunk/bundles/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/bibtex/bib/RJournal.bib (revision 3660)
1
@Article{RJournal:2009-1:Chambers,
2
  author       = {John M. Chambers}, 
3
  title        = {Facets of {R}}, 
4
  journal      = {The R Journal},
5
  year         = 2009,
6
  volume       = 1,
7
  number       = 1,
8
  pages        = {5--8},
9
  month        = jun,
10
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Chambers.pdf}
11
}
12

  
13

  
14

  
15
@Article{RJournal:2009-1:Theussl+Zeileis,
16
  author       = {Stefan Theu\ss{}l and Achim Zeileis}, 
17
  title        = {Collaborative Software Development Using {R}-{F}orge}, 
18
  journal      = {The R Journal},
19
  year         = 2009,
20
  volume       = 1,
21
  number       = 1,
22
  pages        = {9--14},
23
  month        = jun,
24
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Theussl+Zeileis.pdf}
25
}
26

  
27

  
28

  
29
@Article{RJournal:2009-1:Murrell,
30
  author       = {Paul Murrell}, 
31
  title        = {Drawing Diagrams with {R}}, 
32
  journal      = {The R Journal},
33
  year         = 2009,
34
  volume       = 1,
35
  number       = 1,
36
  pages        = {15--21},
37
  month        = jun,
38
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Murrell.pdf}
39
}
40

  
41

  
42

  
43
@Article{RJournal:2009-1:Pau+Huber,
44
  author       = {Gregoire Pau and Wolfgang Huber}, 
45
  title        = {The {hwriter} Package}, 
46
  journal      = {The R Journal},
47
  year         = 2009,
48
  volume       = 1,
49
  number       = 1,
50
  pages        = {22--24},
51
  month        = jun,
52
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Pau+Huber.pdf}
53
}
54

  
55

  
56

  
57
@Article{RJournal:2009-1:Ardia+et+al,
58
  author       = {David Ardia and Lennart F. Hoogerheide and Herman K. van Dijk}, 
59
  title        = {{AdMit}: Adaptive Mixtures of {S}tudent-$t$ Distributions}, 
60
  journal      = {The R Journal},
61
  year         = 2009,
62
  volume       = 1,
63
  number       = 1,
64
  pages        = {25--30},
65
  month        = jun,
66
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Ardia+et+al.pdf}
67
}
68

  
69

  
70

  
71
@Article{RJournal:2009-1:Goulet+et+al,
72
  author       = {Vincent Goulet and Michel Jacques and Mathieu Pigeon}, 
73
  title        = {{expert}: Modeling Without Data Using Expert Opinion}, 
74
  journal      = {The R Journal},
75
  year         = 2009,
76
  volume       = 1,
77
  number       = 1,
78
  pages        = {31--36},
79
  month        = jun,
80
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Goulet+et+al.pdf}
81
}
82

  
83

  
84

  
85
@Article{RJournal:2009-1:Mi+et+al,
86
  author       = {Xuefei Mi and Tetsuhisa Miwa and Torsten Hothorn}, 
87
  title        = {{mvtnorm}: New Numerical Algorithm for Multivariate Normal Probabilities}, 
88
  journal      = {The R Journal},
89
  year         = 2009,
90
  volume       = 1,
91
  number       = 1,
92
  pages        = {37--39},
93
  month        = jun,
94
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Mi+et+al.pdf}
95
}
96

  
97

  
98

  
99
@Article{RJournal:2009-1:Kim+Oh,
100
  author       = {Donghoh Kim and Hee-Seok Oh}, 
101
  title        = {{EMD}: A Package for Empirical Mode Decomposition and {H}ilbert Spectrum}, 
102
  journal      = {The R Journal},
103
  year         = 2009,
104
  volume       = 1,
105
  number       = 1,
106
  pages        = {40--46},
107
  month        = jun,
108
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Kim+Oh.pdf}
109
}
110

  
111

  
112

  
113
@Article{RJournal:2009-1:Orr+Liu,
114
  author       = {Megan Orr and Peng Liu}, 
115
  title        = {Sample Size Estimation while Controlling False Discovery Rate for Microarray Experiments Using the {ssize.fdr} Package}, 
116
  journal      = {The R Journal},
117
  year         = 2009,
118
  volume       = 1,
119
  number       = 1,
120
  pages        = {47--53},
121
  month        = jun,
122
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Orr+Liu.pdf}
123
}
124

  
125

  
126

  
127
@Article{RJournal:2009-1:Knaus+et+al,
128
  author       = {Jochen Knaus and Christine Porzelius and Harald Binder and Guido Schwarzer}, 
129
  title        = {Easier Parallel Computing in {R} with {snowfall} and {sfCluster}}, 
130
  journal      = {The R Journal},
131
  year         = 2009,
132
  volume       = 1,
133
  number       = 1,
134
  pages        = {54--59},
135
  month        = jun,
136
  url          = {http://journal.r-project.org/archive/2009-1/RJournal_2009-1_Knaus+et+al.pdf}
137
}
... Ce différentiel a été tronqué car il excède la taille maximale pouvant être affichée.

Formats disponibles : Unified diff