asciidoctor / asciidoctor-latex

:triangular_ruler: Add LaTeX features to AsciiDoc & convert AsciiDoc to LaTeX
http://asciidoctor.org
Other
111 stars 26 forks source link

Question and answer environments produce XeLaTeX errors #50

Open mattpalermo opened 7 years ago

mattpalermo commented 7 years ago

Using the following example mark up from the README.adoc file produces errors when the tex output is processed with XeLaTeX.

  [env.question]
  --
  What is the speed of light?
  --

  [click.answer]
  --
  300,000 km/sec
  --

The resulting error is summarised by the following output.

! LaTeX Error: Environment question undefined.

and

! LaTeX Error: Environment answer* undefined.
mattpalermo commented 7 years ago

Similar problem occurs when the examples/click.adoc is processed. Errors occur for the message, hint, solution and advice environments.