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

Seeing if pelican-bibliography can work. #111

Open
wants to merge 6 commits into
base: source
Choose a base branch
from

Conversation

moorepants
Copy link
Contributor

Currently getting this error:

 /home/moorepants/miniconda/envs/pelican-bib-try/lib/python3.10/site-packages/citeproc/source/bib │
│ tex/latex/__init__.py:129 in parse_macro_name                                                    │
│                                                                                                  │
│   126                                                                                            │
│   127 def parse_macro_name(tokens):                                                              │
│   128 │   token = next(tokens)                                                                   │
│ ❱ 129 │   assert token.type in (CHARACTER, TOGGLE_MATH, WHITESPACE)                              │
│   130 │   name = token.value                                                                     │
│   131 │   if name.isalpha():                                                                     │
│   132 │   │   while tokens.peek().type == CHARACTER and tokens.peek().value.isalpha():           │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
AssertionError

@moorepants
Copy link
Contributor Author

@moorepants
Copy link
Contributor Author

There is some kind of clash in this plugin and the extract_toc plugin. If I disable the extract_toc plugin then it works.

@moorepants
Copy link
Contributor Author

May be hitting this issue with python 3.8: brechtm/citeproc-py#103

@moorepants
Copy link
Contributor Author

Make sure to run debug mode to have any chance of understanding the errors: pelican -D -s pelicanconf.py

@moorepants
Copy link
Contributor Author

moorepants commented Dec 9, 2022

Seems citeproc fails on parsing "START-MODE" for a complicated bib file.

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.

None yet

1 participant