Révision 2479
| tmp/org.txm.statsengine.r.core.linux/res/linux64/etc/Makeconf (revision 2479) | ||
|---|---|---|
| 1 |
# etc/Makeconf. Generated from Makeconf.in by configure. |
|
| 2 |
# |
|
| 3 |
# ${R_HOME}/etc/Makeconf
|
|
| 4 |
# |
|
| 5 |
# R was configured using the following call |
|
| 6 |
# (not including env. vars and site configuration) |
|
| 7 |
# configure '--prefix=/usr' '--with-cairo' '--with-jpeglib' '--with-readline' '--with-tcltk' '--with-system-bzlib' '--with-system-pcre' '--with-system-zlib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share/R/share' '--includedir=/usr/share/R/include' '--with-blas' '--with-lapack' '--enable-R-profiling' '--enable-R-shlib' '--enable-memory-profiling' '--without-recommended-packages' '--build' 'x86_64-linux-gnu' 'build_alias=x86_64-linux-gnu' 'R_PRINTCMD=/usr/bin/lpr' 'R_PAPERSIZE=letter' 'R_BROWSER=xdg-open' 'LIBnn=lib' 'JAVA_HOME=/usr/lib/jvm/default-java' 'CC=gcc -std=gnu99' 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=' 'F77=gfortran' 'FFLAGS=-g -O2 -fstack-protector-strong' 'CXX=g++' 'CXXFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g' 'FC=gfortran' 'FCFLAGS=-g -O2 -fstack-protector-strong' |
|
| 8 |
|
|
| 9 |
## This fails if it contains spaces, or if it is quoted |
|
| 10 |
include $(R_SHARE_DIR)/make/vars.mk |
|
| 11 |
|
|
| 12 |
AR = ar |
|
| 13 |
## Used by packages 'maps' and 'mapdata' |
|
| 14 |
AWK = /usr/bin/awk |
|
| 15 |
BLAS_LIBS = -lblas |
|
| 16 |
C_VISIBILITY = -fvisibility=hidden |
|
| 17 |
CC = gcc -std=gnu99 |
|
| 18 |
CFLAGS = -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g $(LTO) |
|
| 19 |
CPICFLAGS = -fpic |
|
| 20 |
CPPFLAGS = |
|
| 21 |
CXX = g++ |
|
| 22 |
CXXCPP = $(CXX) -E |
|
| 23 |
CXXFLAGS = -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g $(LTO) |
|
| 24 |
CXXPICFLAGS = -fpic |
|
| 25 |
CXX1X = g++ |
|
| 26 |
CXX1XFLAGS = -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g |
|
| 27 |
CXX1XPICFLAGS = -fpic |
|
| 28 |
CXX1XSTD = -std=c++11 |
|
| 29 |
DYLIB_EXT = .so |
|
| 30 |
DYLIB_LD = $(CC) |
|
| 31 |
DYLIB_LDFLAGS = -shared -fopenmp# $(CFLAGS) $(CPICFLAGS) |
|
| 32 |
DYLIB_LINK = $(DYLIB_LD) $(DYLIB_LDFLAGS) $(LDFLAGS) |
|
| 33 |
ECHO = echo |
|
| 34 |
ECHO_C = |
|
| 35 |
ECHO_N = -n |
|
| 36 |
ECHO_T = |
|
| 37 |
## NB, set FC before F77 as on Solaris make, setting FC sets F77 |
|
| 38 |
FC = gfortran |
|
| 39 |
FCFLAGS = -g -O2 -fstack-protector-strong $(LTO) |
|
| 40 |
## additional libs needed when linking with $(FC), e.g. on Solaris |
|
| 41 |
FCLIBS = |
|
| 42 |
F77 = gfortran |
|
| 43 |
F77_VISIBILITY = -fvisibility=hidden |
|
| 44 |
FFLAGS = -g -O2 -fstack-protector-strong $(LTO) |
|
| 45 |
FLIBS = -lgfortran -lm -lquadmath |
|
| 46 |
FCPICFLAGS = -fpic |
|
| 47 |
FPICFLAGS = -fpic |
|
| 48 |
FOUNDATION_CPPFLAGS = |
|
| 49 |
FOUNDATION_LIBS = |
|
| 50 |
JAR = /usr/lib/jvm/default-java/bin/jar |
|
| 51 |
JAVA = /usr/lib/jvm/default-java/jre/bin/java |
|
| 52 |
JAVAC = /usr/lib/jvm/default-java/bin/javac |
|
| 53 |
JAVAH = /usr/lib/jvm/default-java/bin/javah |
|
| 54 |
## JAVA_HOME might be used in the next three. |
|
| 55 |
## They are for packages 'JavaGD' and 'rJava' |
|
| 56 |
JAVA_HOME = /usr/lib/jvm/default-java |
|
| 57 |
JAVA_CPPFLAGS = -I$(JAVA_HOME)/include |
|
| 58 |
JAVA_LIBS = -L$(JAVA_HOME)/jre/lib/amd64/server -ljvm |
|
| 59 |
JAVA_LD_LIBRARY_PATH = $(JAVA_HOME)/jre/lib/amd64/server |
|
| 60 |
LAPACK_LIBS = -llapack |
|
| 61 |
## we only need this is if it is external, as otherwise link to R |
|
| 62 |
LIBINTL= |
|
| 63 |
LIBM = -lm |
|
| 64 |
LIBR0 = -L$(R_HOME)/lib$(R_ARCH) |
|
| 65 |
LIBR1 = -lR |
|
| 66 |
LIBR = -L$(R_HOME)/lib$(R_ARCH) -lR |
|
| 67 |
LIBS = -lpcre -llzma -lbz2 -lz -lrt -ldl -lm |
|
| 68 |
## needed by R CMD config |
|
| 69 |
LIBnn = lib |
|
| 70 |
LIBTOOL = $(SHELL) "$(R_HOME)/bin/libtool" |
|
| 71 |
LDFLAGS = -Wl,-Bsymbolic-functions -Wl,-z,relro |
|
| 72 |
LTO = |
|
| 73 |
## needed to build applications linking to static libR |
|
| 74 |
MAIN_LD = $(CC) |
|
| 75 |
MAIN_LDFLAGS = -Wl,--export-dynamic -fopenmp |
|
| 76 |
MAIN_LINK = $(MAIN_LD) $(MAIN_LDFLAGS) $(LDFLAGS) |
|
| 77 |
MKINSTALLDIRS = $(R_HOME)/bin/mkinstalldirs |
|
| 78 |
OBJC = |
|
| 79 |
OBJCFLAGS = $(LTO) |
|
| 80 |
OBJC_LIBS = |
|
| 81 |
OBJCXX = |
|
| 82 |
R_ARCH = |
|
| 83 |
RANLIB = ranlib |
|
| 84 |
SAFE_FFLAGS = -g -O2 -fstack-protector-strong -ffloat-store |
|
| 85 |
SED = /bin/sed |
|
| 86 |
SHELL = /bin/bash |
|
| 87 |
SHLIB_CFLAGS = |
|
| 88 |
SHLIB_CXXFLAGS = |
|
| 89 |
SHLIB_CXXLD = $(CXX) |
|
| 90 |
SHLIB_CXXLDFLAGS = -shared |
|
| 91 |
SHLIB_CXX1XLD = $(CXX1X) $(CXX1XSTD) |
|
| 92 |
SHLIB_CXX1XLDFLAGS = -shared |
|
| 93 |
SHLIB_EXT = .so |
|
| 94 |
SHLIB_FCLD = $(FC) |
|
| 95 |
SHLIB_FCLDFLAGS = -shared |
|
| 96 |
SHLIB_FFLAGS = |
|
| 97 |
SHLIB_LD = $(CC) |
|
| 98 |
SHLIB_LDFLAGS = -shared# $(CFLAGS) $(CPICFLAGS) |
|
| 99 |
SHLIB_LIBADD = |
|
| 100 |
## We want to ensure libR is picked up from $(R_HOME)/lib |
|
| 101 |
## before e.g. /usr/local/lib if a version is already installed. |
|
| 102 |
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LIBR0) $(LDFLAGS) |
|
| 103 |
SHLIB_OPENMP_CFLAGS = -fopenmp |
|
| 104 |
SHLIB_OPENMP_CXXFLAGS = -fopenmp |
|
| 105 |
SHLIB_OPENMP_FCFLAGS = -fopenmp |
|
| 106 |
SHLIB_OPENMP_FFLAGS = -fopenmp |
|
| 107 |
STRIP_LIBS = strip --strip-unneeded |
|
| 108 |
STRIP_STATIC_LIBS = strip --strip-debug |
|
| 109 |
TCLTK_CPPFLAGS = -I/usr/include/tcl8.6 -I/usr/include/tcl8.6 |
|
| 110 |
TCLTK_LIBS = -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -L/usr/lib/x86_64-linux-gnu -ltk8.6 -lX11 -lXss -lXext |
|
| 111 |
YACC = bison -y |
|
| 112 |
|
|
| 113 |
## for linking to libR.a |
|
| 114 |
STATIC_LIBR = # -Wl,--whole-archive "$(R_HOME)/lib$(R_ARCH)/libR.a" -Wl,--no-whole-archive $(BLAS_LIBS) $(FLIBS) $(LIBINTL) -lreadline $(LIBS) |
|
| 115 |
|
|
| 116 |
R_XTRA_CFLAGS = |
|
| 117 |
R_XTRA_CPPFLAGS = -I$(R_INCLUDE_DIR) -DNDEBUG |
|
| 118 |
R_XTRA_CXXFLAGS = |
|
| 119 |
R_XTRA_FFLAGS = |
|
| 120 |
|
|
| 121 |
ALL_CFLAGS = $(R_XTRA_CFLAGS) $(PKG_CFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) $(CFLAGS) |
|
| 122 |
ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) $(PKG_CPPFLAGS) $(CPPFLAGS) $(CLINK_CPPFLAGS) |
|
| 123 |
ALL_CXXFLAGS = $(R_XTRA_CXXFLAGS) $(PKG_CXXFLAGS) $(CXXPICFLAGS) $(SHLIB_CXXFLAGS) $(CXXFLAGS) |
|
| 124 |
ALL_OBJCFLAGS = $(PKG_OBJCFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) $(OBJCFLAGS) |
|
| 125 |
ALL_OBJCXXFLAGS = $(PKG_OBJCXXFLAGS) $(CXXPICFLAGS) $(SHLIB_CXXFLAGS) $(OBJCXXFLAGS) |
|
| 126 |
ALL_FFLAGS = $(R_XTRA_FFLAGS) $(PKG_FFLAGS) $(FPICFLAGS) $(SHLIB_FFLAGS) $(FFLAGS) |
|
| 127 |
## LIBR here as a couple of packages use this without SHLIB_LINK |
|
| 128 |
ALL_LIBS = $(PKG_LIBS) $(SHLIB_LIBADD) $(LIBR)# $(LIBINTL) |
|
| 129 |
|
|
| 130 |
.SUFFIXES: |
|
| 131 |
.SUFFIXES: .c .cc .cpp .d .f .f90 .f95 .m .mm .M .o |
|
| 132 |
|
|
| 133 |
.c.o: |
|
| 134 |
$(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@ |
|
| 135 |
.c.d: |
|
| 136 |
@echo "making $@ from $<" |
|
| 137 |
@$(CC) -MM $(ALL_CPPFLAGS) $< > $@ |
|
| 138 |
.m.d: |
|
| 139 |
@echo > $@ |
|
| 140 |
.cc.o: |
|
| 141 |
$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@ |
|
| 142 |
.cpp.o: |
|
| 143 |
$(CXX) $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) -c $< -o $@ |
|
| 144 |
.cc.d: |
|
| 145 |
@echo "making $@ from $<" |
|
| 146 |
@$(CXX) -M $(ALL_CPPFLAGS) $< > $@ |
|
| 147 |
.cpp.d: |
|
| 148 |
@echo "making $@ from $<" |
|
| 149 |
@$(CXX) -M $(ALL_CPPFLAGS) $< > $@ |
|
| 150 |
.m.o: |
|
| 151 |
$(OBJC) $(ALL_CPPFLAGS) $(ALL_OBJCFLAGS) -c $< -o $@ |
|
| 152 |
.mm.o: |
|
| 153 |
$(OBJCXX) $(ALL_CPPFLAGS) $(ALL_OBJCXXFLAGS) -c $< -o $@ |
|
| 154 |
.M.o: |
|
| 155 |
$(OBJCXX) $(ALL_CPPFLAGS) $(ALL_OBJCXXFLAGS) -c $< -o $@ |
|
| 156 |
.f.o: |
|
| 157 |
$(F77) $(ALL_FFLAGS) -c $< -o $@ |
|
| 158 |
.f95.o: |
|
| 159 |
$(FC) $(PKG_FCFLAGS) $(FCPICFLAGS) $(FCFLAGS) -c $< -o $@ |
|
| 160 |
.f90.o: |
|
| 161 |
$(FC) $(PKG_FCFLAGS) $(FCPICFLAGS) $(FCFLAGS) -c $< -o $@ |
|
| 0 | 162 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/etc/Renviron.site (revision 2479) | ||
|---|---|---|
| 1 |
## Emacs please make this -*- R -*- |
|
| 2 |
## empty Renviron.site for R on Debian |
|
| 3 |
## |
|
| 4 |
## Copyright (C) 2008 Dirk Eddelbuettel and GPL'ed |
|
| 5 |
## |
|
| 6 |
## see help(Startup) for documentation on ~/.Renviron and Renviron.site |
|
| 7 |
|
|
| 8 |
# ## Example ~/.Renviron on Unix |
|
| 9 |
# R_LIBS=~/R/library |
|
| 10 |
# PAGER=/usr/local/bin/less |
|
| 11 |
|
|
| 12 |
# ## Example .Renviron on Windows |
|
| 13 |
# R_LIBS=C:/R/library |
|
| 14 |
# MY_TCLTK="c:/Program Files/Tcl/bin" |
|
| 15 |
|
|
| 16 |
# ## Example of setting R_DEFAULT_PACKAGES (from R CMD check) |
|
| 17 |
# R_DEFAULT_PACKAGES='utils,grDevices,graphics,stats' |
|
| 18 |
# # this loads the packages in the order given, so they appear on |
|
| 19 |
# # the search path in reverse order. |
|
| 0 | 20 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/etc/Rprofile.site (revision 2479) | ||
|---|---|---|
| 1 |
## Emacs please make this -*- R -*- |
|
| 2 |
## empty Rprofile.site for R on Debian |
|
| 3 |
## |
|
| 4 |
## Copyright (C) 2008 Dirk Eddelbuettel and GPL'ed |
|
| 5 |
## |
|
| 6 |
## see help(Startup) for documentation on ~/.Rprofile and Rprofile.site |
|
| 7 |
|
|
| 8 |
# ## Example of .Rprofile |
|
| 9 |
# options(width=65, digits=5) |
|
| 10 |
# options(show.signif.stars=FALSE) |
|
| 11 |
# setHook(packageEvent("grDevices", "onLoad"),
|
|
| 12 |
# function(...) grDevices::ps.options(horizontal=FALSE)) |
|
| 13 |
# set.seed(1234) |
|
| 14 |
# .First <- function() cat("\n Welcome to R!\n\n")
|
|
| 15 |
# .Last <- function() cat("\n Goodbye!\n\n")
|
|
| 16 |
|
|
| 17 |
# ## Example of Rprofile.site |
|
| 18 |
# local({
|
|
| 19 |
# # add MASS to the default packages, set a CRAN mirror |
|
| 20 |
# old <- getOption("defaultPackages"); r <- getOption("repos")
|
|
| 21 |
# r["CRAN"] <- "http://my.local.cran" |
|
| 22 |
# options(defaultPackages = c(old, "MASS"), repos = r) |
|
| 23 |
#}) |
|
| 0 | 24 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/etc/repositories (revision 2479) | ||
|---|---|---|
| 1 |
## The fields here are tab-delimited: there is a row name |
|
| 2 |
## menu_name is the name to be used in setRepositories() |
|
| 3 |
## URL is the base URL (see R-admin.texi) |
|
| 4 |
## default is whether this should be a default choice |
|
| 5 |
## source, win.binary, mac.binary indicate if the corresponding type is present |
|
| 6 |
## |
|
| 7 |
## BioC entries are version-specific, with %v getting expanded to the |
|
| 8 |
## BioC version associated with the current R version. |
|
| 9 |
## Also, %bm is substituted from the setting of getOption("BioC_mirror")
|
|
| 10 |
## |
|
| 11 |
menu_name URL default source win.binary mac.binary |
|
| 12 |
CRAN CRAN @CRAN@ TRUE TRUE TRUE TRUE |
|
| 13 |
BioCsoft "BioC software" %bm/packages/%v/bioc FALSE TRUE TRUE TRUE |
|
| 14 |
BioCann "BioC annotation" %bm/packages/%v/data/annotation FALSE TRUE TRUE TRUE |
|
| 15 |
BioCexp "BioC experiment" %bm/packages/%v/data/experiment FALSE TRUE TRUE TRUE |
|
| 16 |
BioCextra "BioC extra" %bm/packages/%v/extra FALSE TRUE TRUE TRUE |
|
| 17 |
CRANextra CRAN (extras) http://www.stats.ox.ac.uk/pub/RWin FALSE TRUE TRUE TRUE |
|
| 18 |
Omegahat Omegahat http://www.omegahat.org/R FALSE TRUE FALSE FALSE |
|
| 19 |
R-Forge R-Forge http://R-Forge.R-project.org FALSE TRUE TRUE TRUE |
|
| 20 |
rforge.net rforge.net http://www.rforge.net FALSE TRUE TRUE TRUE |
|
| 21 |
CRANextra[https] "CRAN (extras, https)" "https://www.stats.ox.ac.uk/pub/RWin" FALSE TRUE TRUE TRUE |
|
| 22 |
R-Forge[https] "R-Forge [https]" https://R-Forge.R-project.org FALSE TRUE TRUE TRUE |
|
| 23 |
rforge.net[https] "rforge.net [https]" https://www.rforge.net FALSE TRUE TRUE TRUE |
|
| 0 | 24 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/etc/ldpaths (revision 2479) | ||
|---|---|---|
| 1 |
: ${JAVA_HOME=/usr/lib/jvm/default-java}
|
|
| 2 |
: ${R_JAVA_LD_LIBRARY_PATH=${JAVA_HOME}/jre/lib/amd64/server}
|
|
| 3 |
if test -n "/usr/lib/x86_64-linux-gnu"; then |
|
| 4 |
: ${R_LD_LIBRARY_PATH=${R_HOME}/lib:/usr/lib/x86_64-linux-gnu}
|
|
| 5 |
else |
|
| 6 |
: ${R_LD_LIBRARY_PATH=${R_HOME}/lib}
|
|
| 7 |
fi |
|
| 8 |
if test -n "${R_JAVA_LD_LIBRARY_PATH}"; then
|
|
| 9 |
R_LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}:${R_JAVA_LD_LIBRARY_PATH}"
|
|
| 10 |
fi |
|
| 11 |
## This is DYLD_FALLBACK_LIBRARY_PATH on Darwin (OS X) and LD_LIBRARY_PATH elsewhere |
|
| 12 |
if test -z "${LD_LIBRARY_PATH}"; then
|
|
| 13 |
LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}"
|
|
| 14 |
else |
|
| 15 |
LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}"
|
|
| 16 |
fi |
|
| 17 |
export LD_LIBRARY_PATH |
|
| 0 | 18 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/etc/Renviron (revision 2479) | ||
|---|---|---|
| 1 |
### etc/Renviron. Generated from Renviron.in by configure. |
|
| 2 |
### |
|
| 3 |
### ${R_HOME}/etc/Renviron
|
|
| 4 |
### |
|
| 5 |
### Record R system environment variables. |
|
| 6 |
|
|
| 7 |
R_PLATFORM=${R_PLATFORM-'x86_64-pc-linux-gnu'}
|
|
| 8 |
## Default printer paper size: first record if user set R_PAPERSIZE |
|
| 9 |
R_PAPERSIZE_USER=${R_PAPERSIZE-'a4'}
|
|
| 10 |
R_PAPERSIZE=${R_PAPERSIZE-'letter'}
|
|
| 11 |
## Default print command |
|
| 12 |
R_PRINTCMD=${R_PRINTCMD-'/usr/bin/lpr'}
|
|
| 13 |
# for Rd2pdf, reference manual |
|
| 14 |
R_RD4PDF=${R_RD4PDF-'times,inconsolata,hyper'}
|
|
| 15 |
## used for options("texi2dvi")
|
|
| 16 |
R_TEXI2DVICMD=${R_TEXI2DVICMD-${TEXI2DVI-'/usr/bin/texi2dvi'}}
|
|
| 17 |
## used by INSTALL, untar() and installing grDevices |
|
| 18 |
R_GZIPCMD=${R_GZIPCMD-'/bin/gzip -n'}
|
|
| 19 |
## Default zip/unzip commands |
|
| 20 |
R_UNZIPCMD=${R_UNZIPCMD-'/usr/bin/unzip'}
|
|
| 21 |
R_ZIPCMD=${R_ZIPCMD-'/usr/bin/zip'}
|
|
| 22 |
R_BZIPCMD=${R_BZIPCMD-'/bin/bzip2'}
|
|
| 23 |
## Default browser |
|
| 24 |
R_BROWSER=${R_BROWSER-'xdg-open'}
|
|
| 25 |
## Default editor |
|
| 26 |
EDITOR=${EDITOR-${VISUAL-vi}}
|
|
| 27 |
## Default pager |
|
| 28 |
PAGER=${PAGER-'/usr/bin/pager'}
|
|
| 29 |
## Default PDF viewer |
|
| 30 |
R_PDFVIEWER=${R_PDFVIEWER-'/usr/bin/xdg-open'}
|
|
| 31 |
## Used by libtool |
|
| 32 |
LN_S='ln -s' |
|
| 33 |
MAKE=${MAKE-'make'}
|
|
| 34 |
## Prefer a POSIX-compliant sed on e.g. Solaris |
|
| 35 |
SED=${SED-'/bin/sed'}
|
|
| 36 |
## Prefer a tar that can automagically read compressed archives |
|
| 37 |
## Used in R CMD INSTALL for binary packages |
|
| 38 |
TAR=${TAR-'/bin/tar'}
|
|
| 39 |
|
|
| 40 |
## System and compiler types. |
|
| 41 |
R_SYSTEM_ABI='linux,gcc,gxx,gfortran,?' |
|
| 42 |
|
|
| 43 |
#R_LIBS_USER=${R_LIBS_USER-'~/R/x86_64-pc-linux-gnu-library/3.2'}
|
|
| 44 |
#R_LIBS_USER=${R_LIBS_USER-'~/Library/R/3.2/library'}
|
|
| 45 |
|
|
| 46 |
# edd Apr 2003 Allow local install in /usr/local, also add a directory for |
|
| 47 |
# Debian packaged CRAN packages, and finally the default dir |
|
| 48 |
# edd Jul 2007 Now use R_LIBS_SITE, not R_LIBS |
|
| 49 |
#R_LIBS_SITE=${R_LIBS_SITE-'/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library'}
|
|
| 50 |
|
|
| 51 |
### Local Variables: *** |
|
| 52 |
### mode: sh *** |
|
| 53 |
### sh-indentation: 2 *** |
|
| 54 |
### End: *** |
|
| 0 | 55 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/SVN-REVISION (revision 2479) | ||
|---|---|---|
| 1 |
Revision: 69752 |
|
| 2 |
Last Changed Date: 2015-12-10 |
|
| 0 | 3 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/debian/r-cran.mk (revision 2479) | ||
|---|---|---|
| 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 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/R/REMOVE.R (revision 2479) | ||
|---|---|---|
| 1 |
# File share/R/REMOVE.R |
|
| 2 |
# Part of the R package, http://www.R-project.org |
|
| 3 |
# |
|
| 4 |
# Copyright (C) 1995-2012 The R Core Team |
|
| 5 |
# |
|
| 6 |
# This program is free software; you can redistribute it and/or modify |
|
| 7 |
# it under the terms of the GNU General Public License as published by |
|
| 8 |
# the Free Software Foundation; either version 2 of the License, or |
|
| 9 |
# (at your option) any later version. |
|
| 10 |
# |
|
| 11 |
# This program is distributed in the hope that it will be useful, |
|
| 12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 14 |
# GNU General Public License for more details. |
|
| 15 |
# |
|
| 16 |
# A copy of the GNU General Public License is available at |
|
| 17 |
# http://www.r-project.org/Licenses/ |
|
| 18 |
|
|
| 19 |
Usage <- function() {
|
|
| 20 |
cat("Usage: R CMD REMOVE [options] pkgs",
|
|
| 21 |
"", |
|
| 22 |
"Remove the add-on packages specified by pkgs. The library tree to", |
|
| 23 |
"remove from can be specified via '--library'. By default, packages are", |
|
| 24 |
"removed from the library tree rooted at the first directory in", |
|
| 25 |
".libPaths() for an R session run in the current environment.", |
|
| 26 |
"", |
|
| 27 |
"Options:", |
|
| 28 |
" -h, --help print short help message and exit", |
|
| 29 |
" -v, --version print REMOVE version info and exit", |
|
| 30 |
" -l, --library=LIB remove packages from library tree LIB", |
|
| 31 |
"", |
|
| 32 |
"Report bugs at bugs.r-project.org .", sep="\n") |
|
| 33 |
} |
|
| 34 |
|
|
| 35 |
options(showErrorCalls=FALSE) |
|
| 36 |
pkgs <- character(0) |
|
| 37 |
lib <- "" |
|
| 38 |
args <- commandArgs(TRUE) |
|
| 39 |
while(length(args)) {
|
|
| 40 |
a <- args[1] |
|
| 41 |
if(a %in% c("-h", "--help")) {
|
|
| 42 |
Usage() |
|
| 43 |
q("no")
|
|
| 44 |
} |
|
| 45 |
else if(a %in% c("-v", "--version")) {
|
|
| 46 |
cat("R add-on package remover: ",
|
|
| 47 |
R.version[["major"]], ".", R.version[["minor"]], |
|
| 48 |
" (r", R.version[["svn rev"]], ")\n", sep = "") |
|
| 49 |
cat("",
|
|
| 50 |
"Copyright (C) 2000-2009 The R Core Team.", |
|
| 51 |
"This is free software; see the GNU General Public License version 2", |
|
| 52 |
"or later for copying conditions. There is NO warranty.", |
|
| 53 |
sep="\n") |
|
| 54 |
q("no")
|
|
| 55 |
} |
|
| 56 |
else if(a == "-l") {
|
|
| 57 |
if(length(args) >= 2) {lib <- args[2]; args <- args[-1]}
|
|
| 58 |
else stop("-l option without value", call. = FALSE)
|
|
| 59 |
} else if(substr(a, 1, 10) == "--library=") |
|
| 60 |
lib <- substr(a, 11, 1000) |
|
| 61 |
else pkgs <- c(pkgs, a) |
|
| 62 |
args <- args[-1] |
|
| 63 |
} |
|
| 64 |
if(!length(pkgs)) |
|
| 65 |
stop("ERROR: no packages specified", call.=FALSE)
|
|
| 66 |
if(!nzchar(lib)) {
|
|
| 67 |
lib <- .libPaths()[1] |
|
| 68 |
message("Removing from library ", sQuote(lib))
|
|
| 69 |
} else {
|
|
| 70 |
## lib is allowed to be a relative path. |
|
| 71 |
## should be OK below, but be sure. |
|
| 72 |
cwd <- try(setwd(path.expand(lib)), silent = TRUE) |
|
| 73 |
if(inherits(cwd, "try-error")) |
|
| 74 |
stop("ERROR: cannot cd to directory ", sQuote(lib), call. = FALSE)
|
|
| 75 |
lib <- getwd() |
|
| 76 |
setwd(cwd) |
|
| 77 |
} |
|
| 78 |
if(!utils::file_test("-d", lib) || file.access(lib, 2L))
|
|
| 79 |
stop("ERROR: no permission to remove from directory ", sQuote(lib),
|
|
| 80 |
call. = FALSE) |
|
| 81 |
utils::remove.packages(pkgs, lib) |
|
| 82 |
q("no")
|
|
| 0 | 83 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/R/tests-startup.R (revision 2479) | ||
|---|---|---|
| 1 |
## A custom startup file for tests |
|
| 2 |
## Run as if a system Rprofile, so no packages, no assignments |
|
| 3 |
options(useFancyQuotes = FALSE) |
|
| 4 |
|
|
| 0 | 5 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/R/examples-header.R (revision 2479) | ||
|---|---|---|
| 1 |
### * <HEADER> |
|
| 2 |
### |
|
| 3 |
attach(NULL, name = "CheckExEnv") |
|
| 4 |
assign("nameEx",
|
|
| 5 |
local({
|
|
| 6 |
s <- "__{must remake R-ex/*.R}__"
|
|
| 7 |
function(new) {
|
|
| 8 |
if(!missing(new)) s <<- new else s |
|
| 9 |
} |
|
| 10 |
}), |
|
| 11 |
pos = "CheckExEnv") |
|
| 12 |
## Add some hooks to label plot pages for base and grid graphics |
|
| 13 |
assign("base_plot_hook",
|
|
| 14 |
function() {
|
|
| 15 |
pp <- graphics::par(c("mfg","mfcol","oma","mar"))
|
|
| 16 |
if(all(pp$mfg[1:2] == c(1, pp$mfcol[2]))) {
|
|
| 17 |
outer <- (oma4 <- pp$oma[4]) > 0; mar4 <- pp$mar[4] |
|
| 18 |
graphics::mtext(sprintf("help(\"%s\")", nameEx()), side = 4,
|
|
| 19 |
line = if(outer)max(1, oma4 - 1) else min(1, mar4 - 1), |
|
| 20 |
outer = outer, adj = 1, cex = 0.8, col = "orchid", las = 3) |
|
| 21 |
} |
|
| 22 |
}, |
|
| 23 |
pos = "CheckExEnv") |
|
| 24 |
assign("grid_plot_hook",
|
|
| 25 |
function() {
|
|
| 26 |
grid::pushViewport(grid::viewport(width=grid::unit(1, "npc") - |
|
| 27 |
grid::unit(1, "lines"), x=0, just="left")) |
|
| 28 |
grid::grid.text(sprintf("help(\"%s\")", nameEx()),
|
|
| 29 |
x=grid::unit(1, "npc") + grid::unit(0.5, "lines"), |
|
| 30 |
y=grid::unit(0.8, "npc"), rot=90, |
|
| 31 |
gp=grid::gpar(col="orchid")) |
|
| 32 |
}, |
|
| 33 |
pos = "CheckExEnv") |
|
| 34 |
setHook("plot.new", get("base_plot_hook", pos = "CheckExEnv"))
|
|
| 35 |
setHook("persp", get("base_plot_hook", pos = "CheckExEnv"))
|
|
| 36 |
setHook("grid.newpage", get("grid_plot_hook", pos = "CheckExEnv"))
|
|
| 37 |
assign("cleanEx",
|
|
| 38 |
function(env = .GlobalEnv) {
|
|
| 39 |
rm(list = ls(envir = env, all.names = TRUE), envir = env) |
|
| 40 |
RNGkind("default", "default")
|
|
| 41 |
set.seed(1) |
|
| 42 |
options(warn = 1) |
|
| 43 |
.CheckExEnv <- as.environment("CheckExEnv")
|
|
| 44 |
delayedAssign("T", stop("T used instead of TRUE", domain = NA),
|
|
| 45 |
assign.env = .CheckExEnv) |
|
| 46 |
delayedAssign("F", stop("F used instead of FALSE", domain = NA),
|
|
| 47 |
assign.env = .CheckExEnv) |
|
| 48 |
sch <- search() |
|
| 49 |
newitems <- sch[! sch %in% .oldSearch] |
|
| 50 |
if(length(newitems)) tools:::detachPackages(newitems) |
|
| 51 |
missitems <- .oldSearch[! .oldSearch %in% sch] |
|
| 52 |
if(length(missitems)) |
|
| 53 |
warning("items ", paste(missitems, collapse=", "),
|
|
| 54 |
" have been removed from the search path", domain = NA) |
|
| 55 |
}, |
|
| 56 |
pos = "CheckExEnv") |
|
| 57 |
assign("ptime", proc.time(), pos = "CheckExEnv")
|
|
| 58 |
## Do this before loading the package, |
|
| 59 |
## since packages have been known to change settings. |
|
| 60 |
## Force a size that is close to on-screen devices, fix paper. |
|
| 61 |
## don't rename par.postscript for back-compatibility of reference output. |
|
| 62 |
grDevices::pdf.options(width = 7, height = 7, paper = "special", reset = TRUE) |
|
| 63 |
grDevices::pdf(paste(pkgname, "-Ex.pdf", sep=""), encoding = "ISOLatin1") |
|
| 64 |
|
|
| 65 |
assign("par.postscript", graphics::par(no.readonly = TRUE), pos = "CheckExEnv")
|
|
| 66 |
options(contrasts = c(unordered = "contr.treatment", ordered = "contr.poly")) |
|
| 0 | 67 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/R/nspackloader.R (revision 2479) | ||
|---|---|---|
| 1 |
# File share/R/nspackloader.R |
|
| 2 |
# Part of the R package, http://www.R-project.org |
|
| 3 |
# |
|
| 4 |
# Copyright (C) 1995-2012 The R Core Team |
|
| 5 |
# |
|
| 6 |
# This program is free software; you can redistribute it and/or modify |
|
| 7 |
# it under the terms of the GNU General Public License as published by |
|
| 8 |
# the Free Software Foundation; either version 2 of the License, or |
|
| 9 |
# (at your option) any later version. |
|
| 10 |
# |
|
| 11 |
# This program is distributed in the hope that it will be useful, |
|
| 12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 14 |
# GNU General Public License for more details. |
|
| 15 |
# |
|
| 16 |
# A copy of the GNU General Public License is available at |
|
| 17 |
# http://www.r-project.org/Licenses/ |
|
| 18 |
|
|
| 19 |
local({
|
|
| 20 |
info <- loadingNamespaceInfo() |
|
| 21 |
pkg <- info$pkgname |
|
| 22 |
ns <- .getNamespace(as.name(pkg)) |
|
| 23 |
if (is.null(ns)) |
|
| 24 |
stop("cannot find namespace environment for ", pkg, domain = NA);
|
|
| 25 |
dbbase <- file.path(info$libname, pkg, "R", pkg) |
|
| 26 |
lazyLoad(dbbase, ns, filter = function(n) n != ".__NAMESPACE__.") |
|
| 27 |
}) |
|
| 0 | 28 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/R/examples-footer.R (revision 2479) | ||
|---|---|---|
| 1 |
### * <FOOTER> |
|
| 2 |
### |
|
| 3 |
options(digits = 7L) |
|
| 4 |
base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
|
|
| 5 |
grDevices::dev.off() |
|
| 6 |
### |
|
| 7 |
### Local variables: *** |
|
| 8 |
### mode: outline-minor *** |
|
| 9 |
### outline-regexp: "\\(> \\)?### [*]+" *** |
|
| 10 |
### End: *** |
|
| 11 |
quit('no')
|
|
| 0 | 12 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/java/README (revision 2479) | ||
|---|---|---|
| 1 |
getsp.class has source tools/getsp.java. |
|
| 2 |
|
|
| 3 |
It is installed for use by R CMD javareconf. |
|
| 0 | 4 | |
| tmp/org.txm.statsengine.r.core.linux/res/linux64/share/texmf/bibtex/bst/jss.bst (revision 2479) | ||
|---|---|---|
| 1 |
%% |
|
| 2 |
%% This is file `jss.bst', |
|
| 3 |
%% generated with the docstrip utility. |
|
| 4 |
%% |
|
| 5 |
%% The original source files were: |
|
| 6 |
%% |
|
| 7 |
%% merlin.mbs (with options: `ay,nat,nm-rvx,keyxyr,dt-beg,yr-par,note-yr,tit-qq,atit-u,trnum-it,vol-bf,volp-com,num-xser,pre-edn,isbn,issn,edpar,pp,ed,xedn,xand,etal-it,revdata,eprint,url,url-blk,doi,nfss') |
|
| 8 |
%% |
|
| 9 |
%% ** BibTeX style file for JSS publications (http://www.jstatsoft.org/) |
|
| 10 |
%% |
|
| 11 |
%% Copyright 1994-2007 Patrick W Daly |
|
| 12 |
%% License: GPL-2 | GPL-3 |
|
| 13 |
% =============================================================== |
|
| 14 |
% IMPORTANT NOTICE: |
|
| 15 |
% This bibliographic style (bst) file has been generated from one or |
|
| 16 |
% more master bibliographic style (mbs) files, listed above, provided |
|
| 17 |
% with kind permission of Patrick W Daly. |
|
| 18 |
% |
|
| 19 |
% This generated file can be redistributed and/or modified under the terms |
|
| 20 |
% of the General Public License (Version 2 or 3). |
|
| 21 |
% =============================================================== |
|
| 22 |
% Name and version information of the main mbs file: |
|
| 23 |
% \ProvidesFile{merlin.mbs}[2007/04/24 4.20 (PWD, AO, DPC)]
|
|
| 24 |
% For use with BibTeX version 0.99a or later |
|
| 25 |
%------------------------------------------------------------------- |
|
| 26 |
% This bibliography style file is intended for texts in ENGLISH |
|
| 27 |
% This is an author-year citation style bibliography. As such, it is |
|
| 28 |
% non-standard LaTeX, and requires a special package file to function properly. |
|
| 29 |
% Such a package is natbib.sty by Patrick W. Daly |
|
| 30 |
% The form of the \bibitem entries is |
|
| 31 |
% \bibitem[Jones et al.(1990)]{key}...
|
|
| 32 |
% \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
|
|
| 33 |
% The essential feature is that the label (the part in brackets) consists |
|
| 34 |
% of the author names, as they should appear in the citation, with the year |
|
| 35 |
% in parentheses following. There must be no space before the opening |
|
| 36 |
% parenthesis! |
|
| 37 |
% With natbib v5.3, a full list of authors may also follow the year. |
|
| 38 |
% In natbib.sty, it is possible to define the type of enclosures that is |
|
| 39 |
% really wanted (brackets or parentheses), but in either case, there must |
|
| 40 |
% be parentheses in the label. |
|
| 41 |
% The \cite command functions as follows: |
|
| 42 |
% \citet{key} ==>> Jones et al. (1990)
|
|
| 43 |
% \citet*{key} ==>> Jones, Baker, and Smith (1990)
|
|
| 44 |
% \citep{key} ==>> (Jones et al., 1990)
|
|
| 45 |
% \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
|
|
| 46 |
% \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
|
|
| 47 |
% \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
|
|
| 48 |
% \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
|
|
| 49 |
% \citeauthor{key} ==>> Jones et al.
|
|
| 50 |
% \citeauthor*{key} ==>> Jones, Baker, and Smith
|
|
| 51 |
% \citeyear{key} ==>> 1990
|
|
| 52 |
%--------------------------------------------------------------------- |
|
| 53 |
|
|
| 54 |
ENTRY |
|
| 55 |
{ address
|
|
| 56 |
archive |
|
| 57 |
author |
|
| 58 |
booktitle |
|
| 59 |
chapter |
|
| 60 |
collaboration |
|
| 61 |
doi |
|
| 62 |
edition |
|
| 63 |
editor |
|
| 64 |
eid |
|
| 65 |
eprint |
|
| 66 |
howpublished |
|
| 67 |
institution |
|
| 68 |
isbn |
|
| 69 |
issn |
|
| 70 |
journal |
|
| 71 |
key |
|
| 72 |
month |
|
| 73 |
note |
|
| 74 |
number |
|
| 75 |
numpages |
|
| 76 |
organization |
|
| 77 |
pages |
|
| 78 |
publisher |
|
| 79 |
school |
|
| 80 |
series |
|
| 81 |
title |
|
| 82 |
type |
|
| 83 |
url |
|
| 84 |
volume |
|
| 85 |
year |
|
| 86 |
} |
|
| 87 |
{}
|
|
| 88 |
{ label extra.label sort.label short.list }
|
|
| 89 |
INTEGERS { output.state before.all mid.sentence after.sentence after.block }
|
|
| 90 |
FUNCTION {init.state.consts}
|
|
| 91 |
{ #0 'before.all :=
|
|
| 92 |
#1 'mid.sentence := |
|
| 93 |
#2 'after.sentence := |
|
| 94 |
#3 'after.block := |
|
| 95 |
} |
|
| 96 |
STRINGS { s t}
|
|
| 97 |
FUNCTION {output.nonnull}
|
|
| 98 |
{ 's :=
|
|
| 99 |
output.state mid.sentence = |
|
| 100 |
{ ", " * write$ }
|
|
| 101 |
{ output.state after.block =
|
|
| 102 |
{ add.period$ write$
|
|
| 103 |
newline$ |
|
| 104 |
"\newblock " write$ |
|
| 105 |
} |
|
| 106 |
{ output.state before.all =
|
|
| 107 |
'write$ |
|
| 108 |
{ add.period$ " " * write$ }
|
|
| 109 |
if$ |
|
| 110 |
} |
|
| 111 |
if$ |
|
| 112 |
mid.sentence 'output.state := |
|
| 113 |
} |
|
| 114 |
if$ |
|
| 115 |
s |
|
| 116 |
} |
|
| 117 |
FUNCTION {output}
|
|
| 118 |
{ duplicate$ empty$
|
|
| 119 |
'pop$ |
|
| 120 |
'output.nonnull |
|
| 121 |
if$ |
|
| 122 |
} |
|
| 123 |
FUNCTION {output.check}
|
|
| 124 |
{ 't :=
|
|
| 125 |
duplicate$ empty$ |
|
| 126 |
{ pop$ "empty " t * " in " * cite$ * warning$ }
|
|
| 127 |
'output.nonnull |
|
| 128 |
if$ |
|
| 129 |
} |
|
| 130 |
FUNCTION {fin.entry}
|
|
| 131 |
{ add.period$
|
|
| 132 |
write$ |
|
| 133 |
newline$ |
|
| 134 |
} |
|
| 135 |
|
|
| 136 |
FUNCTION {new.block}
|
|
| 137 |
{ output.state before.all =
|
|
| 138 |
'skip$ |
|
| 139 |
{ after.block 'output.state := }
|
|
| 140 |
if$ |
|
| 141 |
} |
|
| 142 |
FUNCTION {new.sentence}
|
|
| 143 |
{ output.state after.block =
|
|
| 144 |
'skip$ |
|
| 145 |
{ output.state before.all =
|
|
| 146 |
'skip$ |
|
| 147 |
{ after.sentence 'output.state := }
|
|
| 148 |
if$ |
|
| 149 |
} |
|
| 150 |
if$ |
|
| 151 |
} |
|
| 152 |
FUNCTION {add.blank}
|
|
| 153 |
{ " " * before.all 'output.state :=
|
|
| 154 |
} |
|
| 155 |
|
|
| 156 |
FUNCTION {date.block}
|
|
| 157 |
{
|
|
| 158 |
new.block |
|
| 159 |
} |
|
| 160 |
|
|
| 161 |
FUNCTION {not}
|
|
| 162 |
{ { #0 }
|
|
| 163 |
{ #1 }
|
|
| 164 |
if$ |
|
| 165 |
} |
|
| 166 |
FUNCTION {and}
|
|
| 167 |
{ 'skip$
|
|
| 168 |
{ pop$ #0 }
|
|
| 169 |
if$ |
|
| 170 |
} |
|
| 171 |
FUNCTION {or}
|
|
| 172 |
{ { pop$ #1 }
|
|
| 173 |
'skip$ |
|
| 174 |
if$ |
|
| 175 |
} |
|
| 176 |
FUNCTION {non.stop}
|
|
| 177 |
{ duplicate$
|
|
| 178 |
"}" * add.period$ |
|
| 179 |
#-1 #1 substring$ "." = |
|
| 180 |
} |
|
| 181 |
|
|
| 182 |
STRINGS {z}
|
|
| 183 |
FUNCTION {remove.dots}
|
|
| 184 |
{ 'z :=
|
|
| 185 |
"" |
|
| 186 |
{ z empty$ not }
|
|
| 187 |
{ z #1 #1 substring$
|
|
| 188 |
z #2 global.max$ substring$ 'z := |
|
| 189 |
duplicate$ "." = 'pop$ |
|
| 190 |
{ * }
|
|
| 191 |
if$ |
|
| 192 |
} |
|
| 193 |
while$ |
|
| 194 |
} |
|
| 195 |
FUNCTION {new.block.checkb}
|
|
| 196 |
{ empty$
|
|
| 197 |
swap$ empty$ |
|
| 198 |
and |
|
| 199 |
'skip$ |
|
| 200 |
'new.block |
|
| 201 |
if$ |
|
| 202 |
} |
|
| 203 |
FUNCTION {field.or.null}
|
|
| 204 |
{ duplicate$ empty$
|
|
| 205 |
{ pop$ "" }
|
|
| 206 |
'skip$ |
|
| 207 |
if$ |
|
| 208 |
} |
|
| 209 |
FUNCTION {emphasize}
|
|
| 210 |
{ duplicate$ empty$
|
|
| 211 |
{ pop$ "" }
|
|
| 212 |
{ "\emph{" swap$ * "}" * }
|
|
| 213 |
if$ |
|
| 214 |
} |
|
| 215 |
FUNCTION {bolden}
|
|
| 216 |
{ duplicate$ empty$
|
|
| 217 |
{ pop$ "" }
|
|
| 218 |
{ "\textbf{" swap$ * "}" * }
|
|
| 219 |
if$ |
|
| 220 |
} |
|
| 221 |
FUNCTION {tie.or.space.prefix}
|
|
| 222 |
{ duplicate$ text.length$ #3 <
|
|
| 223 |
{ "~" }
|
|
| 224 |
{ " " }
|
|
| 225 |
if$ |
|
| 226 |
swap$ |
|
| 227 |
} |
|
| 228 |
|
|
| 229 |
FUNCTION {capitalize}
|
|
| 230 |
{ "u" change.case$ "t" change.case$ }
|
|
| 231 |
|
|
| 232 |
FUNCTION {space.word}
|
|
| 233 |
{ " " swap$ * " " * }
|
|
| 234 |
% Here are the language-specific definitions for explicit words. |
|
| 235 |
% Each function has a name bbl.xxx where xxx is the English word. |
|
| 236 |
% The language selected here is ENGLISH |
|
| 237 |
FUNCTION {bbl.and}
|
|
| 238 |
{ "and"}
|
|
| 239 |
|
|
| 240 |
FUNCTION {bbl.etal}
|
|
| 241 |
{ "et~al." }
|
|
| 242 |
|
|
| 243 |
FUNCTION {bbl.editors}
|
|
| 244 |
{ "eds." }
|
|
| 245 |
|
|
| 246 |
FUNCTION {bbl.editor}
|
|
| 247 |
{ "ed." }
|
|
| 248 |
|
|
| 249 |
FUNCTION {bbl.edby}
|
|
| 250 |
{ "edited by" }
|
|
| 251 |
|
|
| 252 |
FUNCTION {bbl.edition}
|
|
| 253 |
{ "edition" }
|
|
| 254 |
|
|
| 255 |
FUNCTION {bbl.volume}
|
|
| 256 |
{ "volume" }
|
|
| 257 |
|
|
| 258 |
FUNCTION {bbl.of}
|
|
| 259 |
{ "of" }
|
|
| 260 |
|
|
| 261 |
FUNCTION {bbl.number}
|
|
| 262 |
{ "number" }
|
|
| 263 |
|
|
| 264 |
FUNCTION {bbl.nr}
|
|
| 265 |
{ "no." }
|
|
| 266 |
|
|
| 267 |
FUNCTION {bbl.in}
|
|
| 268 |
{ "in" }
|
|
| 269 |
|
|
| 270 |
FUNCTION {bbl.pages}
|
|
| 271 |
{ "pp." }
|
|
| 272 |
|
|
| 273 |
FUNCTION {bbl.page}
|
|
| 274 |
{ "p." }
|
|
| 275 |
|
|
| 276 |
FUNCTION {bbl.eidpp}
|
|
| 277 |
{ "pages" }
|
|
| 278 |
|
|
| 279 |
FUNCTION {bbl.chapter}
|
|
| 280 |
{ "chapter" }
|
|
| 281 |
|
|
| 282 |
FUNCTION {bbl.techrep}
|
|
| 283 |
{ "Technical Report" }
|
|
| 284 |
|
|
| 285 |
FUNCTION {bbl.mthesis}
|
|
| 286 |
{ "Master's thesis" }
|
|
| 287 |
|
|
| 288 |
FUNCTION {bbl.phdthesis}
|
|
| 289 |
{ "Ph.D. thesis" }
|
|
| 290 |
|
|
| 291 |
MACRO {jan} {"January"}
|
|
| 292 |
|
|
| 293 |
MACRO {feb} {"February"}
|
|
| 294 |
|
|
| 295 |
MACRO {mar} {"March"}
|
|
| 296 |
|
|
| 297 |
MACRO {apr} {"April"}
|
|
| 298 |
|
|
| 299 |
MACRO {may} {"May"}
|
|
| 300 |
|
|
| 301 |
MACRO {jun} {"June"}
|
|
| 302 |
|
|
| 303 |
MACRO {jul} {"July"}
|
|
| 304 |
|
|
| 305 |
MACRO {aug} {"August"}
|
|
| 306 |
|
|
| 307 |
MACRO {sep} {"September"}
|
|
| 308 |
|
|
| 309 |
MACRO {oct} {"October"}
|
|
| 310 |
|
|
| 311 |
MACRO {nov} {"November"}
|
|
| 312 |
|
|
| 313 |
MACRO {dec} {"December"}
|
|
| 314 |
|
|
| 315 |
MACRO {acmcs} {"ACM Computing Surveys"}
|
|
| 316 |
|
|
| 317 |
MACRO {acta} {"Acta Informatica"}
|
|
| 318 |
|
|
| 319 |
MACRO {cacm} {"Communications of the ACM"}
|
|
| 320 |
|
|
| 321 |
MACRO {ibmjrd} {"IBM Journal of Research and Development"}
|
|
| 322 |
|
|
| 323 |
MACRO {ibmsj} {"IBM Systems Journal"}
|
|
| 324 |
|
|
| 325 |
MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
|
|
| 326 |
|
|
| 327 |
MACRO {ieeetc} {"IEEE Transactions on Computers"}
|
|
| 328 |
|
|
| 329 |
MACRO {ieeetcad}
|
|
| 330 |
{"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
|
|
| 331 |
|
|
| 332 |
MACRO {ipl} {"Information Processing Letters"}
|
|
| 333 |
|
|
| 334 |
MACRO {jacm} {"Journal of the ACM"}
|
|
| 335 |
|
|
| 336 |
MACRO {jcss} {"Journal of Computer and System Sciences"}
|
|
| 337 |
|
|
| 338 |
MACRO {scp} {"Science of Computer Programming"}
|
|
| 339 |
|
|
| 340 |
MACRO {sicomp} {"SIAM Journal on Computing"}
|
|
| 341 |
|
|
| 342 |
MACRO {tocs} {"ACM Transactions on Computer Systems"}
|
|
| 343 |
|
|
| 344 |
MACRO {tods} {"ACM Transactions on Database Systems"}
|
|
| 345 |
|
|
| 346 |
MACRO {tog} {"ACM Transactions on Graphics"}
|
|
| 347 |
|
|
| 348 |
MACRO {toms} {"ACM Transactions on Mathematical Software"}
|
|
| 349 |
|
|
| 350 |
MACRO {toois} {"ACM Transactions on Office Information Systems"}
|
|
| 351 |
|
|
| 352 |
MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
|
|
| 353 |
|
|
| 354 |
MACRO {tcs} {"Theoretical Computer Science"}
|
|
| 355 |
FUNCTION {bibinfo.check}
|
|
| 356 |
{ swap$
|
|
| 357 |
duplicate$ missing$ |
|
| 358 |
{
|
|
| 359 |
pop$ pop$ |
|
| 360 |
"" |
|
| 361 |
} |
|
| 362 |
{ duplicate$ empty$
|
|
| 363 |
{
|
|
| 364 |
swap$ pop$ |
|
| 365 |
} |
|
| 366 |
{ swap$
|
|
| 367 |
pop$ |
|
| 368 |
} |
|
| 369 |
if$ |
|
| 370 |
} |
|
| 371 |
if$ |
|
| 372 |
} |
|
| 373 |
FUNCTION {bibinfo.warn}
|
|
| 374 |
{ swap$
|
|
| 375 |
duplicate$ missing$ |
|
| 376 |
{
|
|
| 377 |
swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ |
|
| 378 |
"" |
|
| 379 |
} |
|
| 380 |
{ duplicate$ empty$
|
|
| 381 |
{
|
|
| 382 |
swap$ "empty " swap$ * " in " * cite$ * warning$ |
|
| 383 |
} |
|
| 384 |
{ swap$
|
|
| 385 |
pop$ |
|
| 386 |
} |
|
| 387 |
if$ |
|
| 388 |
} |
|
| 389 |
if$ |
|
| 390 |
} |
|
| 391 |
FUNCTION {format.eprint}
|
|
| 392 |
{ eprint duplicate$ empty$
|
|
| 393 |
'skip$ |
|
| 394 |
{ "\eprint"
|
|
| 395 |
archive empty$ |
|
| 396 |
'skip$ |
|
| 397 |
{ "[" * archive * "]" * }
|
|
| 398 |
if$ |
|
| 399 |
"{" * swap$ * "}" *
|
|
| 400 |
} |
|
| 401 |
if$ |
|
| 402 |
} |
|
| 403 |
FUNCTION {format.url}
|
|
| 404 |
{ url empty$
|
|
| 405 |
{ "" }
|
|
| 406 |
{ "\urlprefix\url{" url * "}" * }
|
|
| 407 |
if$ |
|
| 408 |
} |
|
| 409 |
|
|
| 410 |
INTEGERS { nameptr namesleft numnames }
|
|
| 411 |
|
|
| 412 |
|
|
| 413 |
STRINGS { bibinfo}
|
|
| 414 |
|
|
| 415 |
FUNCTION {format.names}
|
|
| 416 |
{ 'bibinfo :=
|
|
| 417 |
duplicate$ empty$ 'skip$ {
|
|
| 418 |
's := |
|
| 419 |
"" 't := |
|
| 420 |
#1 'nameptr := |
|
| 421 |
s num.names$ 'numnames := |
|
| 422 |
numnames 'namesleft := |
|
| 423 |
{ namesleft #0 > }
|
|
| 424 |
{ s nameptr
|
|
| 425 |
"{vv~}{ll}{ jj}{ f{}}"
|
|
| 426 |
format.name$ |
|
| 427 |
remove.dots |
|
| 428 |
bibinfo bibinfo.check |
|
| 429 |
't := |
|
| 430 |
nameptr #1 > |
|
| 431 |
{
|
|
| 432 |
namesleft #1 > |
|
| 433 |
{ ", " * t * }
|
|
| 434 |
{
|
|
| 435 |
s nameptr "{ll}" format.name$ duplicate$ "others" =
|
|
| 436 |
{ 't := }
|
|
| 437 |
{ pop$ }
|
|
| 438 |
if$ |
|
| 439 |
"," * |
|
| 440 |
t "others" = |
|
| 441 |
{
|
|
| 442 |
" " * bbl.etal emphasize * |
|
| 443 |
} |
|
| 444 |
{ " " * t * }
|
|
| 445 |
if$ |
|
| 446 |
} |
|
| 447 |
if$ |
|
| 448 |
} |
|
| 449 |
't |
|
| 450 |
if$ |
|
| 451 |
nameptr #1 + 'nameptr := |
|
| 452 |
namesleft #1 - 'namesleft := |
|
| 453 |
} |
|
| 454 |
while$ |
|
| 455 |
} if$ |
|
| 456 |
} |
|
| 457 |
FUNCTION {format.names.ed}
|
|
| 458 |
{
|
|
| 459 |
'bibinfo := |
|
| 460 |
duplicate$ empty$ 'skip$ {
|
|
| 461 |
's := |
|
| 462 |
"" 't := |
|
| 463 |
#1 'nameptr := |
|
| 464 |
s num.names$ 'numnames := |
|
| 465 |
numnames 'namesleft := |
|
| 466 |
{ namesleft #0 > }
|
|
| 467 |
{ s nameptr
|
|
| 468 |
"{f{}~}{vv~}{ll}{ jj}"
|
|
| 469 |
format.name$ |
|
| 470 |
remove.dots |
|
| 471 |
bibinfo bibinfo.check |
|
| 472 |
't := |
|
| 473 |
nameptr #1 > |
|
| 474 |
{
|
|
| 475 |
namesleft #1 > |
|
| 476 |
{ ", " * t * }
|
|
| 477 |
{
|
|
| 478 |
s nameptr "{ll}" format.name$ duplicate$ "others" =
|
|
| 479 |
{ 't := }
|
|
| 480 |
{ pop$ }
|
|
| 481 |
if$ |
|
| 482 |
"," * |
|
| 483 |
t "others" = |
|
| 484 |
{
|
|
| 485 |
|
|
| 486 |
" " * bbl.etal emphasize * |
|
| 487 |
} |
|
| 488 |
{ " " * t * }
|
|
| 489 |
if$ |
|
| 490 |
} |
|
| 491 |
if$ |
|
| 492 |
} |
|
| 493 |
't |
|
| 494 |
if$ |
|
| 495 |
nameptr #1 + 'nameptr := |
|
| 496 |
namesleft #1 - 'namesleft := |
|
| 497 |
} |
|
| 498 |
while$ |
|
| 499 |
} if$ |
|
| 500 |
} |
|
| 501 |
FUNCTION {format.key}
|
|
| 502 |
{ empty$
|
|
| 503 |
{ key field.or.null }
|
|
| 504 |
{ "" }
|
|
| 505 |
if$ |
|
| 506 |
} |
|
| 507 |
|
|
| 508 |
FUNCTION {format.authors}
|
|
| 509 |
{ author "author" format.names
|
|
| 510 |
duplicate$ empty$ 'skip$ |
|
| 511 |
{ collaboration "collaboration" bibinfo.check
|
|
| 512 |
duplicate$ empty$ 'skip$ |
|
| 513 |
{ " (" swap$ * ")" * }
|
|
| 514 |
if$ |
|
| 515 |
* |
|
| 516 |
} |
|
| 517 |
if$ |
|
| 518 |
} |
|
| 519 |
FUNCTION {get.bbl.editor}
|
|
| 520 |
{ editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
|
|
| 521 |
|
|
| 522 |
FUNCTION {format.editors}
|
|
| 523 |
{ editor "editor" format.names duplicate$ empty$ 'skip$
|
|
| 524 |
{
|
|
| 525 |
" " * |
|
| 526 |
get.bbl.editor |
|
| 527 |
"(" swap$ * ")" *
|
|
| 528 |
* |
|
| 529 |
} |
|
| 530 |
if$ |
|
| 531 |
} |
|
| 532 |
FUNCTION {format.isbn}
|
|
| 533 |
{ isbn "isbn" bibinfo.check
|
|
| 534 |
duplicate$ empty$ 'skip$ |
|
| 535 |
{
|
|
| 536 |
new.block |
|
| 537 |
"ISBN " swap$ * |
|
| 538 |
} |
|
| 539 |
if$ |
|
| 540 |
} |
|
| 541 |
|
|
| 542 |
FUNCTION {format.issn}
|
|
| 543 |
{ issn "issn" bibinfo.check
|
|
| 544 |
duplicate$ empty$ 'skip$ |
|
| 545 |
{
|
|
| 546 |
new.block |
|
| 547 |
"ISSN " swap$ * |
|
| 548 |
} |
|
| 549 |
if$ |
|
| 550 |
} |
|
| 551 |
|
|
| 552 |
FUNCTION {format.doi}
|
|
| 553 |
{ doi "doi" bibinfo.check
|
|
| 554 |
duplicate$ empty$ 'skip$ |
|
| 555 |
{
|
|
| 556 |
new.block |
|
| 557 |
"\doi{" swap$ * "}" *
|
|
| 558 |
} |
|
| 559 |
if$ |
|
| 560 |
} |
|
| 561 |
FUNCTION {format.note}
|
|
| 562 |
{
|
|
| 563 |
note empty$ |
|
| 564 |
{ "" }
|
|
| 565 |
{ note #1 #1 substring$
|
|
| 566 |
duplicate$ "{" =
|
|
| 567 |
'skip$ |
|
| 568 |
{ output.state mid.sentence =
|
|
| 569 |
{ "l" }
|
|
| 570 |
{ "u" }
|
|
| 571 |
if$ |
|
| 572 |
change.case$ |
|
| 573 |
} |
|
| 574 |
if$ |
|
| 575 |
note #2 global.max$ substring$ * "note" bibinfo.check |
|
| 576 |
} |
|
| 577 |
if$ |
|
| 578 |
} |
|
| 579 |
|
|
| 580 |
FUNCTION {format.title}
|
|
| 581 |
{ title
|
|
| 582 |
"title" bibinfo.check |
|
| 583 |
duplicate$ empty$ 'skip$ |
|
| 584 |
{
|
|
| 585 |
"\enquote{" swap$ *
|
|
| 586 |
add.period$ "}" * |
|
| 587 |
} |
|
| 588 |
if$ |
|
| 589 |
} |
|
| 590 |
FUNCTION {format.full.names}
|
|
| 591 |
{'s :=
|
|
| 592 |
"" 't := |
|
| 593 |
#1 'nameptr := |
|
| 594 |
s num.names$ 'numnames := |
|
| 595 |
numnames 'namesleft := |
|
| 596 |
{ namesleft #0 > }
|
|
| 597 |
{ s nameptr
|
|
| 598 |
"{vv~}{ll}" format.name$
|
|
| 599 |
't := |
|
| 600 |
nameptr #1 > |
|
| 601 |
{
|
|
| 602 |
namesleft #1 > |
|
| 603 |
{ ", " * t * }
|
|
| 604 |
{
|
|
| 605 |
s nameptr "{ll}" format.name$ duplicate$ "others" =
|
|
| 606 |
{ 't := }
|
|
| 607 |
{ pop$ }
|
|
| 608 |
if$ |
|
| 609 |
t "others" = |
|
| 610 |
{
|
|
| 611 |
" " * bbl.etal emphasize * |
|
| 612 |
} |
|
| 613 |
{
|
|
| 614 |
numnames #2 > |
|
| 615 |
{ "," * }
|
|
| 616 |
'skip$ |
|
| 617 |
if$ |
|
| 618 |
bbl.and |
|
| 619 |
space.word * t * |
|
| 620 |
} |
|
| 621 |
if$ |
|
| 622 |
} |
|
| 623 |
if$ |
|
| 624 |
} |
|
| 625 |
't |
|
| 626 |
if$ |
|
| 627 |
nameptr #1 + 'nameptr := |
|
| 628 |
namesleft #1 - 'namesleft := |
|
| 629 |
} |
|
| 630 |
while$ |
|
| 631 |
} |
|
| 632 |
|
|
| 633 |
FUNCTION {author.editor.key.full}
|
|
| 634 |
{ author empty$
|
|
| 635 |
{ editor empty$
|
|
| 636 |
{ key empty$
|
|
| 637 |
{ cite$ #1 #3 substring$ }
|
|
| 638 |
'key |
|
| 639 |
if$ |
|
| 640 |
} |
|
| 641 |
{ editor format.full.names }
|
|
| 642 |
if$ |
|
| 643 |
} |
|
| 644 |
{ author format.full.names }
|
|
| 645 |
if$ |
|
| 646 |
} |
|
| 647 |
|
|
| 648 |
FUNCTION {author.key.full}
|
|
| 649 |
{ author empty$
|
|
| 650 |
{ key empty$
|
|
| 651 |
{ cite$ #1 #3 substring$ }
|
|
| 652 |
'key |
|
| 653 |
if$ |
|
| 654 |
} |
|
| 655 |
{ author format.full.names }
|
|
| 656 |
if$ |
|
| 657 |
} |
|
| 658 |
|
|
| 659 |
FUNCTION {editor.key.full}
|
|
| 660 |
{ editor empty$
|
|
| 661 |
{ key empty$
|
|
| 662 |
{ cite$ #1 #3 substring$ }
|
|
| 663 |
'key |
|
| 664 |
if$ |
|
| 665 |
} |
|
| 666 |
{ editor format.full.names }
|
|
| 667 |
if$ |
|
| 668 |
} |
|
| 669 |
|
|
| 670 |
FUNCTION {make.full.names}
|
|
| 671 |
{ type$ "book" =
|
|
| 672 |
type$ "inbook" = |
|
| 673 |
or |
|
| 674 |
'author.editor.key.full |
|
| 675 |
{ type$ "proceedings" =
|
|
| 676 |
'editor.key.full |
|
| 677 |
'author.key.full |
|
| 678 |
if$ |
|
| 679 |
} |
|
| 680 |
if$ |
|
| 681 |
} |
|
| 682 |
|
|
| 683 |
FUNCTION {output.bibitem}
|
|
| 684 |
{ newline$
|
|
| 685 |
"\bibitem[{" write$
|
|
| 686 |
label write$ |
|
| 687 |
")" make.full.names duplicate$ short.list = |
|
| 688 |
{ pop$ }
|
|
| 689 |
{ * }
|
|
| 690 |
if$ |
|
| 691 |
"}]{" * write$
|
|
| 692 |
cite$ write$ |
|
Formats disponibles : Unified diff