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

Extraction of authors and title from papers #12

Open
gerking opened this issue Jan 19, 2021 · 2 comments
Open

Extraction of authors and title from papers #12

gerking opened this issue Jan 19, 2021 · 2 comments

Comments

@gerking
Copy link

gerking commented Jan 19, 2021

When generating the proceedings.tex, the authors' names are extracted from the square brackets [...] inside each paper.tex:

Check for all paper.tex that all authors are the format \author[Firstname Lastname \and ...]{...}

This is somewhat unfortunate because authors often use these square brackets for abbreviations, e.g., [Lastname et al.]
However, if proceedings.tex uses these abbreviations, they will appear in the table of contents and proceedings.bib, where one would usually expect to see all authors.

Would it be possibly to extract the authors' names from the curly braces inside each paper.tex? The abbreviated forms could still be copied into proceedings.tex as the optional argument of \addpaper, so that they will be shown in the header of the respective paper.

(Obviously, the same applies to the paper titles.)

@koppor
Copy link
Member

koppor commented Apr 13, 2021

As far as I remember, I opted for [], because the {} part contains references to institutions?

Example (source: https://github.com/gi-ev/LNI/blob/ea3d3e0916cbf930f99c76307789aa005a9e2343/lni-paper-example-de.tex#L46)

\author[Vorname1 Nachname1 \and Vorname2 Nachname2]
{Vorname1 Nachname1\footnote{Universität, Abteilung, Straße, Postleitzahl Ort, Land \email{emailaddress@author1}} \and
 Vorname2 Nachname2\footnote{University, Department, Address, Country \email{emailaddress@author2}}}

Someone with python skills could update

def extractAuthTitle(paperFileName):
. Maybe with LatexWalker? (See https://tex.stackexchange.com/a/570467/9075 for details)

@gerking
Copy link
Author

gerking commented Apr 13, 2021

because the {} part contains references to institutions?

Yes, and sometimes also references to funding agencies etc. That's a problem of course, but the [] is often incomplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants