Thanks Rama. On Wednesday, May 17, 2017 at 3:36:40 PM UTC+5:30, rama prakasha wrote: > > Use the template feature. > > Use pandoc -Dlatex>template.tex to get template.tex and add \widowpenalty=10000 \clubpenalty=10000 > to it before body. To use the template in pandoc. > > pandoc -V documentclass=memoir input.tex --latex-engine=xelatex > *--template=template.tex* -o output.pdf > > > > Hi >> >> How do I prevent widow/orphan lines, tex to pdf conversion. (pandoc -V >> documentclass=memoir input.tex --latex-engine=xelatex -o output.pdf) >> >> Thanks, >> Magesh >> > -- You received this message because you are subscribed to the Google Groups "pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/e94d9fa1-4d47-43c6-8449-631bd7be7ece%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.