From 979a6cc9116083de0ae4fd2164e0046d036d4089 Mon Sep 17 00:00:00 2001 From: Kartik Singhal Date: Tue, 22 Feb 2022 08:10:33 -0600 Subject: [PATCH] Add .gitignore, hide unnecessary tex output, parens -> brackets --- .gitignore | 301 ++++++++++++++++++++++++++++++++++++++++++++++ Makefile | 15 +-- acmauthoryear.cbx | 2 +- 3 files changed, 310 insertions(+), 8 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a5a408e --- /dev/null +++ b/.gitignore @@ -0,0 +1,301 @@ +## Core latex/pdflatex auxiliary files: +*.aux +*.lof +*.log +*.lot +*.fls +*.out +*.toc +*.fmt +*.fot +*.cb +*.cb2 +.*.lb + +## Intermediate documents: +*.dvi +*.xdv +*-converted-to.* +# these rules might exclude image files for figures etc. +# *.ps +# *.eps +# *.pdf + +## Generated if empty string is given at "Please type another file name for output:" +.pdf + +## Bibliography auxiliary files (bibtex/biblatex/biber): +*.bbl +*.bcf +*.blg +*-blx.aux +*-blx.bib +*.run.xml + +## Build tool auxiliary files: +*.fdb_latexmk +*.synctex +*.synctex(busy) +*.synctex.gz +*.synctex.gz(busy) +*.pdfsync + +## Build tool directories for auxiliary files +# latexrun +latex.out/ + +## Auxiliary and intermediate files from other packages: +# algorithms +*.alg +*.loa + +# achemso +acs-*.bib + +# amsthm +*.thm + +# beamer +*.nav +*.pre +*.snm +*.vrb + +# changes +*.soc + +# comment +*.cut + +# cprotect +*.cpt + +# elsarticle (documentclass of Elsevier journals) +*.spl + +# endnotes +*.ent + +# fixme +*.lox + +# feynmf/feynmp +*.mf +*.mp +*.t[1-9] +*.t[1-9][0-9] +*.tfm + +#(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 +*.lzo +*.lzs + +# uncomment this for glossaries-extra (will ignore makeindex's style files!) +# *.ist + +# gnuplottex +*-gnuplottex-* + +# gregoriotex +*.gaux +*.gtex + +# htlatex +*.4ct +*.4tc +*.idv +*.lg +*.trc +*.xref + +# hyperref +*.brf + +# knitr +*-concordance.tex +# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files +# *.tikz +*-tikzDictionary + +# listings +*.lol + +# luatexja-ruby +*.ltjruby + +# makeidx +*.idx +*.ilg +*.ind + +# minitoc +*.maf +*.mlf +*.mlt +*.mtc[0-9]* +*.slf[0-9]* +*.slt[0-9]* +*.stc[0-9]* + +# minted +_minted* +*.pyg + +# morewrites +*.mw + +# nomencl +*.nlg +*.nlo +*.nls + +# pax +*.pax + +# pdfpcnotes +*.pdfpc + +# sagetex +*.sagetex.sage +*.sagetex.py +*.sagetex.scmd + +# scrwfile +*.wrt + +# sympy +*.sout +*.sympy +sympy-plots-for-*.tex/ + +# pdfcomment +*.upa +*.upb + +# pythontex +*.pytxcode +pythontex-files-*/ + +# tcolorbox +*.listing + +# thmtools +*.loe + +# TikZ & PGF +*.dpth +*.md5 +*.auxlock + +# todonotes +*.tdo + +# vhistory +*.hst +*.ver + +# easy-todo +*.lod + +# xcolor +*.xcp + +# xmpincl +*.xmpi + +# xindy +*.xdy + +# xypic precompiled matrices and outlines +*.xyc +*.xyd + +# endfloat +*.ttt +*.fff + +# Latexian +TSWLatexianTemp* + +## Editors: +# WinEdt +*.bak +*.sav + +# Texpad +.texpadtmp + +# LyX +*.lyx~ + +# Kile +*.backup + +# gummi +.*.swp + +# KBibTeX +*~[0-9]* + +# TeXnicCenter +*.tps + +# auto folder when using emacs and auctex +./auto/* +*.el + +# expex forward references with \gathertags +*-tags.tex + +# standalone packages +*.sta + +# Makeindex log files +*.lpz + +# xwatermark package +*.xwm + +# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib +# option is specified. Footnotes are the stored in a file with suffix Notes.bib. +# Uncomment the next line to have this generated file ignored. +#*Notes.bib + +*.aux.make +*.auxbbl.make +*.auxtarget.make +*.d +*.out.make +*.pag +*.pdf +*.lof.make +*.lol.make +*.toc.make +*.bbl.cookie +*.pdf.1st.make +*.run.cookie +*.auxbbl.make.temp +*.lot.make +*.vtc diff --git a/Makefile b/Makefile index 60856fe..e603e62 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,20 @@ TEXS = $(wildcard main-acm*.tex) PDFS = $(patsubst %.tex,%.pdf,$(TEXS)) +PDFLATEX = texfot pdflatex all: $(PDFS) main-bibtex.pdf main-bibtex.pdf: main-bibtex.tex - pdflatex $< + $(PDFLATEX) $< bibtex main-bibtex - pdflatex $< - pdflatex $< + $(PDFLATEX) $< + $(PDFLATEX) $< %.pdf: %.tex - pdflatex $< + $(PDFLATEX) $< biber $* - pdflatex $< - pdflatex $< + $(PDFLATEX) $< + $(PDFLATEX) $< clean: - echo "rm -f main{-acm*,-bibtex}.{bbl,blg,aux,log,out,bcf,run.xml} comment.cut *~" | bash + echo "rm -f main{-acm*,-bibtex}.{bbl,blg,aux,log,out,bcf,run.xml,pdf} comment.cut *~" | bash diff --git a/acmauthoryear.cbx b/acmauthoryear.cbx index 5bf47fc..a030329 100644 --- a/acmauthoryear.cbx +++ b/acmauthoryear.cbx @@ -27,7 +27,7 @@ {\multicitedelim} {\usebibmacro{postnote}} -\DeclareCiteCommand*{\parencite}[\mkbibparens] +\DeclareCiteCommand*{\parencite}[\mkbibbrackets] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \usebibmacro{citeyear}}