Skip to content

Commit

Permalink
Merge pull request #45 from misharash/master
Browse files Browse the repository at this point in the history
Fix spacing in arxiv format (and the build workflow)
  • Loading branch information
kadrlica authored Apr 15, 2024
2 parents cc6daf1 + 738a2f9 commit b611c89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,26 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
max-parallel: 3
max-parallel: 5
matrix:
python-version: [2.7, 3.8]
python-version: [3.8, 3.9, '3.10', 3.11]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup latex
run: |
yes "" | sudo add-apt-repository ppa:jonathonf/texlive
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends \
texlive-fonts-recommended \
texlive-latex-extra \
texlive-latex-recommended \
texlive-publishers \
texlive-generic-recommended
texlive-plain-generic
- name: Setup conda
run: |
# Add $CONDA/bin to built-in path
Expand Down
2 changes: 1 addition & 1 deletion mkauthlist/mkauthlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def write_contributions(filename,data):

authors=[]
for k,v in authdict.items():
author = k.replace('~',' ').replace('{','').replace('}','')
author = re.sub(r'(?<!\\)~',' ',k).replace(r'\ ',' ').replace('{','').replace('}','')
authors.append(author)

params = dict(defaults,authors=', '.join(authors).strip(','),affiliations='')
Expand Down

0 comments on commit b611c89

Please sign in to comment.