nmfs-opensci / quarto_titlepages

A Quarto extension for making title and cover pages for PDF output.
https://nmfs-opensci.github.io/quarto_titlepages/
Creative Commons Zero v1.0 Universal
115 stars 20 forks source link

Can't run titlepages #8

Closed mhollanders closed 1 year ago

mhollanders commented 2 years ago

Prerequisites

Description

I tried to run the thesis-static titlepage for a Quarto book I'm making, and it didn't work. So I just tried to run the article.qmd files in the thesis-static and also great-wave folders and neither of them produce the desired title pages.

Steps to Reproduce

  1. open article.qmd and setwd() to the right folder
  2. Render

Expected behavior:

The article.pdf to look like the article.pdf on the Github

Actual behavior:

Errors. No title page for thesis-static and "compilation failed- error LaTeX Error: Environment abstract undefined." for great-wave.

Reproduces how often:

100%.

Versions

atom --version and apm --version command not working on my machine. MacOS 12.4, R 4.2.0, RStudio 2022.7.1

eeholmes commented 2 years ago

Thanks! Can you tell what pdf engine you are using? Also what Quarto version do you have? Note, that when I run the first time, it need to install packages which it does on the fly.

You can run it here: https://rstudio.cloud/content/4370280

It is using This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Debian); Quarto 1.0.38

I am also running on my Mac OS 11.6.2 with XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022); Quarto 1.0.38

mhollanders commented 2 years ago

Hey, thanks so much for the quick response! So it turns out it was the Quarto version, I thought it got updated automatically with the new RStudio. Anyway, it does knit and produce the title page, but it has caused a range of other errors, including: some headers show up with "##", there's a random header here and there, and equations are not rendered properly (see screenshot for example). Any idea why that is?

On Mon, Aug 22, 2022 at 11:41 PM Eli Holmes @.***> wrote:

Thanks! Can you tell what pdf engine you are using? Also what Quarto version do you have? Note, that when I run the first time, it need to install packages which it does on the fly.

You can run it here: https://rstudio.cloud/content/4370280

It is using This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Debian); Quarto 1.0.38

I am also running on my Mac OS 11.6.2 with XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022); Quarto 1.0.38

— Reply to this email directly, view it on GitHub https://github.com/nmfs-opensci/quarto_titlepages/issues/8#issuecomment-1222381097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQAE6RNA6LB6TEGJGLUD5LDV2N7R7ANCNFSM57GCKCFA . You are receiving this because you authored the thread.Message ID: @.***>

mhollanders commented 2 years ago

Hey, so it turns out the problem was in-header.tex file. I don't think those packages getting loaded played ball with the maths...

On Tue, Aug 23, 2022 at 7:48 AM Matthijs Hollanders < @.***> wrote:

Hey, thanks so much for the quick response! So it turns out it was the Quarto version, I thought it got updated automatically with the new RStudio. Anyway, it does knit and produce the title page, but it has caused a range of other errors, including: some headers show up with "##", there's a random header here and there, and equations are not rendered properly (see screenshot for example). Any idea why that is?

On Mon, Aug 22, 2022 at 11:41 PM Eli Holmes @.***> wrote:

Thanks! Can you tell what pdf engine you are using? Also what Quarto version do you have? Note, that when I run the first time, it need to install packages which it does on the fly.

You can run it here: https://rstudio.cloud/content/4370280

It is using This is XeTeX, Version 3.14159265-2.6-0.999991 (TeX Live 2019/Debian); Quarto 1.0.38

I am also running on my Mac OS 11.6.2 with XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022); Quarto 1.0.38

— Reply to this email directly, view it on GitHub https://github.com/nmfs-opensci/quarto_titlepages/issues/8#issuecomment-1222381097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQAE6RNA6LB6TEGJGLUD5LDV2N7R7ANCNFSM57GCKCFA . You are receiving this because you authored the thread.Message ID: @.***>

eeholmes commented 1 year ago