-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please don't use LaTeX package/document commands without including them (\tightlist) #4
Comments
similar issue in this other pandoc wrapper, rmarkdown: rstudio/rmarkdown#439 |
This is related to a recent change in pandoc. I don't know much about latex but I think pandoc assumes inclusion of it's latex template. Any suggestions on how to approach this? |
pandoc 1.14 introduced \tightlist Related links: jgm/pandoc#1571 (comment) ozanmakes/markup.rocks#4 rstudio/rmarkdown#439
pandoc 1.14 introduced \tightlist Related links: jgm/pandoc#1571 (comment) ozanmakes/markup.rocks#4 rstudio/rmarkdown#439
fix \thighlist problem with newer version of pandoc (ozanmakes/markup.rocks#4)
See: ozanmakes/markup.rocks#4 Signed-off-by: Ole Herman Schumacher Elgesem <oleherman93@gmail.com>
pandoc 1.14 introduced \tightlist Related links: jgm/pandoc#1571 (comment) ozanmakes/markup.rocks#4 rstudio/rmarkdown#439
You can use the pandoc If you want to build snippets with pandoc, the only way I know of is to use There's also a LaTeX template provided by pandoc I'm not clear on how to use. |
Pandoc also adds images using |
This is still an issue when using pandoc custom templates, as of pandoc 2.13. A workaround is to copy the \documentclass{article}
$if(title)$
\title{$title$}
$endif$
% Must use to prevent a pandoc bug, where all headers are unconditionally
% inserted with a \hypertarget command See:
% https://github.com/jgm/pandoc/issues/7264
\usepackage{hyperref}
% Avoid pandoc bug when there are lists in the body.
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\begin{document}
\maketitle
$body$
\end{document} |
When converting from markdown to LaTeX I noticed that an unsupported command was used in the
itemize
environment.Given the following input (in Markdown):
The following LaTeX was produced:
The
\tightlist
command is most likely from thememoir
class which is not included or indicated in any way.If possible, remove this command or indicate which document class or package is required to compile the output succesfully.
The text was updated successfully, but these errors were encountered: