-
I am using multiple formats for my blog (html and pdf) format: I would like the pdf to inherit the citation that I have in my html output (I am using citation: true). |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I don't know what you are calling "citation". If you want more help, please consider sharing a small "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? Thanks. You can share a Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four ````qmd
---
title: "Reproducible Quarto Document"
format: html
---
This is a reproducible Quarto document using `format: html`.
It is written in Markdown and contains embedded R code.
When you run the code, it will produce a plot.
```{r}
plot(cars)
```
The end.
```` |
Beta Was this translation helpful? Give feedback.
-
Can you put an example of this? So in the case of bilatex you mean that I should cite my post somewhere in my document to make it appear in the references section in the pdf output? In the part of the YAML I do not understand what I should put there. |
Beta Was this translation helpful? Give feedback.
Get the bib latex code:
@book{knuth1986texbook, author = {Donald E. Knuth}, title = {The {\TeX}book}, year = {1986}, publisher = {Addison-Wesley}, address = {Reading, MA}, edition = {1st}, isbn = {0-201-13447-0}, }
And use it in your PDF the way you want.
See: