Render a list for both html and pdf format? #11319
-
DescriptionWhen I specify both html and pdf as output format, I write a list as
etc.. and it rendered just as "- item one" in both html and pdf, instead of the normal bullet + indentation for a usual list. So I decided to use |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Could you share a small self-contained "working" (reproducible) example to work with, i.e., a complete Quarto document or a Git repository? The goal is to make it as easy as possible for us to recreate your problem so that we can fix it: please help us help you! Thanks. ![]() ---
title: "Quarto Playground"
format: pdf
keep-tex: true
---
- item one
- item two
You can share a self-contained "working" (reproducible) Quarto document using the following syntax, i.e., using more backticks than you have in your document (usually four If you have multiple files (and if it is absolutely required to have multiple files), please share as a Git repository.
Additionally and if not already given, please share the output of |
Beta Was this translation helpful? Give feedback.
-
Never mind. I used the markdown-mode in emacs and it automatically indented the listed items in the qmd file, and those indentations in qmd are translated into |
Beta Was this translation helpful? Give feedback.
Never mind. I used the markdown-mode in emacs and it automatically indented the listed items in the qmd file, and those indentations in qmd are translated into
\begin{verbatim}
instead of\begin{itemize}
in tex. Once I removed those indentation, they are rendered both correctly in pdf and html output.