tecosaur / BMC

My bespoke, multipurpose class; designed for general use in LaTeX documents.
LaTeX Project Public License v1.3c
215 stars 27 forks source link

Provide an example build command in the README #14

Open ssavinel opened 3 years ago

ssavinel commented 3 years ago

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 commented 3 years ago

That's funny, because I use this with pdflatex :stuck_out_tongue:

ssavinel commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

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 commented 3 years ago

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. :crossed_fingers: