fletcher / peg-multimarkdown

An implementation of MultiMarkdown in C, using a PEG grammar - a fork of jgm's peg-markdown. No longer under active development - see MMD 5.
Other
523 stars 55 forks source link

Latex: Lists create unnecessary newline after end tag #136

Closed drallgood closed 11 years ago

drallgood commented 11 years ago

I have the following issue: If I create a list (unorder or ordered) in MMD and convert it to latex using mmd2tex the resulting TEX file will contain an empty line after the list's end tag. That causes the following text to be indented.

Example:

* one
* two
* three

Some text  
More Text

will result in

\begin{itemize}
\item one

\item two

\item three

\end{itemize}

Some text\\
More Text

Which will look like that: http://dl.dropbox.com/u/17133427/mmdIssue.pdf

fletcher commented 11 years ago

The output is correct. New paragraphs are indented by default. "Some text" represents a new paragraph after the list.

If you don't want new paragraphs to be indented, make the appropriate changes to your LaTeX configuration.

This has nothing to do with lists or MMD.

drallgood commented 11 years ago

Ah okay. I've been using LaTeX for years, I didn't know that. Thanks :)

fletcher commented 11 years ago

No problem --- if you want to embed lists "inside" paragraphs, you'll have to do that manually.