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

Provide an example build command in the README #14

Open
ssavinel opened this issue Apr 18, 2021 · 6 comments
Open

Provide an example build command in the README #14

ssavinel opened this issue Apr 18, 2021 · 6 comments

Comments

@ssavinel
Copy link

I've just realized, thanks to stackoverflow, that tikz and pgfkeys rely on lualatex and not xelatex or else. Providing a building command line example might help new users.

@tecosaur
Copy link
Owner

That's funny, because I use this with pdflatex 😛

@ssavinel
Copy link
Author

Ow, pdflatex returns me plethora of issues related to pgfkeys that I do not encounter with lualatex on linux mint, using the latest version of texlive.

@tecosaur
Copy link
Owner

I see a few pdf/pdfkeys error when building documentation/bmc.tex:

! Package pgf Error: No shape named `' is known.
! Package pgf Error: No shape named `' is known.
! Package pgf Error: No shape named `' is known.
! Package pgf Error: No shape named `' is known.
! Package pgfkeys Error: I do not know the key '/tikz/{1}{draw=none}{}' and I a
! Package pgfkeys Error: I do not know the key '/tikz/{2}{draw=none}{}' and I a
! Package pgfkeys Error: I do not know the key '/tikz/{4}{draw=none}{}' and I a
! Package pgfkeys Error: I do not know the key '/tikz/{5}{draw=none}{}' and I a

@ssavinel
Copy link
Author

So, I tried using pdflatex per your usage and used this command to reduce verbosity :
pdflatex -shell-escape -interaction=nonstopmode -file-line-error bmc.tex | grep -i ".*:[0-9]*:.*\|Warning"
And here are all the errors/warnings I encounter : https://pastebin.com/b3khtFBV
Should I start an issue by error type ?

@tecosaur
Copy link
Owner

tecosaur commented Apr 18, 2021

The reference errors should disappear on a second run, but the:

  • etoolbox errors
  • Missing \begin{document} error
  • Package pgf Error: No shape named `' is known.
  • Package pgfkeys Error: I do not know the key '/tikz/{2}{draw=non

All need to be fixed. We could open issues for them, or just work on them within an issue. I don't mind either approach.

@ssavinel ssavinel changed the title Provide a example build command in the README Provide an example build command in the README Apr 21, 2021
@ssavinel
Copy link
Author

So far, fixing the etoolbox errors opened a new batch of errors, I'm currently trying to fix the chemfig arrow as the Stackoverflow version stopped working with the latest chemfig updates.
The Mint repository version of texlive was apparently pretty outdated and I'm updating everything to the latest version to have a clean base. I hope I'll get everything working in a few days. 🤞

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

No branches or pull requests

2 participants