{{ message }}

\noindent and list environments: class="ltx_noindent" in wrong <para> in some cases #994

Closed
opened this issue May 9, 2018 · 1 comment
Closed

\noindent and list environments: class="ltx_noindent" in wrong <para> in some cases#994

opened this issue May 9, 2018 · 1 comment
Labels
Milestone

siegfriedzoetzsche commented May 9, 2018

 Sometimes, the \noindent information seems to get lost in \items such as \item A\par\noindent a  This seems to depend on whether such an \item is followed by a blank line or not. I have seen this behaviour with {trivlist}, {itemize} and {enumerate}. Examples: No blank lines after \item (two class="ltx_noindent" missing one in the wrong ) : \documentclass{article} \begin{document} \begin{trivlist} \item A\par\noindent a \item B\par b \item C\par\noindent c \end{trivlist} \end{document}  Converted to: [...]

A

a

B

b

C

c

[...]  Blank lines between \items but not before \end{trivlist} (one class="ltx_noindent" missing one in the correct ) : \documentclass{article} \begin{document} \begin{trivlist} \item D\par\noindent d \item E\par e \item F\par\noindent f \end{trivlist} \end{document}  Converted to: [...]

D

d

E

e

F

f

[...]  Blank lines after every \item (looks good): \documentclass{article} \begin{document} \begin{trivlist} \item G\par\noindent g \item H\par h \item I\par\noindent i \end{trivlist} \end{document}  Converted to: [...]

G

g

H

h

I

i

[...]  The text was updated successfully, but these errors were encountered:
added the label May 9, 2018
added this to the LaTeXML-0.8.4 milestone May 9, 2018

brucemiller commented May 10, 2018

 Ah, indeed, there's a bunch of implied \par in there. I think I've got it right, now. Thanks for the report.
modified the milestones: LaTeXML-0.8.4, LaTeXML-0.8.3 May 11, 2018