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

Is there a way to connect Article-format-template with a Quarto book project? #8

Open
aito123 opened this issue Aug 23, 2022 · 1 comment

Comments

@aito123
Copy link

aito123 commented Aug 23, 2022

Hello, thanks for this template.

I was deciding what would be the appropiate way to adapt my MS Word thesis to Quarto. At first, I was trying to understand article-format-template to adapt it to my university institution template but then i remembered that Quarto also has the option to include multiple qmd scripts in a book project.

So then I thought, is it possible to adapt article-format-template to a Quarto book project .yml ? If so, how could it be done? I hope this question makes sense in the Quarto landscape.

Thanks again, and let me know.

@jrfep
Copy link

jrfep commented Jun 20, 2023

I faced a similar problem, I had my code structured in different scripts and used the quarto book format to organise the content into a HTML document, but ran into some problems when I wanted to use a template for pdf output as an article.

If the pdf styles for the book output do not work for you, you can try to mimic the book .yml file with a .qmd file using the include command to organise the content:

---
title: "Awesome title"

bibliography: 
  - references.bib
csl: style.csl

execute:
  echo: false

format:
  YourJournalFormat-pdf
---

# Abstract

This is a short abstract before I include the section content.

{{< include intro.qmd >}}
{{< include section1.qmd >}}
{{< include section2.qmd >}}

# References

::: {#refs}
:::

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