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

Add ten FOCI'24 issue 2 papers, two PETS'24 papers, and support accent characters in cite names. #51

Merged
merged 7 commits into from
Jul 20, 2024

Conversation

gfw-report
Copy link
Contributor

This pull request contains two major components:

  1. Add ten FOCI'24 issue 2 papers.

I do not include the three papers in Session III: Privacy Enhancing Technologies, as they are out of scope of Internet censorship.


  1. Support accent characters in cite names.

A new commit introduces a cite name that contains an accent character:

@inproceedings{Müller2024a,

It will cause the bibtex parser to fail with the following two errors:

failed to extract cite name of: @inproceedings{Müller2024a,

and

parse failed at 55:17: syntax error: unexpected $end, expecting tCOMM

We have both errors fixed in this commit. The second error is an upstream limitation, which I will try to get it merged to the upstream: https://github.com/nickng/bibtex.

gfw-report added a commit to gfw-report/bibtex that referenced this pull request Jul 17, 2024
This commit enables the support of accent characters in the bib key:

> @inproceedings{Müller2024a,

Without this commit, the accent characters will cause the parse error, e.g.:

> Cannot parse valid bibtex file example/biblatex-examples.bib: parse failed at 1676:17: syntax error

One real-world use case is available at: NullHypothesis/censorbib#51.
@gfw-report
Copy link
Contributor Author

The second error is an upstream limitation, which I will try to get it merged to the upstream: https://github.com/nickng/bibtex.

I opened the pull request: nickng/bibtex#25

* PETS publication page: https://www.petsymposium.org/foci/2024/
* FOCI program: https://foci.community/foci24.html#2024-summer-program
* Net4People post: net4people/bbs#376

I do not include the three papers in Session III: Privacy Enhancing Technologies,
as they are out of scope of Internet censorship.
A new commit introduces a cite name that contains an accent character:
@inproceedings{Müller2024a,

It will cause the bibtex parser to fail with the following two errors:

failed to extract cite name of: @inproceedings{Müller2024a,

and

parse failed at 55:17: syntax error: unexpected $end, expecting tCOMM

The second error is an upstream limitation,
which I will try to get it merged to the upstream: https://github.com/nickng/bibtex.
Copy link
Owner

@NullHypothesis NullHypothesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment but looks good! Thanks for your work!

references.bib Outdated Show resolved Hide resolved
references.bib Outdated Show resolved Hide resolved
src/main.go Show resolved Hide resolved
@gfw-report
Copy link
Contributor Author

I have now removed {} from Extended Abstract.

Thank you so much for your review, @NullHypothesis !

@gfw-report
Copy link
Contributor Author

I added two PETS'24 papers in this PR.

@gfw-report gfw-report changed the title Add ten FOCI'24 issue 2 papers and Support accent characters in cite names. Add ten FOCI'24 issue 2 papers, two PETS'24 papers, and support accent characters in cite names. Jul 20, 2024
Copy link
Owner

@NullHypothesis NullHypothesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice noice, looks great!

@NullHypothesis NullHypothesis merged commit 6274a9e into NullHypothesis:master Jul 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants