Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spacing in arxiv format (and the build workflow) #45

Merged
merged 14 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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