Fixes for MacOS
This commit is contained in:
parent
30dfcf2970
commit
eacfc44ee9
10
README.md
10
README.md
@ -124,6 +124,16 @@ Some notes:
|
||||
conflicting with Jinja directives (usually the whole or parts of `...-template.tex` and `...-template-meta.tex`
|
||||
files.
|
||||
|
||||
MacOS Requirements
|
||||
------------
|
||||
|
||||
```
|
||||
brew install texlive
|
||||
brew install biber
|
||||
brew install pyyaml
|
||||
pip3 install syntok jinja2 arxiv_latex_cleaner
|
||||
```
|
||||
|
||||
Versioning the template
|
||||
-----------------------
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
SHELL=/bin/bash -O globstar
|
||||
SHELL=/bin/bash
|
||||
|
||||
# Do not edit these values, they should be changed by modifying .cookiecutter.yml
|
||||
# and re-applying the template
|
||||
@ -7,7 +7,7 @@ HAS_APPENDIX={{cookiecutter.with_appendix}}
|
||||
LATEX_TEMPLATE={{cookiecutter.latex_template}}
|
||||
WITH_ARXIV_PACKAGE={{cookiecutter.with_arxiv_package}}
|
||||
|
||||
CONTENT_TEX_SOURCES=$(filter-out $(PAPER_ID).tex config.tex extras.tex metadata.tex preamble.tex the-appendix.tex, $(shell ls **/*.tex))
|
||||
CONTENT_TEX_SOURCES=$(filter-out $(PAPER_ID).tex config.tex extras.tex metadata.tex preamble.tex the-appendix.tex, $(shell find . -name '*.tex'))
|
||||
|
||||
CURRENT_DIR=$(shell pwd)
|
||||
AUTOZOIL_DIR?=/opt/autozoil
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
pdftotext "$1" - | fgrep -v 'Confidential Review Copy' | grep -P -v '^(ACL 2020 Submission \*\*\*\. Confidential Review Copy\. DO NOT DISTRIBUTE\.|Anonymous ACL submission|Abstract|Results|Conclusions|https?://\S+)\s*$' | grep '[^[:space:]]' | egrep '[a-zA-Z]{2}' | perl -pne 's/\f//g;' | uniq
|
||||
pdftotext "$1" - | grep -F -v 'Confidential Review Copy' | grep -E -v '^(ACL 2020 Submission \*\*\*\. Confidential Review Copy\. DO NOT DISTRIBUTE\.|Anonymous ACL submission|Abstract|Results|Conclusions|https?://\S+)\s*$' | grep '[^[:space:]]' | grep -E '[a-zA-Z]{2}' | perl -pne 's/\f//g;' | uniq
|
||||
|
Loading…
Reference in New Issue
Block a user