在引号内使用 itemize 时出现奇怪的“有些不对劲——可能缺少 \item。”

在引号内使用 itemize 时出现奇怪的“有些不对劲——可能缺少 \item。”

对于以下文档

\documentclass{article}
\begin{document}

\section{Lesson Design}

\begin{quote}
\subsection{Overview}

\textbf{Questions}

\begin{itemize}
\item
  How do we design lessons?
\end{itemize}

\end{quote}
\end{document}

我越来越

This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Arch Linux) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./foo.tex
LaTeX2e <2016/03/31> patch level 3
Babel <3.9r> and hyphenation patterns for 83 language(s) loaded.
(/usr/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/size10.clo)) (./foo.aux)

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.13   H
        ow do we design lessons?
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on foo.log.

当我跑步的时候pdflatex -halt-on-error FILENAME.tex

如果我删除带有 或 的行,\section{Lesson Design}我就不会再看到错误了。该示例是 Pandoc 输出的一部分。\subsection{Overview}\textbf{Questions}

我为何会来到这里

我有

<h1 class="maintitle">Lesson Design</h1>
<blockquote class="objectives">
  <h2>Overview</h2>

  <div class="row">
    <div class="col-md-3">
      <strong>Teaching:</strong> 10 min
      <br>
      <strong>Exercises:</strong> 0 min
    </div>
    <div class="col-md-9">
      <strong>Questions</strong>
      <ul>

    <li><p>How do we design lessons?</p>
</li>

      </ul>
    </div>
  </div>

  <div class="row">
    <div class="col-md-3">
    </div>
    <div class="col-md-9">
      <strong>Objectives</strong>
      <ul>

    <li><p>Describe the reverse instructional design process.</p>
</li>

    <li><p>Describe the purpose and implementation of formative assessments.</p>
</li>

      </ul>
    </div>
  </div>

</blockquote>

在应用 CSS 之后,由 Web 浏览器呈现,如下所示

HTML 渲染

我最终使用blockquote标签,因为 Pandoc 删除了div标签。

相关内容