-
Description[I have also asked the exact same question on StackOverflow, so please don't get mad.]I am making a website with Quarto (to be hosted on GitHub Pages) that documents my already finished LaTeX projects. A project is a directory which contains the following:
I wish to include the pdf's of these projects to my website as pages (like each I searched the Quarto Guide but it unfortunately does not provide any information on how to have already-created pdf's on the website. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
To include almost anything in HTML, See an example:
|
Beta Was this translation helpful? Give feedback.
-
You can also do this by manually (e.g. as part of a Makefile) copy the PDFs the the built location. E.g. I'm creating a book output that consists of <html>
<body>
<iframe src="slides-lec2.pdf#zoom=80&&navpanes=0&statusbar=0&messages=0&pagemode=none" width="100%" height="475px" style="position: relative;z-index: 9999999;">
</iframe>
</body> Then I manually need to copy the pdf I also noticed that someone made an extension https://github.com/jmgirard/embedpdf/blob/main/README.md (I haven't tried it) |
Beta Was this translation helpful? Give feedback.
To include almost anything in HTML,
iframe
is the solution.See an example: