ramiromagno / wiley-njd

Wiley's New Journal Design (NJD) Latex Authoring Template
MIT License
13 stars 1 forks source link

Compilation failes - Latex #8

Closed schneiderpy closed 9 months ago

schneiderpy commented 9 months ago

I am sorry @ramiromagno, but it seems there is another bug I used the same qmd file. After the first fix #7, rendering the file stopped again.

compilation failed- error LaTeX Error: Environment Shaded undefined.

See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...

l.83 \begin{Shaded}

ramiromagno commented 9 months ago

Indeed :) The Wiley template was not designed to account for R code chunks. But I am looking for quick fix right now. I will keep you posted.

schneiderpy commented 9 months ago

@ramiromagno ... I just found a solution .. worked (or at least rendered) :) https://stackoverflow.com/questions/41052687/rstudio-pdf-knit-fails-with-environment-shaded-undefined-error @ramiromagno, thank you for your time!

schneiderpy commented 9 months ago

... the numbering of the headers is also different

ramiromagno commented 9 months ago

You should start the level 1 headings with #, not ##.

schneiderpy commented 9 months ago

That is true .. :)

@ramiromagno ... I just found a solution .. worked (or at least rendered) :) https://stackoverflow.com/questions/41052687/rstudio-pdf-knit-fails-with-environment-shaded-undefined-error @ramiromagno, thank you for your time!

Due to this fix another error poped up since you have implemented somewhere else, but I manged to fix it (this is great for someone with almost no LaTex knowlegde :) ) Again, thank you @ramiromagno. You did a great work on a Saturday evening 💯

schneiderpy commented 9 months ago

citation doesn't work either .. :(

ramiromagno commented 9 months ago

Please provide an example qmd and the bibliography file and I am glad to try to reproduce it here. And please open a new dedicated issue.

schneiderpy commented 9 months ago

lince.zip