Skip to content

Commit

Permalink
Added paper to repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaffeineViking committed Apr 25, 2019
1 parent 9b4a90e commit b16b4f1
Show file tree
Hide file tree
Showing 46 changed files with 7,080 additions and 198 deletions.
186 changes: 186 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
build

## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2

## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf

## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.brf
*.run.xml

## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync

## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa

# achemso
acs-*.bib

# amsthm
*.thm

# beamer
*.nav
*.snm
*.vrb

# cprotect
*.cpt

# fixme
*.lox

#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R

# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs

# gnuplottex
*-gnuplottex-*

# hyperref
*.brf

# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary

# listings
*.lol

# makeidx
*.idx
*.ilg
*.ind
*.ist

# minitoc
*.maf
*.mlf
*.mlt
*.mtc
*.mtc[0-9]
*.mtc[1-9][0-9]

# minted
_minted*
*.pyg

# morewrites
*.mw

# mylatexformat
*.fmt

# nomencl
*.nlo

# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd

# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/

# pdfcomment
*.upa
*.upb

# pythontex
*.pytxcode
pythontex-files-*/

# thmtools
*.loe

# TikZ & PGF
*.dpth
*.md5
*.auxlock

# todonotes
*.tdo

# easy-todo
*.lod

# xindy
*.xdy

# xypic precompiled matrices
*.xyc

# endfloat
*.ttt
*.fff

# Latexian
TSWLatexianTemp*

## Editors:
# WinEdt
*.bak
*.sav

# Texpad
.texpadtmp

# Kile
*.backup

# KBibTeX
*~[0-9]*
.Rproj.user
96 changes: 96 additions & 0 deletions docs/EG.bbx
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
% 2018-12-14 SB: adapted "alphabetic" style for Eurographics Publications

\ProvidesFile{EG.bbx}
[\abx@bbxid]

\RequireBibliographyStyle{standard}
\ExecuteBibliographyOptions{labelalpha,sorting=anyt,maxnames=4,minnames=3,maxalphanames=4,minalphanames=3,useprefix=true}

\providebool{bbx:subentry}

\DeclareBibliographyOption[boolean]{subentry}[true]{%
\setbool{bbx:subentry}{#1}}

\DeclareNameAlias{author}{default}
\DeclareNameAlias{editor}{default}
\DeclareNameAlias{translator}{default}

\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}}
\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}}
\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}}

% \@ifundefined{bibhang}{%
% \newlength{\bibhang}
% \setlength{\bibhang}{1em}}
% {\setlength{\bibhang}{1em}}
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand*{\mkbibnamegiven}[1]{\textsc{#1}}
\renewcommand*{\labelalphaothers}{*}
\DeclareNameAlias{default}{family-given}
\DefineBibliographyStrings{english}{%
backrefpage = {}, % for single page number
backrefpages = {}, % for multiple page numbers
page = {},
pages = {},
in = {},
inseries = {},
}
\renewbibmacro*{pageref}{%
\iflistundef{pageref}
{}
{{%
\ifnumgreater{\value{pageref}}{1}
{\bibstring{backrefpages}\ppspace}
{\bibstring{backrefpage}\ppspace}%
\printlist[pageref][-\value{listtotal}]{pageref}}}}

\defbibenvironment{bibliography}
{\list
{\printtext[labelalphawidth]{%
\printfield{labelprefix}%
\printfield{labelalpha}%
\printfield{extraalpha}}}
{ \setlength{\itemindent}{0pt}
\setlength{\leftmargin}{\bibhang}
\itemsep 4pt plus 1pt minus 1pt%
\fontsize{8} {9} \selectfont }
% \setlength{\labelwidth}{\labelalphawidth}%
% \setlength{\leftmargin}{\labelwidth}%
% \setlength{\itemindent}{\labelwidth}%
% \setlength{\labelsep}{\biblabelsep}%
% \addtolength{\leftmargin}{\labelsep}%
% \setlength{\itemsep}{\bibitemsep}%
% \setlength{\parsep}{\bibparsep}}%
\renewcommand*{\makelabel}[1]{##1\hss}}
{\endlist}
{\item}

\defbibenvironment{shorthand}
{\list
{\printfield[shorthandwidth]{shorthand}}
{ \setlength{\itemindent}{0pt}
\setlength{\leftmargin}{\bibhang}
\itemsep 4pt plus 1pt minus 1pt%
\fontsize{8} {9} \selectfont
% \setlength{\labelwidth}{\shorthandwidth}%
% \setlength{\leftmargin}{\labelwidth}%
% \setlength{\labelsep}{\biblabelsep}%
% \addtolength{\leftmargin}{\labelsep}%
% \setlength{\itemsep}{\bibitemsep}%
% \setlength{\parsep}{\bibparsep}%
\renewcommand*{\makelabel}[1]{##1\hss}}}
{\endlist}
{\item}

\DeclareBibliographyDriver{set}{%
\entryset
{\ifbool{bbx:subentry}
{\printfield[bibentrysetcount]{entrysetcount}%
\printunit*{\addnbspace}}
{}}
{}%
\newunit\newblock
\usebibmacro{setpageref}%
\finentry}

\endinput
28 changes: 7 additions & 21 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,35 +1,21 @@
name := paper
name := vkhr
viewer := mupdf
attach := attachments

sections := $(wildcard sections/*.tex)

all: $(name).pdf
view: $(name).pdf
$(viewer) $(name).pdf

$(name).pdf: $(name).tex $(sections) $(name).bib
$(name).pdf: $(name).tex $(name).bib
mkdir -p build
pdflatex -output-directory build/ $(name)
bibtex build/$(name)
pdflatex -output-directory build/ $(name)
pdflatex -output-directory build/ $(name)
pdflatex -shell-escape -interaction=nonstopmode -output-directory build/ $(name)
biber build/$(name)
pdflatex -shell-escape -interaction=nonstopmode -output-directory build/ $(name)
pdflatex -shell-escape -interaction=nonstopmode -output-directory build/ $(name)
mv build/$(name).pdf .

polyglot: polyglot/$(name).pdf
polyglot/$(attach).zip: FORCE
mkdir -p polyglot
zip -r polyglot/$(attach).zip $(attach)
polyglot/$(name).pdf: $(name).pdf polyglot/$(attach).zip
cat $(name).pdf polyglot/$(attach).zip > polyglot/$(name).pdf
zip -A polyglot/$(name).pdf
distribute: distclean all polyglot
cp polyglot/$(name).pdf .

clean:
rm -rf build
distclean: clean
rm -rf polyglot
rm -f $(name).pdf
.PHONY: all view polyglot clean distclean distribute
.PHONY: all view clean distclean
FORCE:
63 changes: 63 additions & 0 deletions docs/dfT1pcr.fd
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
% DF: this file adds 'condensed Courier normal' to the font set
% DF: (tfm and vf fonts can be found at Dante's contrib/supported/pslatex)

%Filename: dfT1pcr.fd
%Created by: tex Fam_11535
%Created using fontinst v1.6

%THIS FILE SHOULD BE PUT IN A TEX INPUTS DIRECTORY

\ProvidesFile{dfT1pcr.fd}
[2000/03/05 DF - Fontinst v1.6 font definitions for T1/pcr.]

\DeclareFontFamily{T1}{pcr}{}

\DeclareFontShape{T1}{pcr}{b}{n}{
<-> pcrb8t
}{}

\DeclareFontShape{T1}{pcr}{b}{sc}{
<-> pcrbc8t
}{}

\DeclareFontShape{T1}{pcr}{b}{sl}{
<-> pcrbo8t
}{}

\DeclareFontShape{T1}{pcr}{m}{n}{
<-> pcrr8t
}{}

\DeclareFontShape{T1}{pcr}{m}{sc}{
<-> pcrrc8t
}{}

\DeclareFontShape{T1}{pcr}{m}{sl}{
<-> pcrro8t
}{}

%DF add 'narrow' Courier Normal
%
\DeclareFontShape{T1}{pcr}{mc}{n}{
<-> pcrr8tn
}{}


\DeclareFontShape{T1}{pcr}{bx}{n}{<->ssub * pcr/b/n}{}
\DeclareFontShape{T1}{pcr}{bx}{sc}{<->ssub * pcr/b/sc}{}
\DeclareFontShape{T1}{pcr}{bx}{sl}{<->ssub * pcr/b/sl}{}
\DeclareFontShape{T1}{pcr}{b}{it}{<->ssub * pcr/b/sl}{}
\DeclareFontShape{T1}{pcr}{bx}{it}{<->ssub * pcr/b/it}{}
\DeclareFontShape{T1}{pcr}{l}{n}{<->ssub * pcr/m/n}{}
\DeclareFontShape{T1}{pcr}{l}{sc}{<->ssub * pcr/m/sc}{}
\DeclareFontShape{T1}{pcr}{l}{sl}{<->ssub * pcr/m/sl}{}
\DeclareFontShape{T1}{pcr}{m}{it}{<->ssub * pcr/m/sl}{}
\DeclareFontShape{T1}{pcr}{l}{it}{<->ssub * pcr/m/it}{}

%DF add replacements for missing 'narrow' Courier fonts
%
\DeclareFontShape{T1}{pcr}{mc}{sl}{<->ssub * pcr/m/sl}{}
\DeclareFontShape{T1}{pcr}{mc}{it}{<->ssub * pcr/mc/sl}{}


\endinput
Loading

0 comments on commit b16b4f1

Please sign in to comment.